← Back to team overview

mlhim-specs-dev team mailing list archive

[Branch ~mlhim-specs-dev/mlhim-specs/main] Rev 151: Completed 2.2.0 common.xsd updates.

 

------------------------------------------------------------
revno: 151
committer: Timothy W. Cook <timothywayne.cook@xxxxxxxxx>
branch nick: mlhim-specs
timestamp: Sat 2011-05-14 23:02:46 -0500
message:
  Completed 2.2.0 common.xsd updates.
modified:
  schemas/common.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/common.xsd'
--- schemas/common.xsd	2011-05-10 18:12:07 +0000
+++ schemas/common.xsd	2011-05-15 04:02:46 +0000
@@ -48,12 +48,12 @@
            <xs:complexContent>
            <xs:extension base="mlhim2:PartyProxy">
               <xs:sequence>             
-               <xs:element name="name" maxOccurs="1" minOccurs="0" type="xs:string">
+               <xs:element name="name" maxOccurs="1" minOccurs="0" type="xs:DvString">
                <xs:annotation><xs:documentation>
              Optional human-readable name (in String form).
              </xs:documentation></xs:annotation>
                </xs:element>             
-               <xs:element name="identifiers" maxOccurs="unbounded" minOccurs="0" type="mlhim2:DvIdentifier">
+               <xs:element name="identifiers" maxOccurs="unbounded" minOccurs="1" type="mlhim2:DvIdentifier">
              <xs:annotation><xs:documentation>List of DvIdentifiers - One or more formal identifiers (possibly computable).</xs:documentation></xs:annotation>
                </xs:element>
              </xs:sequence>          
@@ -91,12 +91,12 @@
 	</xs:documentation>
 	</xs:annotation>
            	<xs:complexContent>
-           	<xs:extension base="mlhim2:DvAny">
+           	<xs:extension base="xs:anyType">
            	  <xs:sequence>
-           	    <xs:element name="system_id" maxOccurs="1" minOccurs="0" type="xs:string">             
+           	    <xs:element name="system_id" maxOccurs="1" minOccurs="1" type="mlhim2:DvIdentifier">             
            	    <xs:annotation><xs:documentation>Identifier of the system which handled the information item.</xs:documentation></xs:annotation>
                </xs:element>
-           	    <xs:element name="version_id" maxOccurs="1" minOccurs="0" type="xs:string">
+           	    <xs:element name="version_id" maxOccurs="1" minOccurs="0" type="mlhim2:DvNormalizedString">
            	    <xs:annotation><xs:documentation>Any identifier used in the system such as “interim”, “final”, or numeric versions if available.</xs:documentation></xs:annotation>
                </xs:element>
            	    <xs:element name="provider" maxOccurs="1" minOccurs="0" type="mlhim2:PartyIdentified">
@@ -105,7 +105,7 @@
            	    <xs:element name="location" maxOccurs="1" minOccurs="0" type="mlhim2:Location">
              <xs:annotation><xs:documentation>Identifier of the particular site/facility within an organisation which handled the item. For computability, this identifier needs to be e.g. a PKI identifier which can be included in the identifier list of the PARTY_IDENTIFIED object.</xs:documentation></xs:annotation>
            	    </xs:element>
-           	    <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>Time of handling the item. For an originating system, this will be time of creation, for an intermediate feeder system, this will be a time of accession or other time of handling, where available.</xs:documentation></xs:annotation>
            	    </xs:element>
            	    <xs:element name="subject" maxOccurs="1" minOccurs="0" type="mlhim2:PartyProxy">
@@ -123,7 +123,7 @@
 	</xs:documentation>
 	</xs:annotation>
            <xs:complexContent>
-           <xs:extension base="mlhim2:DvAny">
+           <xs:extension base="xs:anyType">
              <xs:sequence>
                <xs:element name="originating_system_audit" maxOccurs="1" minOccurs="1" type="mlhim2:FeederAuditDetails">
              <xs:annotation><xs:documentation>Any audit information for the information item from the originating system.</xs:documentation></xs:annotation>
