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: VERSION ( Abstract )

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

Abstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution.

Original Source: specifications.openehr.org

Usages:

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
.. VERSION<T : Any> C 0..* Any This is an abstract type. Child types: IMPORTED_VERSION, ORIGINAL_VERSION
Abstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution.
Constraints: Owner_id_valid, Preceding_version_uid_validity, Lifecycle_state_ valid
... contribution<T : Any> 1..1 OBJECT_REF Contribution in which this version was added.
... signature<T : Any> 0..1 string OpenPGP digital signature or digest of content committed in this Version.
... commit_audit<T : Any> 1..1 AUDIT_DETAILS Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Lifecycle_state_ valid error VERSION Lifecycle state valid must be present lifecycle_state().exists() and then terminology (Term_id_openehr).has_code_for_group_id (Group_id_version_lifecycle_state, lifecycle_state().defining_code)
Owner_id_valid error VERSION Owner id valid owner_id().value().is_equal (uid().object_id.value())
Preceding_version_uid_validity error VERSION Preceding version uid validity must be present uid().version_tree_id.is_first xor preceding_version_uid().exists()

This structure is derived from Any

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VERSION<T : Any> C 0..* Any This is an abstract type. Child types: IMPORTED_VERSION, ORIGINAL_VERSION
Abstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution.
Constraints: Owner_id_valid, Preceding_version_uid_validity, Lifecycle_state_ valid
... contribution<T : Any> 1..1 OBJECT_REF Contribution in which this version was added.
... signature<T : Any> 0..1 string OpenPGP digital signature or digest of content committed in this Version.
... commit_audit<T : Any> 1..1 AUDIT_DETAILS Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Lifecycle_state_ valid error VERSION Lifecycle state valid must be present lifecycle_state().exists() and then terminology (Term_id_openehr).has_code_for_group_id (Group_id_version_lifecycle_state, lifecycle_state().defining_code)
Owner_id_valid error VERSION Owner id valid owner_id().value().is_equal (uid().object_id.value())
Preceding_version_uid_validity error VERSION Preceding version uid validity must be present uid().version_tree_id.is_first xor preceding_version_uid().exists()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VERSION<T : Any> C 0..* Any This is an abstract type. Child types: IMPORTED_VERSION, ORIGINAL_VERSION
Abstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution.
Constraints: Owner_id_valid, Preceding_version_uid_validity, Lifecycle_state_ valid
... contribution<T : Any> 1..1 OBJECT_REF Contribution in which this version was added.
... signature<T : Any> 0..1 string OpenPGP digital signature or digest of content committed in this Version.
... commit_audit<T : Any> 1..1 AUDIT_DETAILS Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Lifecycle_state_ valid error VERSION Lifecycle state valid must be present lifecycle_state().exists() and then terminology (Term_id_openehr).has_code_for_group_id (Group_id_version_lifecycle_state, lifecycle_state().defining_code)
Owner_id_valid error VERSION Owner id valid owner_id().value().is_equal (uid().object_id.value())
Preceding_version_uid_validity error VERSION Preceding version uid validity must be present uid().version_tree_id.is_first xor preceding_version_uid().exists()

This structure is derived from Any

Summary

Mandatory: 0 element(2 nested mandatory elements)

Maturity: 3

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VERSION<T : Any> C 0..* Any This is an abstract type. Child types: IMPORTED_VERSION, ORIGINAL_VERSION
Abstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution.
Constraints: Owner_id_valid, Preceding_version_uid_validity, Lifecycle_state_ valid
... contribution<T : Any> 1..1 OBJECT_REF Contribution in which this version was added.
... signature<T : Any> 0..1 string OpenPGP digital signature or digest of content committed in this Version.
... commit_audit<T : Any> 1..1 AUDIT_DETAILS Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Lifecycle_state_ valid error VERSION Lifecycle state valid must be present lifecycle_state().exists() and then terminology (Term_id_openehr).has_code_for_group_id (Group_id_version_lifecycle_state, lifecycle_state().defining_code)
Owner_id_valid error VERSION Owner id valid owner_id().value().is_equal (uid().object_id.value())
Preceding_version_uid_validity error VERSION Preceding version uid validity must be present uid().version_tree_id.is_first xor preceding_version_uid().exists()

Differential View

This structure is derived from Any

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VERSION<T : Any> C 0..* Any This is an abstract type. Child types: IMPORTED_VERSION, ORIGINAL_VERSION
Abstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution.
Constraints: Owner_id_valid, Preceding_version_uid_validity, Lifecycle_state_ valid
... contribution<T : Any> 1..1 OBJECT_REF Contribution in which this version was added.
... signature<T : Any> 0..1 string OpenPGP digital signature or digest of content committed in this Version.
... commit_audit<T : Any> 1..1 AUDIT_DETAILS Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Lifecycle_state_ valid error VERSION Lifecycle state valid must be present lifecycle_state().exists() and then terminology (Term_id_openehr).has_code_for_group_id (Group_id_version_lifecycle_state, lifecycle_state().defining_code)
Owner_id_valid error VERSION Owner id valid owner_id().value().is_equal (uid().object_id.value())
Preceding_version_uid_validity error VERSION Preceding version uid validity must be present uid().version_tree_id.is_first xor preceding_version_uid().exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. VERSION<T : Any> C 0..* Any This is an abstract type. Child types: IMPORTED_VERSION, ORIGINAL_VERSION
Abstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution.
Constraints: Owner_id_valid, Preceding_version_uid_validity, Lifecycle_state_ valid
... contribution<T : Any> 1..1 OBJECT_REF Contribution in which this version was added.
... signature<T : Any> 0..1 string OpenPGP digital signature or digest of content committed in this Version.
... commit_audit<T : Any> 1..1 AUDIT_DETAILS Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Lifecycle_state_ valid error VERSION Lifecycle state valid must be present lifecycle_state().exists() and then terminology (Term_id_openehr).has_code_for_group_id (Group_id_version_lifecycle_state, lifecycle_state().defining_code)
Owner_id_valid error VERSION Owner id valid owner_id().value().is_equal (uid().object_id.value())
Preceding_version_uid_validity error VERSION Preceding version uid validity must be present uid().version_tree_id.is_first xor preceding_version_uid().exists()

This structure is derived from Any

Summary

Mandatory: 0 element(2 nested mandatory elements)

Maturity: 3

 

Other representations of profile: CSV, Excel

Contained resources