<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by Wes Bowden version 2.2-->
<xs:schema targetNamespace="http://www.nemsis.org" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.nemsis.org">
	<xs:complexType name="E02" id="UnitAgencyInformationType">
		<xs:annotation>
			<xs:documentation>Unit Agency Information section</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="E02_01" type="tns:EMSAgencyNumber">
				<xs:annotation>
					<xs:documentation>The state-assigned provider number of the responding agency</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_02" type="tns:IncidentNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The incident number assigned by the 911 Dispatch System</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_03" type="tns:EMSUnitResponseNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The internal EMS response number which is unique for each EMS unit’s (vehicles) response to an incident within an agency.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_04" type="tns:TypeOfServiceRequested">
				<xs:annotation>
					<xs:documentation>The type of service or category of service requested of the EMS service responding for this specific EMS incident.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_05" type="tns:PrimaryRollOfTheUnit">
				<xs:annotation>
					<xs:documentation>The primary roll of the EMS service which was requested for this specific EMS incident.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_06" type="tns:TypeOfDispatchDelay" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>The dispatch delays, if any, associated with the dispatch of the EMS unit to the patient encounter</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_07" type="tns:TypeOfResponseDelay" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>The response delays, if any, of the unit associated with the patient encounter</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_08" type="tns:TypeOfSceneDelay" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>The scene delays, if any, of the unit associated with the patient encounter</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_09" type="tns:TypeOfTransportDelay" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>The transport delays, if any, of the unit associated with the patient encounter</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_10" type="tns:TypeOfTurnAroundDelay" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>The turn-around delays, if any, associated with the EMS unit associated with the patient encounter</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_11" type="tns:EMSUnitNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The unique physical vehicle number of the responding unit</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_12" type="tns:EMSUnitCallSign">
				<xs:annotation>
					<xs:documentation>The EMS unit number used to dispatch and communicate with the unit.  This may be the same as the EMS Unit/Vehicle Number in many agencies.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_13" type="tns:VehicleDispatchLocation" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The station (or hospital) representing the geographic location of the vehicle at the time of dispatch</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_14" type="tns:ZoneNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Geographic zone representing the location of the responding vehicle at the time of dispatch.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_15" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The GPS coordinates associated with the EMS unit at the time of dispatch.</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:attributeGroup ref="tns:GPSLocation"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="E02_16" type="tns:OdometerReading" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The mileage (odometer reading) of the vehicle at the beginning of the call (when the wheels begin moving)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_17" type="tns:OdometerReading" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The mileage (odometer reading) of the vehicle when it arrives at the patient</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_18" type="tns:OdometerReading" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The mileage (odometer reading) of the vehicle when it arrives at the patient’s destination</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_19" type="tns:OdometerReading" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The ending mileage (odometer reading) of the vehicle (at time back in service)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="E02_20" type="tns:ResponseModeToScene">
				<xs:annotation>
					<xs:documentation>Indication whether or not lights and/or sirens were used on the vehicle on the way to the scene</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
