OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

emergency-tep message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: TEP Schema Changes


Here is the changed TEP schema for discussion at 2.

 

Brian M Wilkins

Senior Software Systems Engineer

The MITRE Corporation

bwilkins@mitre.org

office: 781-271-2332

cell: 781-710-2617

 

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:ct="urn:oasis:names:tc:emergency:edxl:ct:1.0" xmlns:xal="urn:oasis:names:tc:emergency:edxl:ciq:1.0:xal" xmlns:tep="urn:oasis:names:tc:emergency:EDXL:TEP:1.0" xmlns:ns1="urn:oasis:names:tc:emergency:edxl:tep:ct:1.0" xmlns:ext="urn:oasis:names:tc:emergency:edxl:extension:1.0" targetNamespace="urn:oasis:names:tc:emergency:EDXL:TEP:1.0" elementFormDefault="qualified">
	<xsd:import namespace="urn:oasis:names:tc:emergency:edxl:ct:1.0" schemaLocation="./edxl-ct-v1.0-wd05.xsd"/>
	<xsd:import namespace="urn:oasis:names:tc:emergency:edxl:ciq:1.0:xal" schemaLocation="./edxl_xAL.xsd"/>
	<xsd:import namespace="urn:oasis:names:tc:emergency:edxl:extension:1.0" schemaLocation="./edxl-ext-v1.0.xsd"/>
	<xsd:element name="TEPMessage">
		<xsd:annotation>
			<xsd:documentation>Group of elements used to uniquely identify a TEP message and its source.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="messageID" type="ct:EDXLStringType"/>
				<xsd:element name="systemID" type="ct:EDXLStringType" minOccurs="0"/>
				<xsd:element name="patient" type="tep:PatientType"/>
				<xsd:element ref="ext:extension" minOccurs="0" maxOccurs="unbounded" />
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:complexType name="PatientType">
		<xsd:annotation>
			<xsd:documentation>Group of elements used to uniquely describe the patient.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="patientID" type="tep:PatientIDType" maxOccurs="unbounded"/>
			<xsd:element name="gender" type="tep:GenderDefaultValues"/>
			<xsd:element name="patientAge" type="tep:PatientAgeType"/>
			<xsd:element name="raceEthnicity" type="ct:ValueListType" minOccurs="0"/>
			<xsd:element name="dateOfBirth" type="xsd:date" minOccurs="0"/>
			<xsd:element name="personalID" type="ct:PersonDetailsType" minOccurs="0"/>
			<xsd:element name="hairColor" type="ct:ValueKeyType" minOccurs="0"/>
			<xsd:element name="eyeColor" type="ct:ValueKeyType" minOccurs="0"/>
			<xsd:element name="distinguishingMarks" type="ct:EDXLStringType" minOccurs="0"/>
			<xsd:element name="fluentSpokenLanguages" type="ct:ValueListType" minOccurs="0"/>
			<xsd:element name="specialTransportationNeeds" type="ct:ValueListType" minOccurs="0"/>
			<xsd:element name="specialMedicalNeeds" type="ct:ValueListType" minOccurs="0"/>
			<xsd:element name="medicationAllergies" type="ct:ValueListType" minOccurs="0"/>
			<xsd:element name="currentMedication" type="tep:MedicationType" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="familyUnificationCode" type="ct:EDXLStringType" minOccurs="0"/>
			<xsd:element name="barriersToPatientCare" type="ct:ValueListType" minOccurs="0"/>
			<xsd:element name="evacuationDestinationRequired" type="tep:PatientEvacuationDestinationRequiredDefaultValues" minOccurs="0"/>
			<xsd:element name="patientContactInformation" type="ct:PersonDetailsType" minOccurs="0"/>
			<xsd:element name="closestRelativeGuardianContactInformation" type="ct:PersonDetailsType" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="specialClassification" type="tep:SpecialClassificationDefaultValues" minOccurs="0"/>
			<xsd:element name="situation" type="tep:SituationType"/>
			<xsd:element name="healthCareProvider" type="tep:HealthCareProviderType"/>
			<xsd:element name="patientEncounter" type="tep:PatientEncounterType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="SituationType">
		<xsd:annotation>
			<xsd:documentation>Group of elements used to describe the incident associated with the patient.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="incidentID" type="tep:IncidentIDType" maxOccurs="unbounded"/>
			<xsd:element name="incidentLocation" type="ct:EDXLLocationType"/>
			<xsd:element name="incidentStartDateTime" type="ct:EDXLDateTimeType" minOccurs="0"/>
			<xsd:element name="relatedIncidentID" type="ct:EDXLStringType" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="HealthCareProviderType">
		<xsd:annotation>
			<xsd:documentation>Group of elements used for identifying and describing a certified care provider (typically  Emergency Medical Services personnel).</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="providerNumber" type="ct:ValueKeyType"/>
			<xsd:element name="providerName" type="ct:EDXLStringType"/>
			<xsd:element name="providerJurisdiction" type="xal:AddressType"/>
			<xsd:element name="providerCountry" type="ct:ValueKeyType"/>
			<xsd:element name="providerKind" type="ct:ValueListType"/>
			<xsd:element name="providerDomainName" type="ct:EDXLStringType" minOccurs="0"/>
			<xsd:element name="personnelIDNumber" type="ct:EDXLStringType" minOccurs="0"/>
			<xsd:element name="personnelJurisdiction" type="xal:AddressType" minOccurs="0"/>
			<xsd:element name="personnelCertificationLevel" type="ct:ValueListType" minOccurs="0"/>
			<xsd:element name="transport" type="tep:TransportType" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="TransportType">
		<xsd:annotation>
			<xsd:documentation>Group of elements used for identifying and describing a conveyance (vehicle) used to transport a patient.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="unitNumber" type="ct:EDXLStringType" minOccurs="0"/>
			<xsd:element name="vehicleKind" type="ct:ValueKeyType" minOccurs="0"/>
			<xsd:element name="vehicleProvider" type="ct:EDXLStringType" minOccurs="0"/>
			<xsd:element name="vehicleJurisdiction" type="xal:AddressType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="PatientEncounterType">
		<xsd:annotation>
			<xsd:documentation>Group of elements used to describe an instance of an encounter between a patient (patient) and an EMS Care Provider.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="encounterID" type="ct:EDXLStringType"/>
			<xsd:element name="encounterDateTime" type="ct:EDXLDateTimeType"/>
			<xsd:element name="locationCategory" type="ct:ValueKeyType"/>
			<xsd:element name="encounterLocation" type="ct:EDXLLocationType"/>
			<xsd:element name="patientCare" type="tep:PatientCareType" maxOccurs="unbounded"/>
			<xsd:element name="patientTransfer" type="tep:PatientTransferType" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="PatientCareType">
		<xsd:annotation>
			<xsd:documentation>Group of elements used to describe Care Provider observations, evaluations, electronic measures and actual treatments and procedures taken for or performed on the patient at a particular point in time.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="patientCareRecordID" type="ct:EDXLStringType"/>
			<xsd:element name="patientCareRecordDateTime" type="ct:EDXLDateTimeType"/>
			<xsd:element name="triageStatus" type="tep:TriageStatusDefaultValues"/>
			<xsd:element name="patientCurrentDisposition" type="tep:PatientCurrentDispositionDefaultValues"/>
			<xsd:element name="chiefComplaint" type="ct:EDXLStringType" minOccurs="0"/>
			<xsd:element name="systolicBloodPressure" minOccurs="0">
				<xsd:simpleType>
					<xsd:restriction base="xsd:integer">
						<xsd:minInclusive value="0"/>
						<xsd:maxInclusive value="300"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="diastolicBloodPressure" minOccurs="0">
				<xsd:simpleType>
					<xsd:restriction base="xsd:integer">
						<xsd:minInclusive value="0"/>
						<xsd:maxInclusive value="300"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="pulseRate" minOccurs="0">
				<xsd:simpleType>
					<xsd:restriction base="xsd:integer">
						<xsd:minInclusive value="0"/>
						<xsd:maxInclusive value="320"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="respiratoryRate" minOccurs="0">
				<xsd:simpleType>
					<xsd:restriction base="xsd:integer">
						<xsd:minInclusive value="0"/>
						<xsd:maxInclusive value="100"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="cardiacMonitorRhythm" type="ct:ValueListType" minOccurs="0"/>
			<xsd:element name="twelveLeadECGInterpretation" type="ct:EDXLStringType" minOccurs="0"/>
			<xsd:element name="pulseOximetry" type="ct:PercentageType" minOccurs="0"/>
			<xsd:element name="CO2Level" type="xsd:unsignedInt" minOccurs="0"/>
			<xsd:element name="bloodGlucoseLevel" minOccurs="0">
				<xsd:simpleType>
					<xsd:restriction base="xsd:integer">
						<xsd:minInclusive value="0"/>
						<xsd:maxInclusive value="500"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="temperature" type="ct:DegreesCType" minOccurs="0"/>
			<xsd:element name="totalGCS" minOccurs="0">
				<xsd:simpleType>
					<xsd:restriction base="xsd:integer">
						<xsd:minInclusive value="3"/>
						<xsd:maxInclusive value="15"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="medicationAdministered" type="tep:MedicationType" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="proceduresPerformed" type="ct:ValueListType" minOccurs="0"/>
			<xsd:element name="careProviderPrimaryImpression" type="ct:ValueListType" minOccurs="0"/>
			<xsd:element name="seriousConcerns" type="ct:EDXLStringType" minOccurs="0"/>
			<xsd:element name="contaminationRadiationContagionStatus" type="xsd:boolean" minOccurs="0"/>
			<xsd:element name="acsCDCFieldTraumaCriteria" type="xsd:boolean" minOccurs="0"/>
			<xsd:element name="contingencyMedicalSpecialtyCode" type="tep:ContingencyMedicalSpecialtyCodeDefaultValues" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="PatientTransferType">
		<xsd:annotation>
			<xsd:documentation>
				Group of elements used to describe and track physical movement or transport of a patient.
			</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="destinationETA" type="ct:EDXLDateTimeType" minOccurs="0"/>
			<xsd:element name="destination" type="ct:EDXLLocationType"/>
			<xsd:element name="actualArrivalDateTime" type="ct:EDXLDateTimeType" minOccurs="0"/>
			<xsd:element name="actualDepartureTime" type="ct:EDXLDateTimeType" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="IncidentIDType">
		<xsd:sequence>
			<xsd:element name="name" type="ct:EDXLStringType"/>
			<xsd:element name="ID" type="ct:EDXLStringType"/>
			<xsd:element name="kind" type="ct:ValueListType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="MedicationType">
		<xsd:sequence>
			<xsd:element name="name" type="ct:ValueKeyType"/>
			<xsd:element name="dosage" type="ct:EDXLStringType" minOccurs="0"/>
			<xsd:element name="route" type="ct:ValueKeyType" minOccurs="0"/>
			<xsd:element name="frequency" type="ct:EDXLStringType" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="PatientIDType">
		<xsd:sequence>
			<xsd:element name="ID" type="ct:EDXLStringType"/>
			<!-- <xsd:element name="source" type="ct:EDXLStringType"/> -->
			<xsd:element name="source" type="ct:ValueListType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="PatientAgeType">
		<xsd:sequence>
			<xsd:element name="age" type="xsd:unsignedInt"/>
			<xsd:element name="estimated" type="ct:EstimateType"/>
			<xsd:element name="units" type="tep:AgeUnitsDefaultValues"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:simpleType name="GenderDefaultValues">
		<xsd:restriction base="ct:EDXLStringType">
			<xsd:enumeration value="Male"/>
			<xsd:enumeration value="Female"/>
			<xsd:enumeration value="Unknown"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="AgeUnitsDefaultValues">
		<xsd:restriction base="ct:ValueType">
			<xsd:enumeration value="Hours"/>
			<xsd:enumeration value="Days"/>
			<xsd:enumeration value="Months"/>
			<xsd:enumeration value="Years"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="TriageStatusDefaultValues">
		<xsd:restriction base="ct:ValueType">
			<xsd:enumeration value="Red"/>
			<xsd:enumeration value="Yellow"/>
			<xsd:enumeration value="Green"/>
			<xsd:enumeration value="Blue"/>
			<xsd:enumeration value="Black"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="PatientCurrentDispositionDefaultValues">
		<xsd:restriction base="ct:ValueType">
			<xsd:enumeration value="Discharged "/>
			<xsd:enumeration value="Transferred"/>
			<xsd:enumeration value="Deceased"/>
			<xsd:enumeration value="NoTreatmentRequired"/>
			<xsd:enumeration value="RefusedCare"/>
			<xsd:enumeration value="TreatedAndReleased"/>
			<xsd:enumeration value="TreatedAndTransferredCare"/>
			<xsd:enumeration value="TreatedAndTransported"/>
			<xsd:enumeration value="Admitted"/>
			<xsd:enumeration value="TreatedAndTransportedToHospital"/>
			<xsd:enumeration value="Pending-Ongoing"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="PatientEvacuationDestinationRequiredDefaultValues">
		<xsd:restriction base="ct:ValueType">
			<xsd:enumeration value="ICU "/>
			<xsd:enumeration value="Floor"/>
			<xsd:enumeration value="DischargeReady"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="ContingencyMedicalSpecialtyCodeDefaultValues">
		<xsd:restriction base="ct:ValueType">
			<xsd:enumeration value="Pediatric"/>
			<xsd:enumeration value="Burn"/>
			<xsd:enumeration value="Psychiatric"/>
			<xsd:enumeration value="MedicalSurge"/>
			<xsd:enumeration value="CriticalCare"/>
		</xsd:restriction>
	</xsd:simpleType>
	 <xsd:simpleType name="SpecialClassificationDefaultValues">
		<xsd:restriction base="ct:ValueType">
		  <xsd:enumeration value="SecuritySupervisionNeeds"/>
		  <xsd:enumeration value="NDMSPatient"/>
		</xsd:restriction>
  </xsd:simpleType>
