openEHR Release 1.0.1 Resource 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="Resource.xsd">
<include schemaLocation="basetypes.xsd"/>
...
</schema>
top

Global Definitions

Complex Type: AUTHORED_RESOURCE

Super-types: None
Sub-types: None
Name AUTHORED_RESOURCE
Used by (from the same schema document) Complex Type RESOURCE_DESCRIPTION
Abstract no
XML Instance Representation
<...>
<original_language> CODE_PHRASE </original_language> [1]
<is_controlled> boolean </is_controlled> [0..1]
<description> RESOURCE_DESCRIPTION </description> [0..1]
<translations> TRANSLATION_DETAILS </translations> [0..*]
<revision_history> REVISION_HISTORY </revision_history> [0..1]
</...>
Diagram
h1592245190 h-2133083888 h280872431 h1989780085
Schema Component Representation
<complexType name="AUTHORED_RESOURCE">
<sequence>
<element name="original_language" type=" CODE_PHRASE "/>
<element name="is_controlled" type=" boolean " minOccurs="0"/>
<element name="description" type=" RESOURCE_DESCRIPTION " minOccurs="0"/>
<element name="translations" type=" TRANSLATION_DETAILS " minOccurs="0" maxOccurs="unbounded"/>
<element name="revision_history" type=" REVISION_HISTORY " minOccurs="0"/>
</sequence>
</complexType>
top

Complex Type: RESOURCE_DESCRIPTION

Super-types: None
Sub-types: None
Name RESOURCE_DESCRIPTION
Used by (from the same schema document) Complex Type AUTHORED_RESOURCE
Abstract no
XML Instance Representation
<...>
<original_author> StringDictionaryItem </original_author> [1..*]
<other_contributors> string </other_contributors> [0..*]
<lifecycle_state> string </lifecycle_state> [1]
<resource_package_uri> string </resource_package_uri> [0..1]
<other_details> StringDictionaryItem </other_details> [0..*]
<details> RESOURCE_DESCRIPTION_ITEM </details> [0..*]
<parent_resource> AUTHORED_RESOURCE </parent_resource> [0..1]
</...>
Diagram
h1815463743 h1815463743 h-1589994270 h-282029186
Schema Component Representation
<complexType name="RESOURCE_DESCRIPTION">
<sequence>
<element name="original_author" type=" StringDictionaryItem " maxOccurs="unbounded"/>
<element name="other_contributors" type=" string " minOccurs="0" maxOccurs="unbounded"/>
<element name="lifecycle_state" type=" string "/>
<element name="resource_package_uri" type=" string " minOccurs="0"/>
<element name="other_details" type=" StringDictionaryItem " minOccurs="0" maxOccurs="unbounded"/>
<element name="details" type=" RESOURCE_DESCRIPTION_ITEM " minOccurs="0" maxOccurs="unbounded"/>
<element name="parent_resource" type=" AUTHORED_RESOURCE " minOccurs="0"/>
</sequence>
</complexType>
top

Complex Type: RESOURCE_DESCRIPTION_ITEM

Super-types: None
Sub-types: None
Name RESOURCE_DESCRIPTION_ITEM
Used by (from the same schema document) Complex Type RESOURCE_DESCRIPTION
Abstract no
XML Instance Representation
<...>
<language> CODE_PHRASE </language> [1]
<purpose> string </purpose> [1]
<keywords> string </keywords> [0..*]
<use> string </use> [0..1]
<misuse> string </misuse> [0..1]
<copyright> string </copyright> [0..1]
<original_resource_uri> StringDictionaryItem </original_resource_uri> [0..*]
<other_details> StringDictionaryItem </other_details> [0..*]
</...>
Diagram
h1592245190 h1815463743 h1815463743
Schema Component Representation
<complexType name="RESOURCE_DESCRIPTION_ITEM">
<sequence>
<element name="language" type=" CODE_PHRASE "/>
<element name="purpose" type=" string "/>
<element name="keywords" type=" string " minOccurs="0" maxOccurs="unbounded"/>
<element name="use" type=" string " minOccurs="0"/>
<element name="misuse" type=" string " minOccurs="0"/>
<element name="copyright" type=" string " minOccurs="0"/>
<element name="original_resource_uri" type=" StringDictionaryItem " minOccurs="0" maxOccurs="unbounded"/>
<element name="other_details" type=" StringDictionaryItem " minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
top

Complex Type: StringDictionaryItem

Super-types: string < StringDictionaryItem (by extension)
Sub-types: None
Name StringDictionaryItem
Used by (from the same schema document) Complex Type TRANSLATION_DETAILS , Complex Type TRANSLATION_DETAILS , Complex Type RESOURCE_DESCRIPTION , Complex Type RESOURCE_DESCRIPTION , Complex Type RESOURCE_DESCRIPTION_ITEM , Complex Type RESOURCE_DESCRIPTION_ITEM
Abstract no
XML Instance Representation
<...
id="string [1]">
string
</...>
Diagram
Schema Component Representation
<complexType name="StringDictionaryItem">
<simpleContent>
<extension base=" string ">
<attribute name="id" type=" string " use="required"/>
</extension>
</simpleContent>
</complexType>
top

Complex Type: TRANSLATION_DETAILS

Super-types: None
Sub-types: None
Name TRANSLATION_DETAILS
Used by (from the same schema document) Complex Type AUTHORED_RESOURCE
Abstract no
XML Instance Representation
<...>
<language> CODE_PHRASE </language> [1]
<author> StringDictionaryItem </author> [1..*]
<accreditation> string </accreditation> [0..1]
<other_details> StringDictionaryItem </other_details> [0..*]
</...>
Diagram
h1592245190 h1815463743 h1815463743
Schema Component Representation
<complexType name="TRANSLATION_DETAILS">
<sequence>
<element name="language" type=" CODE_PHRASE "/>
<element name="author" type=" StringDictionaryItem " minOccurs="1" maxOccurs="unbounded"/>
<element name="accreditation" type=" string " minOccurs="0"/>
<element name="other_details" type=" StringDictionaryItem " minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
top