<?xml-stylesheet type="text/xsl" href="../../xslt/element.xslt"?>
<element number="sFacility.01"  minOccurs="0"  maxOccurs="1"  dataTypeName="TypeOfFacility"  isNillable="Yes">
<name>Type of Facility</name>
<national>Yes</national>
<deprecated></deprecated>
<state>Yes</state>
<definition>The type of facility (healthcare or other) that the EMS agency transports patients to or from.</definition>
<v2Number>D04_15</v2Number>
<usage>Recommended</usage>
<performanceMeasuresGroup></performanceMeasuresGroup>
<v3Comment>Used to populate dFacility.01 Type of Facility.</v3Comment>
<v3Changes></v3Changes>
<deprecatedComment></deprecatedComment>
<restrictions>
  <TypeOfFacility baseType="string">
    <facet name="enumeration" value="1701001" annotation="Assisted Living Facility"/>
    <facet name="enumeration" value="1701003" annotation="Clinic"/>
    <facet name="enumeration" value="1701005" annotation="Hospital"/>
    <facet name="enumeration" value="1701007" annotation="Nursing Home"/>
    <facet name="enumeration" value="1701009" annotation="Other"/>
    <facet name="enumeration" value="1701011" annotation="Urgent Care"/>
    <facet name="enumeration" value="1701013" annotation="Physical Rehabilitation Facility"/>
    <facet name="enumeration" value="1701015" annotation="Mental Health Facility"/>
    <facet name="enumeration" value="1701017" annotation="Dialysis Center"/>
    <facet name="enumeration" value="1701019" annotation="Diagnostic Services"/>
    <facet name="enumeration" value="1701021" annotation="Freestanding Emergency Department"/>
    <facet name="enumeration" value="1701023" annotation="Morgue/Mortuary"/>
    <facet name="enumeration" value="1701025" annotation="Police/Jail"/>
    <facet name="enumeration" value="1701027" annotation="Other EMS Responder (air)"/>
    <facet name="enumeration" value="1701029" annotation="Other EMS Responder (ground)"/>
    <facet name="enumeration" value="1701031" annotation="Other Recurring Care Center"/>
    <facet name="enumeration" value="1701033" annotation="Drug and/or Alcohol Rehabilitation Facility"/>
    <facet name="enumeration" value="1701035" annotation="Skilled Nursing Facility"/>
  </TypeOfFacility>
</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 Type of Facility has a Not Value (Not Applicable, Not Recorded, or Not Reporting), it should be empty.
      </assert>
  <assert id="nemSch_s001" role="Error">
      When Type of Facility 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>