</xsd:schema>
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:ext="urn:oasis:names:tc:emergency:edxl:extension:1.0" xmlns:ct="urn:oasis:names:tc:emergency:edxl:ct:1.0" targetNamespace="urn:oasis:names:tc:emergency:edxl:extension:1.0" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="urn:oasis:names:tc:emergency:edxl:ct:1.0" schemaLocation="./edxl-ct-v1.0-wd05.xsd"/>
	<xs:element name="extension">
		<xs:annotation>
			<xs:documentation>Base element to allow communities to extend/augment an EDXL data standard</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="community" type="xs:anyURI">
					<xs:annotation>
						<xs:documentation>Unique identifier of the community</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="id" type="xs:anyURI">
					<xs:annotation>
						<xs:documentation>Uniqueu identifier for this extension</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="parameter" type="ext:ParameterType" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="ParameterType">
		<xs:annotation>
			<xs:documentation>Group of elements used to extend/augment an EDXL data standard</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="nameURI" type="ext:ParameterNameType">
				<xs:annotation>
					<xs:documentation>Unique identifier of a parameter</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="value" type="ext:ParameterValueType" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ParameterNameType">
		<xs:simpleContent>
			<xs:extension base="xs:anyURI">
				<xs:attribute name="xPath" type="xs:string" use="optional"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="ParameterValueType">
		<xs:simpleContent>
			<xs:extension base="ct:EDXLStringType">
				<xs:attribute name="uom" type="xs:string" use="optional"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
</xs:schema>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]