<?xml-stylesheet type="text/xsl" href="../../xslt/element.xslt"?>
<element number="sFacility.09"  minOccurs="0"  maxOccurs="1"  dataTypeName="ANSIStateCode"  isNillable="Yes">
<name>Facility State</name>
<national>Yes</national>
<deprecated></deprecated>
<state>Yes</state>
<definition>The state where the facility is located.</definition>
<v2Number></v2Number>
<usage>Recommended</usage>
<performanceMeasuresGroup></performanceMeasuresGroup>
<v3Comment>GNIS Codes Website: <a href="http://geonames.usgs.gov/domestic/download_data.htm">http://geonames.usgs.gov/domestic/download_data.htm</a>
																		<br/><br/>
																		Used to populate dFacility.09 Facility State.</v3Comment>
<v3Changes></v3Changes>
<deprecatedComment></deprecatedComment>
<restrictions>
  <ANSIStateCode baseType="string">
    <facet name="pattern" value="[0-9]{2}"/>
  </ANSIStateCode>
</restrictions>
<attributes>
  <NV>
    <NV.NotApplicable><facet name="enumeration" value="7701001" annotation="Not Applicable"/></NV.NotApplicable>
    <NV.NotRecorded><facet name="enumeration" value="7701003" annotation="Not Recorded"/></NV.NotRecorded>
    <NV.NotReporting><facet name="enumeration" value="7701005" annotation="Not Reporting"/></NV.NotReporting>
  </NV>
</attributes>
<asserts>
  <assert id="nemSch_s028" role="Warning">
      <elementRef elementNumber="sFacility.01">Type of Facility</elementRef>, <elementRef elementNumber="sFacility.03">Facility Location Code</elementRef>, <elementRef elementNumber="sFacility.07">Facility Street Address</elementRef>, <elementRef elementNumber="sFacility.08">Facility City</elementRef>, and <elementRef elementNumber="sFacility.09">Facility State</elementRef> should be a unique combination for each facility.
      </assert>
  <assert id="nemSch_s031" role="Warning">
      <elementRef elementNumber="sFacility.11">Facility County</elementRef> should belong within the <elementRef elementNumber="sFacility.09">Facility State</elementRef>.
      </assert>
  <assert id="nemSch_s002" role="Error">
      When Facility State has a Not Value (Not Applicable, Not Recorded, or Not Reporting), it should be empty.
      </assert>
  <assert id="nemSch_s001" role="Error">
      When Facility State is empty, it should have a Not Value (Not Applicable, Not Recorded, or Not Reporting, if allowed for the element), or it should be omitted (if the element is optional).
      </assert>
</asserts>
</element>
