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
| 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. |
| Short | A Version containing locally created content and optional attestations.Base for all types and resources |
| Control | 0..* |
| Type Parameter | T : Any |
| Is Modifier | false |
| Logical Model | Instances of this logical model are not marked to be the target of a Reference |
| Invariants | Owner_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. |
| Short | Contribution in which this version was added. |
| Control | 1..1 |
| Type | http://openehr.org/fhir/StructureDefinition/OBJECT-REF |
| Is Modifier | false |
| 4. ORIGINAL_VERSION.signature | |
| Definition | OpenPGP digital signature or digest of content committed in this Version. |
| Short | OpenPGP digital signature or digest of content committed in this Version. |
| Control | 0..1 |
| Type | string |
| Is Modifier | false |
| Primitive Value | This 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 |
| Short | Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`. |
| Control | 1..1 |
| Type | http://openehr.org/fhir/StructureDefinition/AUDIT-DETAILS |
| Is Modifier | false |
| 8. ORIGINAL_VERSION.uid | |
| Definition | Stored version of inheritance precursor. |
| Short | Stored version of inheritance precursor. |
| Control | 1..1 |
| Type | http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID |
| Is Modifier | false |
| 10. ORIGINAL_VERSION.preceding-version-uid | |
| Definition | Stored version of inheritance precursor. |
| Short | Stored version of inheritance precursor. |
| Control | 0..1 |
| Type | http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID |
| Is Modifier | false |
| 12. ORIGINAL_VERSION.other-input-version-uids | |
| Definition | Identifiers of other versions whose content was merged into this version, if any. |
| Short | Identifiers of other versions whose content was merged into this version, if any. |
| Control | 0..* |
| Type | http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID |
| Is Modifier | false |
| 14. ORIGINAL_VERSION.lifecycle-state | |
| Definition | Lifecycle state of the content item in this version; coded by openEHR vocabulary |
| Short | Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`. |
| Control | 1..1 |
| Type | http://openehr.org/fhir/StructureDefinition/DV-CODED-TEXT |
| Is Modifier | false |
| 16. ORIGINAL_VERSION.attestations | |
| Definition | Set of attestations relating to this version. |
| Short | Set of attestations relating to this version. |
| Control | 0..* |
| Type | http://openehr.org/fhir/StructureDefinition/ATTESTATION |
| Is Modifier | false |
| 18. ORIGINAL_VERSION.data | |
| Definition | Data content of this Version. |
| Short | Data content of this Version. |
| Control | 0..1 |
| Type | http://openehr.org/fhir/StructureDefinition/T |
| Is Modifier | false |
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. |
| Short | A Version containing locally created content and optional attestations. |
| Control | 0..* |
| Type Parameter | T : Any |
| Is Modifier | false |
| Logical Model | Instances of this logical model are not marked to be the target of a Reference |
| Invariants | 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.uid | |
| Definition | Stored version of inheritance precursor. |
| Short | Stored version of inheritance precursor. |
| Control | 1..1 |
| Type | http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID |
| Is Modifier | false |
| 4. ORIGINAL_VERSION.preceding-version-uid | |
| Definition | Stored version of inheritance precursor. |
| Short | Stored version of inheritance precursor. |
| Control | 0..1 |
| Type | http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID |
| Is Modifier | false |
| 6. ORIGINAL_VERSION.other-input-version-uids | |
| Definition | Identifiers of other versions whose content was merged into this version, if any. |
| Short | Identifiers of other versions whose content was merged into this version, if any. |
| Control | 0..* |
| Type | http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID |
| Is Modifier | false |
| 8. ORIGINAL_VERSION.lifecycle-state | |
| Definition | Lifecycle state of the content item in this version; coded by openEHR vocabulary |
| Short | Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`. |
| Control | 1..1 |
| Type | http://openehr.org/fhir/StructureDefinition/DV-CODED-TEXT |
| Is Modifier | false |
| 10. ORIGINAL_VERSION.attestations | |
| Definition | Set of attestations relating to this version. |
| Short | Set of attestations relating to this version. |
| Control | 0..* |
| Type | http://openehr.org/fhir/StructureDefinition/ATTESTATION |
| Is Modifier | false |
| 12. ORIGINAL_VERSION.data | |
| Definition | Data content of this Version. |
| Short | Data content of this Version. |
| Control | 0..1 |
| Type | http://openehr.org/fhir/StructureDefinition/T |
| Is Modifier | false |
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. |
| Short | A Version containing locally created content and optional attestations. |
| Control | 0..* |
| Type Parameter | T : Any |
| Is Modifier | false |
| Logical Model | Instances of this logical model are not marked to be the target of a Reference |
| Invariants | Owner_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. |
| Short | Contribution in which this version was added. |
| Control | 1..1 |
| Type | http://openehr.org/fhir/StructureDefinition/OBJECT-REF |
| Is Modifier | false |
| 4. ORIGINAL_VERSION.signature | |
| Definition | OpenPGP digital signature or digest of content committed in this Version. |
| Short | OpenPGP digital signature or digest of content committed in this Version. |
| Control | 0..1 |
| Type | string |
| Is Modifier | false |
| Primitive Value | This 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 |
| Short | Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`. |
| Control | 1..1 |
| Type | http://openehr.org/fhir/StructureDefinition/AUDIT-DETAILS |
| Is Modifier | false |
| 8. ORIGINAL_VERSION.uid | |
| Definition | Stored version of inheritance precursor. |
| Short | Stored version of inheritance precursor. |
| Control | 1..1 |
| Type | http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID |
| Is Modifier | false |
| 10. ORIGINAL_VERSION.preceding-version-uid | |
| Definition | Stored version of inheritance precursor. |
| Short | Stored version of inheritance precursor. |
| Control | 0..1 |
| Type | http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID |
| Is Modifier | false |
| 12. ORIGINAL_VERSION.other-input-version-uids | |
| Definition | Identifiers of other versions whose content was merged into this version, if any. |
| Short | Identifiers of other versions whose content was merged into this version, if any. |
| Control | 0..* |
| Type | http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID |
| Is Modifier | false |
| 14. ORIGINAL_VERSION.lifecycle-state | |
| Definition | Lifecycle state of the content item in this version; coded by openEHR vocabulary |
| Short | Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`. |
| Control | 1..1 |
| Type | http://openehr.org/fhir/StructureDefinition/DV-CODED-TEXT |
| Is Modifier | false |
| 16. ORIGINAL_VERSION.attestations | |
| Definition | Set of attestations relating to this version. |
| Short | Set of attestations relating to this version. |
| Control | 0..* |
| Type | http://openehr.org/fhir/StructureDefinition/ATTESTATION |
| Is Modifier | false |
| 18. ORIGINAL_VERSION.data | |
| Definition | Data content of this Version. |
| Short | Data content of this Version. |
| Control | 0..1 |
| Type | http://openehr.org/fhir/StructureDefinition/T |
| Is Modifier | false |