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 - Detailed Descriptions

Page standards status: Informative Maturity Level: 3

Definitions for the VERSION logical model.

Guidance on how to interpret the contents of this table can be foundhere

0. VERSION
Definition

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


Base definition for all types defined in FHIR type system.

ShortAbstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution.Base for all types and resources
Control0..*
Type ParameterT : Any
Is Modifierfalse
Logical ModelInstances of this logical model are not marked to be the target of a Reference
InvariantsOwner_id_valid: Owner id valid (owner_id().value().is_equal (uid().object_id.value()))
Preceding_version_uid_validity: Preceding version uid validity must be present (uid().version_tree_id.is_first xor preceding_version_uid().exists())
Lifecycle_state_ valid: 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))
2. VERSION.contribution
Definition

Contribution in which this version was added.

ShortContribution in which this version was added.
Control1..1
Typehttp://openehr.org/fhir/StructureDefinition/OBJECT-REF
Is Modifierfalse
4. VERSION.signature
Definition

OpenPGP digital signature or digest of content committed in this Version.

ShortOpenPGP digital signature or digest of content committed in this Version.
Control0..1
Typestring
Is Modifierfalse
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
6. VERSION.commit-audit
Definition

Audit trail corresponding to the committal of this version to the VERSIONED_OBJECT.

ShortAudit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`.
Control1..1
Typehttp://openehr.org/fhir/StructureDefinition/AUDIT-DETAILS
Is Modifierfalse

Guidance on how to interpret the contents of this table can be foundhere

0. VERSION
Definition

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

ShortAbstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution.
Control0..*
Type ParameterT : Any
Is Modifierfalse
Logical ModelInstances of this logical model are not marked to be the target of a Reference
InvariantsOwner_id_valid: Owner id valid (owner_id().value().is_equal (uid().object_id.value()))
Preceding_version_uid_validity: Preceding version uid validity must be present (uid().version_tree_id.is_first xor preceding_version_uid().exists())
Lifecycle_state_ valid: 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))
2. VERSION.contribution
Definition

Contribution in which this version was added.

ShortContribution in which this version was added.
Control1..1
Typehttp://openehr.org/fhir/StructureDefinition/OBJECT-REF
Is Modifierfalse
4. VERSION.signature
Definition

OpenPGP digital signature or digest of content committed in this Version.

ShortOpenPGP digital signature or digest of content committed in this Version.
Control0..1
Typestring
Is Modifierfalse
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
6. VERSION.commit-audit
Definition

Audit trail corresponding to the committal of this version to the VERSIONED_OBJECT.

ShortAudit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`.
Control1..1
Typehttp://openehr.org/fhir/StructureDefinition/AUDIT-DETAILS
Is Modifierfalse

Guidance on how to interpret the contents of this table can be foundhere

0. VERSION
Definition

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

ShortAbstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution.
Control0..*
Type ParameterT : Any
Is Modifierfalse
Logical ModelInstances of this logical model are not marked to be the target of a Reference
InvariantsOwner_id_valid: Owner id valid (owner_id().value().is_equal (uid().object_id.value()))
Preceding_version_uid_validity: Preceding version uid validity must be present (uid().version_tree_id.is_first xor preceding_version_uid().exists())
Lifecycle_state_ valid: 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))
2. VERSION.contribution
Definition

Contribution in which this version was added.

ShortContribution in which this version was added.
Control1..1
Typehttp://openehr.org/fhir/StructureDefinition/OBJECT-REF
Is Modifierfalse
4. VERSION.signature
Definition

OpenPGP digital signature or digest of content committed in this Version.

ShortOpenPGP digital signature or digest of content committed in this Version.
Control0..1
Typestring
Is Modifierfalse
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
6. VERSION.commit-audit
Definition

Audit trail corresponding to the committal of this version to the VERSIONED_OBJECT.

ShortAudit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`.
Control1..1
Typehttp://openehr.org/fhir/StructureDefinition/AUDIT-DETAILS
Is Modifierfalse