mlhim-specs-dev team mailing list archive
-
mlhim-specs-dev team
-
Mailing list archive
-
Message #00111
[Branch ~mlhim-specs-dev/mlhim-specs/main] Rev 101: Completed content.xsd
------------------------------------------------------------
revno: 101
committer: Timothy W. Cook <timothywayne.cook@xxxxxxxxx>
branch nick: mlhim-specs
timestamp: Mon 2011-04-18 11:02:03 -0500
message:
Completed content.xsd
modified:
specs/2.0.x/mlhim/schemas/common.xsd
specs/2.0.x/mlhim/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 'specs/2.0.x/mlhim/schemas/common.xsd'
--- specs/2.0.x/mlhim/schemas/common.xsd 2011-04-16 19:42:33 +0000
+++ specs/2.0.x/mlhim/schemas/common.xsd 2011-04-18 16:02:03 +0000
@@ -12,7 +12,7 @@
<xs:complexType name="PartyProxy" base="mlhim2:DvAny" abstract="true">
<xs:sequence>
- <xs:element name="external_ref" maxOccurs="1" minOccurs="0" type="mlhim2EntityRef"></xs:element>
+ <xs:element name="external_ref" maxOccurs="1" minOccurs="0" type="mlhim2:EntityRef"></xs:element>
</xs:sequence>
</xs:complexType>
=== modified file 'specs/2.0.x/mlhim/schemas/content.xsd'
--- specs/2.0.x/mlhim/schemas/content.xsd 2011-04-16 19:42:33 +0000
+++ specs/2.0.x/mlhim/schemas/content.xsd 2011-04-18 16:02:03 +0000
@@ -1,6 +1,115 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2011 Timothy W. Cook and Contributors. See http://www.mlhim.org-->
<xs:schema elementFormDefault="qualified" id="content" targetNamespace="http://www.mlhim.org/mlhim2" version="2.0.0" xmlns:mlhim2="http://www.mlhim.org/mlhim2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:include schemaLocation="support.xsd"></xs:include>
+ <xs:include schemaLocation="datatypes.xsd"></xs:include>
+ <xs:include schemaLocation="entity.xsd"></xs:include>
+ <xs:include schemaLocation="common.xsd"></xs:include>
+
+ <xs:complexType name="EventContext" base="mlhim2:Locatable" abstract="false">
+ <xs:sequence>
+ <xs:element name="healthcare_facility" maxOccurs="1" minOccurs="0" type="mlhim2:Organization"></xs:element>
+ <xs:element name="start_time" maxOccurs="1" minOccurs="0" type="mlhim2:DvDateTime"></xs:element>
+ <xs:element name="end_time" maxOccurs="1" minOccurs="0" type="mlhim2:DvDateTime"></xs:element>
+ <xs:element name="participation" maxOccurs="1" minOccurs="0" type="mlhim2:Participation"></xs:element>
+ <xs:element name="start_time" maxOccurs="1" minOccurs="0" type="mlhim2:DvDateTime"></xs:element>
+ <xs:element name="location" maxOccurs="1" minOccurs="0" type="mlhim2:Location"></xs:element>
+ <xs:element name="setting" maxOccurs="1" minOccurs="0" type="mlhim2:DvCodedText"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:simpleType name="linksList">
+ <xs:list itemType="mlhim2:Link"></xs:list>
+ </xs:simpleType>
+
+
+ <xs:complexType name="ContentItem" base="mlhim2:Locatable" abstract="true">
+ <xs:sequence>
+ <xs:element name="links" maxOccurs="1" minOccurs="0" type="mlhim2:linksList"></xs:element>
+ <xs:element name="attestation" maxOccurs="1" minOccurs="0" type="mlhim2:Attestation"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:simpleType name="contentList">
+ <xs:list itemType="mlhim2:ContentItem"></xs:list>
+ </xs:simpleType>
+
+ <xs:complexType name="Section" base="mlhim2:ContentItem" abstract="false">
+ <xs:sequence>
+ <xs:element name="items" maxOccurs="1" minOccurs="0" type="mlhim2:contentList"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:simpleType name="partList">
+ <xs:list itemType="mlhim2:Participation"></xs:list>
+ </xs:simpleType>
+
+ <xs:complexType name="Entry" base="mlhim2:ContentItem" abstract="true">
+ <xs:sequence>
+ <xs:element name="language" maxOccurs="1" minOccurs="0" type="xs:lang"></xs:element>
+ <xs:element name="encoding" maxOccurs="1" minOccurs="0" type="xs:lang"></xs:element>
+ <xs:element name="subject" maxOccurs="1" minOccurs="0" type="xs:lang"></xs:element>
+ <xs:element name="provider" maxOccurs="1" minOccurs="0" type="mlhim2:PartyProxy"></xs:element>
+ <xs:element name="other_participations" maxOccurs="1" minOccurs="0" type="mlhim2:partList"></xs:element>
+ <xs:element name="workflow_id" maxOccurs="1" minOccurs="0" type="mlhim2:ObjectRef"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="AdminEntry" base="mlhim2:Entry" abstract="false">
+ <xs:sequence>
+ <xs:element name="data" maxOccurs="1" minOccurs="0" type="mlhim2:ItemStructure"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="CareEntry" base="mlhim2:Entry" abstract="true">
+ <xs:sequence>
+ <xs:element name="protocol" maxOccurs="1" minOccurs="0" type="mlhim2:ItemStructure"></xs:element>
+ <xs:element name="guideline_id" maxOccurs="1" minOccurs="0" type="mlhim2:ObjectRef"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="Observation" base="mlhim2:CareEntry" abstract="false">
+ <xs:sequence>
+ <xs:element name="data" maxOccurs="1" minOccurs="0" type="mlhim2:History"></xs:element>
+ <xs:element name="state" maxOccurs="1" minOccurs="0" type="mlhim2:History"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="Evaluation" base="mlhim2:CareEntry" abstract="false">
+ <xs:sequence>
+ <xs:element name="data" maxOccurs="1" minOccurs="0" type="mlhim2:ItemStructure"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="Action" base="mlhim2:CareEntry" abstract="false">
+ <xs:sequence>
+ <xs:element name="time" maxOccurs="1" minOccurs="0" type="mlhim2:DvDateTime"></xs:element>
+ <xs:element name="description" maxOccurs="1" minOccurs="0" type="mlhim2:ItemStructure"></xs:element>
+ <xs:element name="ism_transition" maxOccurs="1" minOccurs="0" type="mlhim2:DvCodedText"></xs:element>
+ <xs:element name="instruction_details" maxOccurs="1" minOccurs="0" type="mlhim2:DvCodedText"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="Instruction" base="mlhim2:CareEntry" abstract="false">
+ </xs:complexType>
+
+ <xs:complexType name="Composition" base="mlhim2:Locatable" abstract="false">
+ <xs:sequence>
+ <xs:element name="attestation" maxOccurs="1" minOccurs="0" type="mlhim2:Attestation"></xs:element>
+ <xs:element name="links" maxOccurs="1" minOccurs="0" type="mlhim2:linksList"></xs:element>
+ <xs:element name="original" maxOccurs="1" minOccurs="0" type="xs:string"></xs:element>
+ <xs:element name="predecessor" maxOccurs="1" minOccurs="0" type="xs:string"></xs:element>
+ <xs:element name="created" maxOccurs="1" minOccurs="0" type="mlhim2:DvDateTime"></xs:element>
+ <xs:element name="composer" maxOccurs="1" minOccurs="0" type="mlhim2:PartyProxy"></xs:element>
+ <xs:element name="territory" maxOccurs="1" minOccurs="0" type="mlhim2:Location"></xs:element>
+ <xs:element name="category" maxOccurs="1" minOccurs="0" type="mlhim2:DvCodedText"></xs:element>
+ <xs:element name="language" maxOccurs="1" minOccurs="0" type="xs:lang"></xs:element>
+ <xs:element name="context" maxOccurs="1" minOccurs="0" type="mlhim2:EventContext"></xs:element>
+ <xs:element name="content" maxOccurs="1" minOccurs="0" type="mlhim2:Locatable"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+
</xs:schema>