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

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 of Profiles, Differentials, Snapshots and how the different presentations work.

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 then 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()

This structure is derived from VERSION

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 then 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()

This structure is derived from VERSION

Summary

Mandatory: 0 element(2 nested mandatory elements)

Maturity: 3

Key Elements 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: 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 then 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()

Differential View

This structure is derived from VERSION

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 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: 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 then 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()

This structure is derived from VERSION

Summary

Mandatory: 0 element(2 nested mandatory elements)

Maturity: 3

 

Other representations of profile: CSV, Excel

Contained resources