openEHR Release 1.0.1 Structure XML schema

Table of Contents

top

Schema Document Properties

Target Namespace http://schemas.openehr.org/v1
Version v1.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 version="v1.0.1" targetNamespace="http://schemas.openehr.org/v1" elementFormDefault="qualified" id="Structure.xsd">
<include schemaLocation="BaseTypes.xsd"/>
...
</schema>
top

Global Declarations

Element: items

Name items
Type LOCATABLE
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<items
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]
</items>
Diagram
h1838339253 h-835416741 h518145503 h743461152 h662790700 h288119713
Schema Component Representation
<element name="items" type=" LOCATABLE "/>
top

Global Definitions

Complex Type: ARCHETYPED

Super-types: None
Sub-types: None
Name ARCHETYPED
Used by (from the same schema document) Complex Type LOCATABLE
Abstract no
XML Instance Representation
<...>
<archetype_id> ARCHETYPE_ID </archetype_id> [1]
<template_id> TEMPLATE_ID </template_id> [0..1]
<rm_version> string </rm_version> [1]
</...>
Diagram
h1501624214 h1581419899
Schema Component Representation
<complexType name="ARCHETYPED">
<sequence>
<element name="archetype_id" type=" ARCHETYPE_ID "/>
<element name="template_id" type=" TEMPLATE_ID " minOccurs="0" maxOccurs="1"/>
<element name="rm_version" type=" string "/>
</sequence>
</complexType>
top

Complex Type: CLUSTER

Super-types: LOCATABLE < ITEM (by extension) < CLUSTER (by extension)
Sub-types: None
Name CLUSTER
Used by (from the same schema document) Complex Type ITEM_TABLE
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]
<items> ITEM </items> [1..*]
</...>
Diagram
Schema Component Representation
<complexType name="CLUSTER">
<complexContent>
<extension base=" ITEM ">
<sequence>
<element name="items" type=" ITEM " maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: ELEMENT

Super-types: LOCATABLE < ITEM (by extension) < ELEMENT (by extension)
Sub-types: None
Name ELEMENT
Used by (from the same schema document) Complex Type ITEM_SINGLE , Complex Type ITEM_LIST
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]
<value> DATA_VALUE </value> [0..1]
<null_flavour> DV_CODED_TEXT </null_flavour> [0..1]
</...>
Diagram
Schema Component Representation
<complexType name="ELEMENT">
<complexContent>
<extension base=" ITEM ">
<sequence>
<element name="value" type=" DATA_VALUE " minOccurs="0"/>
<element name="null_flavour" type=" DV_CODED_TEXT " minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: EVENT

Super-types: LOCATABLE < EVENT (by extension)
Sub-types:
Name EVENT
Used by (from the same schema document) Complex Type HISTORY
Abstract yes
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]
<time> DV_DATE_TIME </time> [1]
<data> ITEM_STRUCTURE </data> [1]
<state> ITEM_STRUCTURE </state> [0..1]
</...>
Diagram
Schema Component Representation
<complexType name="EVENT" abstract="true">
<complexContent>
<extension base=" LOCATABLE ">
<sequence>
<element name="time" type=" DV_DATE_TIME "/>
<element name="data" type=" ITEM_STRUCTURE "/>
<element name="state" type=" ITEM_STRUCTURE " minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: FOLDER

Super-types: LOCATABLE < FOLDER (by extension)
Sub-types: None
Name FOLDER
Used by (from the same schema document) Complex Type FOLDER
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]
<folders> FOLDER </folders> [0..*]
<items> OBJECT_REF </items> [0..*]
</...>
Diagram
Schema Component Representation
<complexType name="FOLDER">
<complexContent>
<extension base=" LOCATABLE ">
<sequence>
<element name="folders" type=" FOLDER " minOccurs="0" maxOccurs="unbounded"/>
<element name="items" type=" OBJECT_REF " minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: HISTORY

Super-types: LOCATABLE < HISTORY (by extension)
Sub-types: None
Name HISTORY
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]
<origin> DV_DATE_TIME </origin> [1]
<period> DV_DURATION </period> [0..1]
<duration> DV_DURATION </duration> [0..1]
<events> EVENT </events> [0..*]
<summary> ITEM_STRUCTURE </summary> [0..1]
</...>
Diagram
Schema Component Representation
<complexType name="HISTORY">
<complexContent>
<extension base=" LOCATABLE ">
<sequence>
<element name="origin" type=" DV_DATE_TIME " minOccurs="1" maxOccurs="1"/>
<element name="period" type=" DV_DURATION " minOccurs="0"/>
<element name="duration" type=" DV_DURATION " minOccurs="0"/>
<element name="events" type=" EVENT " minOccurs="0" maxOccurs="unbounded"/>
<element name="summary" type=" ITEM_STRUCTURE " minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: INTERVAL_EVENT

Super-types: LOCATABLE < EVENT (by extension) < INTERVAL_EVENT (by extension)
Sub-types: None
Name INTERVAL_EVENT
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]
<time> DV_DATE_TIME </time> [1]
<data> ITEM_STRUCTURE </data> [1]
<state> ITEM_STRUCTURE </state> [0..1]
<width> DV_DURATION </width> [1]
<sample_count> int </sample_count> [0..1]
<math_function> DV_CODED_TEXT </math_function> [1]
</...>
Diagram
Schema Component Representation
<complexType name="INTERVAL_EVENT">
<complexContent>
<extension base=" EVENT ">
<sequence>
<element name="width" type=" DV_DURATION "/>
<element name="sample_count" type=" int " minOccurs="0"/>
<element name="math_function" type=" DV_CODED_TEXT "/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: ITEM

