mlhim-specs-dev team mailing list archive
-
mlhim-specs-dev team
-
Mailing list archive
-
Message #00494
[Branch ~mlhim-specs-dev/mlhim-specs/main] Rev 247: Beginning cleanup ofEcore stuff in RMschemas.
------------------------------------------------------------
revno: 247
committer: Timothy W. Cook <timothywayne.cook@xxxxxxxxx>
branch nick: mlhim-specs
timestamp: Fri 2012-05-25 20:12:21 -0300
message:
Beginning cleanup ofEcore stuff in RMschemas.
added:
schemas/ccd.xsd
schemas/common.xsd
schemas/content.xsd
schemas/datatypes.xsd
schemas/ecore-schemas.zip
schemas/metadata.xsd
schemas/structures.xsd
modified:
schemas/mlhim2.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
=== added file 'schemas/ccd.xsd'
--- schemas/ccd.xsd 1970-01-01 00:00:00 +0000
+++ schemas/ccd.xsd 2012-05-25 23:12:21 +0000
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:mlhim2="http://www.mlhim.org/xmls/mlhim2/2_3_0" xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.mlhim.org/xmls/mlhim2/2_3_0" elementFormDefault="qualified" version="2.3.0">
+ <xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/datatypes.xsd"></xs:include>
+ <xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/common.xsd"></xs:include>
+ <xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/structures.xsd"></xs:include>
+ <xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/content.xsd"></xs:include>
+
+ <xs:complexType name="CCD">
+ <xs:complexContent>
+ <xs:extension base="xs:anySimpleType">
+ <xs:attribute name="definition" type="mlhim2:Locatable" use="required" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+</xs:schema>
=== added file 'schemas/common.xsd'
--- schemas/common.xsd 1970-01-01 00:00:00 +0000
+++ schemas/common.xsd 2012-05-25 23:12:21 +0000
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<xs:schema xmlns:mlhim2="http://www.mlhim.org/xmls/mlhim2/2_3_0" xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.mlhim.org/xmls/mlhim2/2_3_0" elementFormDefault="qualified" version="2.3.0">
+ <xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/datatypes.xsd"></xs:include>
+
+ <xs:complexType abstract="true" name="Locatable">
+ <xs:complexContent>
+ <xs:extension base="xs:simpleAnyType">
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="parent" type="xs:string"/>
+ <xs:attribute name="uuid" type="xs:string" use="required"/>
+ <xs:attribute ecore:name="feeder_audit" ecore:reference="mlhim2:FeederAudit" name="feeder_audit" type="xs:anyURI"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="Attestation">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:Locatable">
+ <xs:attribute ecore:name="attested_view" ecore:reference="mlhim2_0:DvMedia" name="attested_view" type="xs:anyURI"/>
+ <xs:attribute ecore:reference="mlhim2_0:DvParsable" name="proof" type="xs:anyURI"/>
+ <xs:attribute ecore:reference="mlhim2_0:DvCodedString" name="reason" type="xs:anyURI"/>
+ <xs:attribute ecore:reference="mlhim2:PartyProxy" name="committer" type="xs:anyURI" use="required"/>
+ <xs:attribute ecore:name="time_commmitted" ecore:reference="mlhim2_0:DvDateTime" name="time_commmitted" type="xs:anyURI" use="required"/>
+ <xs:attribute ecore:name="is_pending" ecore:unsettable="false" name="is_pending" type="xs:boolean"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="Participation">
+ <xs:complexContent>
+ <xs:extension base="xs:simpleAnyType">
+ <xs:attribute ecore:reference="mlhim2:PartyProxy" name="performer" type="xs:anyURI" use="required"/>
+ <xs:attribute ecore:reference="mlhim2_0:DvCodedString" name="function" type="xs:anyURI" use="required"/>
+ <xs:attribute ecore:reference="mlhim2_0:DvCodedString" name="mode" type="xs:anyURI" use="required"/>
+ <xs:attribute ecore:name="start_time" ecore:reference="mlhim2_0:DvDateTime" name="start_time" type="xs:anyURI"/>
+ <xs:attribute ecore:name="end_time" ecore:reference="mlhim2_0:DvDateTime" name="end_time" type="xs:anyURI"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="FeederAudit">
+ <xs:complexContent>
+ <xs:extension base="xs:simpleAnyType">
+ <xs:attribute ecore:name="originating_system_audit" ecore:reference="mlhim2:FeederAuditDetails" name="originating_system_audit" type="xs:anyURI" use="required"/>
+ <xs:attribute ecore:name="originating_system_ids" ecore:reference="mlhim2_0:DvIdentifier" name="originating_system_ids" use="required">
+ <xs:simpleType>
+ <xs:list itemType="xs:anyURI"/>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute ecore:name="feeder_system_audit" ecore:reference="mlhim2:FeederAuditDetails" name="feeder_system_audit" type="xs:anyURI"/>
+ <xs:attribute ecore:name="feeder_system_ids" ecore:reference="mlhim2_0:DvIdentifier" name="feeder_system_ids">
+ <xs:simpleType>
+ <xs:list itemType="xs:anyURI"/>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute ecore:name="original_content" ecore:reference="mlhim2_0:DvParsable" name="original_content" type="xs:anyURI" use="required"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="FeederAuditDetails">
+ <xs:complexContent>
+ <xs:extension base="xs:simpleAnyType">
+ <xs:attribute ecore:name="system_id" ecore:reference="mlhim2_0:DvIdentifier" name="system_id" type="xs:anyURI"/>
+ <xs:attribute ecore:reference="mlhim2:PartyIdentified" name="provider" type="xs:anyURI"/>
+ <xs:attribute ecore:reference="mlhim2_1:Slot" name="location" type="xs:anyURI"/>
+ <xs:attribute ecore:reference="mlhim2_0:DvDateTime" name="time" type="xs:anyURI"/>
+ <xs:attribute ecore:reference="mlhim2:PartyProxy" name="subject" type="xs:anyURI"/>
+ <xs:attribute ecore:name="version_id" name="version_id" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="PartyProxy">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:Locatable">
+ <xs:attribute ecore:name="external_ref" name="external_ref" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="PartyIdentified">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:PartyProxy">
+ <xs:attribute ecore:name="party_name" name="party_name" type="xs:string"/>
+ <xs:attribute ecore:reference="mlhim2_0:DvIdentifier" name="identities">
+ <xs:simpleType>
+ <xs:list itemType="xs:anyURI"/>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="PartySelf">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:PartyProxy"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="ExceptionalValue">
+ <xs:complexContent>
+ <xs:extension base="xs:simpleAnyType">
+ <xs:attribute ecore:name="ev_name" name="ev_name" type="xs:string"/>
+ <xs:attribute ecore:name="ev_meaning" name="ev_meaning" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="NI">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:ExceptionalValue"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="MSK">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:NI"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="INV">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:NI"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DER">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:INV"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="UNC">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:INV"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="OTH">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:INV"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="NINF">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:OTH"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="PINF">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:OTH"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="UNK">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:NI"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="ASKR">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:UNK"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="NASK">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:UNK"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="QS">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:UNK"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="TRC">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:UNK"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="ASKU">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:UNK"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="NAV">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:ASKU"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="NA">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:NI"/>
+ </xs:complexContent>
+ </xs:complexType>
+</xs:schema>
=== added file 'schemas/content.xsd'
--- schemas/content.xsd 1970-01-01 00:00:00 +0000
+++ schemas/content.xsd 2012-05-25 23:12:21 +0000
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<xsd:schema xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mlhim2="http://www.mlhim.org/mlhim2/content" xmlns:mlhim2_0="http://www.mlhim.org/mlhim2/common" xmlns:mlhim2_1="http://www.mlhim.org/mlhim2/datatypes" xmlns:mlhim2_2="http://www.mlhim.org/mlhim2/structures" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ecore:nsPrefix="mlhim2" ecore:package="mlhim2.content" targetNamespace="http://www.mlhim.org/mlhim2/content">
+ <xsd:import namespace="http://www.mlhim.org/mlhim2/structures" schemaLocation="mlhim2.structures.xsd"/>
+ <xsd:import namespace="http://www.mlhim.org/mlhim2/datatypes" schemaLocation="mlhim2.datatypes.xsd"/>
+ <xsd:import namespace="http://www.mlhim.org/mlhim2/common" schemaLocation="mlhim2.common.xsd"/>
+ <xsd:element ecore:ignore="true" name="Entry" type="mlhim2:Entry"/>
+ <xsd:element ecore:ignore="true" name="CareEntry" type="mlhim2:CareEntry"/>
+ <xsd:element ecore:ignore="true" name="AdminEntry" type="mlhim2:AdminEntry"/>
+ <xsd:element ecore:ignore="true" name="DemographicEntry" type="mlhim2:DemographicEntry"/>
+ <xsd:complexType abstract="true" name="Entry">
+ <xsd:complexContent>
+ <xsd:extension base="mlhim2_0:Locatable">
+ <xsd:attribute ecore:reference="mlhim2_1:DvCodedString" name="language" type="xsd:anyURI" use="required"/>
+ <xsd:attribute ecore:reference="mlhim2_1:DvCodedString" name="encoding" type="xsd:anyURI"/>
+ <xsd:attribute ecore:reference="mlhim2_0:PartyProxy" name="subject" type="xsd:anyURI" use="required"/>
+ <xsd:attribute ecore:reference="mlhim2_0:PartyProxy" name="provider" type="xsd:anyURI"/>
+ <xsd:attribute ecore:name="other_participations" ecore:reference="mlhim2_0:Participation" name="other_participations">
+ <xsd:simpleType>
+ <xsd:list itemType="xsd:anyURI"/>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute ecore:name="protocol_id" ecore:reference="mlhim2_1:DvIdentifier" name="protocol_id" type="xsd:anyURI"/>
+ <xsd:attribute ecore:name="current_state" name="current_state" type="xsd:string"/>
+ <xsd:attribute ecore:name="workflow_id" ecore:reference="mlhim2_1:DvURI" name="workflow_id" type="xsd:anyURI"/>
+ <xsd:attribute ecore:reference="mlhim2_1:DvURI" name="links">
+ <xsd:simpleType>
+ <xsd:list itemType="xsd:anyURI"/>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute ecore:reference="mlhim2_0:Attestation" name="attestation" type="xsd:anyURI"/>
+ <xsd:attribute ecore:reference="mlhim2_2:Item" name="data" type="xsd:anyURI"/>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="CareEntry">
+ <xsd:complexContent>
+ <xsd:extension base="mlhim2:Entry"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="AdminEntry">
+ <xsd:complexContent>
+ <xsd:extension base="mlhim2:Entry"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="DemographicEntry">
+ <xsd:complexContent>
+ <xsd:extension base="mlhim2:Entry"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+</xsd:schema>
=== added file 'schemas/datatypes.xsd'
--- schemas/datatypes.xsd 1970-01-01 00:00:00 +0000
+++ schemas/datatypes.xsd 2012-05-25 23:12:21 +0000
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:mlhim2="http://www.mlhim.org/xmls/mlhim2/2_3_0" xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.mlhim.org/xmls/mlhim2/2_3_0" elementFormDefault="qualified" version="2.3.0">
+ <xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/common.xsd"></xs:include>
+
+
+ <xs:complexType abstract="true" name="DvAny">
+ <xs:complexContent>
+ <xs:extension base="xs:anySimpleType">
+ <xs:attribute name="ev" type="mlhim2:ExceptionalValue" maxOccurs="1" minOccurs="0" nillable="true"/>
+ <xs:attribute name="valid_time_begin" type="xs:dateTime" maxOccurs="1" minOccurs="0" nillable="true"/>
+ <xs:attribute name="valid_time_end" type="xs:dateTime" maxOccurs="1" minOccurs="0" nillable="true"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="DvBoolean">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvAny">
+ <xs:attribute name="valid_trues" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
+ <xs:attribute name="valid_falses" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
+ <xs:attribute name="bool_dv" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="DvURI">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvString"/>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="DvString">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvAny">
+ <xs:attribute ecore:name="string_dv" name="string_dv" type="xs:string"/>
+ <xs:attribute name="language" type="xs:language"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvNormalizedString">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvString"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvToken">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvString"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvCodedString">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvString">
+ <xs:attribute ecore:name="terminology_abbrev" name="terminology_abbrev" type="xs:string"/>
+ <xs:attribute ecore:name="terminology_name" name="terminology_name" type="xs:string"/>
+ <xs:attribute ecore:name="terminology_code" name="terminology_code" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvIdentifier">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvString">
+ <xs:attribute ecore:name="id_name" name="id_name" type="xs:string"/>
+ <xs:attribute name="issuer" type="xs:string"/>
+ <xs:attribute name="assignor" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="DvEncapsulated">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvAny">
+ <xs:attribute ecore:unsettable="false" name="size" type="xs:int" use="required"/>
+ <xs:attribute name="charset" type="xs:string"/>
+ <xs:attribute name="language" type="xs:language"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvParsable">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvEncapsulated">
+ <xs:attribute ecore:name="parsable_dv" name="parsable_dv" type="xs:string"/>
+ <xs:attribute name="formalism" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="DvMedia">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvEncapsulated">
+ <xs:attribute ecore:name="mime_type" name="mime_type" type="xs:string"/>
+ <xs:attribute ecore:name="compression_type" name="compression_type" type="xs:string"/>
+ <xs:attribute ecore:name="hash_result" name="hash_result" type="xs:string"/>
+ <xs:attribute ecore:name="hash_function" name="hash_function" type="xs:string"/>
+ <xs:attribute ecore:name="alt_txt" name="alt_txt" type="xs:string"/>
+ <xs:attribute name="uri" type="xs:string"/>
+ <xs:attribute ecore:name="media_content" name="media_content" type="xs:base64Binary"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="DvOrdered">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvAny">
+ <xs:attribute ecore:name="normal_range" ecore:reference="mlhim2:ReferenceRange" name="normal_range" type="xs:anyURI"/>
+ <xs:attribute ecore:name="other_reference_ranges" ecore:reference="mlhim2:ReferenceRange" name="other_reference_ranges">
+ <xs:simpleType>
+ <xs:list itemType="xs:anyURI"/>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute ecore:name="normal_status" name="normal_status" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvOrdinal">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvOrdered">
+ <xs:attribute ecore:name="ordinal_dv" ecore:unsettable="false" name="ordinal_dv" type="xs:int" use="required"/>
+ <xs:attribute name="symbol" type="xs:string" use="required"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="DvQuantified">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvOrdered">
+ <xs:attribute name="magnitude" type="xs:decimal" use="required"/>
+ <xs:attribute ecore:name="min_magnitude" name="min_magnitude" type="xs:decimal"/>
+ <xs:attribute ecore:name="max_magnitude" name="max_magnitude" type="xs:decimal"/>
+ <xs:attribute ecore:name="magnitude_status" name="magnitude_status" type="xs:string"/>
+ <xs:attribute ecore:unsettable="false" name="error" type="xs:int" use="required"/>
+ <xs:attribute default="0" ecore:unsettable="false" name="accuracy" type="xs:decimal"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvCount">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvQuantified">
+ <xs:attribute name="units" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvQuantity">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvQuantified">
+ <xs:attribute ecore:reference="mlhim2:DvCodedString" name="units" type="xs:anyURI" use="required"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvRatio">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvQuantified">
+ <xs:attribute name="numerator" type="xs:decimal"/>
+ <xs:attribute name="denominator" type="xs:decimal"/>
+ <xs:attribute ecore:name="numerator_units" name="numerator_units" type="xs:string"/>
+ <xs:attribute ecore:name="denominator_units" name="denominator_units" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvRate">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvRatio">
+ <xs:attribute ecore:name="rate_type" name="rate_type" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvProportion">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvRatio">
+ <xs:attribute ecore:name="proportion_type" name="proportion_type" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvInterval">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvAny">
+ <xs:attribute ecore:reference="mlhim2:DvOrdered" name="lower" type="xs:anyURI"/>
+ <xs:attribute ecore:reference="mlhim2:DvOrdered" name="upper" type="xs:anyURI"/>
+ <xs:attribute ecore:name="lower_included" ecore:unsettable="false" name="lower_included" type="xs:boolean"/>
+ <xs:attribute ecore:name="upper_included" ecore:unsettable="false" name="upper_included" type="xs:boolean"/>
+ <xs:attribute ecore:name="lower_unbounded" ecore:unsettable="false" name="lower_unbounded" type="xs:boolean"/>
+ <xs:attribute ecore:name="upper_unbounded" ecore:unsettable="false" name="upper_unbounded" type="xs:boolean"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="ReferenceRange">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvAny">
+ <xs:attribute name="definition" type="xs:string"/>
+ <xs:attribute ecore:name="data_range" ecore:reference="mlhim2:DvInterval" name="data_range" type="xs:anyURI"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="DvTemporal">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvOrdered">
+ <xs:attribute ecore:name="temporal_dv" name="temporal_dv" type="xs:string"/>
+ <xs:attribute ecore:default="false" ecore:name="allow_partial" ecore:unsettable="false" name="allow_partial" type="xs:boolean" use="required"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvDuration">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvTemporal"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvDateTime">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvTemporal"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvDate">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvTemporal"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="DvTime">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:DvTemporal"/>
+ </xs:complexContent>
+ </xs:complexType>
+</xs:schema>
=== added file 'schemas/ecore-schemas.zip'
Binary files schemas/ecore-schemas.zip 1970-01-01 00:00:00 +0000 and schemas/ecore-schemas.zip 2012-05-25 23:12:21 +0000 differ
=== added file 'schemas/metadata.xsd'
--- schemas/metadata.xsd 1970-01-01 00:00:00 +0000
+++ schemas/metadata.xsd 2012-05-25 23:12:21 +0000
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<xs:schema xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mlhim2="http://www.mlhim.org/mlhim2/metadata" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ecore:nsPrefix="mlhim2" ecore:package="mlhim2.metadata" targetNamespace="http://www.mlhim.org/mlhim2/metadata">
+ <xs:element ecore:ignore="true" name="MetadataSet" type="mlhim2:MetadataSet"/>
+ <xs:element ecore:ignore="true" name="MetadataEntry" type="mlhim2:MetadataEntry"/>
+ <xs:element ecore:ignore="true" name="Metadata" type="mlhim2:Metadata"/>
+ <xs:complexType name="MetadataSet">
+ <xs:complexContent>
+ <xs:extension base="xs:simpleAnyType">
+ <xs:attribute ecore:name="mds_name" name="mds_name" type="xs:string" use="required"/>
+ <xs:attribute ecore:reference="mlhim2:MetadataEntry" name="entries" use="required">
+ <xs:simpleType>
+ <xs:list itemType="xs:anyURI"/>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="MetadataEntry">
+ <xs:complexContent>
+ <xs:extension base="xs:simpleAnyType">
+ <xs:attribute name="title" type="xs:string" use="required"/>
+ <xs:attribute name="contents" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="Metadata">
+ <xs:complexContent>
+ <xs:extension base="xs:simpleAnyType">
+ <xs:attribute ecore:reference="mlhim2:MetadataSet" name="content" use="required">
+ <xs:simpleType>
+ <xs:restriction>
+ <xs:simpleType>
+ <xs:list itemType="xs:anyURI"/>
+ </xs:simpleType>
+ <xs:minLength value="2"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+</xs:schema>
=== modified file 'schemas/mlhim2.xsd'
--- schemas/mlhim2.xsd 2012-05-25 14:20:08 +0000
+++ schemas/mlhim2.xsd 2012-05-25 23:12:21 +0000
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2011 Timothy W. Cook and Contributors. See http://www.mlhim.org-->
-<xs:schema elementFormDefault="qualified" id="mlhim2" targetNamespace="http://www.mlhim.org/xmls/mlhim2" version="2.3.0" xmlns:mlhim2="http://www.mlhim.org/xmls/mlhim2/2_3_0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:include schemaLocation="mlhim2.datatypes.xsd"></xs:include>
- <xs:include schemaLocation="mlhim2.ccd.xsd"></xs:include>
- <xs:include schemaLocation="mlhim2.common.xsd"></xs:include>
- <xs:include schemaLocation="mlhim2.structures.xsd"></xs:include>
- <xs:include schemaLocation="mlhim2.content.xsd"></xs:include>
- <xs:include schemaLocation="mlhim2.XMLType.xsd"></xs:include>
+<xs:schema xmlns:mlhim2="http://www.mlhim.org/xmls/mlhim2/2_3_0" xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.mlhim.org/xmls/mlhim2/2_3_0" elementFormDefault="qualified" version="2.3.0">
+ <xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/datatypes.xsd"></xs:include>
+ <xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/common.xsd"></xs:include>
+ <xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/structures.xsd"></xs:include>
+ <xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/content.xsd"></xs:include>
+ <xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/ccd.xsd"></xs:include>
<xs:annotation><xs:documentation>
Multi-Level Health Information Modelling Reference Model - Use this schema when creating bindings to other languages.
=== added file 'schemas/structures.xsd'
--- schemas/structures.xsd 1970-01-01 00:00:00 +0000
+++ schemas/structures.xsd 2012-05-25 23:12:21 +0000
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<xs:schema xmlns:mlhim2="http://www.mlhim.org/xmls/mlhim2/2_3_0" xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.mlhim.org/xmls/mlhim2/2_3_0" elementFormDefault="qualified" version="2.3.0">
+ <xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/datatypes.xsd"></xs:include>
+ <xs:include schemaLocation="http://www.mlhim.org/xmls/mlhim2/2_3_0/common.xsd"></xs:include>
+
+ <xs:complexType abstract="true" name="Item">
+ <xs:complexContent>
+ <xs:extension base="mlhim2_0:Locatable"/>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="Slot">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:Item">
+ <xs:sequence>
+ <xs:element ecore:name="allowed_ccds" ecore:unique="true" maxOccurs="unbounded" name="allowed_ccds" nillable="true" type="xs:string"/>
+ </xs:sequence>
+ <xs:attribute name="ccd" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="Cluster">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:Item">
+ <xs:attribute ecore:reference="mlhim2:Item" name="items">
+ <xs:simpleType>
+ <xs:list itemType="xs:anyURI"/>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="Element">
+ <xs:complexContent>
+ <xs:extension base="mlhim2:Item">
+ <xs:attribute ecore:reference="mlhim2_1:DvAny" name="dv" type="xs:anyURI"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+</xs:schema>