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/VERSION | Version: 0.1.0 | |||
| Standards status: Informative | Maturity Level: 3 | Computable Name: VERSION | ||
Abstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution.
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..* | Any | This is an abstract type. Child types: IMPORTED_VERSION, ORIGINAL_VERSION Abstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution. Constraints: Owner_id_valid, Preceding_version_uid_validity, Lifecycle_state_ 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`. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| Lifecycle_state_ valid | error | 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)
|
| Owner_id_valid | error | VERSION | Owner id valid |
owner_id().value().is_equal (uid().object_id.value())
|
| Preceding_version_uid_validity | error | VERSION | Preceding version uid validity must be present |
uid().version_tree_id.is_first xor preceding_version_uid().exists()
|
This structure is derived from Any
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Any | This is an abstract type. Child types: IMPORTED_VERSION, ORIGINAL_VERSION Abstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution. Constraints: Owner_id_valid, Preceding_version_uid_validity, Lifecycle_state_ 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`. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| Lifecycle_state_ valid | error | 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)
|
| Owner_id_valid | error | VERSION | Owner id valid |
owner_id().value().is_equal (uid().object_id.value())
|
| Preceding_version_uid_validity | error | VERSION | Preceding version uid validity must be present |
uid().version_tree_id.is_first xor preceding_version_uid().exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Any | This is an abstract type. Child types: IMPORTED_VERSION, ORIGINAL_VERSION Abstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution. Constraints: Owner_id_valid, Preceding_version_uid_validity, Lifecycle_state_ 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`. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| Lifecycle_state_ valid | error | 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)
|
| Owner_id_valid | error | VERSION | Owner id valid |
owner_id().value().is_equal (uid().object_id.value())
|
| Preceding_version_uid_validity | error | 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..* | Any | This is an abstract type. Child types: IMPORTED_VERSION, ORIGINAL_VERSION Abstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution. Constraints: Owner_id_valid, Preceding_version_uid_validity, Lifecycle_state_ 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`. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| Lifecycle_state_ valid | error | 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)
|
| Owner_id_valid | error | VERSION | Owner id valid |
owner_id().value().is_equal (uid().object_id.value())
|
| Preceding_version_uid_validity | error | 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 Any
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Any | This is an abstract type. Child types: IMPORTED_VERSION, ORIGINAL_VERSION Abstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution. Constraints: Owner_id_valid, Preceding_version_uid_validity, Lifecycle_state_ 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`. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| Lifecycle_state_ valid | error | 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)
|
| Owner_id_valid | error | VERSION | Owner id valid |
owner_id().value().is_equal (uid().object_id.value())
|
| Preceding_version_uid_validity | error | VERSION | Preceding version uid validity must be present |
uid().version_tree_id.is_first xor preceding_version_uid().exists()
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Any | This is an abstract type. Child types: IMPORTED_VERSION, ORIGINAL_VERSION Abstract model of one Version within a Version container, containing data, commit audit trail, and the identifier of its Contribution. Constraints: Owner_id_valid, Preceding_version_uid_validity, Lifecycle_state_ 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`. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| Lifecycle_state_ valid | error | 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)
|
| Owner_id_valid | error | VERSION | Owner id valid |
owner_id().value().is_equal (uid().object_id.value())
|
| Preceding_version_uid_validity | error | 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