emergency message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Changes to HAVE Schemas to do Value List stuff
- From: "Ham, Gary A" <hamg@BATTELLE.ORG>
- To: emergency@lists.oasis-open.org
- Date: Tue, 27 Feb 2007 14:50:44 -0500
Replace the current
TriageCount Element with:
<complexType
name="TriageCount">
<sequence>
<element name="TriageCode" type="ValueListType"/>
<element name="TriageCountQty"
type="integer"/>
</sequence>
</complexType>
Added the following
types:
<simpleType
name="ValueListUrnType">
<restriction base="anyURI"/>
</simpleType>
<complexType
name="ValueListType">
<sequence>
<element name="ValueListUrn" type="ValueListUrnType"
/>
<element name="Value"
type="string" maxOccurs="unbounded"/>
</sequence>
</complexType>
Add the
following schema as a list to be managed:
<?xml
version="1.0"?>
<schema xmlns = "http://www.w3.org/2001/XMLSchema"
targetNamespace =
"urn:oasis:names:tc:emergency:have:1.1:triagecolorcode"
xmlns:tc
= "urn:oasis:names:tc:emergency:have:1.1:triagecolorcode"
xmlns:xsd = "http://www.w3.org/2001/XMLSchema"
elementFormDefault = "qualified"
attributeFormDefault =
"unqualified">
<simpleType
name="TriageColorCode">
<restriction base =
"string">
<enumeration value = "Red"/>
<enumeration value =
"Yellow"/>
<enumeration value =
"Green"/>
<enumeration value =
"Black"/>
</restriction>
</simpleType>
</simpleType>
</schema>
Example
entry:
<TriageCount>
<TriageCode>
<ValueListUrn>urn:oasis:names:tc:emergency:have:1.1:triagecolorcode</ValueListUrn>
<Value>Red</Value>
<TriageCode>
<TriageCountQty>15</TriageCountQty>
</TriageCount>
Does this
work????
Gary A. Ham
Senior Research Scientist
Battelle Memorial Institute
540-288-5611 (office)
703-869-6241
(cell)
"If nobody uses it, it ain't a
standard."
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]