Here is the community extension schema. I have validated the two samples against it. The next step is to work on the TEP schema, which I am starting shortly. 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"?> <ext:extension xmlns="urn:oasis:names:tc:emergency:edxl:extension:1.0" xmlns:ext="urn:oasis:names:tc:emergency:edxl:extension:1.0" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" ; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" ; xsi:schemaLocation="urn:oasis:names:tc:emergency:edxl:extension:1.0 Extension.xsd"> <community>
http://example/layers/earthquake </community> <id>layer1</id> <parameter> <nameURI>
http://example/layers/earthquake/Name </nameURI> <value>Earthquake1</value> </parameter> <parameter> <nameURI>
http://example/layers/earthquake/Magnitude </nameURI> <value uom="
http://example/layers/earthquake/RichterScale" ;>5.3</value> </parameter> <parameter> <nameURI>
http://example/layers/earthquake/EventTime </nameURI> <value>2010-08-30T23:25:40+00:00</value> </parameter> <parameter> <nameURI>
http://example/layers/earthquake/Depth </nameURI> <value uom="
http://qudt.org/vocab/unit/MileInternational" ;>38.7</value> </parameter> </ext:extension> <?xml version="1.0" encoding="UTF-8"?> <ext:extension xmlns="urn:oasis:names:tc:emergency:edxl:extension:1.0" xmlns:ext="urn:oasis:names:tc:emergency:edxl:extension:1.0" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" ; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" ; xsi:schemaLocation="urn:oasis:names:tc:emergency:edxl:extension:1.0 Extension.xsd"> <community>
http://example/US/EMS </community> <id>layer1</id> <parameter> <nameURI xPath="./patient/patientEncounter/patientCare/triageStatus">
http://example/US/EMS/triageCodes </nameURI> <value>Purple</value> </parameter> <parameter> <nameURI xPath="./patient/patientEncounter/patientCare/contingencyMedicalSpecialtyCode">
http://example/US/EMS/specialityCodes </nameURI> <value>FlightRisk</value> <value>ArmedEscortRequired</value> </parameter> </ext:extension> <?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>