<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Jeff Robertson version 2.2.1-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:complexType name="D01">
        <xs:sequence>
            <xs:element name="D01_01" type="EMSAgencyNumber">
                <xs:annotation>
                    <xs:documentation>The state-assigned provider number of the responding agency</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="D01_02" type="EMSAgencyName" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The formal name of the agency</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="D01_03" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>The state the Agency provides services in.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="AgencyState">
                            <xs:attributeGroup ref="currentStatus"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="D01_04" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>The county(s) the agency formally provides services for.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="AgencyCounty">
                            <xs:attributeGroup ref="currentStatus"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="D01_05" type="PrimaryTypeOfService" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The primary service type provided by the agency.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="D01_06" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>The other service type(s) which are provided by the agency.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="OtherTypesOfService">
                            <xs:attributeGroup ref="currentStatus"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="D01_07" type="DemographicStateCertificationLicensureLevels">
                <xs:annotation>
                    <xs:documentation>The highest credentialed personnel's level of service which the agency provides for every EMS encounter if requested.  In a tiered response system, this is the highest level of service which could be sent to any specific call.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="D01_08" type="OrganizationalType">
                <xs:annotation>
                    <xs:documentation>The organizational structure from which EMS services are delivered (fire, hospital, county, etc.)</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="D01_09" type="OrganizationStatus">
                <xs:annotation>
                    <xs:documentation>The primary organizational status of the agency.  The definition of Volunteer or Non-Volunteer is based on state or local terms.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="D01_10_0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>The element to hold each years statistical Information</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="D01_10" type="StatisticalYear">
                            <xs:annotation>
                                <xs:documentation>The year to information pertains to</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="D01_12" type="TotalServiceSizeArea" nillable="true">
                            <xs:annotation>
                                <xs:documentation>The total square miles in the agency's service area.</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="D01_13" type="TotalServiceAreaPopulation" nillable="true">
                            <xs:annotation>
                                <xs:documentation>The total population in the agency's service area based if possible on year 2000 census data.</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="D01_14" type="CallVolumeYear911" nillable="true">
                            <xs:annotation>
                                <xs:documentation>The number of 911 EMS called per year based on last calendar year.</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="D01_15" type="EMSDispatchVolumeYear" nillable="true">
                            <xs:annotation>
                                <xs:documentation>The number of EMS dispatches per based on last last calendar year.</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="D01_16" type="EMSTransportVolumeYear" nillable="true">
                            <xs:annotation>
                                <xs:documentation>The number of EMS transports per year based on last calendar year.</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="D01_17" type="EMSPatientContactVolumeYear" nillable="true">
                            <xs:annotation>
                                <xs:documentation>The number of EMS patient contacts per year based on last calendar year</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="D01_18" type="EMSBillableCallsYear" nillable="true" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>The number of EMS patient encounters which are billable based on the last calendar year.</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="D01_11" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>All other EMS or First Responder Agencies, which are in the service area or are available for mutual aname.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="OtherAgenciesInArea">
                            <xs:attributeGroup ref="currentStatus"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="D01_19" type="EMSAgencyTimeZone">
                <xs:annotation>
                    <xs:documentation>The time zone for the EMS Agency.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="D01_20" type="EMSAgencyDaylightSavingsTimeUse" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Indicate if the EMS Agency conforms to Daylight Savings Time.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="D01_21" type="NationalProviderIdentifier">
                <xs:annotation>
                    <xs:documentation>The National Provider Identifier associated with National Provider System (NPS) and used in all standard HIPPA transactions such as electronic claim filing</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attributeGroup ref="currentStatus"/>
    </xs:complexType>
</xs:schema>
