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 |
TTL representation of the VERSIONED-OBJECT logical model.
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:StructureDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "VERSIONED-OBJECT"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition VERSIONED-OBJECT</b></p><a name=\"VERSIONED-OBJECT\"> </a><a name=\"hcVERSIONED-OBJECT\"> </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 & 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-VERSIONED-OBJECT-definitions.html#VERSIONED_OBJECT\" title=\"Version control abstraction, defining semantics for versioning one complex object.\">VERSIONED_OBJECT</a><a href=\"StructureDefinition-Any.html\"><T : Any></a><a name=\"VERSIONED_OBJECT\"> </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 ( Version_count_valid, All_version_ids_valid, All_versions_valid, Latest_version_valid, Uid_validity )\">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-Any.html\">Any</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\">Version control abstraction, defining semantics for versioning one complex object.<br class=\"constraint\"/><span title=\"null\" class=\"constraint\">Constraints: </span><span style=\"font-weight:bold\" title=\"Version count valid must satisfy range constraints\" class=\"constraint\">Version_count_valid</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"All version ids valid\" class=\"constraint\">All_version_ids_valid</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"All versions valid\" class=\"constraint\">All_versions_valid</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"Latest version valid must be present\" class=\"constraint\">Latest_version_valid</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"Uid validity must not be empty\" class=\"constraint\">Uid_validity</span><br/></td></tr>#xD;\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-VERSIONED-OBJECT-definitions.html#VERSIONED_OBJECT.uid\" title=\"Unique identifier of this version container in the form of a UID with no extension. This id will be the same in all instances of the same container in a distributed environment, meaning that it can be understood as the uid of the virtual version tree. \">uid</a><a href=\"StructureDefinition-Any.html\"><T : Any></a><a name=\"VERSIONED_OBJECT.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-HIER-OBJECT-ID.html\">HIER_OBJECT_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\">Unique identifier of this version container in the form of a UID with no extension.</td></tr>#xD;\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-VERSIONED-OBJECT-definitions.html#VERSIONED_OBJECT.owner-id\" title=\"Reference to object to which this version container belongs, e.g. the id of the containing EHR or other relevant owning entity. \">owner_id</a><a href=\"StructureDefinition-Any.html\"><T : Any></a><a name=\"VERSIONED_OBJECT.owner_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\"/><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-OBJECT-REF.html\">OBJECT_REF</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\">Reference to object to which this version container belongs, e.</td></tr>#xD;\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_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: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-VERSIONED-OBJECT-definitions.html#VERSIONED_OBJECT.time-created\" title=\"Time of initial creation of this versioned object. \">time_created</a><a href=\"StructureDefinition-Any.html\"><T : Any></a><a name=\"VERSIONED_OBJECT.time_created\"> </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-DV-DATE-TIME.html\">DV_DATE_TIME</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\">Time of initial creation of this versioned object.</td></tr>#xD;\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>"^^rdf:XMLLiteral ] ; # fhir:contained ( [ a fhir:OperationDefinition ; fhir:id [ fhir:v "version_count" ] ; fhir:name [ fhir:v "version_count" ] ; fhir:title [ fhir:v "version_count" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "Return the total number of versions in this object." ] ; fhir:code [ fhir:v "version_count" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "integer" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "all_version_ids" ] ; fhir:name [ fhir:v "all_version_ids" ] ; fhir:title [ fhir:v "all_version_ids" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "Return a list of ids of all versions in this object. " ] ; fhir:code [ fhir:v "all_version_ids" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "all_versions" ] ; fhir:name [ fhir:v "all_versions" ] ; fhir:title [ fhir:v "all_versions" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "Return a list of all versions in this object. " ] ; fhir:code [ fhir:v "all_versions" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "*" ] ; fhir:type [ fhir:v "Parameters" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "has_version_at_time" ] ; fhir:name [ fhir:v "has_version_at_time" ] ; fhir:title [ fhir:v "has_version_at_time" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "True if a version for time `_a_time_` exists. " ] ; fhir:code [ fhir:v "has_version_at_time" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "a_time" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "dateTime" ] ] [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "boolean" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "has_version_id" ] ; fhir:name [ fhir:v "has_version_id" ] ; fhir:title [ fhir:v "has_version_id" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "True if a version with `_a_version_uid_` exists. " ] ; fhir:code [ fhir:v "has_version_id" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "a_version_uid" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "boolean" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "version_with_id" ] ; fhir:name [ fhir:v "version_with_id" ] ; fhir:title [ fhir:v "version_with_id" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "Return the version with `_uid_` = `_a_version_uid_`. \n" ] ; fhir:code [ fhir:v "version_with_id" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "a_version_uid" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "is_original_version" ] ; fhir:name [ fhir:v "is_original_version" ] ; fhir:title [ fhir:v "is_original_version" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "True if version with `_a_version_uid_` is an `ORIGINAL_VERSION`. " ] ; fhir:code [ fhir:v "is_original_version" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "a_version_uid" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "boolean" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "version_at_time" ] ; fhir:name [ fhir:v "version_at_time" ] ; fhir:title [ fhir:v "version_at_time" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "Return the version for time `_a_time_`. " ] ; fhir:code [ fhir:v "version_at_time" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "a_time" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "dateTime" ] ] [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "revision_history" ] ; fhir:name [ fhir:v "revision_history" ] ; fhir:title [ fhir:v "revision_history" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "History of all audits and attestations in this versioned repository." ] ; fhir:code [ fhir:v "revision_history" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "latest_version" ] ; fhir:name [ fhir:v "latest_version" ] ; fhir:title [ fhir:v "latest_version" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "Return the most recently added version (i.e. on trunk or any branch). " ] ; fhir:code [ fhir:v "latest_version" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "latest_trunk_version" ] ; fhir:name [ fhir:v "latest_trunk_version" ] ; fhir:title [ fhir:v "latest_trunk_version" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "Return the most recently added trunk version. " ] ; fhir:code [ fhir:v "latest_trunk_version" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "trunk_lifecycle_state" ] ; fhir:name [ fhir:v "trunk_lifecycle_state" ] ; fhir:title [ fhir:v "trunk_lifecycle_state" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "Return the lifecycle state from the latest trunk version. Useful for determining if the version container is logically deleted. " ] ; fhir:code [ fhir:v "trunk_lifecycle_state" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "string" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "commit_original_version" ] ; fhir:name [ fhir:v "commit_original_version" ] ; fhir:title [ fhir:v "commit_original_version" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "Add a new original version. " ] ; fhir:code [ fhir:v "commit_original_version" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "a_contribution" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "a_new_version_uid" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "a_preceding_version_id" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "an_audit" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "a_lifecycle_state" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "string" ] ] [ fhir:name [ fhir:v "a_data" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "signing_key" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "string" ] ] [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "commit_original_merged_version" ] ; fhir:name [ fhir:v "commit_original_merged_version" ] ; fhir:title [ fhir:v "commit_original_merged_version" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "Add a new original merged version. This commit function adds a parameter containing the ids of other versions merged into the current one. " ] ; fhir:code [ fhir:v "commit_original_merged_version" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "a_contribution" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "a_new_version_uid" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "a_preceding_version_id" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "an_audit" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "a_lifecycle_state" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "string" ] ] [ fhir:name [ fhir:v "a_data" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "an_other_input_uids" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "*" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "signing_key" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "string" ] ] [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "commit_imported_version" ] ; fhir:name [ fhir:v "commit_imported_version" ] ; fhir:title [ fhir:v "commit_imported_version" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "Add a new imported version. Details of version id etc come from the `ORIGINAL_VERSION` being committed. " ] ; fhir:code [ fhir:v "commit_imported_version" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "a_contribution" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "an_audit" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "a_version" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] ) ] [ a fhir:OperationDefinition ; fhir:id [ fhir:v "commit_attestation" ] ; fhir:name [ fhir:v "commit_attestation" ] ; fhir:title [ fhir:v "commit_attestation" ] ; fhir:status [ fhir:v "active" ] ; fhir:kind [ fhir:v "operation" ] ; fhir:description [ fhir:v "Add a new attestation to a specified original version. Attestations can only be added to Original versions. " ] ; fhir:code [ fhir:v "commit_attestation" ] ; fhir:system [ fhir:v false ] ; fhir:instance [ fhir:v true ] ; ( fhir:parameter [ fhir:name [ fhir:v "an_attestation" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "a_ver_id" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] [ fhir:name [ fhir:v "signing_key" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "string" ] ] [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] ) ] ) ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/web-source"^^xsd:anyURI ] ; fhir:value [ a fhir:url ; fhir:v "https://specifications.openehr.org/releases/RM/development/common.html#_versioned_object_class"^^xsd:anyURI ] ] [ ( fhir:extension [ fhir:url [ fhir:v "name"^^xsd:anyURI ] ; fhir:value [ a fhir:code ; fhir:v "T" ] ] [ fhir:url [ fhir:v "type"^^xsd:anyURI ] ; fhir:value [ a fhir:uri ; fhir:v "http://openehr.org/fhir/StructureDefinition/Any"^^xsd:anyURI ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-parameter"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#version_count"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#all_version_ids"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#all_versions"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#has_version_at_time"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#has_version_id"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#version_with_id"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#is_original_version"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#version_at_time"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#revision_history"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#latest_version"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#latest_trunk_version"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#trunk_lifecycle_state"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#commit_original_version"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#commit_original_merged_version"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#commit_imported_version"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "#commit_attestation"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ; fhir:value [ a fhir:code ; fhir:v "fhir" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/view-hint"^^xsd:anyURI ] ; fhir:value [ a fhir:code ; fhir:v "element-view-replace-cardinality" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ; fhir:value [ a fhir:integer ; fhir:v 3 ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "http://openehr.org/fhir/ImplementationGuide/openehr.base"^^xsd:anyURI ; fhir:link <http://openehr.org/fhir/ImplementationGuide/openehr.base> ] ] ) ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ; fhir:value [ a fhir:code ; fhir:v "informative" ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "http://openehr.org/fhir/ImplementationGuide/openehr.base"^^xsd:anyURI ; fhir:link <http://openehr.org/fhir/ImplementationGuide/openehr.base> ] ] ) ] ] ) ; # fhir:url [ fhir:v "http://openehr.org/fhir/StructureDefinition/VERSIONED-OBJECT"^^xsd:anyURI] ; # fhir:version [ fhir:v "0.1.0"] ; # fhir:name [ fhir:v "VERSIONED_OBJECT"] ; # fhir:title [ fhir:v "VERSIONED_OBJECT"] ; # fhir:status [ fhir:v "active"] ; # fhir:experimental [ fhir:v false] ; # fhir:date [ fhir:v "2025-09-06T15:35:39+10:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "openEHR + HL7"] ; # fhir:contact ( [ ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.openehr.org" ] ] ) ] ) ; # fhir:description [ fhir:v "Version control abstraction, defining semantics for versioning one complex object."] ; # fhir:jurisdiction ( [ ( fhir:coding [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ; fhir:code [ fhir:v "001" ] ] ) ] ) ; # fhir:fhirVersion [ fhir:v "5.0.0"] ; # fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ; fhir:name [ fhir:v "RIM Mapping" ] ] ) ; # fhir:kind [ fhir:v "logical"] ; # fhir:abstract [ fhir:v false] ; # fhir:type [ fhir:v "http://openehr.org/fhir/StructureDefinition/VERSIONED_OBJECT"^^xsd:anyURI] ; # fhir:baseDefinition [ fhir:v "http://openehr.org/fhir/StructureDefinition/Any"^^xsd:anyURI ; fhir:link <http://openehr.org/fhir/StructureDefinition/Any> ] ; # fhir:derivation [ fhir:v "specialization"] ; # fhir:snapshot [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ] ; fhir:value [ a fhir:string ; fhir:v "0.1.0" ] ] ) ; ( fhir:element [ fhir:id [ fhir:v "VERSIONED_OBJECT" ] ; fhir:path [ fhir:v "VERSIONED_OBJECT" ] ; fhir:short [ fhir:v "Version control abstraction, defining semantics for versioning one complex object." ] ; fhir:definition [ fhir:v "Version control abstraction, defining semantics for versioning one complex object." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Base" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:constraint [ fhir:key [ fhir:v "Version_count_valid" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Version count valid must satisfy range constraints" ] ; fhir:expression [ fhir:v "version_count() >= 0" ] ] [ fhir:key [ fhir:v "All_version_ids_valid" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All version ids valid" ] ; fhir:expression [ fhir:v "all_version_ids().count() = version_count()" ] ] [ fhir:key [ fhir:v "All_versions_valid" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All versions valid" ] ; fhir:expression [ fhir:v "all_versions().count() = version_count()" ] ] [ fhir:key [ fhir:v "Latest_version_valid" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Latest version valid must be present" ] ; fhir:expression [ fhir:v "version_count() > 0 implies latest_version().exists()" ] ] [ fhir:key [ fhir:v "Uid_validity" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Uid validity must not be empty" ] ; fhir:expression [ fhir:v "extension.empty()" ] ] ) ; fhir:isModifier [ fhir:v false ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "VERSIONED_OBJECT.uid" ] ; fhir:path [ fhir:v "VERSIONED_OBJECT.uid" ] ; fhir:short [ fhir:v "Unique identifier of this version container in the form of a UID with no extension." ] ; fhir:definition [ fhir:v "Unique identifier of this version container in the form of a UID with no extension. This id will be the same in all instances of the same container in a distributed environment, meaning that it can be understood as the uid of the virtual version tree. " ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "VERSIONED_OBJECT.uid" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/HIER-OBJECT-ID"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v false ] ] [ fhir:id [ fhir:v "VERSIONED_OBJECT.owner-id" ] ; fhir:path [ fhir:v "VERSIONED_OBJECT.owner_id" ] ; fhir:short [ fhir:v "Reference to object to which this version container belongs, e." ] ; fhir:definition [ fhir:v "Reference to object to which this version container belongs, e.g. the id of the containing EHR or other relevant owning entity. " ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "VERSIONED_OBJECT.owner_id" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/OBJECT-REF"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v false ] ] [ fhir:id [ fhir:v "VERSIONED_OBJECT.time-created" ] ; fhir:path [ fhir:v "VERSIONED_OBJECT.time_created" ] ; fhir:short [ fhir:v "Time of initial creation of this versioned object." ] ; fhir:definition [ fhir:v "Time of initial creation of this versioned object. " ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "VERSIONED_OBJECT.time_created" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/DV-DATE-TIME"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v false ] ] ) ] ; # fhir:differential [ ( fhir:element [ fhir:id [ fhir:v "VERSIONED_OBJECT" ] ; fhir:path [ fhir:v "VERSIONED_OBJECT" ] ; fhir:short [ fhir:v "Version control abstraction, defining semantics for versioning one complex object." ] ; fhir:definition [ fhir:v "Version control abstraction, defining semantics for versioning one complex object." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; ( fhir:constraint [ fhir:key [ fhir:v "Version_count_valid" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Version count valid must satisfy range constraints" ] ; fhir:expression [ fhir:v "version_count() >= 0" ] ] [ fhir:key [ fhir:v "All_version_ids_valid" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All version ids valid" ] ; fhir:expression [ fhir:v "all_version_ids().count() = version_count()" ] ] [ fhir:key [ fhir:v "All_versions_valid" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All versions valid" ] ; fhir:expression [ fhir:v "all_versions().count() = version_count()" ] ] [ fhir:key [ fhir:v "Latest_version_valid" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Latest version valid must be present" ] ; fhir:expression [ fhir:v "version_count() > 0 implies latest_version().exists()" ] ] [ fhir:key [ fhir:v "Uid_validity" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Uid validity must not be empty" ] ; fhir:expression [ fhir:v "extension.empty()" ] ] ) ; fhir:isModifier [ fhir:v false ] ] [ fhir:id [ fhir:v "VERSIONED_OBJECT.uid" ] ; fhir:path [ fhir:v "VERSIONED_OBJECT.uid" ] ; fhir:short [ fhir:v "Unique identifier of this version container in the form of a UID with no extension." ] ; fhir:definition [ fhir:v "Unique identifier of this version container in the form of a UID with no extension. This id will be the same in all instances of the same container in a distributed environment, meaning that it can be understood as the uid of the virtual version tree. " ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/HIER-OBJECT-ID"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v false ] ] [ fhir:id [ fhir:v "VERSIONED_OBJECT.owner-id" ] ; fhir:path [ fhir:v "VERSIONED_OBJECT.owner_id" ] ; fhir:short [ fhir:v "Reference to object to which this version container belongs, e." ] ; fhir:definition [ fhir:v "Reference to object to which this version container belongs, e.g. the id of the containing EHR or other relevant owning entity. " ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/OBJECT-REF"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v false ] ] [ fhir:id [ fhir:v "VERSIONED_OBJECT.time-created" ] ; fhir:path [ fhir:v "VERSIONED_OBJECT.time_created" ] ; fhir:short [ fhir:v "Time of initial creation of this versioned object." ] ; fhir:definition [ fhir:v "Time of initial creation of this versioned object. " ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/DV-DATE-TIME"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v false ] ] ) ] . #
IG © 2022+ openEHR + HL7. Package openehr.base#0.1.0 based on FHIR 5.0.0. Generated 2025-10-16
Links: Table of Contents |
QA Report