OpenEHR Base package
0.1.0 - First Draft International flag

OpenEHR Base package, published by openEHR + HL7. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/openehr-fhir/base-spec/ and changes regularly. See the Directory of published versions

Logical Model: VERSIONED_COMPOSITION

Official URL: http://openehr.org/fhir/StructureDefinition/VERSIONED-COMPOSITION Version: 0.1.0
Standards status: Informative Maturity Level: 3 Computable Name: VERSIONED_COMPOSITION

Version-controlled composition abstraction, defined by inheriting VERSIONED_OBJECT<COMPOSITION>.

Original Source: specifications.openehr.org

Usages:

  • This Logical Model is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VERSIONED_COMPOSITION<T : Any> C 0..* VERSIONED_OBJECT Version-controlled composition abstraction, defined by inheriting `VERSIONED_OBJECT<COMPOSITION>`.

Elements defined in Ancestors:uid, owner_id, time_created
Constraints: Version_count_valid, All_version_ids_valid, All_versions_valid, Latest_version_valid, Uid_validity, Archetype_node_id_valid, Persistent_validity
... uid<T : Any> 1..1 HIER_OBJECT_ID Unique identifier of this version container in the form of a UID with no extension.
... owner_id<T : Any> 1..1 OBJECT_REF Reference to object to which this version container belongs, e.
... time_created<T : Any> 1..1 DV_DATE_TIME Time of initial creation of this versioned object.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
All_version_ids_valid error VERSIONED_COMPOSITION All version ids valid all_version_ids().count() = version_count()
All_versions_valid error VERSIONED_COMPOSITION All versions valid all_versions().count() = version_count()
Archetype_node_id_valid error VERSIONED_COMPOSITION Archetype node id valid for_all v in all_versions() | v.archetype_node_id.is_equal (all_versions().first().archetype_node_id)
Latest_version_valid error VERSIONED_COMPOSITION Latest version valid must be present version_count() > 0 implies latest_version().exists()
Persistent_validity error VERSIONED_COMPOSITION Persistent validity for_all v in all_versions() | v.is_persistent() = all_versions().first().data.is_persistent()
Uid_validity error VERSIONED_COMPOSITION Uid validity must not be empty extension.empty()
Version_count_valid error VERSIONED_COMPOSITION Version count valid must satisfy range constraints version_count() >= 0

This structure is derived from VERSIONED_OBJECT

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VERSIONED_COMPOSITION<T : Any> C 0..* VERSIONED_OBJECT Version-controlled composition abstraction, defined by inheriting `VERSIONED_OBJECT<COMPOSITION>`.

Elements defined in Ancestors:uid, owner_id, time_created
Constraints: Archetype_node_id_valid, Persistent_validity

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Archetype_node_id_valid error VERSIONED_COMPOSITION Archetype node id valid for_all v in all_versions() | v.archetype_node_id.is_equal (all_versions().first().archetype_node_id)
Persistent_validity error VERSIONED_COMPOSITION Persistent validity for_all v in all_versions() | v.is_persistent() = all_versions().first().data.is_persistent()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VERSIONED_COMPOSITION<T : Any> C 0..* VERSIONED_OBJECT Version-controlled composition abstraction, defined by inheriting `VERSIONED_OBJECT<COMPOSITION>`.

Elements defined in Ancestors:uid, owner_id, time_created
Constraints: Version_count_valid, All_version_ids_valid, All_versions_valid, Latest_version_valid, Uid_validity, Archetype_node_id_valid, Persistent_validity
... uid<T : Any> 1..1 HIER_OBJECT_ID Unique identifier of this version container in the form of a UID with no extension.
... owner_id<T : Any> 1..1 OBJECT_REF Reference to object to which this version container belongs, e.
... time_created<T : Any> 1..1 DV_DATE_TIME Time of initial creation of this versioned object.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
All_version_ids_valid error VERSIONED_COMPOSITION All version ids valid all_version_ids().count() = version_count()
All_versions_valid error VERSIONED_COMPOSITION All versions valid all_versions().count() = version_count()
Archetype_node_id_valid error VERSIONED_COMPOSITION Archetype node id valid for_all v in all_versions() | v.archetype_node_id.is_equal (all_versions().first().archetype_node_id)
Latest_version_valid error VERSIONED_COMPOSITION Latest version valid must be present version_count() > 0 implies latest_version().exists()
Persistent_validity error VERSIONED_COMPOSITION Persistent validity for_all v in all_versions() | v.is_persistent() = all_versions().first().data.is_persistent()
Uid_validity error VERSIONED_COMPOSITION Uid validity must not be empty extension.empty()
Version_count_valid error VERSIONED_COMPOSITION Version count valid must satisfy range constraints version_count() >= 0

