openEHR Release 1.0.2 Version XML schema - Version.xsd

openEHR Release 1.0.2 Version 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="Version.xsd">
<include schemaLocation="Composition.xsd"/>
...
</schema>
top

Global Declarations

Element: version

Name version
Type VERSION
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<version>
<contribution> OBJECT_REF </contribution> [1]
<commit_audit> AUDIT_DETAILS </commit_audit> [1]
<signature> string </signature> [0..1]
</version>
Diagram
h2031888792 h883822937
Schema Component Representation
<element name="version" type=" VERSION "/>
top

Global Definitions

Complex Type: IMPORTED_VERSION

Super-types: VERSION < IMPORTED_VERSION (by extension)
Sub-types: None
Name IMPORTED_VERSION
Abstract no
XML Instance Representation
<...>
<contribution> OBJECT_REF </contribution> [1]
<commit_audit> AUDIT_DETAILS </commit_audit> [1]
<signature> string </signature> [0..1]
<item> ORIGINAL_VERSION </item> [1]
</...>
Diagram
Schema Component Representation
<complexType name="IMPORTED_VERSION">
<complexContent>
<extension base=" VERSION ">
<sequence>
<element name="item" type=" ORIGINAL_VERSION "/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: ORIGINAL_VERSION

Super-types: VERSION < ORIGINAL_VERSION (by extension)
Sub-types: None
Name ORIGINAL_VERSION
Used by (from the same schema document) Complex Type IMPORTED_VERSION
Abstract no
XML Instance Representation
<...>
<contribution> OBJECT_REF </contribution> [1]
<commit_audit> AUDIT_DETAILS </commit_audit> [1]
<signature> string </signature> [0..1]
<uid> OBJECT_VERSION_ID </uid> [1]
<data> anyType </data> [0..1]
<preceding_version_uid> OBJECT_VERSION_ID </preceding_version_uid> [0..1]
<other_input_version_uids> OBJECT_VERSION_ID </other_input_version_uids> [0..*]
<attestations> ATTESTATION </attestations> [0..*]
<lifecycle_state> DV_CODED_TEXT </lifecycle_state> [1]
</...>
Diagram
Schema Component Representation
<complexType name="ORIGINAL_VERSION">
<complexContent>
<extension base=" VERSION ">
<sequence>
<element name="uid" type=" OBJECT_VERSION_ID "/>
<element name="data" type=" anyType " minOccurs="0" maxOccurs="1"/>
<element name="preceding_version_uid" type=" OBJECT_VERSION_ID " minOccurs="0"/>
<element name="other_input_version_uids" type=" OBJECT_VERSION_ID " minOccurs="0" maxOccurs="unbounded"/>
<element name="attestations" type=" ATTESTATION " minOccurs="0" maxOccurs="unbounded"/>
<element name="lifecycle_state" type=" DV_CODED_TEXT "/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: VERSION

Super-types: None
Sub-types:
Name VERSION
Used by (from the same schema document) Element version
Abstract yes
XML Instance Representation
<...>
<contribution> OBJECT_REF </contribution> [1]
<commit_audit> AUDIT_DETAILS </commit_audit> [1]
<signature> string </signature> [0..1]
</...>
Diagram
h2031888792 h883822937
Schema Component Representation
<complexType name="VERSION" abstract="true">
<sequence>
<element name="contribution" type=" OBJECT_REF "/>
<element name="commit_audit" type=" AUDIT_DETAILS "/>
<element name="signature" type=" string " minOccurs="0"/>
</sequence>
</complexType>
top