← Prev in month ← Prev in thread
Next in thread → Next in month →

TEP and Extensions (Layers)

From
Wilkins, Brian M <>
Date
2013-03-14T17:49:49+00:00
ID
Thread
TEP and Extensions (Layers)
For discussion at 2:00 …

 

From what I have gathered, there are three use cases here that we are trying to address. 

1.      
Allowing a community to add entirely new data to augment a standard so it better suits them, such as adding Earthquake data to a CAP message.

2.      
Allowing a community to supplement the default set of values with ones of their own choosing, such as extending the triage codes in TEP, and allow them to select
 one value.

3.      
Allowing a community to supplement the default set of values with ones of their own choosing, such as extending the contingency medical specialty code in TEP, and
 allow them to select multiple values.

 

Here are two examples, based on Jeff’s work that I think might work.

Earthquake Addition -

<ext:extension xmlns="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">

                <extensionURI>http://example/layers/earthquake</communityURI>

                <id>layer1</id>

                <parameter>

                                <nameURI>http://example/layers/earthquake/Name</nameURI> <!—Parsing something like eqk:Name in an element’s
 value is not pretty or trivial, so the full qualified name would be best here -->

                                <value>Earthquake1</value>

                </parameter>

                <parameter>

                                <nameURI>http://example/layers/earthquake/Magnitude</nameURI>

                                <value uom="http://example/layers/earthquake/RichterScale">5.3</value>  <!—Unit of Measure attribute is optional
 -->

                </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>

 

Default Value Additions

<ext:extension xmlns="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">

                <extensionURI>http://example/US/EMS</extensionURI>

                <id>layer1</id>

                <parameter>

                                <nameURI xPath="./patient/patientEncounter/patientCare/triageStatus">http://example/US/EMS/triageCodes</nameURI><!—xPath
 attribute is optional -->

                                <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>

 

 

Brian M Wilkins

Senior Software Systems Engineer

The MITRE Corporation



office: 781-271-2332

cell: 781-710-2617
← Prev in month ← Prev in thread
Next in thread → Next in month →