<?xml version="1.0"?>
<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Sukumar Dwarkanath (private) -->
<schema xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:have="urn:oasis:names:tc:emergency:EDXL:HAVE:1.0" xmlns:geo-oasis="http://www.opengis.net/gml/geo-oasis/10" targetNamespace="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="unqualified">
	<import namespace="http://www.opengis.net/gml/geo-oasis/10" schemaLocation="geo-oasis.xsd"/>
	<element name="HospitalStatus">
		<annotation>
			<documentation>The top level container element for reporting status of any number of hospitals. The EDXL-HAVE has no independent routing mechanism, so it requires a routing mechanism that is consistent with the EDXL-DE distribution types. It must contain one or more Hospital elements.
  </documentation>
		</annotation>
		<complexType>
			<sequence>
				<element name="Hospital" maxOccurs="unbounded">
					<annotation>
						<documentation>The container element for reporting status of a hospital. Multiple Instances of the Hospital element MAY occur within the HospitalStatus container element. </documentation>
					</annotation>
					<complexType>
						<sequence>
							<element name="OrganizationInformation" type="OrganizationInformation">
								<annotation>
									<documentation>The container element for organization information elements. The generic element Organization refers to the entity that is providing the data. This generic name is used throughout this document. Typically, this will include hospitals, nursing care centers, trauma centers etc.
