mlhim-specs-dev team mailing list archive
-
mlhim-specs-dev team
-
Mailing list archive
-
Message #00279
[Branch ~mlhim-specs-dev/mlhim-specs/main] Rev 153: Completed 2.2.0 content.xsd updates.
------------------------------------------------------------
revno: 153
committer: Timothy W. Cook <timothywayne.cook@xxxxxxxxx>
branch nick: mlhim-specs
timestamp: Sat 2011-05-14 23:39:59 -0500
message:
Completed 2.2.0 content.xsd updates.
modified:
schemas/content.xsd
--
lp:mlhim-specs
https://code.launchpad.net/~mlhim-specs-dev/mlhim-specs/main
Your team MLHIM Specifications Developers is subscribed to branch lp:mlhim-specs.
To unsubscribe from this branch go to https://code.launchpad.net/~mlhim-specs-dev/mlhim-specs/main/+edit-subscription
=== modified file 'schemas/content.xsd'
--- schemas/content.xsd 2011-05-10 18:12:07 +0000
+++ schemas/content.xsd 2011-05-15 04:39:59 +0000
@@ -13,7 +13,7 @@
<xs:element name="timing" maxOccurs="1" minOccurs="1" type="mlhim2:DvParsable">
<xs:annotation><xs:documentation>Timing of the activity, in the form of a parsable string, such as an HL7 GTS or ISO8601 string.</xs:documentation></xs:annotation>
</xs:element>
- <xs:element name="actions" maxOccurs="unbounded" minOccurs="1" type="xs:string">
+ <xs:element name="actions" maxOccurs="unbounded" minOccurs="1" type="mlhim2:DvToken">
<xs:annotation><xs:documentation>List of CCD UUIDs (in order) to be executed for this activity.</xs:documentation></xs:annotation>
</xs:element>
@@ -41,11 +41,11 @@
<xs:annotation><xs:documentation>The health care facility under whose care the event took place. This is the most specific workgroup or delivery unit within a care delivery enterprise that has an official identifier in the health system, and can be used to ensure medico-legal accountability.</xs:documentation></xs:annotation>
</xs:element>
- <xs:element name="start_time" maxOccurs="1" minOccurs="0" type="mlhim2:DvDateTime">
+ <xs:element name="start_time" maxOccurs="1" minOccurs="0" type="mlhim2:DvTemporal">
<xs:annotation><xs:documentation>Start time of the clinical session or other kind of event during which a provider performs a service of any kind for the patient.</xs:documentation></xs:annotation>
</xs:element>
- <xs:element name="end_time" maxOccurs="1" minOccurs="0" type="mlhim2:DvDateTime">
+ <xs:element name="end_time" maxOccurs="1" minOccurs="0" type="mlhim2:DvTemporal">
<xs:annotation><xs:documentation>Optional end time of the clinical session.</xs:documentation></xs:annotation>
</xs:element>
@@ -57,8 +57,8 @@
<xs:annotation><xs:documentation>The actual location where the session occurred, e.g. âmicrobiol lab 2â, âhomeâ, âward A3â and so on.</xs:documentation></xs:annotation>
</xs:element>
- <xs:element name="setting" maxOccurs="1" minOccurs="0" type="mlhim2:DvCodedText">
- <xs:annotation><xs:documentation>The setting in which the clinical session took place. Coded using the MLHIM Terminology, âsettingâ group.</xs:documentation></xs:annotation>
+ <xs:element name="setting" maxOccurs="1" minOccurs="0" type="mlhim2:DvCodedString">
+ <xs:annotation><xs:documentation>The setting in which the clinical session took place.</xs:documentation></xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
@@ -99,7 +99,7 @@
<xs:extension base="mlhim2:ContentItem">
<xs:sequence>
- <xs:element name="items" maxOccurs="1" minOccurs="0" type="mlhim2:ContentItem">
+ <xs:element name="items" maxOccurs="unbounded" minOccurs="0" type="mlhim2:ContentItem">
<xs:annotation><xs:documentation>Ordered list of content items under this section, which may include more SECTIONs or ENTRYs</xs:documentation></xs:annotation>
</xs:element>
</xs:sequence>
@@ -121,15 +121,15 @@
<xs:extension base="mlhim2:ContentItem">
<xs:sequence>
- <xs:element name="language" maxOccurs="1" minOccurs="0" type="xs:string">
- <xs:annotation><xs:documentation>Mandatory indicator of the localised language in which this Entry is written. Coded from MLHIM Code Set âlanguagesâ.</xs:documentation></xs:annotation>
- </xs:element>
-
- <xs:element name="encoding" maxOccurs="1" minOccurs="0" type="xs:string">
- <xs:annotation><xs:documentation>Name of character set in which text values in this Entry are encoded. Coded from MLHIM Code Set âcharacter setsâ.</xs:documentation></xs:annotation>
- </xs:element>
-
- <xs:element name="subject" maxOccurs="1" minOccurs="0" type="xs:string">
+ <xs:element name="language" maxOccurs="1" minOccurs="1" type="mlhim2:DvLanguage">
+ <xs:annotation><xs:documentation>Mandatory indicator of the localised language in which this Entry is written.</xs:documentation></xs:annotation>
+ </xs:element>
+
+ <xs:element name="encoding" maxOccurs="1" minOccurs="0" type="mlhim2:DvCodedString">
+ <xs:annotation><xs:documentation>Name of character set in which text values in this Entry are encoded.</xs:documentation></xs:annotation>
+ </xs:element>
+
+ <xs:element name="subject" maxOccurs="1" minOccurs="0" type="mlhim2:PartyProxy">
<xs:annotation><xs:documentation>Id of human subject of this ENTRY, e.g.: organ donor, foetus, family member, another clinically relevant person.</xs:documentation></xs:annotation>
</xs:element>
@@ -246,7 +246,7 @@
<xs:extension base="mlhim2:CareEntry">
<xs:sequence>
- <xs:element name="time" maxOccurs="1" minOccurs="0" type="mlhim2:DvDateTime">
+ <xs:element name="time" maxOccurs="1" minOccurs="0" type="mlhim2:DvTemporal">
<xs:annotation><xs:documentation>Point in time at which this action completed.</xs:documentation></xs:annotation>
</xs:element>
@@ -254,11 +254,11 @@
<xs:annotation><xs:documentation>Description of the activity to be performed, in the form of a defined structure.</xs:documentation></xs:annotation>
</xs:element>
- <xs:element name="ism_transition" maxOccurs="1" minOccurs="0" type="mlhim2:DvCodedText">
+ <xs:element name="ism_transition" maxOccurs="1" minOccurs="0" type="mlhim2:DvCodedString">
<xs:annotation><xs:documentation>Details of transition in the Instruction state machine caused by this Action.</xs:documentation></xs:annotation>
</xs:element>
- <xs:element name="instruction_details" maxOccurs="1" minOccurs="0" type="mlhim2:DvCodedText">
+ <xs:element name="instruction_details" maxOccurs="1" minOccurs="0" type="mlhim2:DvCodedString">
<xs:annotation><xs:documentation>Details to of the Instruction that caused this Action to be performed, if there was one.</xs:documentation></xs:annotation>
</xs:element>
</xs:sequence>
@@ -277,11 +277,11 @@
<xs:extension base="mlhim2:CareEntry">
<xs:sequence>
- <xs:element name="expiry_time" maxOccurs="1" minOccurs="0" type="mlhim2:DvDateTime">
+ <xs:element name="expiry_time" maxOccurs="1" minOccurs="0" type="mlhim2:DvTemporal">
<xs:annotation><xs:documentation>Optional expiry date/time to assist determination of when an Instruction can be assumed to have expired. This helps prevent false listing of Instructions as Active when they clearly must have been terminated in some way or other.</xs:documentation></xs:annotation>
</xs:element>
- <xs:element name="narrative" maxOccurs="1" minOccurs="1" type="mlhim2:DvText">
+ <xs:element name="narrative" maxOccurs="1" minOccurs="1" type="mlhim2:DvString">
<xs:annotation><xs:documentation>Mandatory human-readable version of what the Instruction is about.</xs:documentation></xs:annotation>
</xs:element>
@@ -317,15 +317,15 @@
<xs:annotation><xs:documentation>A list of links to other content items.</xs:documentation></xs:annotation>
</xs:element>
- <xs:element name="original" maxOccurs="1" minOccurs="0" type="xs:string">
+ <xs:element name="original" maxOccurs="1" minOccurs="0" type="mlhim2:DvToken">
<xs:annotation><xs:documentation>The UUID of the original composition if this is a new version. Void if this is an original composition. This attribute along with the predecessor form the versioning function for compositions. </xs:documentation></xs:annotation>
</xs:element>
- <xs:element name="predecessor" maxOccurs="1" minOccurs="0" type="xs:string">
+ <xs:element name="predecessor" maxOccurs="1" minOccurs="0" type="mlhim2:DvToken">
<xs:annotation><xs:documentation>The UUID of the preceeding composition if this is a new version. Void if this is an original composition.</xs:documentation></xs:annotation>
</xs:element>
- <xs:element name="created" maxOccurs="1" minOccurs="0" type="mlhim2:DvDateTime">
+ <xs:element name="created" maxOccurs="1" minOccurs="0" type="mlhim2:DvTemporal">
<xs:annotation><xs:documentation>DateTime created. Since Compositions are never modified, only copied and edited. </xs:documentation></xs:annotation>
</xs:element>
@@ -337,11 +337,11 @@
<xs:annotation><xs:documentation>Name of territory in which this Composition was written. </xs:documentation></xs:annotation>
</xs:element>
- <xs:element name="category" maxOccurs="1" minOccurs="0" type="mlhim2:DvCodedText">
+ <xs:element name="category" maxOccurs="1" minOccurs="0" type="mlhim2:DvCodedString">
<xs:annotation><xs:documentation>Indicates what broad category this Composition is belongs to, e.g. âpersistentâ - of longitudinal validity, âeventâ, âprocessâ.</xs:documentation></xs:annotation>
</xs:element>
- <xs:element name="language" maxOccurs="1" minOccurs="0" type="xs:string">
+ <xs:element name="language" maxOccurs="1" minOccurs="0" type="mlhim2:DvLanguage">
<xs:annotation><xs:documentation>Mandatory indicator of the localised language in which this Composition is written. Coded from MLHIM Code Set âlanguagesâ. The language of an Entry if different from the Composition is indicated in ENTRY.language.</xs:documentation></xs:annotation>
</xs:element>