Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c0627b0f authored by Malo Toudic's avatar Malo Toudic
Browse files

DGSANTE-272: ehdsi XSDs updated

parent bf77346b
No related branches found
No related tags found
2 merge requests!64Develop,!61DGSANTE-272: ehdsi XSDs updated
Showing
with 36 additions and 9 deletions
<?xml version="1.0" encoding="utf-8"?>
<!--
*******************************************************************************
Schema for HL7 Clinical Document Architecture (CDA) R2 (2005)
Containing extensions for :
- POCD_MT000040.Material (HL7 Pharmacy CDA extensions)
- translated desinations for the coded elements (International Patient Summary (IPS) CDA extensions)
History:
2018.06.28 Giorgio Cangioli, first version based on the ELGA XML schema created by Tony Schaller, medshare GmbH, Switzerland
2022.02.25 Giorgio Cangioli, added part extension (pharma namespace)
*******************************************************************************
-->
<xs:schema xmlns:hl7v3="urn:hl7-org:v3" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:hl7-org:v3" elementFormDefault="qualified">
<xs:include schemaLocation="POCD_MT000040_Pharma.xsd"/>
<xs:element name="ClinicalDocument" type="hl7v3:POCD_MT000040.ClinicalDocument"/>
</xs:schema>
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
...@@ -35,6 +35,9 @@ applied to the POCD_MT000040.Material class ...@@ -35,6 +35,9 @@ applied to the POCD_MT000040.Material class
History: History:
2018.06.29 Giorgio Cangioli, first version 2018.06.29 Giorgio Cangioli, first version
2023.01.30 Giorgio Cangioli, asContent and part quantity: RTO demoted to PQ as for the Pharmacy Template
2023.02.03 Giorgio Cangioli, changes applied per https://jira.hl7.org/browse/CDA-20668
2023.04.11 Giorgio Cangioli, nested asContent quantity: RTO demoted to PQ as for the Pharmacy Template
******************************************************************************* *******************************************************************************
--> -->
...@@ -138,8 +141,9 @@ StaticMifToXsd.xsl version 2.0</xs:documentation> ...@@ -138,8 +141,9 @@ StaticMifToXsd.xsl version 2.0</xs:documentation>
<xs:complexType name="COCT_MT230100UV01.Content"> <xs:complexType name="COCT_MT230100UV01.Content">
<xs:sequence> <xs:sequence>
<xs:group ref="hl7v3:InfrastructureRootElements"/> <xs:group ref="hl7v3:InfrastructureRootElements"/>
<!-- Manual fix by the eHDSI Solution Provider datatype hl7v3:RTO -> hl7v3:PQ -->
<xs:element name="quantity" type="hl7v3:PQ" minOccurs="0" maxOccurs="1"/> <xs:element name="quantity" type="hl7v3:PQ" minOccurs="0" maxOccurs="1"/>
<!-- demoted to PQ as agreed for the Pharmacy Template -->
<!-- <xs:element name="quantity" type="hl7v3:RTO" minOccurs="0" maxOccurs="1"/> -->
<xs:element name="containerPackagedProduct" type="pharm:COCT_MT230100UV01.PackagedProduct" minOccurs="1" maxOccurs="1"/> <xs:element name="containerPackagedProduct" type="pharm:COCT_MT230100UV01.PackagedProduct" minOccurs="1" maxOccurs="1"/>
<!-- HL7 Pharma extensions for the IPS: items removed from the original schema <!-- HL7 Pharma extensions for the IPS: items removed from the original schema
<xs:element name="subjectOf1" type="pharm:COCT_MT230100UV01.Subject1" nillable="true" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="subjectOf1" type="pharm:COCT_MT230100UV01.Subject1" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
...@@ -153,7 +157,6 @@ StaticMifToXsd.xsl version 2.0</xs:documentation> ...@@ -153,7 +157,6 @@ StaticMifToXsd.xsl version 2.0</xs:documentation>
<xs:complexType name="COCT_MT230100UV01.Content1"> <xs:complexType name="COCT_MT230100UV01.Content1">
<xs:sequence> <xs:sequence>
<xs:group ref="hl7v3:InfrastructureRootElements"/> <xs:group ref="hl7v3:InfrastructureRootElements"/>
<!-- Manual fix by the eHDSI Solution Provider datatype hl7v3:RTO -> hl7v3:PQ -->
<xs:element name="quantity" type="hl7v3:PQ" minOccurs="0" maxOccurs="1"/> <xs:element name="quantity" type="hl7v3:PQ" minOccurs="0" maxOccurs="1"/>
<xs:element name="containerPackagedProduct" type="pharm:COCT_MT230100UV01.PackagedProduct" minOccurs="1" maxOccurs="1"/> <xs:element name="containerPackagedProduct" type="pharm:COCT_MT230100UV01.PackagedProduct" minOccurs="1" maxOccurs="1"/>
</xs:sequence> </xs:sequence>
...@@ -291,8 +294,9 @@ StaticMifToXsd.xsl version 2.0</xs:documentation> ...@@ -291,8 +294,9 @@ StaticMifToXsd.xsl version 2.0</xs:documentation>
<xs:sequence> <xs:sequence>
<xs:group ref="hl7v3:InfrastructureRootElements"/> <xs:group ref="hl7v3:InfrastructureRootElements"/>
<xs:element name="id" type="hl7v3:II" minOccurs="0" maxOccurs="1"/> <xs:element name="id" type="hl7v3:II" minOccurs="0" maxOccurs="1"/>
<!-- Manual fix by the eHDSI Solution Provider datatype hl7v3:RTO -> hl7v3:PQ -->
<xs:element name="quantity" type="hl7v3:PQ" minOccurs="0" maxOccurs="1"/> <xs:element name="quantity" type="hl7v3:PQ" minOccurs="0" maxOccurs="1"/>
<!-- demoted to PQ as agreed for the Pharmacy Template -->
<!-- <xs:element name="quantity" type="hl7v3:RTO" minOccurs="0" maxOccurs="1"/> -->
<xs:element name="partProduct" type="pharm:COCT_MT230100UV01.Product" minOccurs="1" maxOccurs="1"/> <xs:element name="partProduct" type="pharm:COCT_MT230100UV01.Product" minOccurs="1" maxOccurs="1"/>
<xs:element name="subjectOf" type="pharm:COCT_MT230100UV01.Subject6" nillable="true" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="subjectOf" type="pharm:COCT_MT230100UV01.Subject6" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence> </xs:sequence>
...@@ -312,6 +316,13 @@ StaticMifToXsd.xsl version 2.0</xs:documentation> ...@@ -312,6 +316,13 @@ StaticMifToXsd.xsl version 2.0</xs:documentation>
<xs:complexType name="COCT_MT230100UV01.Product"> <xs:complexType name="COCT_MT230100UV01.Product">
<xs:sequence> <xs:sequence>
<xs:group ref="hl7v3:InfrastructureRootElements"/> <xs:group ref="hl7v3:InfrastructureRootElements"/>
<!-- added per https://jira.hl7.org/browse/CDA-20668 begin -->
<xs:element name="code" type="hl7v3:CE" minOccurs="0"/>
<xs:element name="name" type="hl7v3:EN" minOccurs="0"/>
<xs:element name="desc" type="hl7v3:ED" minOccurs="0"/>
<xs:element name="formCode" type="hl7v3:CE" minOccurs="0" maxOccurs="1"/>
<xs:element name="expirationTime" type="hl7v3:IVL_TS" minOccurs="0"/>
<!-- added per https://jira.hl7.org/browse/CDA-20668 end -->
<xs:element name="asContent" type="pharm:COCT_MT230100UV01.Content" nillable="true" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="asContent" type="pharm:COCT_MT230100UV01.Content" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="asSpecializedKind" type="pharm:COCT_MT230100UV01.SpecializedKind" nillable="true" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="asSpecializedKind" type="pharm:COCT_MT230100UV01.SpecializedKind" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="part" type="pharm:COCT_MT230100UV01.Part" nillable="true" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="part" type="pharm:COCT_MT230100UV01.Part" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
......
...@@ -6,16 +6,12 @@ Currently included by POCD_MT000040_extPHARM.xsd, COCT_MT230100UV01_extPHARM.xsd ...@@ -6,16 +6,12 @@ Currently included by POCD_MT000040_extPHARM.xsd, COCT_MT230100UV01_extPHARM.xsd
History: History:
2018.06.29 Giorgio Cangioli, first version based on the ELGA XML schema created by Tony Schaller, medshare GmbH, Switzerland 2018.06.29 Giorgio Cangioli, first version based on the ELGA XML schema created by Tony Schaller, medshare GmbH, Switzerland
2023.30.01 Giorgio Cangioli, fixed the error with the first annotation
******************************************************************************* *******************************************************************************
--> -->
<xs:schema xmlns:hl7v3="urn:hl7-org:v3" xmlns:pharm="urn:hl7-org:pharm" xmlns:ips="urn:hl7-org:ips" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:hl7-org:v3" elementFormDefault="qualified"> <xs:schema xmlns:hl7v3="urn:hl7-org:v3" xmlns:pharm="urn:hl7-org:pharm" xmlns:ips="urn:hl7-org:ips" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:hl7-org:v3" elementFormDefault="qualified">
<xs:include schemaLocation="../coreschemas/datatypes.xsd"> <xs:include schemaLocation="../coreschemas/datatypes.xsd">
<xs:annotation> <xs:annotation><xs:documentation>The included coreschemas/datatypes-base.xsd has been modified to include the Pharmacy / IPS extensions for coded elements (e.g. CD, CE,...)</xs:documentation></xs:annotation>
<xs:documentation>
The included coreschemas/datatypes-base.xsd has been modified to include the IPS extensions for coded elements (e.g. CD, CE,...)
</xs:documentation>
</xs:annotation>
</xs:include> </xs:include>
<!-- this comes originally from infrastructureRoot.xsd of HL7 V3 Normative Edition 2010 --> <!-- this comes originally from infrastructureRoot.xsd of HL7 V3 Normative Edition 2010 -->
<xs:group name="InfrastructureRootElements"> <xs:group name="InfrastructureRootElements">
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment