<?xml-stylesheet type="text/xsl" href="../../xslt/element.xslt"?>
<element number="sFacility.03"  minOccurs="0"  maxOccurs="1"  dataTypeName="FacilityCode"  isNillable="Yes">
<name>Facility Location Code</name>
<national>Yes</national>
<deprecated></deprecated>
<state>Yes</state>
<definition>The code of the facility as assigned by the state.</definition>
<v2Number>D04_12</v2Number>
<usage>Recommended</usage>
<performanceMeasuresGroup></performanceMeasuresGroup>
<v3Comment>Used to populate dFacility.03 Facility Location Code.</v3Comment>
<v3Changes></v3Changes>
<deprecatedComment></deprecatedComment>
<restrictions>
  <FacilityCode baseType="string">
    <facet name="minLength" value="2"/>
    <facet name="maxLength" value="50"/>
  </FacilityCode>
</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_s002" role="Error">
      When Facility Location Code has a Not Value (Not Applicable, Not Recorded, or Not Reporting), it should be empty.
      </assert>
  <assert id="nemSch_s001" role="Error">
      When Facility Location Code 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>
