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 - JSON Profile

Page standards status: Informative Maturity Level: 3

JSON representation of the ORIGINAL-VERSION logical model.

Raw json | Download

{
  "resourceType" : "StructureDefinition",
  "id" : "ORIGINAL-VERSION",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition ORIGINAL-VERSION</b></p><a name=\"ORIGINAL-VERSION\"> </a><a name=\"hcORIGINAL-VERSION\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ORIGINAL-VERSION-definitions.html#ORIGINAL_VERSION\" title=\"A Version containing locally created content and optional attestations. \">ORIGINAL_VERSION</a><a href=\"StructureDefinition-Any.html\">&lt;T : Any&gt;</a><a name=\"ORIGINAL_VERSION\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R5/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( Attestations_valid, Is_merged_validity, Other_input_version_uids_valid )\">C</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-VERSION.html\">VERSION</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A Version containing locally created content and optional attestations.<br/><br/>Elements defined in Ancestors:<a href=\"StructureDefinition-VERSION.html\" title=\"Contribution in which this version was added. \">contribution</a>, <a href=\"StructureDefinition-VERSION.html\" title=\"OpenPGP digital signature or digest of content committed in this Version. \">signature</a>, <a href=\"StructureDefinition-VERSION.html\" title=\"Audit trail corresponding to the committal of this version to the `VERSIONED_OBJECT`.\">commit_audit</a><br class=\"constraint\"/><span title=\"null\" class=\"constraint\">Constraints: </span><span style=\"font-weight:bold\" title=\"Attestations valid must be present\" class=\"constraint\">Attestations_valid</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"Is merged validity must satisfy exclusive conditions\" class=\"constraint\">Is_merged_validity</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"Other input version uids valid must be present\" class=\"constraint\">Other_input_version_uids_valid</span><br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ORIGINAL-VERSION-definitions.html#ORIGINAL_VERSION.uid\" title=\"Stored version of inheritance precursor. \">uid</a><a href=\"StructureDefinition-Any.html\">&lt;T : Any&gt;</a><a name=\"ORIGINAL_VERSION.uid\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-OBJECT-VERSION-ID.html\">OBJECT_VERSION_ID</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Stored version of inheritance precursor.</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ORIGINAL-VERSION-definitions.html#ORIGINAL_VERSION.preceding-version-uid\" title=\"Stored version of inheritance precursor. \">preceding_version_uid</a><a href=\"StructureDefinition-Any.html\">&lt;T : Any&gt;</a><a name=\"ORIGINAL_VERSION.preceding_version_uid\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-OBJECT-VERSION-ID.html\">OBJECT_VERSION_ID</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Stored version of inheritance precursor.</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ORIGINAL-VERSION-definitions.html#ORIGINAL_VERSION.other-input-version-uids\" title=\"Identifiers of other versions whose content was merged into this version, if any. \">other_input_version_uids</a><a href=\"StructureDefinition-Any.html\">&lt;T : Any&gt;</a><a name=\"ORIGINAL_VERSION.other_input_version_uids\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-OBJECT-VERSION-ID.html\">OBJECT_VERSION_ID</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Identifiers of other versions whose content was merged into this version, if any.<br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ORIGINAL-VERSION-definitions.html#ORIGINAL_VERSION.lifecycle-state\" title=\"Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`.\">lifecycle_state</a><a href=\"StructureDefinition-Any.html\">&lt;T : Any&gt;</a><a name=\"ORIGINAL_VERSION.lifecycle_state\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-DV-CODED-TEXT.html\">DV_CODED_TEXT</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Lifecycle state of the content item in this version; coded by openEHR vocabulary `version lifecycle state`.</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ORIGINAL-VERSION-definitions.html#ORIGINAL_VERSION.attestations\" title=\"Set of attestations relating to this version. \">attestations</a><a href=\"StructureDefinition-Any.html\">&lt;T : Any&gt;</a><a name=\"ORIGINAL_VERSION.attestations\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-ATTESTATION.html\">ATTESTATION</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Set of attestations relating to this version.<br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ORIGINAL-VERSION-definitions.html#ORIGINAL_VERSION.data\" title=\"Data content of this Version.\">data</a><a href=\"StructureDefinition-Any.html\">&lt;T : Any&gt;</a><a name=\"ORIGINAL_VERSION.data\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://openehr.org/fhir/StructureDefinition/T.html\">http://openehr.org/fhir/StructureDefinition/T</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Data content of this Version.</td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
  },
  "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",
  "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"
      }
    ],
    "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
      }
    ]
  }
}