--- a/syntheticPatients/indivo-schemas/vitals.xsd Wed Jul 14 17:18:12 2010 -0400
+++ b/syntheticPatients/indivo-schemas/vitals.xsd Thu Jul 15 12:10:33 2010 -0400
@@ -4,20 +4,16 @@
<xs:include schemaLocation="codes.xsd" />
- <xs:element name="VitalSign">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="dateMeasured" type="xs:dateTime" minOccurs="1" maxOccurs="1" />
- <xs:element name="name" type="indivo:CodedValue" minOccurs="1" maxOccurs="1" />
- <xs:element name="value" type="xs:decimal" minOccurs="1" maxOccurs="1" />
- <xs:element name="unit" type="indivo:CodedValue" minOccurs="1" maxOccurs="1" />
-
- <xs:element name="site" type="xs:string" minOccurs="0" maxOccurs="1" />
-
- <xs:element name="position" type="xs:string" minOccurs="0" maxOccurs="1" />
-
- <xs:element name="comments" type="xs:string" minOccurs="0" maxOccurs="1" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
+ <xs:element name="VitalSign" type="indivo:VitalSignType"/>
+ <xs:complexType name="VitalSignType">
+ <xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="1" name="dateMeasured" type="xs:dateTime"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="name" type="indivo:CodedValue"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="value" type="xs:decimal"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="unit" type="indivo:CodedValue"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="site" type="xs:string"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="position" type="xs:string"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="comments" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
</xs:schema>