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

Page standards status: Informative Maturity Level: 3

Definitions for the ORIGINAL-VERSION logical model.

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

0. ORIGINAL_VERSION
Definition

A Version containing locally created content and optional attestations.


Base definition for all types defined in FHIR type system.

ShortA Version containing locally created content and optional attestations.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))
Attestations_valid: Attestations valid must be present (attestations.exists() implies attestations.empty().not())
Is_merged_validity: Is merged validity must satisfy exclusive conditions (other_input_version_ids .empty() xor is_merged())
Other_input_version_uids_valid: Other input version uids valid must be present (other_input_version_uids.exists() implies other_input_version_uids.empty().not())
2. ORIGINAL_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. ORIGINAL_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. ORIGINAL_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
8. ORIGINAL_VERSION.uid
Definition

Stored version of inheritance precursor.

ShortStored version of inheritance precursor.
Control1..1
Typehttp://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID
Is Modifierfalse
10. ORIGINAL_VERSION.preceding-version-uid
Definition

Stored version of inheritance precursor.

ShortStored version of inheritance precursor.
Control0..1
Typehttp://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID
Is Modifierfalse
12. ORIGINAL_VERSION.other-input-version-uids
Definition

Identifiers of other versions whose content was merged into this version, if any.

ShortIdentifiers of other versions whose content was merged into this version, if any.
Control0..*
Typehttp://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID
Is Modifierfalse
14. ORIGINAL_VERSION.lifecycle-state
Definition

Lifecycle state of the content item in this version; coded by openEHR vocabulary version lifecycle state.

ShortLifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`.
Control1..1
Typehttp://openehr.org/fhir/StructureDefinition/DV-CODED-TEXT
Is Modifierfalse
16. ORIGINAL_VERSION.attestations
Definition

Set of attestations relating to this version.

ShortSet of attestations relating to this version.
Control0..*
Typehttp://openehr.org/fhir/StructureDefinition/ATTESTATION
Is Modifierfalse
18. ORIGINAL_VERSION.data
Definition

Data content of this Version.

ShortData content of this Version.
Control0..1
Typehttp://openehr.org/fhir/StructureDefinition/T
Is Modifierfalse

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

0. ORIGINAL_VERSION
Definition

A Version containing locally created content and optional attestations.

ShortA Version containing locally created content and optional attestations.
Control0..*
Type ParameterT : Any
Is Modifierfalse
Logical ModelInstances of this logical model are not marked to be the target of a Reference
InvariantsAttestations_valid: Attestations valid must be present (attestations.exists() implies attestations.empty().not())
Is_merged_validity: Is merged validity must satisfy exclusive conditions (other_input_version_ids .empty() xor is_merged())
Other_input_version_uids_valid: Other input version uids valid must be present (other_input_version_uids.exists() implies other_input_version_uids.empty().not())
2. ORIGINAL_VERSION.uid
Definition

Stored version of inheritance precursor.

ShortStored version of inheritance precursor.
Control1..1
Typehttp://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID
Is Modifierfalse
4. ORIGINAL_VERSION.preceding-version-uid
Definition

Stored version of inheritance precursor.

ShortStored version of inheritance precursor.
Control0..1
Typehttp://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID
Is Modifierfalse
6. ORIGINAL_VERSION.other-input-version-uids
Definition

Identifiers of other versions whose content was merged into this version, if any.

ShortIdentifiers of other versions whose content was merged into this version, if any.
Control0..*
Typehttp://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID
Is Modifierfalse
8. ORIGINAL_VERSION.lifecycle-state
Definition

Lifecycle state of the content item in this version; coded by openEHR vocabulary version lifecycle state.

ShortLifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`.
Control1..1
Typehttp://openehr.org/fhir/StructureDefinition/DV-CODED-TEXT
Is Modifierfalse
10. ORIGINAL_VERSION.attestations
Definition

Set of attestations relating to this version.

ShortSet of attestations relating to this version.
Control0..*
Typehttp://openehr.org/fhir/StructureDefinition/ATTESTATION
Is Modifierfalse
12. ORIGINAL_VERSION.data
Definition

Data content of this Version.

ShortData content of this Version.
Control0..1
Typehttp://openehr.org/fhir/StructureDefinition/T
Is Modifierfalse

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

0. ORIGINAL_VERSION
Definition

A Version containing locally created content and optional attestations.

ShortA Version containing locally created content and optional attestations.
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))
Attestations_valid: Attestations valid must be present (attestations.exists() implies attestations.empty().not())
Is_merged_validity: Is merged validity must satisfy exclusive conditions (other_input_version_ids .empty() xor is_merged())
Other_input_version_uids_valid: Other input version uids valid must be present (other_input_version_uids.exists() implies other_input_version_uids.empty().not())
2. ORIGINAL_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. ORIGINAL_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. ORIGINAL_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
8. ORIGINAL_VERSION.uid
Definition

Stored version of inheritance precursor.

ShortStored version of inheritance precursor.
Control1..1
Typehttp://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID
Is Modifierfalse
10. ORIGINAL_VERSION.preceding-version-uid
Definition

Stored version of inheritance precursor.

ShortStored version of inheritance precursor.
Control0..1
Typehttp://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID
Is Modifierfalse
12. ORIGINAL_VERSION.other-input-version-uids
Definition

Identifiers of other versions whose content was merged into this version, if any.

ShortIdentifiers of other versions whose content was merged into this version, if any.
Control0..*
Typehttp://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID
Is Modifierfalse
14. ORIGINAL_VERSION.lifecycle-state
Definition

Lifecycle state of the content item in this version; coded by openEHR vocabulary version lifecycle state.

ShortLifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`.
Control1..1
Typehttp://openehr.org/fhir/StructureDefinition/DV-CODED-TEXT
Is Modifierfalse
16. ORIGINAL_VERSION.attestations
Definition

Set of attestations relating to this version.

ShortSet of attestations relating to this version.
Control0..*
Typehttp://openehr.org/fhir/StructureDefinition/ATTESTATION
Is Modifierfalse
18. ORIGINAL_VERSION.data
Definition

Data content of this Version.

ShortData content of this Version.
Control0..1
Typehttp://openehr.org/fhir/StructureDefinition/T
Is Modifierfalse