<hazardstatement>

A hazard statement provides information about a hazard and its consequences. It also explains how to avoid the hazard. It can also associate an image.

Specialization hierarchy

The <hazardstatement> element is specialized from <note>. It is defined in the hazard-statement domain module.

Content model

<messagepanel> +

One or more <messagepanel>

Attributes

The following attributes are available on this element: universal attributes and the attribute defined below.

@type (REQUIRED)
Specifies the level of hazard. The values correspond to the signal words that are defined by the ANSI Z535.6 standard:
caution
Indicates a hazardous situation that, if not avoided, could result in minor or moderate injury.
danger
Indicates a hazardous situation that, if not avoided, will result in death or serious injury. This signal word is to be limited to the most extreme situations.
notice
Indicates information considered important but not hazard-related, for example, messages relating to property damage.
warning
Indicates a hazardous situation that, if not avoided, could result in death or serious injury.
-dita-use-conref-target
See Using the -dita-use-conref-target value for more information.

The following attributes are available on this element: universal attributes and the attributes defined below.

@type (REQUIRED)
Specifies the level of hazard. The values correspond to the signal words that are defined by the ANSI Z535.6 standard:
caution
Indicates a hazardous situation that, if not avoided, could result in minor or moderate injury.
danger
Indicates a hazardous situation that, if not avoided, will result in death or serious injury. This signal word is to be limited to the most extreme situations.
notice
Indicates information considered important but not hazard-related, for example, messages relating to property damage.
warning
Indicates a hazardous situation that, if not avoided, could result in death or serious injury.
-dita-use-conref-target
See Using the -dita-use-conref-target value for more information.

Examples

This section is non-normative.

This section contains examples of how the <hazardstatement> element can be used.

Example 1. Simple hazard statement

The following code sample shows the markup for a hazard statement that warns about rotating blades:

<hazardstatement type="danger">
    <messagepanel>
        <typeofhazard>
            <hazardsymbol keyref="hazard-rotatingblade"/>
            Rotating blade</typeofhazard>
        <consequence>Moving parts can crush and cut.</consequence>
        <howtoavoid>Follow lockout procedure before servicing.</howtoavoid>
    </messagepanel>
</hazardstatement>
Example 2. Example of a hazard statement that contains multiple hazards

The following code sample generates an ANSI Z535.6 grouped safety message that specifies information about multiple hazards:

<hazardstatement type="warning">
    <messagepanel>
        <typeofhazard>
            <hazardsymbol keyref="hazard-electricshock"/>
            ELECTRIC SHOCK HAZARD</typeofhazard>
        <consequence>The equipment must be grounded. Improper grounding, setup, or usage of
                     the system can cause electric shock</consequence>
        <howtoavoid>
            <hazardsymbol keyref="hazard-groundpowersource"/>
            <ul>
                <li>Turn off and disconnect power at main switch before disconnecting any
                    cables or before servicing or installing any equipment.</li>
                <li>Connect only to grounded power sources.</li>
                <li>All electric wiring must be done by a qualified electrician and comply
                    with all local codes and regulations.</li>
            </ul>
        </howtoavoid>
    </messagepanel>
    <!-- ... -->
    <messagepanel>
        <typeofhazard>
            <hazardsymbol keyref="hazard-hotsurface"/>
            BURN HAZARD</typeofhazard>
        <consequence>Electric sufaces and fluid can become very hot during
                     operation.</consequence>
        <howtoavoid>
            To avoid burns:
            <ul>
                <li>Do not touch hot fluid or equipment.</li>
            </ul>
        </howtoavoid>
    </messagepanel>
</hazardstatement>