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/FHIR/openehr-base-ig/ and changes regularly. See the Directory of published versions

Logical Model: ORIGINAL_VERSION

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

A Version containing locally created content and optional attestations.

Original Source: specifications.openehr.org

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ORIGINAL_VERSION<T : Any> C 0..* VERSION A Version containing locally created content and optional attestations.

Elements defined in Ancestors:contribution, signature, commit_audit
Constraints: attestations-valid, is-merged-validity, other-input-version-uids-valid
... uid<T : Any> 1..1 OBJECT_VERSION_ID Stored version of inheritance precursor.
... preceding_version_uid<T : Any> 0..1 OBJECT_VERSION_ID Stored version of inheritance precursor.
... other_input_version_uids<T : Any> 0..* OBJECT_VERSION_ID Identifiers of other versions whose content was merged into this version, if any.
... attestations<T : Any> 0..* ATTESTATION Set of attestations relating to this version.
... data<T : Any> 0..1 ​http://openehr.org/fhir/StructureDefinition/T Data content of this Version.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
attestations-valid error ORIGINAL_VERSION Attestations valid must be present attestations.exists() implies attestations.empty().not()
is-merged-validity error ORIGINAL_VERSION Is merged validity must satisfy exclusive conditions other_input_version_ids .empty() xor is_merged()
other-input-version-uids-valid error ORIGINAL_VERSION Other input version uids valid must be present other_input_version_uids.exists() implies other_input_version_uids.empty().not()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ORIGINAL_VERSION<T : Any> C 0..* VERSION A Version containing locally created content and optional attestations.

Elements defined in Ancestors:contribution, signature, commit_audit
Constraints: owner-id-valid, preceding-version-uid-validity, lifecycle-state--valid, attestations-valid, is-merged-validity, other-input-version-uids-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`.
... preceding_version_uid<T : Any> 0..1 OBJECT_VERSION_ID Stored version of inheritance precursor.
... other_input_version_uids<T : Any> 0..* OBJECT_VERSION_ID Identifiers of other versions whose content was merged into this version, if any.
... lifecycle_state<T : Any> 1..1 DV_CODED_TEXT Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`.
... attestations<T : Any> 0..* ATTESTATION Set of attestations relating to this version.
... data<T : Any> 0..1 ​http://openehr.org/fhir/StructureDefinition/T Data content of this Version.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
attestations-valid error ORIGINAL_VERSION Attestations valid must be present attestations.exists() implies attestations.empty().not()
is-merged-validity error ORIGINAL_VERSION Is merged validity must satisfy exclusive conditions other_input_version_ids .empty() xor is_merged()
lifecycle-state--valid error ORIGINAL_VERSION Lifecycle state valid must be present lifecycle_state().exists() and terminology (Term_id_openehr).has_code_for_group_id (Group_id_version_lifecycle_state, lifecycle_state().defining_code)
other-input-version-uids-valid error ORIGINAL_VERSION Other input version uids valid must be present other_input_version_uids.exists() implies other_input_version_uids.empty().not()
owner-id-valid error ORIGINAL_VERSION Owner id valid owner_id().value().is_equal (uid().object_id.value())
preceding-version-uid-validity error ORIGINAL_VERSION Preceding version uid validity must be present uid().version_tree_id.is_first xor preceding_version_uid().exists()

Summary

Mandatory: 0 element(2 nested mandatory elements)

Maturity: 3

Differential View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ORIGINAL_VERSION<T : Any> C 0..* VERSION A Version containing locally created content and optional attestations.

Elements defined in Ancestors:contribution, signature, commit_audit
Constraints: attestations-valid, is-merged-validity, other-input-version-uids-valid
... uid<T : Any> 1..1 OBJECT_VERSION_ID Stored version of inheritance precursor.
... preceding_version_uid<T : Any> 0..1 OBJECT_VERSION_ID Stored version of inheritance precursor.
... other_input_version_uids<T : Any> 0..* OBJECT_VERSION_ID Identifiers of other versions whose content was merged into this version, if any.
... attestations<T : Any> 0..* ATTESTATION Set of attestations relating to this version.
... data<T : Any> 0..1 ​http://openehr.org/fhir/StructureDefinition/T Data content of this Version.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
attestations-valid error ORIGINAL_VERSION Attestations valid must be present attestations.exists() implies attestations.empty().not()
is-merged-validity error ORIGINAL_VERSION Is merged validity must satisfy exclusive conditions other_input_version_ids .empty() xor is_merged()
other-input-version-uids-valid error ORIGINAL_VERSION Other input version uids valid must be present other_input_version_uids.exists() implies other_input_version_uids.empty().not()

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ORIGINAL_VERSION<T : Any> C 0..* VERSION A Version containing locally created content and optional attestations.

Elements defined in Ancestors:contribution, signature, commit_audit
Constraints: owner-id-valid, preceding-version-uid-validity, lifecycle-state--valid, attestations-valid, is-merged-validity, other-input-version-uids-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`.
... preceding_version_uid<T : Any> 0..1 OBJECT_VERSION_ID Stored version of inheritance precursor.
... other_input_version_uids<T : Any> 0..* OBJECT_VERSION_ID Identifiers of other versions whose content was merged into this version, if any.
... lifecycle_state<T : Any> 1..1 DV_CODED_TEXT Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`.
... attestations<T : Any> 0..* ATTESTATION Set of attestations relating to this version.
... data<T : Any> 0..1 ​http://openehr.org/fhir/StructureDefinition/T Data content of this Version.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
attestations-valid error ORIGINAL_VERSION Attestations valid must be present attestations.exists() implies attestations.empty().not()
is-merged-validity error ORIGINAL_VERSION Is merged validity must satisfy exclusive conditions other_input_version_ids .empty() xor is_merged()
lifecycle-state--valid error ORIGINAL_VERSION Lifecycle state valid must be present lifecycle_state().exists() and terminology (Term_id_openehr).has_code_for_group_id (Group_id_version_lifecycle_state, lifecycle_state().defining_code)
other-input-version-uids-valid error ORIGINAL_VERSION Other input version uids valid must be present other_input_version_uids.exists() implies other_input_version_uids.empty().not()
owner-id-valid error ORIGINAL_VERSION Owner id valid owner_id().value().is_equal (uid().object_id.value())
preceding-version-uid-validity error ORIGINAL_VERSION Preceding version uid validity must be present uid().version_tree_id.is_first xor preceding_version_uid().exists()

Summary

Mandatory: 0 element(2 nested mandatory elements)

Maturity: 3

 

Other representations of profile: CSV, Excel

Contained resources