openEHR Release 1.0.2 Composition XML schema - Composition.xsd

openEHR Release 1.0.2 Composition XML schema

Table of Contents

top

Schema Document Properties

Target Namespace http://schemas.openehr.org/v1
Version v1.0.2
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema includes components from the following schema document(s):

Declared Namespaces

Prefix Namespace
Default namespace http://schemas.openehr.org/v1
xml http://www.w3.org/XML/1998/namespace
xs http://www.w3.org/2001/XMLSchema
Schema Component Representation
<schema targetNamespace="http://schemas.openehr.org/v1" elementFormDefault="qualified" version="v1.0.2" id="Composition.xsd">
<include schemaLocation="Content.xsd"/>
...
</schema>
top

Global Declarations

Element: composition

Name composition
Type COMPOSITION
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<composition
archetype_node_id=" archetypeNodeId [1]">
<name> DV_TEXT </name> [1]
<uid> UID_BASED_ID </uid> [0..1]
<links> LINK </links> [0..*]
<archetype_details> ARCHETYPED </archetype_details> [0..1]
<feeder_audit> FEEDER_AUDIT </feeder_audit> [0..1]
<language> CODE_PHRASE </language> [1]
<territory> CODE_PHRASE </territory> [1]
<category> DV_CODED_TEXT </category> [1]
<composer> PARTY_PROXY </composer> [1]
<context> EVENT_CONTEXT </context> [0..1]
<content> CONTENT_ITEM </content> [0..*]
</composition>
Diagram
Schema Component Representation
<element name="composition" type=" COMPOSITION "/>
top

Global Definitions

Complex Type: COMPOSITION

Super-types: LOCATABLE < COMPOSITION (by extension)
Sub-types: None
Name COMPOSITION
Used by (from the same schema document) Element composition
Abstract no
XML Instance Representation
<...
archetype_node_id=" archetypeNodeId [1]">
<name> DV_TEXT </name> [1]
<uid> UID_BASED_ID </uid> [0..1]
<links> LINK </links> [0..*]
<archetype_details> ARCHETYPED </archetype_details> [0..1]
<feeder_audit> FEEDER_AUDIT </feeder_audit> [0..1]
<language> CODE_PHRASE </language> [1]
<territory> CODE_PHRASE </territory> [1]
<category> DV_CODED_TEXT </category> [1]
<composer> PARTY_PROXY </composer> [1]
<context> EVENT_CONTEXT </context> [0..1]
<content> CONTENT_ITEM </content> [0..*]
</...>
Diagram
Schema Component Representation
<complexType name="COMPOSITION">
<complexContent>
<extension base=" LOCATABLE ">
<sequence>
<element name="language" type=" CODE_PHRASE "/>
<element name="territory" type=" CODE_PHRASE "/>
<element name="category" type=" DV_CODED_TEXT "/>
<element name="composer" type=" PARTY_PROXY "/>
<element name="context" type=" EVENT_CONTEXT " minOccurs="0"/>
<element name="content" type=" CONTENT_ITEM " minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: EVENT_CONTEXT

Super-types: None
Sub-types: None
Name EVENT_CONTEXT
Used by (from the same schema document) Complex Type COMPOSITION
Abstract no
XML Instance Representation
<...>
<start_time> DV_DATE_TIME </start_time> [1]
<end_time> DV_DATE_TIME </end_time> [0..1]
<location> string </location> [0..1]
<setting> DV_CODED_TEXT </setting> [1]
<other_context> ITEM_STRUCTURE </other_context> [0..1]
<health_care_facility> PARTY_IDENTIFIED </health_care_facility> [0..1]
<participations> PARTICIPATION </participations> [0..*]
</...>
Diagram
h1783862838 h1783862838 h1544425981 h-1739558196 h1012359705 h-1764501284
Schema Component Representation
<complexType name="EVENT_CONTEXT">
<sequence>
<element name="start_time" type=" DV_DATE_TIME "/>
<element name="end_time" type=" DV_DATE_TIME " minOccurs="0"/>
<element name="location" type=" string " minOccurs="0"/>
<element name="setting" type=" DV_CODED_TEXT "/>
<element name="other_context" type=" ITEM_STRUCTURE " minOccurs="0"/>
<element name="health_care_facility" type=" PARTY_IDENTIFIED " minOccurs="0"/>
<element name="participations" type=" PARTICIPATION " minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
top