</documentation>
								</annotation>
							</element>
							<element name="EmergencyDepartmentStatus" type="EmergencyDepartmentStatus" minOccurs="0">
								<annotation>
									<documentation>Report on the emergency department status for the organization.</documentation>
								</annotation>
							</element>
							<element name="HospitalBedCapacityStatus" type="HospitalBedCapacityStatus" minOccurs="0">
								<annotation>
									<documentation>The hospital bed capacity for the organization.</documentation>
								</annotation>
							</element>
							<element name="ServiceCoverageStatus" type="ServiceCoverageStatus" minOccurs="0">
								<annotation>
									<documentation>The physician service coverage status for the organization.</documentation>
								</annotation>
							</element>
							<element name="HospitalFacilityStatus" type="HospitalFacilityStatus" minOccurs="0">
								<annotation>
									<documentation>The status of operations for the organization.</documentation>
								</annotation>
							</element>
							<element name="HospitalResourcesStatus" type="HospitalResourceStatus" minOccurs="0">
								<annotation>
									<documentation>The status of resources for the organization.</documentation>
								</annotation>
							</element>
							<element name="LastUpdateTime" type="dateTime">
								<annotation>
									<documentation>The last time the information was updated.</documentation>
								</annotation>
							</element>
						</sequence>
					</complexType>
				</element>
			</sequence>
		</complexType>
	</element>
	<element name="CommentText" type="string">
		<annotation>
			<documentation>One or more comments</documentation>
		</annotation>
	</element>
	<complexType name="OrganizationInformation">
		<annotation>
			<documentation>The container element for organization information elements. </documentation>
		</annotation>
		<sequence>
			<element name="OrganizationID" type="string">
				<annotation>
					<documentation>An identifier of an organization based on the type of organization it is. In this case, it is used to specify the identifier for the healthcare organization. </documentation>
				</annotation>
			</element>
			<element name="OrganizationIDProviderName" minOccurs="0">
				<annotation>
					<documentation>The name of the provider that has provided the identification scheme. This could also be the name a particular identification list. </documentation>
				</annotation>
			</element>
			<element name="OrganizationName" type="string">
				<annotation>
					<documentation>The name of the organization. If multiple branches of a hospital are present, the OrganizationName may include the location information as well. </documentation>
				</annotation>
			</element>
			<element name="OrganizationTypeText" type="string" minOccurs="0">
				<annotation>
					<documentation>The general functional type of the organization. Example: Hospital, Nursing Center etc.</documentation>
				</annotation>
			</element>
			<element name="OrganizationLocation" minOccurs="0">
				<annotation>
					<documentation>The container element for the specifying the location of the organization. The location consists of the address and the geographic location (which is specified as a point). The geographic coordinates specified in Point must match the address.</documentation>
				</annotation>
				<complexType>
					<sequence>
						<element name="StreetFullText" type="string" minOccurs="0">
							<annotation>
								<documentation>A complete street reference. For example, 123 Main Street NW.</documentation>
							</annotation>
						</element>
						<element name="LocationCityName" type="string" minOccurs="0">
							<annotation>
								<documentation>A name of a city or town.</documentation>
							</annotation>
						</element>
						<element name="LocationCountryName" type="string" minOccurs="0">
							<annotation>
								<documentation>A name of a country</documentation>
							</annotation>
						</element>
						<element name="LocationStateName" type="string" minOccurs="0">
							<annotation>
								<documentation>A name of a state, commonwealth, province, or other subregion of a country.</documentation>
							</annotation>
						</element>
						<element name="LocationPostalCountyId" type="string" minOccurs="0">
							<annotation>
								<documentation>A zip code or postal code.</documentation>
							</annotation>
						</element>
						<element name="LocationCountyName" type="string" minOccurs="0">
							<annotation>
								<documentation>A name of a county, parish, or vicinage.</documentation>
							</annotation>
						</element>
						<element name="OrganizationGeoLocation" type="OrganizationGeoLocation" minOccurs="0">
							<annotation>
								<documentation>The container element for specifying the geo-coded address. For the purpose of this specification, it is constrained to use only the Point element. </documentation>
							</annotation>
						</element>
					</sequence>
				</complexType>
			</element>
			<element ref="CommentText" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="EmergencyDepartmentStatus">
		<annotation>
			<documentation> The container of all of the elements related to the emergency department status. It describes the ability of this emergency department to treat patients.</documentation>
		</annotation>
		<sequence>
			<element name="EMSTraffic" minOccurs="0">
				<annotation>
					<documentation>Ability of this emergency department to receive patients via emergency medical services.</documentation>
				</annotation>
				<complexType>
					<sequence>
						<element name="EMSTrafficStatus" minOccurs="0">
							<annotation>
								<documentation>Identifies the status of EMS traffic operations</documentation>
							</annotation>
							<simpleType>
								<restriction base="string">
									<enumeration value="Normal">
										<annotation>
											<documentation>Accepting all EMS traffic.</documentation>
										</annotation>
									</enumeration>
									<enumeration value="Advisory">
										<annotation>
											<documentation>Experiencing specific resource limitations which may affect transport of some EMS traffic.</documentation>
										</annotation>
									</enumeration>
									<enumeration value="Closed">
										<annotation>
											<documentation>Requesting re-route of EMS traffic to other facilities.</documentation>
										</annotation>
									</enumeration>
									<enumeration value="N/A">
										<annotation>
											<documentation>Not Applicable. This hospital does not have an emergency department.</documentation>
										</annotation>
									</enumeration>
								</restriction>
							</simpleType>
						</element>
						<element name="EMSTrafficReason" type="string" minOccurs="0">
							<annotation>
								<documentation>It is used to report the contributing factor to an EMSTraffic Status.</documentation>
							</annotation>
						</element>
						<element ref="CommentText" minOccurs="0"/>
					</sequence>
				</complexType>
			</element>
			<element name="EMSCapacity" type="TriageCount" minOccurs="0">
				<annotation>
					<documentation>The number of each triage patient type the hospital can accept.</documentation>
				</annotation>
			</element>
			<element name="EMSCensus" type="TriageCount" minOccurs="0">
				<annotation>
					<documentation>The number of each triage patient type the hospital currently has.</documentation>
				</annotation>
			</element>
			<element name="EMSAirTransportStatus" type="Offload" minOccurs="0">
				<annotation>
					<documentation>The container element to indicate the status and offload time for ambulance capabilities.</documentation>
				</annotation>
			</element>
			<element name="EMSAmbulanceStatus" type="Offload" minOccurs="0">
				<annotation>
					<documentation>The container element to indicate the status and offload time for air transport capabilities. </documentation>
				</annotation>
			</element>
		</sequence>
	</complexType>
	<complexType name="HospitalBedCapacityStatus">
		<annotation>
			<documentation>The container of all of the elements related to the hospital bed capacity and status. For each of the bed types (AdultICU, MedicalSurgical, etc.), if needed, a collection of named sub-types can be provided. The totals of sub-categories SHOULD equal the capacity data specified in the parent.  
</documentation>
		</annotation>
		<sequence>
			<element name="BedCapacity" maxOccurs="unbounded">
				<annotation>
					<documentation>Container element to identify the number of available beds. Each Bed Type and the sub-categories under it must be encapsulated by a BedCapacity element. Multiple instances of BedCapacity elements are allowed. For example, a hospital may sub-categorize Adult ICU beds into Surgery, Cardiac, General and Neuro. 
