openEHR Release 1.0.1 OpenehrProfile XML schema

Table of Contents

top

Schema Document Properties

Target Namespace http://schemas.openehr.org/v1
Version 1.0.1
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="1.0.1" id="OpenehrProfile.xsd">
<include schemaLocation="Archetype.xsd"/>
...
</schema>
top

Global Definitions

Complex Type: C_CODE_PHRASE

Super-types: C_DOMAIN_TYPE < C_CODE_PHRASE (by extension)
Sub-types: None
Name C_CODE_PHRASE
Abstract no
XML Instance Representation
<...>
<rm_type_name> string </rm_type_name> [1]
<occurrences> IntervalOfInteger </occurrences> [1]
<node_id> string </node_id> [1]
<assumed_value> CODE_PHRASE </assumed_value> [0..1]
<terminology_id> TERMINOLOGY_ID </terminology_id> [0..1]
<code_list> string </code_list> [0..*]
</...>
Diagram
Schema Component Representation
<complexType name="C_CODE_PHRASE">
<complexContent>
<extension base=" C_DOMAIN_TYPE ">
<sequence>
<element name="assumed_value" type=" CODE_PHRASE " minOccurs="0"/>
<element name="terminology_id" type=" TERMINOLOGY_ID " minOccurs="0"/>
<element name="code_list" type=" string " minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: C_DV_ORDINAL

Super-types: C_DOMAIN_TYPE < C_DV_ORDINAL (by extension)
Sub-types: None
Name C_DV_ORDINAL
Abstract no
XML Instance Representation
<...>
<rm_type_name> string </rm_type_name> [1]
<occurrences> IntervalOfInteger </occurrences> [1]
<node_id> string </node_id> [1]
<assumed_value> DV_ORDINAL </assumed_value> [0..1]
<list> DV_ORDINAL </list> [0..*]
</...>
Diagram
Schema Component Representation
<complexType name="C_DV_ORDINAL">
<complexContent>
<extension base=" C_DOMAIN_TYPE ">
<sequence>
<element name="assumed_value" type=" DV_ORDINAL " minOccurs="0"/>
<element name="list" type=" DV_ORDINAL " minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: C_DV_QUANTITY

Super-types: C_DOMAIN_TYPE < C_DV_QUANTITY (by extension)
Sub-types: None
Name C_DV_QUANTITY
Abstract no
XML Instance Representation
<...>
<rm_type_name> string </rm_type_name> [1]
<occurrences> IntervalOfInteger </occurrences> [1]
<node_id> string </node_id> [1]
<assumed_value> DV_QUANTITY </assumed_value> [0..1]
<property> CODE_PHRASE </property> [0..1]
<list> C_QUANTITY_ITEM </list> [0..*]
</...>
Diagram
Schema Component Representation
<complexType name="C_DV_QUANTITY">
<complexContent>
<extension base=" C_DOMAIN_TYPE ">
<sequence>
<element name="assumed_value" type=" DV_QUANTITY " minOccurs="0"/>
<element name="property" type=" CODE_PHRASE " minOccurs="0"/>
<element name="list" type=" C_QUANTITY_ITEM " minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: C_DV_STATE

Super-types: C_DOMAIN_TYPE < C_DV_STATE (by extension)
Sub-types: None
Name C_DV_STATE
Abstract no
XML Instance Representation
<...>
<rm_type_name> string </rm_type_name> [1]
<occurrences> IntervalOfInteger </occurrences> [1]
<node_id> string </node_id> [1]
<assumed_value> DV_STATE </assumed_value> [0..1]
<value> STATE_MACHINE </value> [1]
</...>
Diagram
Schema Component Representation
<complexType name="C_DV_STATE">
<complexContent>
<extension base=" C_DOMAIN_TYPE ">
<sequence>
<element name="assumed_value" type=" DV_STATE " minOccurs="0"/>
<element name="value" type=" STATE_MACHINE "/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: C_QUANTITY_ITEM

Super-types: None
Sub-types: None
Name C_QUANTITY_ITEM
Used by (from the same schema document) Complex Type C_DV_QUANTITY
Abstract no
XML Instance Representation
<...>
<magnitude> IntervalOfReal </magnitude> [0..1]
<precision> IntervalOfInteger </precision> [0..1]
<units> string </units> [1]
</...>
Diagram
h888967423 h1337655869
Schema Component Representation
<complexType name="C_QUANTITY_ITEM">
<sequence>
<element name="magnitude" type=" IntervalOfReal " minOccurs="0"/>
<element name="precision" type=" IntervalOfInteger " minOccurs="0"/>
<element name="units" type=" string "/>
</sequence>
</complexType>
top

Complex Type: NON_TERMINAL_STATE

Super-types: STATE < NON_TERMINAL_STATE (by extension)
Sub-types: None
Name NON_TERMINAL_STATE
Abstract no
XML Instance Representation
<...>
<name> string </name> [1]
<transitions> TRANSITION </transitions> [1..*]
</...>
Diagram
Schema Component Representation
<complexType name="NON_TERMINAL_STATE">
<complexContent>
<extension base=" STATE ">
<sequence>
<element name="transitions" type=" TRANSITION " maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: STATE

Super-types: None
Sub-types:
Name STATE
Used by (from the same schema document) Complex Type STATE_MACHINE , Complex Type TRANSITION
Abstract yes
XML Instance Representation
<...>
<name> string </name> [1]
</...>
Diagram
Schema Component Representation
<complexType name="STATE" abstract="true">
<sequence>
<element name="name" type=" string "/>
</sequence>
</complexType>
top

Complex Type: STATE_MACHINE

Super-types: None
Sub-types: None
Name STATE_MACHINE
Used by (from the same schema document) Complex Type C_DV_STATE
Abstract no
XML Instance Representation
<...>
<states> STATE </states> [1..*]
</...>
Diagram
h-1110578388
Schema Component Representation
<complexType name="STATE_MACHINE">
<sequence>
<element name="states" type=" STATE " maxOccurs="unbounded"/>
</sequence>
</complexType>
top

Complex Type: TERMINAL_STATE

Super-types: STATE < TERMINAL_STATE (by extension)
Sub-types: None
Name TERMINAL_STATE
Abstract no
XML Instance Representation
<...>
<name> string </name> [1]
</...>
Diagram
h-1110578388
Schema Component Representation
<complexType name="TERMINAL_STATE">
<complexContent>
<extension base=" STATE "/>
</complexContent>
</complexType>
top

Complex Type: TRANSITION

Super-types: None
Sub-types: None
Name TRANSITION
Used by (from the same schema document) Complex Type NON_TERMINAL_STATE
Abstract no
XML Instance Representation
<...>
<event> string </event> [1]
<action> string </action> [0..1]
<guard> string </guard> [0..1]
<next_state> STATE </next_state> [0..1]
</...>
Diagram
h-1110578388
Schema Component Representation
<complexType name="TRANSITION">
<sequence>
<element name="event" type=" string "/>
<element name="action" type=" string " minOccurs="0"/>
<element name="guard" type=" string " minOccurs="0"/>
<element name="next_state" type=" STATE " minOccurs="0"/>
</sequence>
</complexType>
top