XML Schema "dFacility_v3.xsd"
Target Namespace:
http://www.nemsis.org
Defined Components:
17 local elements, 1 complexType, 5 simpleTypes
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
D:\Sandbox\nemsis_public\nemsis_public_v340CP2\XSDs\NEMSIS_XSDs\dFacility_v3.xsd; see XML source
Includes Schema:
commonTypes_v3.xsd [src]
Included in Schema:
DEMDataSet_v3.xsd [src]
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.nemsis.org" xmlns="http://www.nemsis.org" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="commonTypes_v3.xsd"/>
<xs:complexType id="dFacility.FacilityLocationInformation" name="dFacility">
<xs:sequence>
<xs:element id="dFacility.dFacilityGroup" maxOccurs="unbounded" minOccurs="0" name="dFacilityGroup">
<xs:annotation>
<xs:documentation>
Group Tag to hold info about Facility Information and Facility Type
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element id="dFacility.TypeofFacility" minOccurs="0" name="dFacility.01">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.01</number>
<name>Type of Facility</name>
<national>No</national>
<state>No</state>
<definition>
The type of facility (healthcare or other) that the EMS agency transports patients to or from.
</definition>
<v2Number>D04_15</v2Number>
<usage>Optional</usage>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="TypeOfFacility"/>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element id="dFacility.FacilityGroup" maxOccurs="unbounded" minOccurs="0" name="dFacility.FacilityGroup">
<xs:annotation>
<xs:documentation>
Group Tag to hold info about the Facility and the Facility details
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element id="dFacility.FacilityName" minOccurs="0" name="dFacility.02" type="FacilityName">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.02</number>
<name>Facility Name</name>
<national>No</national>
<state>No</state>
<definition>The name of the facility.</definition>
<v2Number>D04_11</v2Number>
<usage>Optional</usage>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element id="dFacility.FacilityCode" minOccurs="0" name="dFacility.03" type="FacilityCode">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.03</number>
<name>Facility Location Code</name>
<national>No</national>
<state>No</state>
<definition>
The code of the facility as assigned by the state or the EMS agency.
</definition>
<v2Number>D04_12</v2Number>
v2Number&gt;
<usage>Optional</usage>
<comment>
The information contained within this element could be used to populate eScene.10 (Incident Facility Code) or eDisposition.02 (Destination/Transferred To, Code) via a drop down list created at either the EMS Agency or State level.
</comment>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element id="dFacility.HospitalDesignation" maxOccurs="unbounded" minOccurs="0" name="dFacility.04">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.04</number>
<name>Hospital Designations</name>
<national>No</national>
<state>No</state>
<definition>
The designation(s) associated with the hospital (e.g., Trauma, STEMI, Peds, etc.)
</definition>
<v2Number/>
<usage>Optional</usage>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="HospitalDesignation">
<xs:attribute name="CorrelationID" type="CorrelationID" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element id="dFacility.FacilityNationalProviderIdentifier" maxOccurs="unbounded" minOccurs="0" name="dFacility.05">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.05</number>
<name>Facility National Provider Identifier</name>
<national>No</national>
<state>No</state>
<definition>
The facility National Provider Identifier associated with National Provider System (NPS).
</definition>
<usage>Optional</usage>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="NationalProviderIdentifier">
<xs:attribute name="CorrelationID" type="CorrelationID" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element id="dFacility.FacilityRoomSuiteorApartment" minOccurs="0" name="dFacility.06" type="FacilityRoom">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.06</number>
<name>Facility Room, Suite, or Apartment</name>
<national>No</national>
<state>No</state>
<definition>
The number of the specific room, suite, or apartment of the facility.
</definition>
<usage>Optional</usage>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element id="dFacility.FacilityStreetAddress" minOccurs="0" name="dFacility.07">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.07</number>
<name>Facility Street Address</name>
<national>No</national>
<state>No</state>
<definition>The address where the facility is located.</definition>
<usage>Optional</usage>
<comment>
The information contained within this element could be used to populate the address information within eScene.18 (Incident State) and/or eDisposition.03 (Destination Street Address) as appropriate.
</comment>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="StreetAddress">
<xs:attribute name="StreetAddress2" type="StreetAddress" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element id="dFacility.FacilityCity" minOccurs="0" name="dFacility.08" type="CityGnisCode">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.08</number>
<name>Facility City</name>
<national>No</national>
<state>No</state>
<definition>
The city where the facility is located (physical address).
</definition>
<usage>Optional</usage>
<comment>
The information contained within this element could be used to populate the address information within eScene.17 (Incident City) and/or eDisposition.04 (Destination City) as appropriate.
&lt;br/&gt;&lt;br/&gt;City codes are based on GNIS Feature Class. The primary Feature Class to use is "Civil" with "Populated Place" and "Military" code as additional options.
&lt;br/&gt;&lt;br/&gt;Definitions for each GNIS City Feature Class can be found on the GNIS Codes website.
&lt;br/&gt;&lt;br/&gt;GNIS Codes Website: &lt;a&gt;http://geonames.usgs.gov/domestic/download_data.htm&lt;/a&gt;
</comment>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element id="dFacility.FacilityState" minOccurs="0" name="dFacility.09" type="ANSIStateCode">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.09</number>
<name>Facility State</name>
<national>No</national>
<state>No</state>
<definition>The state where the facility is located.</definition>
<usage>Optional</usage>
<comment>
Based on the ANSI Code. The information contained within this element could be used to populate the address information within eScene.18 (Incident State) and/or eDisposition.05 (Destination State) as appropriate.
&lt;br/&gt;&lt;br/&gt;GNIS Codes Website: &lt;a&gt;http://geonames.usgs.gov/domestic/download_data.htm&lt;/a&gt;
</comment>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element id="dFacility.FacilityZIPCode" minOccurs="0" name="dFacility.10" type="ZIP">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.10</number>
<name>Facility ZIP Code</name>
<national>No</national>
<state>No</state>
<definition>The zip code where the facility is located.</definition>
<usage>Optional</usage>
&gt;
<comment>
The information contained within this element could be used to populate the address information within eScene.19 (Incident ZIP Code) and/or eDisposition.07 (Destination ZIP Code) as appropriate.
&lt;br/&gt;&lt;br/&gt;ZIP Codes Product Website: &lt;a&gt;https://www.zipcodedownload.com/Products/Product/Z5Commercial/Standard/Overview/&lt;/a&gt;
&lt;br/&gt;Product: USA - 5-digit ZIP Code Database, Commercial Edition
</comment>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element id="dFacility.FacilityCounty" minOccurs="0" name="dFacility.11" type="ANSICountyCode">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.11</number>
<name>Facility County</name>
<national>No</national>
<state>No</state>
<definition>The county where the facility is located.</definition>
<usage>Optional</usage>
<comment>
Based on the ANSI Code. The information contained within this element could be used to populate the address information within eScene.21 (Incident County) and/or eDisposition.06 (Destination County) as appropriate.
&lt;br/&gt;&lt;br/&gt;GNIS Codes Website: &lt;a&gt;http://geonames.usgs.gov/domestic/download_data.htm&lt;/a&gt;
</comment>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element id="dFacility.FacilityCountry" minOccurs="0" name="dFacility.12" type="ANSICountryCodesCAMXUS">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.12</number>
<name>Facility Country</name>
<national>No</national>
<state>No</state>
<definition>The country where the facility is located.</definition>
<usage>Optional</usage>
<comment>
Based on the ANSI Code. The information contained within this element could be used to populate the address information within eScene.22 (Incident Country) and/or eDisposition.08 (Destination Country) as appropriate.
&lt;br/&gt;&lt;br/&gt;ANSI Country Codes (ISO 3166) Website: &lt;a&gt;http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm &lt;/a&gt;
</comment>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element id="dFacility.FacilityGPSLocation" minOccurs="0" name="dFacility.13" type="GPSLocation">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.13</number>
<name>Facility GPS Location</name>
<national>No</national>
<state>No</state>
<definition>The facility GPS Coordinates.</definition>
<usage>Optional</usage>
<comment>
The information contained within this element could be used to populate the address information within eScene.10 (Scene GPS Location) and/or eDisposition.09 (Destination GPS Location) as appropriate.
&lt;br/&gt;&lt;br/&gt;The pattern for GPS location is in the format "&lt;span style="font-style:italic"&gt;latitude&lt;/span&gt;,&lt;span style="font-style:italic"&gt;longitude&lt;/span&gt;" where:
&lt;br/&gt;- &lt;span style="font-style:italic"&gt;latitude&lt;/span&gt; has a minimum of -90 and a maximum of 90 with up to 6 decimal places
&lt;br/&gt;- &lt;span style="font-style:italic"&gt;longitude&lt;/span&gt; has a minimum of -180 and a maximum of 180 with up to 6 decimal places
</comment>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element id="dFacility.FacilityUSNationalGridCoordinates" minOccurs="0" name="dFacility.14" type="USNG">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.14</number>
<name>Facility US National Grid Coordinates</name>
<national>No</national>
<state>No</state>
<definition>Facility US National Grid Coordinates</definition>
<usage>Optional</usage>
<comment>
Standard found at www.fgdc.gov/usng. The information contained within this element could be used to populate the address information within eScene.11 (Scene US National Grid Coordinates) and/or eDisposition.10 (Disposition Location US National Grid Coordinates) as appropriate.
</comment>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element id="dFacility.FacilityPhoneNumber" maxOccurs="unbounded" minOccurs="0" name="dFacility.15">
<xs:annotation>
<xs:documentation>
<nemsisTacDoc>
<number>dFacility.15</number>
<name>Facility Phone Number</name>
<national>No</national>
<state>No</state>
<definition>Facility phone number.</definition>
<v2Number/>
<usage>Optional</usage>
<comment>
This element contains an attribute to define what type of phone number is being documented (e.g., Fax, Home, Mobile, Pager, and Work).
</comment>
</nemsisTacDoc>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="PhoneNumber">
<xs:attribute name="PhoneNumberType" type="PhoneNumberType" use="optional"/>
<xs:attribute name="CorrelationID" type="CorrelationID" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="CorrelationID" type="CorrelationID" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="CorrelationID" type="CorrelationID" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="FacilityCode">
<xs:annotation>
<xs:documentation>
The code of the facility as assigned by the state or the EMS agency.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="2"/>
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="FacilityDepartment">
<xs:annotation>
<xs:documentation>The name or number of the facility department.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="2"/>
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="FacilityName">
<xs:annotation>
<xs:documentation>The name of the facility.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="2"/>
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="FacilityRoom">
<xs:annotation>
<xs:documentation>
The number of the specific room, suite, or apartment.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="15"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TypeOfFacility">
<xs:annotation>
<xs:documentation>The type of facility.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="1701001">
<xs:annotation>
<xs:documentation>Assisted Living Facility</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="1701003">
<xs:annotation>
<xs:documentation>Clinic</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="1701005">
<xs:annotation>
<xs:documentation>Hospital</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="1701007">
<xs:annotation>
<xs:documentation>Nursing Home</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="1701009">
<xs:annotation>
<xs:documentation>Other</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="1701011">
<xs:annotation>
<xs:documentation>Urgent Care</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="1701013">
<xs:annotation>
<xs:documentation>Rehabilitation Facility</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="1701015">
<xs:annotation>
<xs:documentation>Mental Health Facility</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="1701017">
<xs:annotation>
<xs:documentation>Dialysis Center</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:schema>