</documentation>
				</annotation>
				<complexType>
					<sequence>
						<element name="BedType" block="restriction" minOccurs="0" maxOccurs="unbounded">
							<annotation>
								<documentation>Enumerated list of available Bed Types</documentation>
							</annotation>
							<simpleType>
								<restriction base="string">
									<enumeration value="AdultICU">
										<annotation>
											<documentation>These can support critically ill or injured patients, including ventilator support.  
This category includes all major subtypes of ICU beds, including neuro, cardiac, trauma, or medical, with the exception that this category does not include burn ICU beds.
</documentation>
										</annotation>
									</enumeration>
									<enumeration value="MedicalSurgical">
										<annotation>
											<documentation>These are also thought of as ward beds. These beds may or may not include cardiac telemetry capability. 
</documentation>
										</annotation>
									</enumeration>
									<enumeration value="Burn">
										<annotation>
											<documentation>These are thought of as burn ICU beds, either approved by the American Burn Association or self-designated. These beds are NOT to be included in other ICU bed counts.
</documentation>
										</annotation>
									</enumeration>
									<enumeration value="PediatricICU">
										<annotation>
											<documentation>Capacity status for pediatric ICU beds. This is similar to adult ICU beds, but for patients 17-years-old and younger.</documentation>
										</annotation>
									</enumeration>
									<enumeration value="Pediatrics">
										<annotation>
											<documentation>Capacity status for pediatrics beds. These are ward medical/surgical beds for patients 17-years-old and younger.</documentation>
										</annotation>
									</enumeration>
									<enumeration value="Psychiatric">
										<annotation>
											<documentation>Capacity status for psychiatric beds. These are ward beds on a closed/locked psychiatric unit or ward beds where a patient will be attended by a sitter. </documentation>
										</annotation>
									</enumeration>
									<enumeration value="NegativeFlowIsolation">
										<annotation>
											<documentation>Capacity status for negative airflow isolation beds. These provide respiratory isolation. NOTE: This value may represent available beds included in the counts of other types. </documentation>
										</annotation>
									</enumeration>
									<enumeration value="OtherIsolation">
										<annotation>
											<documentation>Capacity status for other isolation beds. These provide isolation where airflow is not a concern.  NOTE: This value may represent available beds included in the counts of other types.  </documentation>
										</annotation>
									</enumeration>
									<enumeration value="OperatingRooms">
										<annotation>
											<documentation>Capacity status for operating rooms which are equipped staffed and could be made available for patient care in a short period of time.</documentation>
										</annotation>
									</enumeration>
								</restriction>
							</simpleType>
						</element>
						<element name="SubCategoryBedType" block="extension" minOccurs="0" maxOccurs="unbounded">
							<annotation>
								<documentation>The name of the sub-category bed type. Each bed type (AdultICU, MedicalSurgical, etc.) may optionally contain a collection of named sub-categories. The totals of sub-categories should equal the capacity data specified in the parent. </documentation>
							</annotation>
						</element>
						<element name="Capacity" type="Capacity" minOccurs="0">
							<annotation>
								<documentation>Container element to define the capacity information of each specified bed type or sub category bed type.  </documentation>
							</annotation>
						</element>
						<element ref="CommentText" minOccurs="0" maxOccurs="unbounded"/>
					</sequence>
				</complexType>
			</element>
		</sequence>
	</complexType>
	<complexType name="ServiceCoverageStatus">
		<annotation>
			<documentation>Container element of all the elements of service coverage. This includes both the necessary staff and facilities.  Indicator of the availability of specialty service coverage.</documentation>
		</annotation>
		<sequence>
			<element name="Burn" type="boolean" minOccurs="0">
				<annotation>
					<documentation>The availability of Burn center services. </documentation>
				</annotation>
			</element>
			<element name="Cardiology" type="boolean" minOccurs="0">
				<annotation>
					<documentation>The availability of Cardiology services. </documentation>
				</annotation>
			</element>
			<element name="InfectiousDisease" type="boolean" minOccurs="0">
				<annotation>
					<documentation>The availability of Infectious Diseases. </documentation>
				</annotation>
			</element>
			<element name="Neonatology" type="boolean" minOccurs="0">
				<annotation>
					<documentation>The availability of Neonatology services.  </documentation>
				</annotation>
			</element>
			<element name="Neurology" type="boolean" minOccurs="0">
				<annotation>
					<documentation>The availability of Neurology services. </documentation>
				</annotation>
			</element>
			<element name="Orthopedic" type="boolean" minOccurs="0">
				<annotation>
					<documentation>The availability of Orthopedic services.  </documentation>
				</annotation>
			</element>
			<element name="OBGYN" minOccurs="0">
				<annotation>
					<documentation>The availability of OBGYN services. </documentation>
				</annotation>
				<complexType>
					<sequence>
						<element name="OBGYN" type="boolean" minOccurs="0">
							<annotation>
								<documentation>The Sub-type element of the OBGYN services.</documentation>
							</annotation>
						</element>
						<element name="LaborDelivery" type="boolean" minOccurs="0">
							<annotation>
								<documentation>Sub-type element of the OBGYN Services. Availability of Labor Delivery services. </documentation>
							</annotation>
						</element>
					</sequence>
				</complexType>
			</element>
			<element name="Psychiatric" minOccurs="0">
				<annotation>
					<documentation>The availability of psychiatric services. </documentation>
				</annotation>
				<complexType>
					<sequence>
						<element name="Pediatric" type="boolean" minOccurs="0">
							<annotation>
								<documentation>Availability of Adult General Psychiatric services. </documentation>
							</annotation>
						</element>
						<element name="AdultGeneral" type="boolean" minOccurs="0">
							<annotation>
								<documentation>Availability of Pediatric Psychiatric services. </documentation>
							</annotation>
						</element>
					</sequence>
				</complexType>
			</element>
			<element name="Surgery" minOccurs="0">
				<annotation>
					<documentation>The availability of general surgery services.   </documentation>
				</annotation>
				<complexType>
					<sequence>
						<element name="General" type="boolean" minOccurs="0">
							<annotation>
								<documentation>The availability of general surgical services.  </documentation>
							</annotation>
						</element>
						<element name="AdultGeneralSugery" type="boolean" minOccurs="0">
							<annotation>
								<documentation>The availability of adult general services.  </documentation>
							</annotation>
						</element>
						<element name="Pediatrics" type="boolean" minOccurs="0">
							<annotation>
								<documentation>The availability of Pediatrics general surgical services. </documentation>
							</annotation>
						</element>
						<element name="Orthopedics" type="boolean" minOccurs="0">
							<annotation>
								<documentation>The availability of Orthopedic surgical services.</documentation>
							</annotation>
						</element>
						<element name="Neurosurgery" type="boolean" minOccurs="0">
							<annotation>
								<documentation>The availability of Neurosurgery services. </documentation>
							</annotation>
						</element>
						<element name="Facial" type="boolean" minOccurs="0">
							<annotation>
								<documentation>The availability of facial surgical services. </documentation>
							</annotation>
						</element>
						<element name="CardioThoracic" type="boolean" minOccurs="0">
							<annotation>
								<documentation>The availability of cardiothoracic surgical services.</documentation>
							</annotation>
						</element>
						<element name="Hand" type="boolean" minOccurs="0">
							<annotation>
								<documentation>The availability of hand surgery services.</documentation>
							</annotation>
						</element>
						<element name="Reimplantation" type="boolean" minOccurs="0">
							<annotation>
								<documentation>The availability of reimplantation surgical services.  </documentation>
							</annotation>
						</element>
						<element name="Spinal" type="boolean" minOccurs="0">
							<annotation>
								<documentation>The availability of spinal surgical services.  </documentation>
							</annotation>
						</element>
						<element name="Vascular" type="boolean" minOccurs="0">
							<annotation>
								<documentation>The availability of vascular surgical services. </documentation>
							</annotation>
						</element>
						<element name="Anesthesia" type="boolean" minOccurs="0">
							<annotation>
								<documentation>The availability of anesthesia services. </documentation>
							</annotation>
						</element>
					</sequence>
				</complexType>
			</element>
			<element ref="CommentText" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="HospitalFacilityStatus">
		<annotation>
			<documentation>The container of all of the elements related to the status of the facility.  </documentation>
		</annotation>
		<sequence>
			<element name="EOCStatus" minOccurs="0">
				<annotation>
					<documentation>Whether the EOC is currently operating.</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<enumeration value="Active"/>
						<enumeration value="Inactive"/>
					</restriction>
				</simpleType>
			</element>
			<element name="EOCPlan" minOccurs="0">
				<annotation>
					<documentation>Whether the EOC has activated its Emergency Operations Plan (EOP).</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<enumeration value="Active"/>
						<enumeration value="Inactive"/>
					</restriction>
				</simpleType>
			</element>
			<element name="ClinicalStatus" minOccurs="0">
				<annotation>
					<documentation>The cliniical status of the facility. </documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<enumeration value="Normal">
							<annotation>
								<documentation>Hospital clinical resources are operating within normal conditions.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Level-1">
							<annotation>
								<documentation>Hospital clinical resources are operating at Level-1 surge conditions.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Level-2">
							<annotation>
								<documentation>Hospital clinical resources are operating at Level-2 surge conditions.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Full">
							<annotation>
								<documentation>Hospital clinical resources are exceeded and acceptable care cannot be
                                provided to additional patients. Diversion or community surge response is required.</documentation>
							</annotation>
						</enumeration>
					</restriction>
				</simpleType>
			</element>
			<element name="DeconCapacity" minOccurs="0">
				<annotation>
					<documentation>The capacity for chemical/biological/radiological patient decontamination.</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<enumeration value="Inactive">
							<annotation>
								<documentation>Not being used, but available if needed.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Open">
							<annotation>
								<documentation>In use and able to accept additional patients.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Full">
							<annotation>
								<documentation>In use at maximum capacity.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Exceeded">
							<annotation>
								<documentation>Storage needs exceed available space.</documentation>
							</annotation>
						</enumeration>
					</restriction>
				</simpleType>
			</element>
			<element name="MorgueCapacity" minOccurs="0">
				<annotation>
					<documentation>The status of the morgue capacity. </documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<enumeration value="Open">
							<annotation>
								<documentation>Space is available.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Full">
							<annotation>
								<documentation>All normal space is in use.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Exceeded">
							<annotation>
								<documentation>Storage needs exceed available space.</documentation>
							</annotation>
						</enumeration>
					</restriction>
				</simpleType>
			</element>
			<element name="FacilityStatus" minOccurs="0">
				<annotation>
					<documentation>The status of the facility.</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<enumeration value="Normal">
							<annotation>
								<documentation>No conditions exist that adversely affect
                                the general operations of the facility.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Compromised">
							<annotation>
								<documentation>General operations of the facility have been
                                affected due to damage, operating on emergency backup systems,
                                or facility contamination.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Evacuating">
							<annotation>
								<documentation>Indicates that a hospital is in the process
                                of a partial or full evacuation.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Closed">
							<annotation>
								<documentation>Indicates that a hospital is no longer capable
                                of providing services and only emergency services/restoration
                                personnel remain in the facility.</documentation>
							</annotation>
						</enumeration>
					</restriction>
				</simpleType>
			</element>
			<element name="SecurityStatus" minOccurs="0">
				<annotation>
					<documentation>The status of security procedures in the hospital.</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<enumeration value="Normal">
							<annotation>
								<documentation>The hospital is operating under routine security
                                procedures.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Elevated">
							<annotation>
								<documentation>The hospital has activated increased security
                                procedures (awareness, surveillance) due to a potential threat,
                                or specific security related event i.e. increase in local threat
                                level, VIP, bomb threat.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="RestrictedAccess">
							<annotation>
								<documentation>Based on security needs, the hospital has
                                activated procedures to allow access to the facility through
                                a reduced number of controlled entrances.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Lockdown">
							<annotation>
								<documentation>Based on security needs, the hospital has
                                activated procedures to control entry to the facility to
                                authorized persons only.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Quarantine">
							<annotation>
								<documentation>Based on a public health emergency, the
                                entry and exit of the facility is controlled by public
                                health officials.</documentation>
							</annotation>
						</enumeration>
					</restriction>
				</simpleType>
			</element>
			<element name="Activity24Hr" minOccurs="0">
				<annotation>
					<documentation>The container element for reporting activities in the last 24 hours.  </documentation>
				</annotation>
				<complexType>
					<sequence>
						<element name="Admissions" minOccurs="0"/>
						<element name="Discharges" minOccurs="0"/>
						<element name="Deaths" minOccurs="0"/>
					</sequence>
				</complexType>
			</element>
			<element ref="CommentText" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="HospitalResourceStatus">
		<annotation>
			<documentation>The container for all the elements related to the operations of the facility.  </documentation>
		</annotation>
		<sequence>
			<element name="Staffing" minOccurs="0">
				<annotation>
					<documentation>The status of staffing.  </documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<enumeration value="Adequate">
							<annotation>
								<documentation>Meets the current needs.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Insufficient">
							<annotation>
								<documentation>Current needs not being met.</documentation>
							</annotation>
						</enumeration>
					</restriction>
				</simpleType>
			</element>
			<element name="FacilityOperations" minOccurs="0">
				<annotation>
					<documentation>The status of supplies necessary for facility operations.  </documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<enumeration value="Adequate">
							<annotation>
								<documentation>Meets the current needs.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Insufficient">
							<annotation>
								<documentation>Current needs not being met.</documentation>
							</annotation>
						</enumeration>
					</restriction>
				</simpleType>
			</element>
			<element name="ClinicalOperations" minOccurs="0">
				<annotation>
					<documentation>The status of supplies necessary for clinical operations. </documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<enumeration value="Adequate">
							<annotation>
								<documentation>Meets the current needs.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Insufficient">
							<annotation>
								<documentation>Current needs not being met.</documentation>
							</annotation>
						</enumeration>
					</restriction>
				</simpleType>
			</element>
			<element ref="CommentText" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="TriageCount">
		<annotation>
			<documentation>The number of each triage patient type the overall hospital currently has.</documentation>
		</annotation>
		<sequence>
			<element name="TriageRed" type="integer" minOccurs="0">
				<annotation>
					<documentation>Number of victims with immediate needs.</documentation>
				</annotation>
			</element>
			<element name="TriageYellow" type="integer" minOccurs="0">
				<annotation>
					<documentation>Number of victims with delayed needs.</documentation>
				</annotation>
			</element>
			<element name="TriageGreen" type="integer" minOccurs="0">
				<annotation>
					<documentation>Number of victims with minor needs.</documentation>
				</annotation>
			</element>
			<element name="TriageBlack" type="integer" minOccurs="0">
				<annotation>
					<documentation>Number of deceased victims.</documentation>
				</annotation>
			</element>
		</sequence>
	</complexType>
	<complexType name="Capacity">
		<annotation>
			<documentation>Top level complex schema type defining bed capacity counts
            given a specific type of bed.</documentation>
		</annotation>
		<sequence>
			<element name="CapacityStatus" minOccurs="0">
				<annotation>
					<documentation>Indicator of status of bed type or sub-category bed type.  </documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<enumeration value="Vacant/Available"/>
						<enumeration value="NotAvailable"/>
					</restriction>
				</simpleType>
			</element>
			<element name="AvailableCount" type="integer" minOccurs="0">
				<annotation>
					<documentation>The number of vacant/available beds to which patients can be immediately transported.  These must include supporting space, equipment, medical material, ancillary and support services and staff to operate under normal circumstances. These beds are licensed, physically available and have staff on hand to attend to the patient who occupies the bed.</documentation>
				</annotation>
			</element>
			<element name="BaselineCount" type="integer" minOccurs="0">
				<annotation>
					<documentation>The maximum (baseline) number of beds in this category.</documentation>
				</annotation>
			</element>
			<element name="AdditionalCapacityCount24Hr" type="integer" minOccurs="0">
				<annotation>
					<documentation>Estimate how many beds above the current number could be made vacant/available within 24 hours. This includes institutional surge beds as well as beds made available by discharging/transferring patients.</documentation>
				</annotation>
			</element>
			<element name="AdditionalCapacityCount72Hr" type="integer" minOccurs="0">
				<annotation>
					<documentation>Estimate how many beds above the current number could be made vacant/available within 72 hours. This includes institutional surge beds as well as beds made available by discharging/transferring patients.</documentation>
				</annotation>
			</element>
		</sequence>
	</complexType>
	<complexType name="Offload">
		<annotation>
			<documentation>Indicator of offload times of ambulance capabilities.  The time it takes to transfer care of a patient to hospital staff, thereby freeing the transport for assignment. </documentation>
		</annotation>
		<sequence>
			<element name="EMSOffloadStatus" minOccurs="0">
				<annotation>
					<documentation>Indicator of offload times of ambulance capabilities.  </documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<enumeration value="Normal">
							<annotation>
								<documentation>The time required to offload a patient is typical.</documentation>
							</annotation>
						</enumeration>
						<enumeration value="Delayed">
							<annotation>
								<documentation>The time required to offload a patient is longer than typical. </documentation>
							</annotation>
						</enumeration>
					</restriction>
				</simpleType>
			</element>
			<element name="EMSOffloadMinutes" type="integer" minOccurs="0">
				<annotation>
					<documentation>Average offload time in minutes.</documentation>
				</annotation>
			</element>
		</sequence>
	</complexType>
	<complexType name="OrganizationGeoLocation">
		<annotation>
			<documentation>The container element for specifying the geo-coded address. </documentation>
		</annotation>
		<complexContent>
			<extension base="geo-oasis:SimplePositionType">
				<sequence>
					<element ref="geo-oasis:where"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
</schema>

