OpenEHR Base package
0.1.0 - First Draft
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
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
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
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 |
![]() ![]() ![]() |
1..1 | OBJECT_REF | Contribution in which this version was added. | |
![]() ![]() ![]() |
0..1 | string | OpenPGP digital signature or digest of content committed in this Version. | |
![]() ![]() ![]() |
1..1 | AUDIT_DETAILS | Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`. | |
![]() ![]() ![]() |
1..1 | OBJECT_VERSION_ID | Stored version of inheritance precursor. | |
![]() ![]() ![]() |
0..1 | OBJECT_VERSION_ID | Stored version of inheritance precursor. | |
![]() ![]() ![]() |
0..* | OBJECT_VERSION_ID | Identifiers of other versions whose content was merged into this version, if any. | |
![]() ![]() ![]() |
1..1 | DV_CODED_TEXT | Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`. | |
![]() ![]() ![]() |
0..* | ATTESTATION | Set of attestations relating to this version. | |
![]() ![]() ![]() |
0..1 | http://openehr.org/fhir/StructureDefinition/T | Data content of this Version. | |
![]() |
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
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
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 |
![]() ![]() ![]() |
1..1 | OBJECT_VERSION_ID | Stored version of inheritance precursor. | |
![]() ![]() ![]() |
0..1 | OBJECT_VERSION_ID | Stored version of inheritance precursor. | |
![]() ![]() ![]() |
0..* | OBJECT_VERSION_ID | Identifiers of other versions whose content was merged into this version, if any. | |
![]() ![]() ![]() |
1..1 | DV_CODED_TEXT | Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`. | |
![]() ![]() ![]() |
0..* | ATTESTATION | Set of attestations relating to this version. | |
![]() ![]() ![]() |
0..1 | http://openehr.org/fhir/StructureDefinition/T | Data content of this Version. | |
![]() |
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()
|
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
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 |
![]() ![]() ![]() |
1..1 | OBJECT_REF | Contribution in which this version was added. | |
![]() ![]() ![]() |
0..1 | string | OpenPGP digital signature or digest of content committed in this Version. | |
![]() ![]() ![]() |
1..1 | AUDIT_DETAILS | Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`. | |
![]() ![]() ![]() |
1..1 | OBJECT_VERSION_ID | Stored version of inheritance precursor. | |
![]() ![]() ![]() |
0..1 | OBJECT_VERSION_ID | Stored version of inheritance precursor. | |
![]() ![]() ![]() |
0..* | OBJECT_VERSION_ID | Identifiers of other versions whose content was merged into this version, if any. | |
![]() ![]() ![]() |
1..1 | DV_CODED_TEXT | Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`. | |
![]() ![]() ![]() |
0..* | ATTESTATION | Set of attestations relating to this version. | |
![]() ![]() ![]() |
0..1 | http://openehr.org/fhir/StructureDefinition/T | Data content of this Version. | |
![]() |
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()
|
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
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 |
![]() ![]() ![]() |
1..1 | OBJECT_REF | Contribution in which this version was added. | |
![]() ![]() ![]() |
0..1 | string | OpenPGP digital signature or digest of content committed in this Version. | |
![]() ![]() ![]() |
1..1 | AUDIT_DETAILS | Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`. | |
![]() ![]() ![]() |
1..1 | OBJECT_VERSION_ID | Stored version of inheritance precursor. | |
![]() ![]() ![]() |
0..1 | OBJECT_VERSION_ID | Stored version of inheritance precursor. | |
![]() ![]() ![]() |
0..* | OBJECT_VERSION_ID | Identifiers of other versions whose content was merged into this version, if any. | |
![]() ![]() ![]() |
1..1 | DV_CODED_TEXT | Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`. | |
![]() ![]() ![]() |
0..* | ATTESTATION | Set of attestations relating to this version. | |
![]() ![]() ![]() |
0..1 | http://openehr.org/fhir/StructureDefinition/T | Data content of this Version. | |
![]() |
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
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
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 |
![]() ![]() ![]() |
1..1 | OBJECT_VERSION_ID | Stored version of inheritance precursor. | |
![]() ![]() ![]() |
0..1 | OBJECT_VERSION_ID | Stored version of inheritance precursor. | |
![]() ![]() ![]() |
0..* | OBJECT_VERSION_ID | Identifiers of other versions whose content was merged into this version, if any. | |
![]() ![]() ![]() |
1..1 | DV_CODED_TEXT | Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`. | |
![]() ![]() ![]() |
0..* | ATTESTATION | Set of attestations relating to this version. | |
![]() ![]() ![]() |
0..1 | http://openehr.org/fhir/StructureDefinition/T | Data content of this Version. | |
![]() |
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
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
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 |
![]() ![]() ![]() |
1..1 | OBJECT_REF | Contribution in which this version was added. | |
![]() ![]() ![]() |
0..1 | string | OpenPGP digital signature or digest of content committed in this Version. | |
![]() ![]() ![]() |
1..1 | AUDIT_DETAILS | Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`. | |
![]() ![]() ![]() |
1..1 | OBJECT_VERSION_ID | Stored version of inheritance precursor. | |
![]() ![]() ![]() |
0..1 | OBJECT_VERSION_ID | Stored version of inheritance precursor. | |
![]() ![]() ![]() |
0..* | OBJECT_VERSION_ID | Identifiers of other versions whose content was merged into this version, if any. | |
![]() ![]() ![]() |
1..1 | DV_CODED_TEXT | Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`. | |
![]() ![]() ![]() |
0..* | ATTESTATION | Set of attestations relating to this version. | |
![]() ![]() ![]() |
0..1 | http://openehr.org/fhir/StructureDefinition/T | Data content of this Version. | |
![]() |
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()
|
Other representations of profile: CSV, Excel