Super-types: LOCATABLE < ITEM (by extension)
Sub-types:
Name ITEM
Used by (from the same schema document) Complex Type ITEM_TREE , Complex Type CLUSTER
Abstract yes
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]
</...>
Diagram
Schema Component Representation
<complexType name="ITEM" abstract="true">
<complexContent>
<extension base=" LOCATABLE ">
<sequence/>
</extension>
</complexContent>
</complexType>
top

Complex Type: ITEM_LIST

Super-types: LOCATABLE < ITEM_STRUCTURE (by extension) < ITEM_LIST (by extension)
Sub-types: None
Name ITEM_LIST
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]
<items> ELEMENT </items> [0..*]
</...>
Diagram
Schema Component Representation
<complexType name="ITEM_LIST">
<complexContent>
<extension base=" ITEM_STRUCTURE ">
<sequence>
<element name="items" type=" ELEMENT " minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: ITEM_SINGLE

Super-types: LOCATABLE < ITEM_STRUCTURE (by extension) < ITEM_SINGLE (by extension)
Sub-types: None
Name ITEM_SINGLE
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]
<item> ELEMENT </item> [1]
</...>
Diagram
Schema Component Representation
<complexType name="ITEM_SINGLE">
<complexContent>
<extension base=" ITEM_STRUCTURE ">
<sequence>
<element name="item" type=" ELEMENT "/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: ITEM_STRUCTURE

Super-types: LOCATABLE < ITEM_STRUCTURE (by extension)
Sub-types:
Name ITEM_STRUCTURE
Used by (from the same schema document) Complex Type HISTORY , Complex Type EVENT , Complex Type EVENT
Abstract yes
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]
</...>
Diagram
h911858792
Schema Component Representation
<complexType name="ITEM_STRUCTURE" abstract="true">
<complexContent>
<extension base=" LOCATABLE "/>
</complexContent>
</complexType>
top

Complex Type: ITEM_TABLE

Super-types: LOCATABLE < ITEM_STRUCTURE (by extension) < ITEM_TABLE (by extension)
Sub-types: None
Name ITEM_TABLE
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]
<rows> CLUSTER </rows> [0..*]
</...>
Diagram
Schema Component Representation
<complexType name="ITEM_TABLE">
<complexContent>
<extension base=" ITEM_STRUCTURE ">
<sequence>
<element name="rows" type=" CLUSTER " minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: ITEM_TREE

Super-types: LOCATABLE < ITEM_STRUCTURE (by extension) < ITEM_TREE (by extension)
Sub-types: None
Name ITEM_TREE
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]
<items> ITEM </items> [0..*]
</...>
Diagram
Schema Component Representation
<complexType name="ITEM_TREE">
<complexContent>
<extension base=" ITEM_STRUCTURE ">
<sequence>
<element name="items" type=" ITEM " minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: LINK

Super-types: None
Sub-types: None
Name LINK
Used by (from the same schema document) Complex Type LOCATABLE
Abstract no
XML Instance Representation
<...>
<meaning> DV_TEXT </meaning> [1]
<type> DV_TEXT </type> [1]
<target> DV_EHR_URI </target> [1]
</...>
Diagram
h1838339253 h1838339253 h489799828
Schema Component Representation
<complexType name="LINK">
<sequence>
<element name="meaning" type=" DV_TEXT "/>
<element name="type" type=" DV_TEXT "/>
<element name="target" type=" DV_EHR_URI "/>
</sequence>
</complexType>
top

Complex Type: LOCATABLE

Super-types: None
Sub-types:
Name LOCATABLE
Used by (from the same schema document) Element items
Abstract yes
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]
</...>
Diagram
h1838339253 h-835416741 h518145503 h743461152 h662790700 h288119713
Schema Component Representation
<complexType name="LOCATABLE" abstract="true">
<sequence>
<element name="name" type=" DV_TEXT "/>
<element name="uid" type=" UID_BASED_ID " minOccurs="0"/>
<element name="links" type=" LINK " minOccurs="0" maxOccurs="unbounded"/>
<element name="archetype_details" type=" ARCHETYPED " minOccurs="0" maxOccurs="1"/>
<element name="feeder_audit" type=" FEEDER_AUDIT " minOccurs="0"/>
</sequence>
<attribute name="archetype_node_id" type=" archetypeNodeId " use="required"/>
</complexType>
top

Complex Type: POINT_EVENT

Super-types: LOCATABLE < EVENT (by extension) < POINT_EVENT (by extension)
Sub-types: None
Name POINT_EVENT
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]
<time> DV_DATE_TIME </time> [1]
<data> ITEM_STRUCTURE </data> [1]
<state> ITEM_STRUCTURE </state> [0..1]
</...>
Diagram
h-1123444427
Schema Component Representation
<complexType name="POINT_EVENT">
<complexContent>
<extension base=" EVENT "/>
</complexContent>
</complexType>
top