@@ -152,18 +152,18 @@
 	</xs:documentation>
 	</xs:annotation>
            <xs:complexContent>
-           <xs:extension base="mlhim2:DvAny">
+           <xs:extension base="xs:anyType">
              <xs:sequence>
                <xs:element name="feeder_audit" maxOccurs="1" minOccurs="0" type="mlhim2:FeederAudit">
              <xs:annotation><xs:documentation>Audit trail from non-MLHIM system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.</xs:documentation></xs:annotation>
                </xs:element>
-               <xs:element name="name" maxOccurs="1" minOccurs="1" type="xs:string">
+               <xs:element name="name" maxOccurs="1" minOccurs="1" type="mlhim2:DvNormalizedString">
              <xs:annotation><xs:documentation>Runtime name of this fragment, used to build runtime paths. This is the term provided at design time to name this EHR construct.  Its retention in the EHR faithfully preserves the original label by which this entry was known to end users. When created in English; it shall consist only of lowercase letters a-z, digits 0-9 and use the _ (underscore) as a separator.   Other languages should follow similar naming rules in order to not conflict with implementations,</xs:documentation></xs:annotation>
                </xs:element>
-               <xs:element name="uuid" maxOccurs="1" minOccurs="1" type="xs:string">
+               <xs:element name="uuid" maxOccurs="1" minOccurs="1" type="mlhim2:DvToken">
              <xs:annotation><xs:documentation>UUID for each Locatable structure.</xs:documentation></xs:annotation>
                </xs:element>
-               <xs:element name="parent" maxOccurs="1" minOccurs="1" type="xs:string">
+               <xs:element name="parent" maxOccurs="1" minOccurs="1" type="mlhim2:DvToken">
              <xs:annotation><xs:documentation>Parent of this node in compositional hierarchy. Usually a UUID of another Locatable.</xs:documentation></xs:annotation>
                </xs:element>
              </xs:sequence>
@@ -181,7 +181,7 @@
            <xs:complexContent>
            <xs:extension base="mlhim2:Locatable">
               <xs:sequence>
-               <xs:element name="items" maxOccurs="unbounded" minOccurs="1" type="mlhim2:Composition">
+               <xs:element name="items" maxOccurs="unbounded" minOccurs="0" type="mlhim2:Composition">
              <xs:annotation><xs:documentation>A list of  UUIDs of Compositions logically in this folder.</xs:documentation></xs:annotation>
                </xs:element>
              </xs:sequence>          
@@ -199,22 +199,22 @@
            <xs:complexContent>
            <xs:extension base="mlhim2:Locatable">
               <xs:sequence>
-               <xs:element name="attested_view" maxOccurs="1" minOccurs="1" type="mlhim2:DvMultimedia">
+               <xs:element name="attested_view" maxOccurs="1" minOccurs="1" type="mlhim2:DvMedia">
              <xs:annotation><xs:documentation>Optional visual representation of content attested e.g. screen image.</xs:documentation></xs:annotation>
                </xs:element>
                <xs:element name="proof" maxOccurs="1" minOccurs="1" type="mlhim2:DvParsable">
              <xs:annotation><xs:documentation>Proof of attestation such as an GPG signature.</xs:documentation></xs:annotation>
                </xs:element>
-               <xs:element name="reason" maxOccurs="1" minOccurs="1" type="mlhim2:DvCodedText">
+               <xs:element name="reason" maxOccurs="1" minOccurs="1" type="mlhim2:DvCodedString">
              <xs:annotation><xs:documentation>Reason of this attestation. Optionally coded by the MLHIM Terminology group “attestation reason”; includes values like “authorisation”, “witness” etc.</xs:documentation></xs:annotation>
                </xs:element>
                <xs:element name="commiter" maxOccurs="1" minOccurs="1" type="mlhim2:PartyProxy">
              <xs:annotation><xs:documentation>Identity and optional reference into identity management service, of user who committed the item.</xs:documentation></xs:annotation>
                </xs:element>