This structure is derived from VERSIONED_OBJECT

Summary

Maturity: 3

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VERSIONED_COMPOSITION<T : Any> C 0..* VERSIONED_OBJECT Version-controlled composition abstraction, defined by inheriting `VERSIONED_OBJECT<COMPOSITION>`.

Elements defined in Ancestors:uid, owner_id, time_created
Constraints: Version_count_valid, All_version_ids_valid, All_versions_valid, Latest_version_valid, Uid_validity, Archetype_node_id_valid, Persistent_validity
... uid<T : Any> 1..1 HIER_OBJECT_ID Unique identifier of this version container in the form of a UID with no extension.
... owner_id<T : Any> 1..1 OBJECT_REF Reference to object to which this version container belongs, e.
... time_created<T : Any> 1..1 DV_DATE_TIME Time of initial creation of this versioned object.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
All_version_ids_valid error VERSIONED_COMPOSITION All version ids valid all_version_ids().count() = version_count()
All_versions_valid error VERSIONED_COMPOSITION All versions valid all_versions().count() = version_count()
Archetype_node_id_valid error VERSIONED_COMPOSITION Archetype node id valid for_all v in all_versions() | v.archetype_node_id.is_equal (all_versions().first().archetype_node_id)
Latest_version_valid error VERSIONED_COMPOSITION Latest version valid must be present version_count() > 0 implies latest_version().exists()
Persistent_validity error VERSIONED_COMPOSITION Persistent validity for_all v in all_versions() | v.is_persistent() = all_versions().first().data.is_persistent()
Uid_validity error VERSIONED_COMPOSITION Uid validity must not be empty extension.empty()
Version_count_valid error VERSIONED_COMPOSITION Version count valid must satisfy range constraints version_count() >= 0

Differential View

This structure is derived from VERSIONED_OBJECT

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VERSIONED_COMPOSITION<T : Any> C 0..* VERSIONED_OBJECT Version-controlled composition abstraction, defined by inheriting `VERSIONED_OBJECT<COMPOSITION>`.

Elements defined in Ancestors:uid, owner_id, time_created
Constraints: Archetype_node_id_valid, Persistent_validity

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Archetype_node_id_valid error VERSIONED_COMPOSITION Archetype node id valid for_all v in all_versions() | v.archetype_node_id.is_equal (all_versions().first().archetype_node_id)
Persistent_validity error VERSIONED_COMPOSITION Persistent validity for_all v in all_versions() | v.is_persistent() = all_versions().first().data.is_persistent()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VERSIONED_COMPOSITION<T : Any> C 0..* VERSIONED_OBJECT Version-controlled composition abstraction, defined by inheriting `VERSIONED_OBJECT<COMPOSITION>`.

Elements defined in Ancestors:uid, owner_id, time_created
Constraints: Version_count_valid, All_version_ids_valid, All_versions_valid, Latest_version_valid, Uid_validity, Archetype_node_id_valid, Persistent_validity
... uid<T : Any> 1..1 HIER_OBJECT_ID Unique identifier of this version container in the form of a UID with no extension.
... owner_id<T : Any> 1..1 OBJECT_REF Reference to object to which this version container belongs, e.
... time_created<T : Any> 1..1 DV_DATE_TIME Time of initial creation of this versioned object.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
All_version_ids_valid error VERSIONED_COMPOSITION All version ids valid all_version_ids().count() = version_count()
All_versions_valid error VERSIONED_COMPOSITION All versions valid all_versions().count() = version_count()
Archetype_node_id_valid error VERSIONED_COMPOSITION Archetype node id valid for_all v in all_versions() | v.archetype_node_id.is_equal (all_versions().first().archetype_node_id)
Latest_version_valid error VERSIONED_COMPOSITION Latest version valid must be present version_count() > 0 implies latest_version().exists()
Persistent_validity error VERSIONED_COMPOSITION Persistent validity for_all v in all_versions() | v.is_persistent() = all_versions().first().data.is_persistent()
Uid_validity error VERSIONED_COMPOSITION Uid validity must not be empty extension.empty()
Version_count_valid error VERSIONED_COMPOSITION Version count valid must satisfy range constraints version_count() >= 0

This structure is derived from VERSIONED_OBJECT

Summary

Maturity: 3

 

Other representations of profile: CSV, Excel

Contained resources