Interweave Implementation Guide
0.1.0 - ci-build

Interweave Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions

Resource Profile: InterweaveDocumentReference - TTL Profile

Active as of 2024-03-08

TTL representation of the Interweave-DocumentReference resource profile.

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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 "Interweave-DocumentReference"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" 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 : 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_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference\">DocumentReference</a><a name=\"DocumentReference\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-CareConnect-DocumentReference-1.html\">CareConnect-DocumentReference-1</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to a document</span></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 : 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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.id\">id</a><a name=\"DocumentReference.id\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#id\">id</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Logical id of this artifact</span></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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.meta\">meta</a><a name=\"DocumentReference.meta\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.meta.versionId\">versionId</a><a name=\"DocumentReference.meta.versionId\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#id\">id</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Version specific identifier</span></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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.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-Interweave-DocumentReference-definitions.html#DocumentReference.meta.lastUpdated\">lastUpdated</a><a name=\"DocumentReference.meta.lastUpdated\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#instant\">instant</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">MANDATORY except in Contained Resources. When the resource version last changed.</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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.meta.profile\">profile</a><a name=\"DocumentReference.meta.profile\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Profiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile</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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.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-Interweave-DocumentReference-definitions.html#DocumentReference.meta.security\">security</a><a name=\"DocumentReference.meta.security\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DISCOURAGED - may not be honoured by Data Consumers</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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck103.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic\" href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.meta.tag\">Slices for tag</a><a name=\"DocumentReference.meta.tag\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\"/><span style=\"opacity: 0.5; font-style: italic\">0</span><span style=\"opacity: 0.5; font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5; font-style: italic\">Tags applied to this resource</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by value:system</span></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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1035.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.meta.tag:Source\" title=\"Slice Source\">tag:Source</a><a name=\"DocumentReference.meta.tag\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">MANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data</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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10350.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.meta.tag:Source.system\">system</a><a name=\"DocumentReference.meta.tag.system\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Identity of the terminology system</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">https://yhcr.nhs.uk/Source</span></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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10350.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.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-Interweave-DocumentReference-definitions.html#DocumentReference.meta.tag:Source.code\">code</a><a name=\"DocumentReference.meta.tag.code\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The Data Provider Id of the system supplying the data</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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10340.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.meta.tag:Source.display\">display</a><a name=\"DocumentReference.meta.tag.display\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Name of the system supplying the data</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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1025.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.meta.tag:Provenance\" title=\"Slice Provenance\">tag:Provenance</a><a name=\"DocumentReference.meta.tag\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">MANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data</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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10250.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.meta.tag:Provenance.system\">system</a><a name=\"DocumentReference.meta.tag.system\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Identity of the terminology system</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">https://yhcr.nhs.uk/Provenance</span></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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10250.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.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-Interweave-DocumentReference-definitions.html#DocumentReference.meta.tag:Provenance.code\">code</a><a name=\"DocumentReference.meta.tag.code\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The ODS Code of the organisation responsible for the data</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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10240.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.meta.tag:Provenance.display\">display</a><a name=\"DocumentReference.meta.tag.display\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Name of the organisation supplying the data</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 : 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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.implicitRules\">implicitRules</a><a name=\"DocumentReference.implicitRules\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DISCOURAGED - may not be honoured by Data Consumers</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 : 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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.language\">language</a><a name=\"DocumentReference.language\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">English is assumed (not currently a multi-lingual implementation)</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 : 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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.text\">text</a><a name=\"DocumentReference.text\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Narrative\">Narrative</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users</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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.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_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic\" href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.identifier\">Slices for identifier</a><a name=\"DocumentReference.identifier\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\"/><span style=\"opacity: 0.5; font-style: italic\">0</span><span style=\"opacity: 0.5; font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5; font-style: italic\">Other identifiers for the document</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by value:system</span></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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck125.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.identifier:localIdentifier\" title=\"Slice localIdentifier\">identifier:localIdentifier</a><a name=\"DocumentReference.identifier\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Other identifiers for the document</span></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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1250.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.identifier:localIdentifier.system\">system</a><a name=\"DocumentReference.identifier.system\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The namespace for the identifier value</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">https://fhir.yhcr.nhs.uk/Id/local-documentreference-identifier</span></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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1250.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.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-Interweave-DocumentReference-definitions.html#DocumentReference.identifier:localIdentifier.value\">value</a><a name=\"DocumentReference.identifier.value\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The Local documentreference Identifier. Please prefix with ODS code plus period (XXX.) to ensure unique</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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1240.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">period</span><a name=\"DocumentReference.identifier.period\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"text-decoration:line-through\"/><span style=\"text-decoration:line-through\">0</span><span style=\"text-decoration:line-through\">..</span><span style=\"text-decoration:line-through\">0</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : 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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.status\">status</a><a name=\"DocumentReference.status\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">current | superseded | entered-in-error</span></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 : 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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.docStatus\">docStatus</a><a name=\"DocumentReference.docStatus\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">preliminary | final | appended | amended | entered-in-error</span></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 : 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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.type\">type</a><a name=\"DocumentReference.type\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Type of document</span><br/><span style=\"font-weight:bold\">Binding: </span><a href=\"ValueSet-Interweave-DocumentType.html\">Interweave Document Type</a> (<a href=\"http://hl7.org/fhir/STU3/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\">preferred</a>)</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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.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_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.subject\">subject</a><a name=\"DocumentReference.subject\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"StructureDefinition-CareConnect-Patient-1.html\">CareConnectPatient1</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Who is the subject of the document</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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.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-Interweave-DocumentReference-definitions.html#DocumentReference.subject.reference\">reference</a><a name=\"DocumentReference.subject.reference\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Reference to a resource (could be Contained)</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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.subject.identifier\">identifier</a><a name=\"DocumentReference.subject.identifier\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">If relevant could include an id</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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.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-Interweave-DocumentReference-definitions.html#DocumentReference.subject.display\">display</a><a name=\"DocumentReference.subject.display\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Description of the referenced resource</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 : 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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.created\">created</a><a name=\"DocumentReference.created\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DISCOURAGED - deprecated in R4</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 : 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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.indexed\">indexed</a><a name=\"DocumentReference.indexed\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#instant\">instant</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">When this document reference was created</span></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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.author\">author</a><a name=\"DocumentReference.author\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/device.html\">Device</a> | <a style=\"opacity: 0.5\" href=\"StructureDefinition-CareConnect-RelatedPerson-1.html\">CareConnect-RelatedPerson-1</a> | <a style=\"opacity: 0.5\" href=\"StructureDefinition-CareConnect-Practitioner-1.html\">CareConnect-Practitioner-1</a> | <a style=\"opacity: 0.5\" href=\"StructureDefinition-CareConnect-Patient-1.html\">CareConnectPatient1</a> | <a style=\"opacity: 0.5\" href=\"StructureDefinition-CareConnect-Organization-1.html\">CareConnect-Organization-1</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Who and/or what authored the document. NB: For most use-cases this should contain a single practitioner who is the main contact for any further questions</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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.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-Interweave-DocumentReference-definitions.html#DocumentReference.author.reference\">reference</a><a name=\"DocumentReference.author.reference\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Reference to a resource (could be Contained)</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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.author.identifier\">identifier</a><a name=\"DocumentReference.author.identifier\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">If relevant could include an id</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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.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-Interweave-DocumentReference-definitions.html#DocumentReference.author.display\">display</a><a name=\"DocumentReference.author.display\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Description of the referenced resource</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 : 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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.custodian\">custodian</a><a name=\"DocumentReference.custodian\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a style=\"opacity: 0.5\" href=\"StructureDefinition-CareConnect-Organization-1.html\">CareConnect-Organization-1</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DISCOURAGED - this information is already covered by the provenance tags</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 : 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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.relatesTo\">relatesTo</a><a name=\"DocumentReference.relatesTo\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DISCOURAGED - use with great caution as consumer systems are likely to display a simple list of documents, and may not interpret these relationships</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 : 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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.description\">description</a><a name=\"DocumentReference.description\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Human-readable description (title). Useful to populate, but acceptable to omit if nothing to add over-and-above the 'type'</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 : 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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.securityLabel\">securityLabel</a><a name=\"DocumentReference.securityLabel\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DISCOURAGED - unlikely to be honoured by consumers</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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.content\">content</a><a name=\"DocumentReference.content\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Document referenced</span></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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck101.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.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-Interweave-DocumentReference-definitions.html#DocumentReference.content.attachment\">attachment</a><a name=\"DocumentReference.content.attachment\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Attachment\">Attachment</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Where to access the document</span></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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.content.attachment.contentType\">contentType</a><a name=\"DocumentReference.content.attachment.contentType\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Mime type of the content, with charset etc.</span></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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.context\">context</a><a name=\"DocumentReference.context\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck011.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.context.encounter\">encounter</a><a name=\"DocumentReference.context.encounter\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a style=\"opacity: 0.5\" href=\"StructureDefinition-CareConnect-Encounter-1.html\">CareConnect-Encounter-1</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Context of the document  content</span></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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.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-Interweave-DocumentReference-definitions.html#DocumentReference.context.encounter.reference\">reference</a><a name=\"DocumentReference.context.encounter.reference\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Reference to a resource (could be Contained)</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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.context.encounter.identifier\">identifier</a><a name=\"DocumentReference.context.encounter.identifier\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">If relevant could include an id</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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.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-Interweave-DocumentReference-definitions.html#DocumentReference.context.encounter.display\">display</a><a name=\"DocumentReference.context.encounter.display\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">If relevant, description of the referenced resource</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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Interweave-DocumentReference-definitions.html#DocumentReference.context.period\">period</a><a name=\"DocumentReference.context.period\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Period\">Period</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Time of service that is being documented</span></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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.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-Interweave-DocumentReference-definitions.html#DocumentReference.context.related\">related</a><a name=\"DocumentReference.context.related\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DISCOURAGED - see above for linkage to Encounter. Other linkages may be defined in future only if use-cases arise</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>"
  ] ; # 
  fhir:url [ fhir:v "https://fhir.yhcr.nhs.uk/StructureDefinition/Interweave-DocumentReference"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "InterweaveDocumentReference"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2024-03-08T17:11:03+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Interweave Publisher"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "Interweave Publisher" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://fhir.yhcr.nhs.uk/yhcr-publisher" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Interweave DocumentReference resource profile."] ; # 
  fhir:fhirVersion [ fhir:v "3.0.2"] ; # 
  fhir:mapping ( [
fhir:identity [ fhir:v "workflow" ] ;
fhir:uri [ fhir:v "http://hl7.org/fhir/workflow"^^xsd:anyURI ] ;
fhir:name [ fhir:v "Workflow Pattern" ]
  ] [
fhir:identity [ fhir:v "fhircomposition" ] ;
fhir:uri [ fhir:v "http://hl7.org/fhir/composition"^^xsd:anyURI ] ;
fhir:name [ fhir:v "FHIR Composition" ]
  ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
fhir:name [ fhir:v "RIM Mapping" ]
  ] [
fhir:identity [ fhir:v "cda" ] ;
fhir:uri [ fhir:v "http://hl7.org/v3/cda"^^xsd:anyURI ] ;
fhir:name [ fhir:v "CDA (R2)" ]
  ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:uri [ fhir:v "http://hl7.org/fhir/fivews"^^xsd:anyURI ] ;
fhir:name [ fhir:v "FiveWs Pattern Mapping" ]
  ] [
fhir:identity [ fhir:v "v2" ] ;
fhir:uri [ fhir:v "http://hl7.org/v2"^^xsd:anyURI ] ;
fhir:name [ fhir:v "HL7 v2 Mapping" ]
  ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:uri [ fhir:v "http://ihe.net/xds"^^xsd:anyURI ] ;
fhir:name [ fhir:v "XDS metadata equivalent" ]
  ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:uri [ fhir:v "http://hl7.org/fhir/w5"^^xsd:anyURI ] ;
fhir:name [ fhir:v "W5 Mapping" ]
  ] ) ; # 
  fhir:kind [ fhir:v "resource"] ; # 
  fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:type [ fhir:v "DocumentReference"] ; # 
  fhir:baseDefinition [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-DocumentReference-1"^^xsd:anyURI] ; # 
  fhir:derivation [ fhir:v "constraint"] ; # 
  fhir:snapshot [
    ( fhir:element [
fhir:id [ fhir:v "DocumentReference" ] ;
fhir:path [ fhir:v "DocumentReference" ] ;
fhir:short [ fhir:v "A reference to a document" ] ;
fhir:definition [ fhir:v "A reference to a document." ] ;
fhir:comment [ fhir:v "Usually, this is used for documents other than those defined by FHIR." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:constraint [
fhir:key [ fhir:v "dom-2" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ;
fhir:expression [ fhir:v "contained.contained.empty()" ] ;
fhir:xpath [ fhir:v "not(parent::f:contained and f:contained)" ] ;
fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ]       ] [
fhir:key [ fhir:v "dom-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL NOT contain any narrative" ] ;
fhir:expression [ fhir:v "contained.text.empty()" ] ;
fhir:xpath [ fhir:v "not(parent::f:contained and f:text)" ] ;
fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ]       ] [
fhir:key [ fhir:v "dom-4" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ;
fhir:expression [ fhir:v "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ;
fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ] ;
fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ]       ] [
fhir:key [ fhir:v "dom-3" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource" ] ;
fhir:expression [ fhir:v "contained.where(('#'+id in %resource.descendants().reference).not()).empty()" ] ;
fhir:xpath [ fhir:v "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))" ] ;
fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Entity. Role, or Act" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Document[classCode=\"DOC\" and moodCode=\"EVN\"]" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "infrastructure.documents" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.id" ] ;
fhir:path [ fhir:v "DocumentReference.id" ] ;
fhir:short [ fhir:v "Logical id of this artifact" ] ;
fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ;
fhir:comment [ fhir:v "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Resource.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "id"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.meta" ] ;
fhir:path [ fhir:v "DocumentReference.meta" ] ;
fhir:short [ fhir:v "Metadata about the resource" ] ;
fhir:definition [ fhir:v "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Resource.meta" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Meta"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.id" ] ;
fhir:path [ fhir:v "DocumentReference.meta.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.extension" ] ;
fhir:path [ fhir:v "DocumentReference.meta.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.versionId" ] ;
fhir:path [ fhir:v "DocumentReference.meta.versionId" ] ;
fhir:short [ fhir:v "Version specific identifier" ] ;
fhir:definition [ fhir:v "The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted." ] ;
fhir:comment [ fhir:v "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Meta.versionId" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "id"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.lastUpdated" ] ;
fhir:path [ fhir:v "DocumentReference.meta.lastUpdated" ] ;
fhir:short [ fhir:v "MANDATORY except in Contained Resources. When the resource version last changed." ] ;
fhir:definition [ fhir:v "When the resource last changed - e.g. when the version changed." ] ;
fhir:comment [ fhir:v "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Meta.lastUpdated" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "instant"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.profile" ] ;
fhir:path [ fhir:v "DocumentReference.meta.profile" ] ;
fhir:short [ fhir:v "Profiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile" ] ;
fhir:definition [ fhir:v "A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/STU3/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url]()." ] ;
fhir:comment [ fhir:v "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Meta.profile" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.security" ] ;
fhir:path [ fhir:v "DocumentReference.meta.security" ] ;
fhir:short [ fhir:v "DISCOURAGED - may not be honoured by Data Consumers" ] ;
fhir:definition [ fhir:v "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure." ] ;
fhir:comment [ fhir:v "The security labels can be updated without changing the stated version of the resource  The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Meta.security" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Coding"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SecurityLabels" ]         ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]         ] ) ;
fhir:strength [ fhir:v "extensible" ] ;
fhir:description [ fhir:v "Security Labels from the Healthcare Privacy and Security Classification System." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/security-labels> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/security-labels" ]         ]       ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "system" ]         ] ) ;
fhir:ordered [ fhir:v "false"^^xsd:boolean ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Tags applied to this resource" ] ;
fhir:definition [ fhir:v "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource." ] ;
fhir:comment [ fhir:v "The tags can be updated without changing the stated version of the resource.  The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Meta.tag" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Coding"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Tags" ]         ] ) ;
fhir:strength [ fhir:v "example" ] ;
fhir:description [ fhir:v "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"" ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/common-tags> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/common-tags" ]         ]       ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Source" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag" ] ;
fhir:sliceName [ fhir:v "Source" ] ;
fhir:short [ fhir:v "MANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data" ] ;
fhir:definition [ fhir:v "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource." ] ;
fhir:comment [ fhir:v "The tags can be updated without changing the stated version of the resource.  The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Meta.tag" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Coding"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Tags" ]         ] ) ;
fhir:strength [ fhir:v "example" ] ;
fhir:description [ fhir:v "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"" ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/common-tags> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/common-tags" ]         ]       ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Source.id" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Source.extension" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Source.system" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.system" ] ;
fhir:short [ fhir:v "Identity of the terminology system" ] ;
fhir:definition [ fhir:v "The identification of the code system that defines the meaning of the symbol in the code." ] ;
fhir:comment [ fhir:v "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." ] ;
fhir:requirements [ fhir:v "Need to be unambiguous about the source of the definition of the symbol." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.system" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
fhir:fixed [ fhir:v "https://yhcr.nhs.uk/Source"^^xsd:anyURI ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "C*E.3" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./codeSystem" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Source.version" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.version" ] ;
fhir:short [ fhir:v "Version of the system - if relevant" ] ;
fhir:definition [ fhir:v "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." ] ;
fhir:comment [ fhir:v "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.version" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "C*E.7" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./codeSystemVersion" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Source.code" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.code" ] ;
fhir:short [ fhir:v "The Data Provider Id of the system supplying the data" ] ;
fhir:definition [ fhir:v "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." ] ;
fhir:requirements [ fhir:v "Need to refer to a particular code in the system." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.code" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "C*E.1" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./code" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Source.display" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]       ] ) ;
fhir:path [ fhir:v "DocumentReference.meta.tag.display" ] ;
fhir:short [ fhir:v "Name of the system supplying the data" ] ;
fhir:definition [ fhir:v "A representation of the meaning of the code in the system, following the rules of the system." ] ;
fhir:requirements [ fhir:v "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.display" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "C*E.2 - but note this is not well followed" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "CV.displayName" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Source.userSelected" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.userSelected" ] ;
fhir:short [ fhir:v "If this coding was chosen directly by the user" ] ;
fhir:definition [ fhir:v "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." ] ;
fhir:comment [ fhir:v "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." ] ;
fhir:requirements [ fhir:v "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.userSelected" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "Sometimes implied by being first" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "CD.codingRationale" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Provenance" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag" ] ;
fhir:sliceName [ fhir:v "Provenance" ] ;
fhir:short [ fhir:v "MANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data" ] ;
fhir:definition [ fhir:v "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource." ] ;
fhir:comment [ fhir:v "The tags can be updated without changing the stated version of the resource.  The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Meta.tag" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Coding"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Tags" ]         ] ) ;
fhir:strength [ fhir:v "example" ] ;
fhir:description [ fhir:v "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"" ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/common-tags> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/common-tags" ]         ]       ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Provenance.id" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Provenance.extension" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Provenance.system" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.system" ] ;
fhir:short [ fhir:v "Identity of the terminology system" ] ;
fhir:definition [ fhir:v "The identification of the code system that defines the meaning of the symbol in the code." ] ;
fhir:comment [ fhir:v "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." ] ;
fhir:requirements [ fhir:v "Need to be unambiguous about the source of the definition of the symbol." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.system" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
fhir:fixed [ fhir:v "https://yhcr.nhs.uk/Provenance"^^xsd:anyURI ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "C*E.3" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./codeSystem" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Provenance.version" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.version" ] ;
fhir:short [ fhir:v "Version of the system - if relevant" ] ;
fhir:definition [ fhir:v "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." ] ;
fhir:comment [ fhir:v "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.version" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "C*E.7" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./codeSystemVersion" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Provenance.code" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.code" ] ;
fhir:short [ fhir:v "The ODS Code of the organisation responsible for the data" ] ;
fhir:definition [ fhir:v "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." ] ;
fhir:requirements [ fhir:v "Need to refer to a particular code in the system." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.code" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "C*E.1" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./code" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Provenance.display" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]       ] ) ;
fhir:path [ fhir:v "DocumentReference.meta.tag.display" ] ;
fhir:short [ fhir:v "Name of the organisation supplying the data" ] ;
fhir:definition [ fhir:v "A representation of the meaning of the code in the system, following the rules of the system." ] ;
fhir:requirements [ fhir:v "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.display" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "C*E.2 - but note this is not well followed" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "CV.displayName" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Provenance.userSelected" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.userSelected" ] ;
fhir:short [ fhir:v "If this coding was chosen directly by the user" ] ;
fhir:definition [ fhir:v "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." ] ;
fhir:comment [ fhir:v "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." ] ;
fhir:requirements [ fhir:v "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.userSelected" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "Sometimes implied by being first" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "CD.codingRationale" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.implicitRules" ] ;
fhir:path [ fhir:v "DocumentReference.implicitRules" ] ;
fhir:short [ fhir:v "DISCOURAGED - may not be honoured by Data Consumers" ] ;
fhir:definition [ fhir:v "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content." ] ;
fhir:comment [ fhir:v "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Resource.implicitRules" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.language" ] ;
fhir:path [ fhir:v "DocumentReference.language" ] ;
fhir:short [ fhir:v "English is assumed (not currently a multi-lingual implementation)" ] ;
fhir:definition [ fhir:v "The base language in which the resource is written." ] ;
fhir:comment [ fhir:v "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Resource.language" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/all-languages> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/all-languages" ]           ]         ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Language" ]         ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]         ] ) ;
fhir:strength [ fhir:v "extensible" ] ;
fhir:description [ fhir:v "A human language." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/languages> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/languages" ]         ]       ]     ] [
fhir:id [ fhir:v "DocumentReference.text" ] ;
fhir:path [ fhir:v "DocumentReference.text" ] ;
fhir:short [ fhir:v "DISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users" ] ;
fhir:definition [ fhir:v "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ] ;
fhir:comment [ fhir:v "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later." ] ;
      ( fhir:alias [ fhir:v "narrative" ] [ fhir:v "html" ] [ fhir:v "xhtml" ] [ fhir:v "display" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.text" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Narrative"^^xsd:anyURI ]       ] ) ;
      ( fhir:condition [ fhir:v "dom-1" ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Act.text?" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.contained" ] ;
fhir:path [ fhir:v "DocumentReference.contained" ] ;
fhir:short [ fhir:v "Contained, inline Resources" ] ;
fhir:definition [ fhir:v "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ] ;
fhir:comment [ fhir:v "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again." ] ;
      ( fhir:alias [ fhir:v "inline resources" ] [ fhir:v "anonymous resources" ] [ fhir:v "contained resources" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.contained" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Resource"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.extension" ] ;
fhir:path [ fhir:v "DocumentReference.extension" ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.modifierExtension" ] ;
fhir:path [ fhir:v "DocumentReference.modifierExtension" ] ;
fhir:short [ fhir:v "Extensions that cannot be ignored" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DomainResource.modifierExtension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.masterIdentifier" ] ;
fhir:path [ fhir:v "DocumentReference.masterIdentifier" ] ;
fhir:short [ fhir:v "Master Version Specific Identifier" ] ;
fhir:definition [ fhir:v "Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document." ] ;
fhir:comment [ fhir:v "CDA Document Id extension and root." ] ;
fhir:requirements [ fhir:v "The structure and format of this Id shall be consistent with the specification corresponding to the formatCode attribute. (e.g. for a DICOM standard document a 64-character numeric UID, for an HL7 CDA format a serialization of the CDA Document Id extension and root in the form \"oid^extension\", where OID is a 64 digits max, and the Id is a 16 UTF-8 char max. If the OID is coded without the extension then the '^' character shall not be included.)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.masterIdentifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "TXA-12" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".id" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.uniqueId" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "id" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.masterIdentifier.id" ] ;
fhir:path [ fhir:v "DocumentReference.masterIdentifier.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.masterIdentifier.extension" ] ;
fhir:path [ fhir:v "DocumentReference.masterIdentifier.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.masterIdentifier.use" ] ;
fhir:path [ fhir:v "DocumentReference.masterIdentifier.use" ] ;
fhir:short [ fhir:v "usual | official | temp | secondary (If known)" ] ;
fhir:definition [ fhir:v "The purpose of this identifier." ] ;
fhir:comment [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary." ] ;
fhir:requirements [ fhir:v "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.use" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "IdentifierUse" ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "Identifies the purpose for this identifier, if known ." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/identifier-use> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/identifier-use" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "N/A" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Role.code or implied by context" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.masterIdentifier.type" ] ;
fhir:path [ fhir:v "DocumentReference.masterIdentifier.type" ] ;
fhir:short [ fhir:v "Description of identifier" ] ;
fhir:definition [ fhir:v "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." ] ;
fhir:comment [ fhir:v "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. \n\nWhere the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type." ] ;
fhir:requirements [ fhir:v "Allows users to make use of identifiers when the identifier system is not known." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.type" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "IdentifierType" ]         ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]         ] ) ;
fhir:strength [ fhir:v "extensible" ] ;
fhir:description [ fhir:v "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/identifier-type> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/identifier-type" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.5" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Role.code or implied by context" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.masterIdentifier.system" ] ;
fhir:path [ fhir:v "DocumentReference.masterIdentifier.system" ] ;
fhir:short [ fhir:v "The namespace for the identifier value" ] ;
fhir:definition [ fhir:v "Establishes the namespace for the value - that is, a URL that describes a set values that are unique." ] ;
fhir:requirements [ fhir:v "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.system" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
      ( fhir:example [
fhir:label [ fhir:v "General" ] ;
fhir:value [ fhir:v "http://www.acme.com/identifiers/patient"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.4 / EI-2-4" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "II.root or Role.id.root" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./IdentifierType" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.masterIdentifier.value" ] ;
fhir:path [ fhir:v "DocumentReference.masterIdentifier.value" ] ;
fhir:short [ fhir:v "The value that is unique" ] ;
fhir:definition [ fhir:v "The portion of the identifier typically relevant to the user and which is unique within the context of the system." ] ;
fhir:comment [ fhir:v "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/STU3/extension-rendered-value.html)." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.value" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:example [
fhir:label [ fhir:v "General" ] ;
fhir:value [ fhir:v "123456" ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.1 / EI.1" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./Value" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.masterIdentifier.period" ] ;
fhir:path [ fhir:v "DocumentReference.masterIdentifier.period" ] ;
fhir:short [ fhir:v "Time period when id is/was valid for use" ] ;
fhir:definition [ fhir:v "Time period during which identifier is/was valid for use." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.period" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.7 + CX.8" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Role.effectiveTime or implied by context" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./StartDate and ./EndDate" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.masterIdentifier.assigner" ] ;
fhir:path [ fhir:v "DocumentReference.masterIdentifier.assigner" ] ;
fhir:short [ fhir:v "Organization that issued id (may be just text)" ] ;
fhir:definition [ fhir:v "Organization that issued/manages the identifier." ] ;
fhir:comment [ fhir:v "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.assigner" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.4 / (CX.4,CX.9,CX.10)" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./IdentifierIssuingAuthority" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier" ] ;
fhir:path [ fhir:v "DocumentReference.identifier" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "system" ]         ] ) ;
fhir:ordered [ fhir:v "false"^^xsd:boolean ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Other identifiers for the document" ] ;
fhir:definition [ fhir:v "Other identifiers associated with the document, including version independent identifiers." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.identifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "TXA-16?" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".id / .setId" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.entryUUID" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "id" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier.id" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier.extension" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier.use" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.use" ] ;
fhir:short [ fhir:v "usual | official | temp | secondary (If known)" ] ;
fhir:definition [ fhir:v "The purpose of this identifier." ] ;
fhir:comment [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary." ] ;
fhir:requirements [ fhir:v "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.use" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "IdentifierUse" ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "Identifies the purpose for this identifier, if known ." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/identifier-use> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/identifier-use" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "N/A" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Role.code or implied by context" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier.type" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.type" ] ;
fhir:short [ fhir:v "Description of identifier" ] ;
fhir:definition [ fhir:v "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." ] ;
fhir:comment [ fhir:v "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. \n\nWhere the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type." ] ;
fhir:requirements [ fhir:v "Allows users to make use of identifiers when the identifier system is not known." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.type" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "IdentifierType" ]         ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]         ] ) ;
fhir:strength [ fhir:v "extensible" ] ;
fhir:description [ fhir:v "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/identifier-type> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/identifier-type" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.5" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Role.code or implied by context" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier.system" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.system" ] ;
fhir:short [ fhir:v "The namespace for the identifier value" ] ;
fhir:definition [ fhir:v "Establishes the namespace for the value - that is, a URL that describes a set values that are unique." ] ;
fhir:requirements [ fhir:v "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.system" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
      ( fhir:example [
fhir:label [ fhir:v "General" ] ;
fhir:value [ fhir:v "http://www.acme.com/identifiers/patient"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.4 / EI-2-4" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "II.root or Role.id.root" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./IdentifierType" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier.value" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.value" ] ;
fhir:short [ fhir:v "The value that is unique" ] ;
fhir:definition [ fhir:v "The portion of the identifier typically relevant to the user and which is unique within the context of the system." ] ;
fhir:comment [ fhir:v "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/STU3/extension-rendered-value.html)." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.value" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:example [
fhir:label [ fhir:v "General" ] ;
fhir:value [ fhir:v "123456" ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.1 / EI.1" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./Value" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier.period" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.period" ] ;
fhir:short [ fhir:v "Time period when id is/was valid for use" ] ;
fhir:definition [ fhir:v "Time period during which identifier is/was valid for use." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.period" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.7 + CX.8" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Role.effectiveTime or implied by context" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./StartDate and ./EndDate" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier.assigner" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.assigner" ] ;
fhir:short [ fhir:v "Organization that issued id (may be just text)" ] ;
fhir:definition [ fhir:v "Organization that issued/manages the identifier." ] ;
fhir:comment [ fhir:v "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.assigner" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.4 / (CX.4,CX.9,CX.10)" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./IdentifierIssuingAuthority" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier:localIdentifier" ] ;
fhir:path [ fhir:v "DocumentReference.identifier" ] ;
fhir:sliceName [ fhir:v "localIdentifier" ] ;
fhir:short [ fhir:v "Other identifiers for the document" ] ;
fhir:definition [ fhir:v "Other identifiers associated with the document, including version independent identifiers." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.identifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "TXA-16?" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".id / .setId" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.entryUUID" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "id" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier:localIdentifier.id" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier:localIdentifier.extension" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier:localIdentifier.use" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.use" ] ;
fhir:short [ fhir:v "usual | official | temp | secondary (If known)" ] ;
fhir:definition [ fhir:v "The purpose of this identifier." ] ;
fhir:comment [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary." ] ;
fhir:requirements [ fhir:v "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.use" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "IdentifierUse" ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "Identifies the purpose for this identifier, if known ." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/identifier-use> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/identifier-use" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "N/A" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Role.code or implied by context" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier:localIdentifier.type" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.type" ] ;
fhir:short [ fhir:v "Description of identifier" ] ;
fhir:definition [ fhir:v "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." ] ;
fhir:comment [ fhir:v "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. \n\nWhere the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type." ] ;
fhir:requirements [ fhir:v "Allows users to make use of identifiers when the identifier system is not known." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.type" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "IdentifierType" ]         ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]         ] ) ;
fhir:strength [ fhir:v "extensible" ] ;
fhir:description [ fhir:v "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/identifier-type> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/identifier-type" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.5" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Role.code or implied by context" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier:localIdentifier.system" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.system" ] ;
fhir:short [ fhir:v "The namespace for the identifier value" ] ;
fhir:definition [ fhir:v "Establishes the namespace for the value - that is, a URL that describes a set values that are unique." ] ;
fhir:requirements [ fhir:v "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.system" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
fhir:fixed [ fhir:v "https://fhir.yhcr.nhs.uk/Id/local-documentreference-identifier"^^xsd:anyURI ] ;
      ( fhir:example [
fhir:label [ fhir:v "General" ] ;
fhir:value [ fhir:v "http://www.acme.com/identifiers/patient"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.4 / EI-2-4" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "II.root or Role.id.root" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./IdentifierType" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier:localIdentifier.value" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.value" ] ;
fhir:short [ fhir:v "The Local documentreference Identifier. Please prefix with ODS code plus period (XXX.) to ensure unique" ] ;
fhir:definition [ fhir:v "The portion of the identifier typically relevant to the user and which is unique within the context of the system." ] ;
fhir:comment [ fhir:v "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/STU3/extension-rendered-value.html)." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.value" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:example [
fhir:label [ fhir:v "General" ] ;
fhir:value [ fhir:v "123456" ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.1 / EI.1" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./Value" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier:localIdentifier.period" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.period" ] ;
fhir:short [ fhir:v "Time period when id is/was valid for use" ] ;
fhir:definition [ fhir:v "Time period during which identifier is/was valid for use." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.period" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.7 + CX.8" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Role.effectiveTime or implied by context" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./StartDate and ./EndDate" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.identifier:localIdentifier.assigner" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.assigner" ] ;
fhir:short [ fhir:v "Organization that issued id (may be just text)" ] ;
fhir:definition [ fhir:v "Organization that issued/manages the identifier." ] ;
fhir:comment [ fhir:v "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.assigner" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.4 / (CX.4,CX.9,CX.10)" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./IdentifierIssuingAuthority" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.status" ] ;
fhir:path [ fhir:v "DocumentReference.status" ] ;
fhir:short [ fhir:v "current | superseded | entered-in-error" ] ;
fhir:definition [ fhir:v "The status of this document reference." ] ;
fhir:comment [ fhir:v "This is the status of the DocumentReference object, which might be independent from the docStatus element.\n\nThis element is labeled as a modifier because the status contains the codes that mark the document or reference as not currently valid." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.status" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "DocumentReferenceStatus" ]         ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "The status of the document reference." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/document-reference-status> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/document-reference-status" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "TXA-19" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "interim: .completionCode=\"IN\" & ./statusCode[isNormalDatatype()]=\"active\";  final: .completionCode=\"AU\" &&  ./statusCode[isNormalDatatype()]=\"complete\" and not(./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct()]);  amended: .completionCode=\"AU\" &&  ./statusCode[isNormalDatatype()]=\"complete\" and ./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct() and statusCode=\"completed\"];  withdrawn : .completionCode=NI &&  ./statusCode[isNormalDatatype()]=\"obsolete\"" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry status" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "status" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.docStatus" ] ;
fhir:path [ fhir:v "DocumentReference.docStatus" ] ;
fhir:short [ fhir:v "preliminary | final | appended | amended | entered-in-error" ] ;
fhir:definition [ fhir:v "The status of the underlying document." ] ;
fhir:comment [ fhir:v "The document that is pointed to might be in various lifecycle states." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.docStatus" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "ReferredDocumentStatus" ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "Status of the underlying document." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/composition-status> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/composition-status" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "TXA-17" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".statusCode" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "status" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.type" ] ;
fhir:path [ fhir:v "DocumentReference.type" ] ;
fhir:short [ fhir:v "Type of document" ] ;
fhir:definition [ fhir:v "Specifies the particular kind of document referenced  (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced." ] ;
fhir:comment [ fhir:v "Key metadata element describing the document, used in searching/filtering." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.type" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
fhir:strength [ fhir:v "preferred" ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <https://fhir.yhcr.nhs.uk/ValueSet/Interweave-DocumentType> ;
fhir:reference [ fhir:v "https://fhir.yhcr.nhs.uk/ValueSet/Interweave-DocumentType" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "TXA-2" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./code" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.type" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "class" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.type.id" ] ;
fhir:path [ fhir:v "DocumentReference.type.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.type.extension" ] ;
fhir:path [ fhir:v "DocumentReference.type.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.type.coding" ] ;
fhir:path [ fhir:v "DocumentReference.type.coding" ] ;
fhir:short [ fhir:v "Code defined by a terminology system" ] ;
fhir:definition [ fhir:v "A reference to a code defined by a terminology system." ] ;
fhir:comment [ fhir:v "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." ] ;
fhir:requirements [ fhir:v "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "CodeableConcept.coding" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Coding"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "C*E.1-8, C*E.10-22" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "union(., ./translation)" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.type.coding.id" ] ;
fhir:path [ fhir:v "DocumentReference.type.coding.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.type.coding.extension" ] ;
fhir:path [ fhir:v "DocumentReference.type.coding.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.type.coding.system" ] ;
fhir:path [ fhir:v "DocumentReference.type.coding.system" ] ;
fhir:short [ fhir:v "Identity of the terminology system" ] ;
fhir:definition [ fhir:v "The identification of the code system that defines the meaning of the symbol in the code." ] ;
fhir:comment [ fhir:v "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." ] ;
fhir:requirements [ fhir:v "Need to be unambiguous about the source of the definition of the symbol." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.system" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "C*E.3" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./codeSystem" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.type.coding.version" ] ;
fhir:path [ fhir:v "DocumentReference.type.coding.version" ] ;
fhir:short [ fhir:v "Version of the system - if relevant" ] ;
fhir:definition [ fhir:v "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." ] ;
fhir:comment [ fhir:v "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.version" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "C*E.7" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./codeSystemVersion" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.type.coding.code" ] ;
fhir:path [ fhir:v "DocumentReference.type.coding.code" ] ;
fhir:short [ fhir:v "Symbol in syntax defined by the system" ] ;
fhir:definition [ fhir:v "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." ] ;
fhir:requirements [ fhir:v "Need to refer to a particular code in the system." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.code" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "C*E.1" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./code" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.type.coding.display" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]       ] ) ;
fhir:path [ fhir:v "DocumentReference.type.coding.display" ] ;
fhir:short [ fhir:v "Representation defined by the system" ] ;
fhir:definition [ fhir:v "A representation of the meaning of the code in the system, following the rules of the system." ] ;
fhir:requirements [ fhir:v "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.display" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "C*E.2 - but note this is not well followed" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "CV.displayName" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.type.coding.userSelected" ] ;
fhir:path [ fhir:v "DocumentReference.type.coding.userSelected" ] ;
fhir:short [ fhir:v "If this coding was chosen directly by the user" ] ;
fhir:definition [ fhir:v "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)." ] ;
fhir:comment [ fhir:v "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." ] ;
fhir:requirements [ fhir:v "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Coding.userSelected" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "Sometimes implied by being first" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "CD.codingRationale" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.type.text" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]       ] ) ;
fhir:path [ fhir:v "DocumentReference.type.text" ] ;
fhir:short [ fhir:v "Plain text representation of the concept" ] ;
fhir:definition [ fhir:v "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." ] ;
fhir:comment [ fhir:v "Very often the text is the same as a displayName of one of the codings." ] ;
fhir:requirements [ fhir:v "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CodeableConcept.text" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "C*E.9. But note many systems use C*E.2 for this" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./originalText[mediaType/code=\"text/plain\"]/data" ]       ] [
fhir:identity [ fhir:v "orim" ] ;
fhir:map [ fhir:v "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.class" ] ;
fhir:path [ fhir:v "DocumentReference.class" ] ;
fhir:short [ fhir:v "Categorization of document" ] ;
fhir:definition [ fhir:v "A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type." ] ;
fhir:comment [ fhir:v "This is a metadata field from [XDS/MHD](http://wiki.ihe.net/index.php?title=Mobile_access_to_Health_Documents_(MHD))." ] ;
fhir:requirements [ fhir:v "Helps humans to assess whether the document is of interest when viewing a list of documents." ] ;
      ( fhir:alias [ fhir:v "kind" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.class" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "DocumentC80Class" ]         ] ) ;
fhir:strength [ fhir:v "example" ] ;
fhir:description [ fhir:v "High-level kind of a clinical document at a macro level." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/c80-doc-classcodes> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/c80-doc-classcodes" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.class" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "class" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.subject" ] ;
fhir:path [ fhir:v "DocumentReference.subject" ] ;
fhir:short [ fhir:v "Who is the subject of the document" ] ;
fhir:definition [ fhir:v "Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure)." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.subject" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "PID-3 (No standard way to define a Practitioner or Group subject in HL7 v2 MDM message)" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.patientId" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "who.focus" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.subject.id" ] ;
fhir:path [ fhir:v "DocumentReference.subject.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.subject.extension" ] ;
fhir:path [ fhir:v "DocumentReference.subject.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.subject.reference" ] ;
fhir:path [ fhir:v "DocumentReference.subject.reference" ] ;
fhir:short [ fhir:v "Reference to a resource (could be Contained)" ] ;
fhir:definition [ fhir:v "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." ] ;
fhir:comment [ fhir:v "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.reference" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-1" ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.subject.identifier" ] ;
fhir:path [ fhir:v "DocumentReference.subject.identifier" ] ;
fhir:short [ fhir:v "If relevant could include an id" ] ;
fhir:definition [ fhir:v "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." ] ;
fhir:comment [ fhir:v "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.identifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".identifier" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.subject.display" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]       ] ) ;
fhir:path [ fhir:v "DocumentReference.subject.display" ] ;
fhir:short [ fhir:v "Description of the referenced resource" ] ;
fhir:definition [ fhir:v "Plain text narrative that identifies the resource in addition to the resource reference." ] ;
fhir:comment [ fhir:v "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.display" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.created" ] ;
fhir:path [ fhir:v "DocumentReference.created" ] ;
fhir:short [ fhir:v "DISCOURAGED - deprecated in R4" ] ;
fhir:definition [ fhir:v "When the document was created. Creation/Edit datetime of the document - event date" ] ;
fhir:comment [ fhir:v "Creation time is used for tracking, organizing versions and searching. This is the creation time of the document, not the source material on which it is based." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.created" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "TXA-6" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".effectiveTime[type=\"TS\"]" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.submissionTime" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "when.done" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.indexed" ] ;
fhir:path [ fhir:v "DocumentReference.indexed" ] ;
fhir:short [ fhir:v "When this document reference was created" ] ;
fhir:definition [ fhir:v "When the document reference was created." ] ;
fhir:comment [ fhir:v "Referencing/indexing time is used for tracking, organizing versions and searching." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.indexed" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "instant"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".availabilityTime[type=\"TS\"]" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.submissionTime" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "when.recorded" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.author" ] ;
fhir:path [ fhir:v "DocumentReference.author" ] ;
fhir:short [ fhir:v "Who and/or what authored the document. NB: For most use-cases this should contain a single practitioner who is the main contact for any further questions" ] ;
fhir:definition [ fhir:v "Identifies who is responsible for adding the information to the document." ] ;
fhir:comment [ fhir:v "Not necessarily who did the actual data entry (i.e. typist) it in or who was the source (informant)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.author" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-RelatedPerson-1"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message)" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.author" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "who.author" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.author.id" ] ;
fhir:path [ fhir:v "DocumentReference.author.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.author.extension" ] ;
fhir:path [ fhir:v "DocumentReference.author.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.author.reference" ] ;
fhir:path [ fhir:v "DocumentReference.author.reference" ] ;
fhir:short [ fhir:v "Reference to a resource (could be Contained)" ] ;
fhir:definition [ fhir:v "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." ] ;
fhir:comment [ fhir:v "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.reference" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-1" ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.author.identifier" ] ;
fhir:path [ fhir:v "DocumentReference.author.identifier" ] ;
fhir:short [ fhir:v "If relevant could include an id" ] ;
fhir:definition [ fhir:v "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." ] ;
fhir:comment [ fhir:v "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.identifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".identifier" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.author.display" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]       ] ) ;
fhir:path [ fhir:v "DocumentReference.author.display" ] ;
fhir:short [ fhir:v "Description of the referenced resource" ] ;
fhir:definition [ fhir:v "Plain text narrative that identifies the resource in addition to the resource reference." ] ;
fhir:comment [ fhir:v "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.display" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.authenticator" ] ;
fhir:path [ fhir:v "DocumentReference.authenticator" ] ;
fhir:short [ fhir:v "Who/what authenticated the document" ] ;
fhir:definition [ fhir:v "Which person or organization authenticates that this document is valid." ] ;
fhir:comment [ fhir:v "Represents a participant within the author institution who has legally authenticated or attested the document. Legal authentication implies that a document has been signed manually or electronically by the legal Authenticator." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.authenticator" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"^^xsd:anyURI ]       ] [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "TXA-10" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.legalAuthenticator" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "who.witness" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.custodian" ] ;
fhir:path [ fhir:v "DocumentReference.custodian" ] ;
fhir:short [ fhir:v "DISCOURAGED - this information is already covered by the provenance tags" ] ;
fhir:definition [ fhir:v "Identifies the organization or group who is responsible for ongoing maintenance of and access to the document." ] ;
fhir:comment [ fhir:v "Identifies the logical organization to go to find the current version, where to report issues, etc. This is different from the physical location of the document, which is the technical location of the document, which host may be delegated to the management of some other organization." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.custodian" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".participation[typeCode=\"RCV\"].role[classCode=\"CUST\"].scoper[classCode=\"ORG\" and determinerCode=\"INST\"]" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.relatesTo" ] ;
fhir:path [ fhir:v "DocumentReference.relatesTo" ] ;
fhir:short [ fhir:v "DISCOURAGED - use with great caution as consumer systems are likely to display a simple list of documents, and may not interpret these relationships" ] ;
fhir:definition [ fhir:v "Relationships that this document has with other document references that already exist." ] ;
fhir:comment [ fhir:v "This element is labeled as a modifier because documents that append to other documents are incomplete on their own." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.relatesTo" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() | (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".outboundRelationship" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.relatesTo.id" ] ;
fhir:path [ fhir:v "DocumentReference.relatesTo.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.relatesTo.extension" ] ;
fhir:path [ fhir:v "DocumentReference.relatesTo.extension" ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.relatesTo.modifierExtension" ] ;
fhir:path [ fhir:v "DocumentReference.relatesTo.modifierExtension" ] ;
fhir:short [ fhir:v "Extensions that cannot be ignored" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.relatesTo.code" ] ;
fhir:path [ fhir:v "DocumentReference.relatesTo.code" ] ;
fhir:short [ fhir:v "replaces | transforms | signs | appends" ] ;
fhir:definition [ fhir:v "The type of relationship that this document has with anther document." ] ;
fhir:comment [ fhir:v "If this document appends another document, then the document cannot be fully understood without also accessing the referenced document." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.relatesTo.code" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "DocumentRelationshipType" ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "The type of relationship between documents." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/document-relationship-type> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/document-relationship-type" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".outboundRelationship.typeCode" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry Associations type" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.relatesTo.target" ] ;
fhir:path [ fhir:v "DocumentReference.relatesTo.target" ] ;
fhir:short [ fhir:v "Target of the relationship" ] ;
fhir:definition [ fhir:v "The target document of this relationship." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.relatesTo.target" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-DocumentReference-1"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".target[classCode=\"DOC\", moodCode=\"EVN\"].id" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry Associations reference" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.description" ] ;
fhir:path [ fhir:v "DocumentReference.description" ] ;
fhir:short [ fhir:v "Human-readable description (title). Useful to populate, but acceptable to omit if nothing to add over-and-above the 'type'" ] ;
fhir:definition [ fhir:v "Human-readable description of the source document. This is sometimes known as the \"title\"." ] ;
fhir:comment [ fhir:v "What the document is about, rather than a terse summary of the document. It is commonly the case that records do not have a title and are collectively referred to by the display name of Record code (e.g. a \"consultation\" or \"progress note\")." ] ;
fhir:requirements [ fhir:v "Helps humans to assess whether the document is of interest." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.description" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "TXA-25" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".outboundRelationship[typeCode=\"SUBJ\"].target.text" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.description" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.securityLabel" ] ;
fhir:path [ fhir:v "DocumentReference.securityLabel" ] ;
fhir:short [ fhir:v "DISCOURAGED - unlikely to be honoured by consumers" ] ;
fhir:definition [ fhir:v "A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to." ] ;
fhir:comment [ fhir:v "The confidentiality codes can carry multiple vocabulary items. HL7 has developed an understanding of security and privacy tags that might be desirable in a Document Sharing environment, called HL7 Healthcare Privacy and Security Classification System (HCS). The following specification is recommended but not mandated, as the vocabulary bindings are an administrative domain responsibility. The use of this method is up to the policy domain such as the XDS Affinity Domain or other Trust Domain where all parties including sender and recipients are trusted to appropriately tag and enforce.   In the HL7 Healthcare Privacy and Security Classification (HCS) there are code systems specific to Confidentiality, Sensitivity, Integrity, and Handling Caveats. Some values would come from a local vocabulary as they are related to workflow roles and special projects." ] ;
fhir:requirements [ fhir:v "Use of the Health Care Privacy/Security Classification (HCS) system of security-tag use is recommended." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.securityLabel" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SecurityLabels" ]         ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]         ] ) ;
fhir:strength [ fhir:v "extensible" ] ;
fhir:description [ fhir:v "Security Labels from the Healthcare Privacy and Security Classification System." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/security-labels> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/security-labels" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "TXA-18" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".confidentialityCode" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.confidentialityCode" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content" ] ;
fhir:path [ fhir:v "DocumentReference.content" ] ;
fhir:short [ fhir:v "Document referenced" ] ;
fhir:definition [ fhir:v "The document and format referenced. There may be multiple content element repetitions, each with a different format." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.content" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() | (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "document.text" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.id" ] ;
fhir:path [ fhir:v "DocumentReference.content.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.extension" ] ;
fhir:path [ fhir:v "DocumentReference.content.extension" ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.modifierExtension" ] ;
fhir:path [ fhir:v "DocumentReference.content.modifierExtension" ] ;
fhir:short [ fhir:v "Extensions that cannot be ignored" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.attachment" ] ;
fhir:path [ fhir:v "DocumentReference.content.attachment" ] ;
fhir:short [ fhir:v "Where to access the document" ] ;
fhir:definition [ fhir:v "The document or URL of the document along with critical metadata to prove content has integrity." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.content.attachment" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Attachment"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "TXA-3 for mime type" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "document.text" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.mimeType DocumentEntry.languageCode DocumentEntry.URI DocumentEntry.size DocumentEntry.hash DocumentEntry.title" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.attachment.id" ] ;
fhir:path [ fhir:v "DocumentReference.content.attachment.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.attachment.extension" ] ;
fhir:path [ fhir:v "DocumentReference.content.attachment.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.attachment.contentType" ] ;
fhir:path [ fhir:v "DocumentReference.content.attachment.contentType" ] ;
fhir:short [ fhir:v "Mime type of the content, with charset etc." ] ;
fhir:definition [ fhir:v "Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate." ] ;
fhir:requirements [ fhir:v "Processors of the data need to be able to know how to interpret the data." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Attachment.contentType" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
      ( fhir:example [
fhir:label [ fhir:v "General" ] ;
fhir:value [ fhir:v "text/plain; charset=UTF-8, image/png" ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "MimeType" ]         ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "The mime type of an attachment. Any valid mime type is allowed." ] ;
fhir:valueSet [ fhir:v "http://www.rfc-editor.org/bcp/bcp13.txt"^^xsd:anyURI ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./mediaType, ./charset" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.attachment.language" ] ;
fhir:path [ fhir:v "DocumentReference.content.attachment.language" ] ;
fhir:short [ fhir:v "Human language of the content (BCP-47)" ] ;
fhir:definition [ fhir:v "The human language of the content. The value can be any valid value according to BCP 47." ] ;
fhir:requirements [ fhir:v "Users need to be able to choose between the languages in a set of attachments." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Attachment.language" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
      ( fhir:example [
fhir:label [ fhir:v "General" ] ;
fhir:value [ fhir:v "en-AU" ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/all-languages> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/all-languages" ]           ]         ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Language" ]         ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]         ] ) ;
fhir:strength [ fhir:v "extensible" ] ;
fhir:description [ fhir:v "A human language." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/languages> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/languages" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./language" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.attachment.data" ] ;
fhir:path [ fhir:v "DocumentReference.content.attachment.data" ] ;
fhir:short [ fhir:v "Data inline, base64ed" ] ;
fhir:definition [ fhir:v "The actual data of the attachment - a sequence of bytes. In XML, represented using base64." ] ;
fhir:comment [ fhir:v "The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON." ] ;
fhir:requirements [ fhir:v "The data needs to able to be transmitted inline." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Attachment.data" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "base64Binary"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "ED.5" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./data" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.attachment.url" ] ;
fhir:path [ fhir:v "DocumentReference.content.attachment.url" ] ;
fhir:short [ fhir:v "Uri where the data can be found" ] ;
fhir:definition [ fhir:v "An alternative location where the data can be accessed." ] ;
fhir:comment [ fhir:v "If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data." ] ;
fhir:requirements [ fhir:v "The data needs to be transmitted by reference." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Attachment.url" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
      ( fhir:example [
fhir:label [ fhir:v "General" ] ;
fhir:value [ fhir:v "http://www.acme.com/logo-small.png"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "RP.1+RP.2 - if they refer to a URL (see v2.6)" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./reference/literal" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.attachment.size" ] ;
fhir:path [ fhir:v "DocumentReference.content.attachment.size" ] ;
fhir:short [ fhir:v "Number of bytes of content (if url provided)" ] ;
fhir:definition [ fhir:v "The number of bytes of data that make up this attachment (before base64 encoding, if that is done)." ] ;
fhir:comment [ fhir:v "The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference." ] ;
fhir:requirements [ fhir:v "Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Attachment.size" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "unsignedInt"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A (needs data type R3 proposal)" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.attachment.hash" ] ;
fhir:path [ fhir:v "DocumentReference.content.attachment.hash" ] ;
fhir:short [ fhir:v "Hash of the data (sha-1, base64ed)" ] ;
fhir:definition [ fhir:v "The calculated hash of the data using SHA-1. Represented using base64." ] ;
fhir:comment [ fhir:v "The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded." ] ;
fhir:requirements [ fhir:v "Included so that applications can verify that the contents of a location have not changed and so that a signature of the content can implicitly sign the content of an image without having to include the data in the instance or reference the url in the signature." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Attachment.hash" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "base64Binary"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".integrityCheck[parent::ED/integrityCheckAlgorithm=\"SHA-1\"]" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.attachment.title" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]       ] ) ;
fhir:path [ fhir:v "DocumentReference.content.attachment.title" ] ;
fhir:short [ fhir:v "Label to display in place of the data" ] ;
fhir:definition [ fhir:v "A label or set of text to display in place of the data." ] ;
fhir:requirements [ fhir:v "Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Attachment.title" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:example [
fhir:label [ fhir:v "General" ] ;
fhir:value [ fhir:v "Official Corporate Logo" ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./title/data" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.attachment.creation" ] ;
fhir:path [ fhir:v "DocumentReference.content.attachment.creation" ] ;
fhir:short [ fhir:v "Date attachment was first created" ] ;
fhir:definition [ fhir:v "The date that the attachment was first created." ] ;
fhir:requirements [ fhir:v "This is often tracked as an integrity issue for use of the attachment." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Attachment.creation" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A (needs data type R3 proposal)" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.content.format" ] ;
fhir:path [ fhir:v "DocumentReference.content.format" ] ;
fhir:short [ fhir:v "Format/content rules for the document" ] ;
fhir:definition [ fhir:v "An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType." ] ;
fhir:comment [ fhir:v "Note that while IHE mostly issues URNs for format types, not all documents can be identified by a URI." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.content.format" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Coding"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "DocumentFormat" ]         ] ) ;
fhir:strength [ fhir:v "preferred" ] ;
fhir:description [ fhir:v "Document Format Codes." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/formatcodes> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/formatcodes" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "document.text" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.formatCode" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context" ] ;
fhir:path [ fhir:v "DocumentReference.context" ] ;
fhir:short [ fhir:v "Clinical context of document" ] ;
fhir:definition [ fhir:v "The clinical context in which the document was prepared." ] ;
fhir:comment [ fhir:v "These values are primarily added to help with searching for interesting/relevant documents." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.context" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() | (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.id" ] ;
fhir:path [ fhir:v "DocumentReference.context.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.extension" ] ;
fhir:path [ fhir:v "DocumentReference.context.extension" ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.modifierExtension" ] ;
fhir:path [ fhir:v "DocumentReference.context.modifierExtension" ] ;
fhir:short [ fhir:v "Extensions that cannot be ignored" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.encounter" ] ;
fhir:path [ fhir:v "DocumentReference.context.encounter" ] ;
fhir:short [ fhir:v "Context of the document  content" ] ;
fhir:definition [ fhir:v "Describes the clinical encounter or type of care that the document content is associated with." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.context.encounter" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "unique(highest(./outboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode=\"EVN\" and classCode=(\"ENC\", \"PCPR\") and isNormalAct])" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "context" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.encounter.id" ] ;
fhir:path [ fhir:v "DocumentReference.context.encounter.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.encounter.extension" ] ;
fhir:path [ fhir:v "DocumentReference.context.encounter.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.encounter.reference" ] ;
fhir:path [ fhir:v "DocumentReference.context.encounter.reference" ] ;
fhir:short [ fhir:v "Reference to a resource (could be Contained)" ] ;
fhir:definition [ fhir:v "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." ] ;
fhir:comment [ fhir:v "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.reference" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-1" ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.encounter.identifier" ] ;
fhir:path [ fhir:v "DocumentReference.context.encounter.identifier" ] ;
fhir:short [ fhir:v "If relevant could include an id" ] ;
fhir:definition [ fhir:v "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." ] ;
fhir:comment [ fhir:v "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.identifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".identifier" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.encounter.display" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]       ] ) ;
fhir:path [ fhir:v "DocumentReference.context.encounter.display" ] ;
fhir:short [ fhir:v "If relevant, description of the referenced resource" ] ;
fhir:definition [ fhir:v "Plain text narrative that identifies the resource in addition to the resource reference." ] ;
fhir:comment [ fhir:v "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.display" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.event" ] ;
fhir:path [ fhir:v "DocumentReference.context.event" ] ;
fhir:short [ fhir:v "Main clinical acts documented" ] ;
fhir:definition [ fhir:v "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act." ] ;
fhir:comment [ fhir:v "An event can further specialize the act inherent in the type, such as  where it is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If one or more event codes are included, they shall not conflict with the values inherent in the class or type elements as such a conflict would create an ambiguous situation." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.context.event" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "DocumentEventType" ]         ] ) ;
fhir:strength [ fhir:v "example" ] ;
fhir:description [ fhir:v "This list of codes represents the main clinical acts being documented." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/v3-ActCode> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/v3-ActCode" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".code" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.eventCodeList" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.period" ] ;
fhir:path [ fhir:v "DocumentReference.context.period" ] ;
fhir:short [ fhir:v "Time of service that is being documented" ] ;
fhir:definition [ fhir:v "The time period over which the service that is described by the document was provided." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.context.period" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".effectiveTime" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.serviceStartTime DocumentEntry.serviceStopTime" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.facilityType" ] ;
fhir:path [ fhir:v "DocumentReference.context.facilityType" ] ;
fhir:short [ fhir:v "Kind of facility where patient was seen" ] ;
fhir:definition [ fhir:v "The kind of facility where the patient was seen." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.context.facilityType" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "DocumentC80FacilityType" ]         ] ) ;
fhir:strength [ fhir:v "example" ] ;
fhir:description [ fhir:v "XDS Facility Type." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/c80-facilitycodes> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/c80-facilitycodes" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.healthcareFacilityTypeCode" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.practiceSetting" ] ;
fhir:path [ fhir:v "DocumentReference.context.practiceSetting" ] ;
fhir:short [ fhir:v "Additional details about where the content was created (e.g. clinical specialty)" ] ;
fhir:definition [ fhir:v "This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty." ] ;
fhir:comment [ fhir:v "The value set for this content has an example binding because it is a value set decided by community policy. Other examples exist for consideration: * HITSP created the table HITSP/C80 Table 2-148 Clinical Specialty Value Set (a value set based upon SNOMED CT which is referenced by Direct (XDR and XDM for Direct Messaging Specification, Version 1), as well as Nationwide Health Information Network (NHIN).  Query for Documents, Web Service Interface Specification, V 3.0, 07/27/2011 * ELGA (Austria) (ELGA CDA Implementie-rungsleitfäden Registrierung von CDA Dokumenten für ELGA mit IHE Cross-Enterprise Document Sharing: XDS Metadaten (XDSDocumentEntry), [1.2.40.0.34.7.6.3] * XDS Connect-a-thon practiceSettingCode." ] ;
fhir:requirements [ fhir:v "This is an important piece of metadata that providers often rely upon to quickly sort and/or filter out to find specific content." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.context.practiceSetting" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "DocumentC80PracticeSetting" ]         ] ) ;
fhir:strength [ fhir:v "preferred" ] ;
fhir:description [ fhir:v "Care setting type of the document" ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-CareSettingType-1> ;
fhir:reference [ fhir:v "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-CareSettingType-1" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.practiceSettingCode" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.sourcePatientInfo" ] ;
fhir:path [ fhir:v "DocumentReference.context.sourcePatientInfo" ] ;
fhir:short [ fhir:v "Patient demographics from source" ] ;
fhir:definition [ fhir:v "The Patient Information as known when the document was published. May be a reference to a version specific, or contained." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.context.sourcePatientInfo" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.sourcePatientInfo DocumentEntry.sourcePatientId" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.related" ] ;
fhir:path [ fhir:v "DocumentReference.context.related" ] ;
fhir:short [ fhir:v "DISCOURAGED - see above for linkage to Encounter. Other linkages may be defined in future only if use-cases arise" ] ;
fhir:definition [ fhir:v "Related identifiers or resources associated with the DocumentReference." ] ;
fhir:comment [ fhir:v "May be identifiers or resources that caused the DocumentReference or referenced Document to be created." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.context.related" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() | (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./outboundRelationship[typeCode=\"PERT\" and isNormalActRelationship()] / target[isNormalAct]" ]       ] [
fhir:identity [ fhir:v "xds" ] ;
fhir:map [ fhir:v "DocumentEntry.referenceIdList" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.related.id" ] ;
fhir:path [ fhir:v "DocumentReference.context.related.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.related.extension" ] ;
fhir:path [ fhir:v "DocumentReference.context.related.extension" ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.related.modifierExtension" ] ;
fhir:path [ fhir:v "DocumentReference.context.related.modifierExtension" ] ;
fhir:short [ fhir:v "Extensions that cannot be ignored" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.related.identifier" ] ;
fhir:path [ fhir:v "DocumentReference.context.related.identifier" ] ;
fhir:short [ fhir:v "Identifier of related objects or events" ] ;
fhir:definition [ fhir:v "Related identifier to this DocumentReference. If both id and ref are present they shall refer to the same thing." ] ;
fhir:comment [ fhir:v "Order numbers, accession numbers, XDW workflow numbers." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.context.related.identifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./outboundRelationship[typeCode=\"PERT\" and isNormalActRelationship()] / target[isNormalAct] .id" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.related.identifier.id" ] ;
fhir:path [ fhir:v "DocumentReference.context.related.identifier.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.related.identifier.extension" ] ;
fhir:path [ fhir:v "DocumentReference.context.related.identifier.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Additional Content defined by implementations" ] ;
fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
      ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.related.identifier.use" ] ;
fhir:path [ fhir:v "DocumentReference.context.related.identifier.use" ] ;
fhir:short [ fhir:v "usual | official | temp | secondary (If known)" ] ;
fhir:definition [ fhir:v "The purpose of this identifier." ] ;
fhir:comment [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary." ] ;
fhir:requirements [ fhir:v "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.use" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "IdentifierUse" ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "Identifies the purpose for this identifier, if known ." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/identifier-use> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/identifier-use" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "N/A" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Role.code or implied by context" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.related.identifier.type" ] ;
fhir:path [ fhir:v "DocumentReference.context.related.identifier.type" ] ;
fhir:short [ fhir:v "Description of identifier" ] ;
fhir:definition [ fhir:v "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." ] ;
fhir:comment [ fhir:v "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. \n\nWhere the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type." ] ;
fhir:requirements [ fhir:v "Allows users to make use of identifiers when the identifier system is not known." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.type" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "IdentifierType" ]         ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]         ] ) ;
fhir:strength [ fhir:v "extensible" ] ;
fhir:description [ fhir:v "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose." ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <http://hl7.org/fhir/ValueSet/identifier-type> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/ValueSet/identifier-type" ]         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.5" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Role.code or implied by context" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.related.identifier.system" ] ;
fhir:path [ fhir:v "DocumentReference.context.related.identifier.system" ] ;
fhir:short [ fhir:v "The namespace for the identifier value" ] ;
fhir:definition [ fhir:v "Establishes the namespace for the value - that is, a URL that describes a set values that are unique." ] ;
fhir:requirements [ fhir:v "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.system" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
      ( fhir:example [
fhir:label [ fhir:v "General" ] ;
fhir:value [ fhir:v "http://www.acme.com/identifiers/patient"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.4 / EI-2-4" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "II.root or Role.id.root" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./IdentifierType" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.related.identifier.value" ] ;
fhir:path [ fhir:v "DocumentReference.context.related.identifier.value" ] ;
fhir:short [ fhir:v "The value that is unique" ] ;
fhir:definition [ fhir:v "The portion of the identifier typically relevant to the user and which is unique within the context of the system." ] ;
fhir:comment [ fhir:v "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/STU3/extension-rendered-value.html)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.value" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
      ( fhir:example [
fhir:label [ fhir:v "General" ] ;
fhir:value [ fhir:v "123456" ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.1 / EI.1" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./Value" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.related.identifier.period" ] ;
fhir:path [ fhir:v "DocumentReference.context.related.identifier.period" ] ;
fhir:short [ fhir:v "Time period when id is/was valid for use" ] ;
fhir:definition [ fhir:v "Time period during which identifier is/was valid for use." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.period" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.7 + CX.8" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Role.effectiveTime or implied by context" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./StartDate and ./EndDate" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.related.identifier.assigner" ] ;
fhir:path [ fhir:v "DocumentReference.context.related.identifier.assigner" ] ;
fhir:short [ fhir:v "Organization that issued id (may be just text)" ] ;
fhir:definition [ fhir:v "Organization that issued/manages the identifier." ] ;
fhir:comment [ fhir:v "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Identifier.assigner" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "v2" ] ;
fhir:map [ fhir:v "CX.4 / (CX.4,CX.9,CX.10)" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper" ]       ] [
fhir:identity [ fhir:v "servd" ] ;
fhir:map [ fhir:v "./IdentifierIssuingAuthority" ]       ] )     ] [
fhir:id [ fhir:v "DocumentReference.context.related.ref" ] ;
fhir:path [ fhir:v "DocumentReference.context.related.ref" ] ;
fhir:short [ fhir:v "Related Resource" ] ;
fhir:definition [ fhir:v "Related Resource to this DocumentReference. If both id and ref are present they shall refer to the same thing." ] ;
fhir:comment [ fhir:v "Order, ProcedureRequest,  Procedure, EligibilityRequest, etc." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DocumentReference.context.related.ref" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Resource"^^xsd:anyURI ]       ] ) ;
fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./outboundRelationship[typeCode=\"PERT\" and isNormalActRelationship()] / target[isNormalAct].text.reference" ]       ] )     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "DocumentReference" ] ;
fhir:path [ fhir:v "DocumentReference" ]     ] [
fhir:id [ fhir:v "DocumentReference.id" ] ;
fhir:path [ fhir:v "DocumentReference.id" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.versionId" ] ;
fhir:path [ fhir:v "DocumentReference.meta.versionId" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.lastUpdated" ] ;
fhir:path [ fhir:v "DocumentReference.meta.lastUpdated" ] ;
fhir:short [ fhir:v "MANDATORY except in Contained Resources. When the resource version last changed." ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.profile" ] ;
fhir:path [ fhir:v "DocumentReference.meta.profile" ] ;
fhir:short [ fhir:v "Profiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.security" ] ;
fhir:path [ fhir:v "DocumentReference.meta.security" ] ;
fhir:short [ fhir:v "DISCOURAGED - may not be honoured by Data Consumers" ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "system" ]         ] ) ;
fhir:ordered [ fhir:v "false"^^xsd:boolean ] ;
fhir:rules [ fhir:v "open" ]       ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Source" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag" ] ;
fhir:sliceName [ fhir:v "Source" ] ;
fhir:short [ fhir:v "MANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Source.system" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.system" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:fixed [ fhir:v "https://yhcr.nhs.uk/Source"^^xsd:anyURI ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Source.code" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.code" ] ;
fhir:short [ fhir:v "The Data Provider Id of the system supplying the data" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Source.display" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.display" ] ;
fhir:short [ fhir:v "Name of the system supplying the data" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Provenance" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag" ] ;
fhir:sliceName [ fhir:v "Provenance" ] ;
fhir:short [ fhir:v "MANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Provenance.system" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.system" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:fixed [ fhir:v "https://yhcr.nhs.uk/Provenance"^^xsd:anyURI ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Provenance.code" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.code" ] ;
fhir:short [ fhir:v "The ODS Code of the organisation responsible for the data" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.meta.tag:Provenance.display" ] ;
fhir:path [ fhir:v "DocumentReference.meta.tag.display" ] ;
fhir:short [ fhir:v "Name of the organisation supplying the data" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.implicitRules" ] ;
fhir:path [ fhir:v "DocumentReference.implicitRules" ] ;
fhir:short [ fhir:v "DISCOURAGED - may not be honoured by Data Consumers" ]     ] [
fhir:id [ fhir:v "DocumentReference.language" ] ;
fhir:path [ fhir:v "DocumentReference.language" ] ;
fhir:short [ fhir:v "English is assumed (not currently a multi-lingual implementation)" ]     ] [
fhir:id [ fhir:v "DocumentReference.text" ] ;
fhir:path [ fhir:v "DocumentReference.text" ] ;
fhir:short [ fhir:v "DISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users" ]     ] [
fhir:id [ fhir:v "DocumentReference.identifier" ] ;
fhir:path [ fhir:v "DocumentReference.identifier" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "system" ]         ] ) ;
fhir:ordered [ fhir:v "false"^^xsd:boolean ] ;
fhir:rules [ fhir:v "open" ]       ]     ] [
fhir:id [ fhir:v "DocumentReference.identifier:localIdentifier" ] ;
fhir:path [ fhir:v "DocumentReference.identifier" ] ;
fhir:sliceName [ fhir:v "localIdentifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.identifier:localIdentifier.system" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.system" ] ;
fhir:fixed [ fhir:v "https://fhir.yhcr.nhs.uk/Id/local-documentreference-identifier"^^xsd:anyURI ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.identifier:localIdentifier.value" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.value" ] ;
fhir:short [ fhir:v "The Local documentreference Identifier. Please prefix with ODS code plus period (XXX.) to ensure unique" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.identifier:localIdentifier.period" ] ;
fhir:path [ fhir:v "DocumentReference.identifier.period" ] ;
fhir:max [ fhir:v "0" ]     ] [
fhir:id [ fhir:v "DocumentReference.status" ] ;
fhir:path [ fhir:v "DocumentReference.status" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.docStatus" ] ;
fhir:path [ fhir:v "DocumentReference.docStatus" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.type" ] ;
fhir:path [ fhir:v "DocumentReference.type" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
fhir:binding [
fhir:strength [ fhir:v "preferred" ] ;
fhir:valueSet [
a fhir:Reference ;
fhir:link <https://fhir.yhcr.nhs.uk/ValueSet/Interweave-DocumentType> ;
fhir:reference [ fhir:v "https://fhir.yhcr.nhs.uk/ValueSet/Interweave-DocumentType" ]         ]       ]     ] [
fhir:id [ fhir:v "DocumentReference.subject" ] ;
fhir:path [ fhir:v "DocumentReference.subject" ] ;
fhir:short [ fhir:v "Who is the subject of the document" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
fhir:targetProfile [ fhir:v "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.subject.reference" ] ;
fhir:path [ fhir:v "DocumentReference.subject.reference" ] ;
fhir:short [ fhir:v "Reference to a resource (could be Contained)" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
fhir:id [ fhir:v "DocumentReference.subject.identifier" ] ;
fhir:path [ fhir:v "DocumentReference.subject.identifier" ] ;
fhir:short [ fhir:v "If relevant could include an id" ]     ] [
fhir:id [ fhir:v "DocumentReference.subject.display" ] ;
fhir:path [ fhir:v "DocumentReference.subject.display" ] ;
fhir:short [ fhir:v "Description of the referenced resource" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
fhir:id [ fhir:v "DocumentReference.created" ] ;
fhir:path [ fhir:v "DocumentReference.created" ] ;
fhir:short [ fhir:v "DISCOURAGED - deprecated in R4" ]     ] [
fhir:id [ fhir:v "DocumentReference.indexed" ] ;
fhir:path [ fhir:v "DocumentReference.indexed" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.author" ] ;
fhir:path [ fhir:v "DocumentReference.author" ] ;
fhir:short [ fhir:v "Who and/or what authored the document. NB: For most use-cases this should contain a single practitioner who is the main contact for any further questions" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.author.reference" ] ;
fhir:path [ fhir:v "DocumentReference.author.reference" ] ;
fhir:short [ fhir:v "Reference to a resource (could be Contained)" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
fhir:id [ fhir:v "DocumentReference.author.identifier" ] ;
fhir:path [ fhir:v "DocumentReference.author.identifier" ] ;
fhir:short [ fhir:v "If relevant could include an id" ]     ] [
fhir:id [ fhir:v "DocumentReference.author.display" ] ;
fhir:path [ fhir:v "DocumentReference.author.display" ] ;
fhir:short [ fhir:v "Description of the referenced resource" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
fhir:id [ fhir:v "DocumentReference.custodian" ] ;
fhir:path [ fhir:v "DocumentReference.custodian" ] ;
fhir:short [ fhir:v "DISCOURAGED - this information is already covered by the provenance tags" ]     ] [
fhir:id [ fhir:v "DocumentReference.relatesTo" ] ;
fhir:path [ fhir:v "DocumentReference.relatesTo" ] ;
fhir:short [ fhir:v "DISCOURAGED - use with great caution as consumer systems are likely to display a simple list of documents, and may not interpret these relationships" ]     ] [
fhir:id [ fhir:v "DocumentReference.description" ] ;
fhir:path [ fhir:v "DocumentReference.description" ] ;
fhir:short [ fhir:v "Human-readable description (title). Useful to populate, but acceptable to omit if nothing to add over-and-above the 'type'" ]     ] [
fhir:id [ fhir:v "DocumentReference.securityLabel" ] ;
fhir:path [ fhir:v "DocumentReference.securityLabel" ] ;
fhir:short [ fhir:v "DISCOURAGED - unlikely to be honoured by consumers" ]     ] [
fhir:id [ fhir:v "DocumentReference.content" ] ;
fhir:path [ fhir:v "DocumentReference.content" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.content.attachment" ] ;
fhir:path [ fhir:v "DocumentReference.content.attachment" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.content.attachment.contentType" ] ;
fhir:path [ fhir:v "DocumentReference.content.attachment.contentType" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.context.encounter" ] ;
fhir:path [ fhir:v "DocumentReference.context.encounter" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.context.encounter.reference" ] ;
fhir:path [ fhir:v "DocumentReference.context.encounter.reference" ] ;
fhir:short [ fhir:v "Reference to a resource (could be Contained)" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
fhir:id [ fhir:v "DocumentReference.context.encounter.identifier" ] ;
fhir:path [ fhir:v "DocumentReference.context.encounter.identifier" ] ;
fhir:short [ fhir:v "If relevant could include an id" ]     ] [
fhir:id [ fhir:v "DocumentReference.context.encounter.display" ] ;
fhir:path [ fhir:v "DocumentReference.context.encounter.display" ] ;
fhir:short [ fhir:v "If relevant, description of the referenced resource" ]     ] [
fhir:id [ fhir:v "DocumentReference.context.period" ] ;
fhir:path [ fhir:v "DocumentReference.context.period" ] ;
fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "DocumentReference.context.related" ] ;
fhir:path [ fhir:v "DocumentReference.context.related" ] ;
fhir:short [ fhir:v "DISCOURAGED - see above for linkage to Encounter. Other linkages may be defined in future only if use-cases arise" ]     ] )
  ] . # 

<http://hl7.org/fhir/ValueSet/security-labels> a fhir:ValueSet .

<http://hl7.org/fhir/ValueSet/common-tags> a fhir:ValueSet .

<http://hl7.org/fhir/ValueSet/all-languages> a fhir:ValueSet .

<http://hl7.org/fhir/ValueSet/languages> a fhir:ValueSet .

<http://hl7.org/fhir/ValueSet/identifier-use> a fhir:ValueSet .

<http://hl7.org/fhir/ValueSet/identifier-type> a fhir:ValueSet .

<http://hl7.org/fhir/ValueSet/document-reference-status> a fhir:ValueSet .

<http://hl7.org/fhir/ValueSet/composition-status> a fhir:ValueSet .

<http://hl7.org/fhir/ValueSet/c80-doc-classcodes> a fhir:ValueSet .

<http://hl7.org/fhir/ValueSet/document-relationship-type> a fhir:ValueSet .

<http://hl7.org/fhir/ValueSet/formatcodes> a fhir:ValueSet .

<http://hl7.org/fhir/ValueSet/v3-ActCode> a fhir:ValueSet .

<http://hl7.org/fhir/ValueSet/c80-facilitycodes> a fhir:ValueSet .