-               <xs:element name="time_commited" maxOccurs="1" minOccurs="1" type="mlhim2:DvDateTime">
+               <xs:element name="time_commited" maxOccurs="1" minOccurs="1" type="mlhim2:Temporal">
              <xs:annotation><xs:documentation>Time of committal of the item.</xs:documentation></xs:annotation>
                </xs:element>
-               <xs:element name="is_pending" maxOccurs="1" minOccurs="1" type="xs:boolean">
+               <xs:element name="is_pending" maxOccurs="1" minOccurs="1" type="mlhim2:DvBoolean">
              <xs:annotation><xs:documentation>True if this attestation is outstanding; False means it has been completed.</xs:documentation></xs:annotation>
                </xs:element>
              </xs:sequence>          
@@ -231,18 +231,18 @@
 	</xs:documentation>
 	</xs:annotation>
            <xs:complexContent>
-           <xs:extension base="mlhim2:DvAny">
+           <xs:extension base="xs:anyType">
              <xs:sequence>
                <xs:element name="performer" maxOccurs="1" minOccurs="0" type="mlhim2:PartyProxy">
              <xs:annotation><xs:documentation>The id and possibly demographic system link of the party participating in the activity.</xs:documentation></xs:annotation>
                </xs:element>
-               <xs:element name="function" maxOccurs="1" minOccurs="1" type="xs:string">
+               <xs:element name="function" maxOccurs="1" minOccurs="1" type="mlhimDvCodedString">
              <xs:annotation><xs:documentation>The function of the Party in this participation (note that a given party might participate in more than one way in a particular activity). This attribute should be coded.</xs:documentation></xs:annotation>
                </xs:element>
-               <xs:element name="mode" maxOccurs="1" minOccurs="1" type="mlhim2:DvCodedText">
+               <xs:element name="mode" maxOccurs="1" minOccurs="1" type="mlhim2:DvCodedString">
              <xs:annotation><xs:documentation>The mode of the performer / activity interaction, e.g. present, by telephone, by email etc.</xs:documentation></xs:annotation>
                </xs:element>
-               <xs:element name="time" maxOccurs="1" minOccurs="1" type="mlhim2:DvDateTime">
+               <xs:element name="time" maxOccurs="1" minOccurs="1" type="mlhim2:DvTemporal">
              <xs:annotation><xs:documentation>The time interval during which the participation took place, if it is used in an observational context (i.e. recording facts about the past); or the intended time interval of the participation when used in future contexts, such as EHR Instructions.</xs:documentation></xs:annotation>
                </xs:element>
              </xs:sequence>
@@ -264,12 +264,12 @@
 	</xs:documentation>
 	</xs:annotation>
            <xs:complexContent>
-           <xs:extension base="mlhim2:DvAny">
+           <xs:extension base="xs:anyType">
              <xs:sequence>
-               <xs:element name="relation" maxOccurs="1" minOccurs="1" type="xs:string">
+               <xs:element name="relation" maxOccurs="1" minOccurs="1" type="mlhim2:Relationship">
              <xs:annotation><xs:documentation>The relation attribute is used to indicate a clinical or domain-level meaning for the kind of link. This attribute should describe the relationship with the target object.  Normally this relationship is found in the semantic relations found in the NLM Semantic Network.</xs:documentation></xs:annotation>
                </xs:element>
-               <xs:element name="target" maxOccurs="1" minOccurs="1" type="xs:string">
+               <xs:element name="target" maxOccurs="1" minOccurs="1" type="mlhim2:DvToken">
              <xs:annotation><xs:documentation>The 'uuid' of the logical “to” object in the link relation, as per the linguistic sense of the meaning attribute.</xs:documentation></xs:annotation>
                </xs:element>
              </xs:sequence>