Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 85a3eb2d authored by Achraf Achkari's avatar Achraf Achkari
Browse files

Fix eHDSI XSD

parent 13e2c650
No related branches found
No related tags found
3 merge requests!36[GOC-247] Fix cardinality processing and use extended element provided in BBR...,!35[GOC-247] Fix cardinality processing and use extended element provided in BBR...,!33Draft: Develop
<?xml version="1.0" encoding="UTF-8"?>
<!--
*******************************************************************************
Vocabulary for HL7 Pharmacy extension of HL7 Clinical Document Architecture (CDA) R2 (2005)
Currently included by POCD_MT000040_extPHARM.xsd, COCT_MT230100UV01_extPHARM.xsd
History:
2018.06.29 Giorgio Cangioli, first version based on the ELGA XML schema created by Tony Schaller, medshare GmbH, Switzerland
*******************************************************************************
-->
<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: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>
<!-- this comes originally from infrastructureRoot.xsd of HL7 V3 Normative Edition 2010 -->
<xs:group name="InfrastructureRootElements">
<xs:sequence>
<xs:element name="realmCode" type="hl7v3:CS" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="typeId" type="hl7v3:all.InfrastructureRoot.typeId" minOccurs="0" maxOccurs="1"/>
<xs:element name="templateId" type="hl7v3:all.InfrastructureRoot.templateId" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:group>
<xs:attributeGroup name="InfrastructureRootAttributes"/>
<xs:complexType name="all.InfrastructureRoot.typeId">
<xs:complexContent>
<xs:restriction base="hl7v3:II">
<xs:attribute name="root" type="hl7v3:uid" use="required" fixed="2.16.840.1.113883.1.3"/>
<xs:attribute name="extension" type="hl7v3:st" use="required"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="all.InfrastructureRoot.templateId">
<xs:complexContent>
<xs:extension base="hl7v3:II">
<xs:attribute name="unsorted" type="xs:boolean" default="false"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- this comes originally from voc.xsd of HL7 V3 Normative Edition 2010 -->
<xs:simpleType name="EntityClassPublicInstitution">
<xs:restriction base="hl7v3:cs">
<xs:enumeration value="PUB"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="EntityDeterminerSpecific">
<xs:restriction base="hl7v3:cs">
<xs:enumeration value="INSTANCE"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ActMoodEventOccurrence">
<xs:restriction base="hl7v3:cs">
<xs:enumeration value="EVN"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ParticipationAuthorOriginator">
<xs:restriction base="hl7v3:cs">
<xs:enumeration value="AUT"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="RoleClassContent">
<xs:restriction base="hl7v3:cs">
<xs:enumeration value="CONT"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="EntityClassState">
<xs:restriction base="hl7v3:cs">
<xs:enumeration value="STATE"/>
<xs:enumeration value="NAT"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ParticipationHolder">
<xs:restriction base="hl7v3:cs">
<xs:enumeration value="HLD"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="RoleClassAdministerableMaterial">
<xs:restriction base="hl7v3:cs">
<xs:enumeration value="ADMM"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ActMoodGoal">
<xs:restriction base="hl7v3:cs">
<xs:enumeration value="GOL"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="RoleClassPart">
<xs:restriction base="hl7v3:cs">
<xs:enumeration value="PART"/>
<xs:enumeration value="ACTM"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ActMoodDefinition">
<xs:restriction base="hl7v3:cs">
<xs:enumeration value="DEF"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="RoleClassTerritoryOfAuthority">
<xs:restriction base="hl7v3:cs">
<xs:enumeration value="TERR"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ActClassInvoiceElement">
<xs:restriction base="hl7v3:cs">
<xs:enumeration value="INVE"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
This zip file packages CDA Schema with Pharma extensions.
This package supplements the published CDA R2 base standard with updated Schema definitions.
This package was prepared by HL7 IPS Project Team.
It is based on the ELGA XML schema created by Tony Schaller, medshare GmbH, Switzerland.
========================
Contents of the package:
readme.txt:
This file
CDA_Pharma.xsd:
XML schema for message type POCD_MT000040.Pharma
POCD_MT000040_Pharma.xsd:
Schema defining the elements and attributes for message type POCD_MT000040 and the extensions used by the Pharma templates
extPHARM/COCT_MT230100UV01_extPHARM.xsd:
Modified COCT_MT230100UV01 schema used as source for the CDA extensions applied to the POCD_MT000040.Material class
extPHARM/hl7v3_extPHARM.xsd:
Vocabulary for the HL7 Pharmacy extension
coreschemas/datatypes.xsd:
Schema defining the CDA data types.
coreschemas/datatypes-base.xsd:
Schema defining base data types. Modified to support the extensions.
coreschemas/NarrativeBlock.xsd:
Schema defining constructs allowed in the CDA narrative block.
coreschemas/voc.xsd:
Schema defining allowed vocabulary values.
March 14, 2022
\ No newline at end of file
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