FHIR IG analytics| Package | openehr.base |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-ORIGINAL-VERSION.json |
| FHIR Version | R5 |
| Source | http://fhir.org/guides/openehr/base/0.1.0-snapshot/StructureDefinition-ORIGINAL-VERSION.html |
| URL | http://openehr.org/fhir/StructureDefinition/ORIGINAL-VERSION |
| Version | 0.1.0-snapshot |
| Status | active |
| Date | 2025-09-06T15:35:39+10:00 |
| Name | ORIGINAL_VERSION |
| Title | ORIGINAL_VERSION |
| Realm | uv |
| Authority | hl7 |
| Description | A Version containing locally created content and optional attestations. |
| Type | http://openehr.org/fhir/StructureDefinition/ORIGINAL_VERSION |
| Kind | logical |
| StructureDefinition | ||
| openehr.base#0.1.0-snapshot | IMPORTED-VERSION | IMPORTED_VERSION |
| StructureDefinition | ||
| openehr.base#0.1.0-snapshot | ATTESTATION | ATTESTATION |
| openehr.base#0.1.0-snapshot | DV-CODED-TEXT | DV_CODED_TEXT |
| openehr.base#0.1.0-snapshot | OBJECT-VERSION-ID | OBJECT_VERSION_ID |
| openehr.base#0.1.0-snapshot | VERSION | VERSION |
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureDefinition ORIGINAL-VERSION
| Name | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
![]() | 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. | |
{
"resourceType": "StructureDefinition",
"id": "ORIGINAL-VERSION",
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"contained": [
{
"resourceType": "OperationDefinition",
"id": "is_merged",
"name": "is_merged",
"title": "is_merged",
"status": "active",
"kind": "operation",
"description": "True if this Version was created from more than just the preceding (checked out) version.",
"code": "is_merged",
"system": false,
"instance": true,
"parameter": [
{
"name": "return",
"use": "out",
"min": 1,
"max": "1",
"type": "boolean"
}
]
}
],
"extension": [
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/web-source",
"valueUrl": "https://specifications.openehr.org/releases/RM/development/common.html#_original_version_class"
},
{
"extension": [
{
"url": "name",
"valueCode": "T"
},
{
"url": "type",
"valueUri": "http://openehr.org/fhir/StructureDefinition/Any"
}
],
"url": "http://hl7.org/fhir/tools/StructureDefinition/type-parameter"
},
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/type-operation",
"valueCanonical": "#is_merged"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
},
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint",
"valueCode": "element-view-replace-cardinality"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 3,
"_valueInteger": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://openehr.org/fhir/ImplementationGuide/openehr.base"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "informative",
"_valueCode": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://openehr.org/fhir/ImplementationGuide/openehr.base"
}
]
}
}
],
"url": "http://openehr.org/fhir/StructureDefinition/ORIGINAL-VERSION",
"version": "0.1.0-snapshot",
"name": "ORIGINAL_VERSION",
"title": "ORIGINAL_VERSION",
"status": "active",
"experimental": false,
"date": "2025-09-06T15:35:39+10:00",
"publisher": "openEHR + HL7",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://www.openehr.org"
}
]
}
],
"description": "A Version containing locally created content and optional attestations. ",
"jurisdiction": [
{
"coding": [
{
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code": "001"
}
]
}
],
"fhirVersion": "5.0.0",
"mapping": [
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
}
],
"kind": "logical",
"abstract": false,
"type": "http://openehr.org/fhir/StructureDefinition/ORIGINAL_VERSION",
"baseDefinition": "http://openehr.org/fhir/StructureDefinition/VERSION",
"derivation": "specialization",
"snapshot": {
"extension": [
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "0.1.0-snapshot"
}
],
"element": [
{
"id": "ORIGINAL_VERSION",
"path": "ORIGINAL_VERSION",
"short": "A Version containing locally created content and optional attestations.",
"definition": "A Version containing locally created content and optional attestations. ",
"min": 0,
"max": "*",
"base": {
"path": "Base",
"min": 0,
"max": "*"
},
"constraint": [
{
"key": "Owner_id_valid",
"severity": "error",
"human": "Owner id valid",
"expression": "owner_id().value().is_equal (uid().object_id.value())",
"source": "http://openehr.org/fhir/StructureDefinition/VERSION"
},
{
"key": "Preceding_version_uid_validity",
"severity": "error",
"human": "Preceding version uid validity must be present",
"expression": "uid().version_tree_id.is_first xor preceding_version_uid().exists()",
"source": "http://openehr.org/fhir/StructureDefinition/VERSION"
},
{
"key": "Lifecycle_state_ valid",
"severity": "error",
"human": "Lifecycle state valid must be present",
"expression": "lifecycle_state().exists() and then terminology (Term_id_openehr).has_code_for_group_id (Group_id_version_lifecycle_state, lifecycle_state().defining_code)",
"source": "http://openehr.org/fhir/StructureDefinition/VERSION"
},
{
"key": "Attestations_valid",
"severity": "error",
"human": "Attestations valid must be present",
"expression": "attestations.exists() implies attestations.empty().not()"
},
{
"key": "Is_merged_validity",
"severity": "error",
"human": "Is merged validity must satisfy exclusive conditions",
"expression": "other_input_version_ids .empty() xor is_merged()"
},
{
"key": "Other_input_version_uids_valid",
"severity": "error",
"human": "Other input version uids valid must be present",
"expression": "other_input_version_uids.exists() implies other_input_version_uids.empty().not()"
}
],
"isModifier": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ORIGINAL_VERSION.contribution",
"path": "ORIGINAL_VERSION.contribution",
"short": "Contribution in which this version was added.",
"definition": "Contribution in which this version was added.",
"min": 1,
"max": "1",
"base": {
"path": "VERSION.contribution",
"min": 1,
"max": "1"
},
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/OBJECT-REF"
}
],
"isModifier": false
},
{
"id": "ORIGINAL_VERSION.signature",
"path": "ORIGINAL_VERSION.signature",
"short": "OpenPGP digital signature or digest of content committed in this Version.",
"definition": "OpenPGP digital signature or digest of content committed in this Version.",
"min": 0,
"max": "1",
"base": {
"path": "VERSION.signature",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"isModifier": false
},
{
"id": "ORIGINAL_VERSION.commit-audit",
"path": "ORIGINAL_VERSION.commit_audit",
"short": "Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`.",
"definition": "Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`.",
"min": 1,
"max": "1",
"base": {
"path": "VERSION.commit_audit",
"min": 1,
"max": "1"
},
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/AUDIT-DETAILS"
}
],
"isModifier": false
},
{
"id": "ORIGINAL_VERSION.uid",
"path": "ORIGINAL_VERSION.uid",
"short": "Stored version of inheritance precursor.",
"definition": "Stored version of inheritance precursor.",
"min": 1,
"max": "1",
"base": {
"path": "ORIGINAL_VERSION.uid",
"min": 1,
"max": "1"
},
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID"
}
],
"isModifier": false
},
{
"id": "ORIGINAL_VERSION.preceding-version-uid",
"path": "ORIGINAL_VERSION.preceding_version_uid",
"short": "Stored version of inheritance precursor.",
"definition": "Stored version of inheritance precursor.",
"min": 0,
"max": "1",
"base": {
"path": "ORIGINAL_VERSION.preceding_version_uid",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID"
}
],
"isModifier": false
},
{
"id": "ORIGINAL_VERSION.other-input-version-uids",
"path": "ORIGINAL_VERSION.other_input_version_uids",
"short": "Identifiers of other versions whose content was merged into this version, if any.",
"definition": "Identifiers of other versions whose content was merged into this version, if any.",
"min": 0,
"max": "*",
"base": {
"path": "ORIGINAL_VERSION.other_input_version_uids",
"min": 0,
"max": "*"
},
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID"
}
],
"isModifier": false
},
{
"id": "ORIGINAL_VERSION.lifecycle-state",
"path": "ORIGINAL_VERSION.lifecycle_state",
"short": "Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`.",
"definition": "Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`.",
"min": 1,
"max": "1",
"base": {
"path": "ORIGINAL_VERSION.lifecycle_state",
"min": 1,
"max": "1"
},
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/DV-CODED-TEXT"
}
],
"isModifier": false
},
{
"id": "ORIGINAL_VERSION.attestations",
"path": "ORIGINAL_VERSION.attestations",
"short": "Set of attestations relating to this version.",
"definition": "Set of attestations relating to this version.",
"min": 0,
"max": "*",
"base": {
"path": "ORIGINAL_VERSION.attestations",
"min": 0,
"max": "*"
},
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/ATTESTATION"
}
],
"isModifier": false
},
{
"id": "ORIGINAL_VERSION.data",
"path": "ORIGINAL_VERSION.data",
"short": "Data content of this Version.",
"definition": "Data content of this Version.",
"min": 0,
"max": "1",
"base": {
"path": "ORIGINAL_VERSION.data",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/T"
}
],
"isModifier": false
}
]
},
"differential": {
"element": [
{
"id": "ORIGINAL_VERSION",
"path": "ORIGINAL_VERSION",
"short": "A Version containing locally created content and optional attestations.",
"definition": "A Version containing locally created content and optional attestations. ",
"min": 0,
"max": "*",
"constraint": [
{
"key": "Attestations_valid",
"severity": "error",
"human": "Attestations valid must be present",
"expression": "attestations.exists() implies attestations.empty().not()"
},
{
"key": "Is_merged_validity",
"severity": "error",
"human": "Is merged validity must satisfy exclusive conditions",
"expression": "other_input_version_ids .empty() xor is_merged()"
},
{
"key": "Other_input_version_uids_valid",
"severity": "error",
"human": "Other input version uids valid must be present",
"expression": "other_input_version_uids.exists() implies other_input_version_uids.empty().not()"
}
],
"isModifier": false
},
{
"id": "ORIGINAL_VERSION.uid",
"path": "ORIGINAL_VERSION.uid",
"short": "Stored version of inheritance precursor.",
"definition": "Stored version of inheritance precursor. ",
"min": 1,
"max": "1",
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID"
}
],
"isModifier": false
},
{
"id": "ORIGINAL_VERSION.preceding-version-uid",
"path": "ORIGINAL_VERSION.preceding_version_uid",
"short": "Stored version of inheritance precursor.",
"definition": "Stored version of inheritance precursor. ",
"min": 0,
"max": "1",
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID"
}
],
"isModifier": false
},
{
"id": "ORIGINAL_VERSION.other-input-version-uids",
"path": "ORIGINAL_VERSION.other_input_version_uids",
"short": "Identifiers of other versions whose content was merged into this version, if any.",
"definition": "Identifiers of other versions whose content was merged into this version, if any. ",
"min": 0,
"max": "*",
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/OBJECT-VERSION-ID"
}
],
"isModifier": false
},
{
"id": "ORIGINAL_VERSION.lifecycle-state",
"path": "ORIGINAL_VERSION.lifecycle_state",
"short": "Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`.",
"definition": "Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`.",
"min": 1,
"max": "1",
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/DV-CODED-TEXT"
}
],
"isModifier": false
},
{
"id": "ORIGINAL_VERSION.attestations",
"path": "ORIGINAL_VERSION.attestations",
"short": "Set of attestations relating to this version.",
"definition": "Set of attestations relating to this version. ",
"min": 0,
"max": "*",
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/ATTESTATION"
}
],
"isModifier": false
},
{
"id": "ORIGINAL_VERSION.data",
"path": "ORIGINAL_VERSION.data",
"short": "Data content of this Version.",
"definition": "Data content of this Version.",
"min": 0,
"max": "1",
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/T"
}
],
"isModifier": false
}
]
}
}