Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R2_Provenance_R5 - TTL Profile

Page standards status: Trial-use Maturity Level: 0

TTL representation of the profile-Provenance resource profile.

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "profile-Provenance"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition profile-Provenance</b></p><a name=\"profile-Provenance\"> </a><a name=\"hcprofile-Provenance\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance\">Provenance</a><a name=\"Provenance\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/provenance.html\">Provenance(5.0.0)</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Who, What, When for a set of resources</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-profile-Provenance-definitions.html#Provenance.meta\">meta</a><a name=\"Provenance.meta\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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_extension_simple.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.meta.extension\">Slices for extension</a><a name=\"Provenance.meta.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1024.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: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.meta.extension:meta\" title=\"Extension URL = http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.meta\">extension:meta</a><a name=\"Provenance.meta.extension.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/resource.html#Meta\">Meta</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DSTU2: meta additional types<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R2-Provenance.meta.html\">http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.meta</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-profile-Provenance-definitions.html#Provenance.text\">text</a><a name=\"Provenance.text\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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_extension_simple.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.text.extension\">Slices for extension</a><a name=\"Provenance.text.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1024.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-profile-Provenance-definitions.html#Provenance.text.extension:text\" title=\"Extension URL = http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.text\">extension:text</a><a name=\"Provenance.text.extension.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">(Complex)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DSTU2: text additional types<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R2-Provenance.text.html\">http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.text</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-profile-Provenance-definitions.html#Provenance.target\">target</a><a name=\"Provenance.target\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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_extension_simple.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.target.extension\">Slices for extension</a><a name=\"Provenance.target.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1024.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: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.target.extension:target\" title=\"Extension URL = http://hl7.org/fhir/StructureDefinition/alternate-reference\">extension:target</a><a name=\"Provenance.target.extension.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R5/resource.html\">Resource</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DSTU2: target additional types<br/><span style=\"font-weight:bold\">URL: </span><a href=\"http://hl7.org/fhir/extensions/5.2.0/StructureDefinition-alternate-reference.html\">http://hl7.org/fhir/StructureDefinition/alternate-reference</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-profile-Provenance-definitions.html#Provenance.location\">location</a><a name=\"Provenance.location\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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_extension_simple.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.location.extension\">Slices for extension</a><a name=\"Provenance.location.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1024.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-profile-Provenance-definitions.html#Provenance.location.extension:location\" title=\"Extension URL = http://hl7.org/fhir/StructureDefinition/alternate-reference\">extension:location</a><a name=\"Provenance.location.extension.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R5/resource.html\">Resource</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DSTU2: location additional types<br/><span style=\"font-weight:bold\">URL: </span><a href=\"http://hl7.org/fhir/extensions/5.2.0/StructureDefinition-alternate-reference.html\">http://hl7.org/fhir/StructureDefinition/alternate-reference</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-profile-Provenance-definitions.html#Provenance.agent\">agent</a><a name=\"Provenance.agent\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck113.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_extension_simple.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.agent.extension\">Slices for extension</a><a name=\"Provenance.agent.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">2..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1134.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_vline.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: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.agent.extension:userId\" title=\"Extension URL = http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.userId\">extension:userId</a><a name=\"Provenance.agent.extension.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DSTU2: Authorization-system identifier for the agent (new)<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R2-Provenance.age.userId.html\">http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.userId</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1134.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_vline.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-profile-Provenance-definitions.html#Provenance.agent.extension:type\" title=\"Extension URL = http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.relatedAgent.type\">extension:type</a><a name=\"Provenance.agent.extension.3\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DSTU2: Type of relationship between agents (new)<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R2-Provenance.age.rel.type.html\">http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.relatedAgent.type</a><br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding: </span><a href=\"ValueSet-R2-v3-RoleLinkType-for-R5.html\" title=\"http://hl7.org/fhir/uv/xver/ValueSet/R2-v3-RoleLinkType-for-R5\" class=\"binding\">R2V3RoleLinkTypeForR5 (0.1.0)</a><span title=\"null\" class=\"binding\"> (</span><a href=\"http://hl7.org/fhir/R5/terminologies.html#example\" title=\"Instances are not expected or even encouraged to draw from the specified value set.  The value set merely provides examples of the types of concepts intended to be included.\" class=\"binding\">example</a><span title=\"null\" class=\"binding\">)</span><span title=\"null\" class=\"binding\">: </span><span title=\"null\" class=\"binding\">Type of relationship between two provenance agents.</span><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1124.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_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: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.agent.extension:target\" title=\"Extension URL = http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.relatedAgent.target\">extension:target</a><a name=\"Provenance.agent.extension.4\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DSTU2: Reference to other agent in this resource by identifier (new)<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R2-Provenance.age.rel.target.html\">http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.relatedAgent.target</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-profile-Provenance-definitions.html#Provenance.agent.who\">who</a><a name=\"Provenance.agent.who\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1003.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_extension_simple.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.agent.who.extension\">Slices for extension</a><a name=\"Provenance.agent.who.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10024.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_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-profile-Provenance-definitions.html#Provenance.agent.who.extension:actor\" title=\"Extension URL = http://hl7.org/fhir/StructureDefinition/alternate-reference\">extension:actor</a><a name=\"Provenance.agent.who.extension.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R5/resource.html\">Resource</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DSTU2: Individual, device or organization playing role<br/><span style=\"font-weight:bold\">URL: </span><a href=\"http://hl7.org/fhir/extensions/5.2.0/StructureDefinition-alternate-reference.html\">http://hl7.org/fhir/StructureDefinition/alternate-reference</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-profile-Provenance-definitions.html#Provenance.entity\">entity</a><a name=\"Provenance.entity\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck113.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_extension_simple.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.entity.extension\">Slices for extension</a><a name=\"Provenance.entity.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1134.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_vline.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: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.entity.extension:type\" title=\"Extension URL = http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.type\">extension:type</a><a name=\"Provenance.entity.extension.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DSTU2: The type of resource in this entity (new)<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R2-Provenance.ent.type.html\">http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.type</a><br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding: </span><a href=\"ValueSet-R2-resource-types-for-R5.html\" title=\"http://hl7.org/fhir/uv/xver/ValueSet/R2-resource-types-for-R5\" class=\"binding\">R2ResourceTypesForR5 (0.1.0)</a><span title=\"null\" class=\"binding\"> (</span><a href=\"http://hl7.org/fhir/R5/terminologies.html#extensible\" title=\"To be conformant, the concept in this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated.  If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.\" class=\"binding\">extensible</a><span title=\"null\" class=\"binding\">)</span><span title=\"null\" class=\"binding\">: </span><span title=\"null\" class=\"binding\">The type of an entity used in an activity.</span><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1124.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_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-profile-Provenance-definitions.html#Provenance.entity.extension:display\" title=\"Extension URL = http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.display\">extension:display</a><a name=\"Provenance.entity.extension.3\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DSTU2: Human description of entity (new)<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R2-Provenance.ent.display.html\">http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.display</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck111.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-profile-Provenance-definitions.html#Provenance.entity.role\">role</a><a name=\"Provenance.entity.role\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1103.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_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_extension_simple.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.entity.role.extension\">Slices for extension</a><a name=\"Provenance.entity.role.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11024.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_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: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.entity.role.extension:role\" title=\"Extension URL = http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.role\">extension:role</a><a name=\"Provenance.entity.role.extension.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DSTU2: derivation | revision | quotation | source additional codes<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R2-Provenance.ent.role.html\">http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.role</a><br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding: </span><a href=\"http://hl7.org/fhir/R5/valueset-provenance-entity-role.html\" title=\"http://hl7.org/fhir/ValueSet/provenance-entity-role\" class=\"binding\">ProvenanceEntityRole</a><span title=\"null\" class=\"binding\"> (</span><a href=\"http://hl7.org/fhir/R5/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\" class=\"binding\">required</a><span title=\"null\" class=\"binding\">)</span><span title=\"null\" class=\"binding\">: </span><span title=\"null\" class=\"binding\">How an entity was used in an activity.</span><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-profile-Provenance-definitions.html#Provenance.entity.what\">what</a><a name=\"Provenance.entity.what\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1003.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_extension_simple.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.entity.what.extension\">Slices for extension</a><a name=\"Provenance.entity.what.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10024.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_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-profile-Provenance-definitions.html#Provenance.entity.what.extension:reference\" title=\"Extension URL = http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.reference\">extension:reference</a><a name=\"Provenance.entity.what.extension.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DSTU2: reference additional types<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R2-Provenance.ent.reference.html\">http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.reference</a><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.signature\">signature</a><a name=\"Provenance.signature\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck003.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_extension_simple.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.signature.extension\">Slices for extension</a><a name=\"Provenance.signature.extension\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R5/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0024.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_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: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-profile-Provenance-definitions.html#Provenance.signature.extension:signature\" title=\"Extension URL = http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.signature\">extension:signature</a><a name=\"Provenance.signature.extension.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#Signature\">Signature</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">DSTU2: signature additional types<br/><span style=\"font-weight:bold\">URL: </span><a href=\"StructureDefinition-ext-R2-Provenance.signature.html\">http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.signature</a><br/></td></tr>#xD;\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>     ] ;
fhir:value [
a fhir:Code ;
fhir:v "fhir"     ]
  ] [
    ( fhir:extension [
fhir:url [
fhir:v "packageId"^^xsd:anyURI ;
fhir:l fhir:packageId       ] ;
fhir:value [
a fhir:Id ;
fhir:v "hl7.fhir.uv.xver-r2.r5"       ]     ] [
fhir:url [
fhir:v "version"^^xsd:anyURI ;
fhir:l fhir:version       ] ;
fhir:value [
a fhir:String ;
fhir:v "0.1.0"       ]     ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/package-source>     ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>     ] ;
fhir:value [
a fhir:Integer ;
fhir:v 0 ;
      ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>         ] ;
fhir:value [
a fhir:Canonical ;
fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r2.r5"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r2.r5>         ]       ] )     ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>     ] ;
fhir:value [
a fhir:Code ;
fhir:v "trial-use" ;
      ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>         ] ;
fhir:value [
a fhir:Canonical ;
fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r2.r5"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r2.r5>         ]       ] )     ]
  ] ) ; # 
  fhir:url [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/profile-Provenance"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/profile-Provenance>
  ] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "Profile_R2_Provenance_R5"] ; # 
  fhir:title [ fhir:v "Cross-version Profile for DSTU2.Provenance for use in FHIR R5"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-03-17T16:05:25.8021294-05:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "FHIR Infrastructure"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "FHIR Infrastructure" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This cross-version profile allows DSTU2 Provenance content to be represented via FHIR R5 Provenance resources."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [
fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>       ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ]     ] )
  ] ) ; # 
  fhir:fhirVersion [ fhir:v "5.0.0"] ; # 
  fhir:mapping ( [
fhir:identity [ fhir:v "workflow" ] ;
fhir:uri [
fhir:v "http://hl7.org/fhir/workflow"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/workflow>     ] ;
fhir:name [ fhir:v "Workflow Pattern" ]
  ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:uri [
fhir:v "http://hl7.org/fhir/fivews"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/fivews>     ] ;
fhir:name [ fhir:v "FiveWs Pattern Mapping" ]
  ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:uri [
fhir:v "http://hl7.org/v3"^^xsd:anyURI ;
fhir:l <http://hl7.org/v3>     ] ;
fhir:name [ fhir:v "RIM Mapping" ]
  ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:uri [
fhir:v "http://www.w3.org/ns/prov"^^xsd:anyURI ;
fhir:l <http://www.w3.org/ns/prov>     ] ;
fhir:name [ fhir:v "W3C PROV" ]
  ] [
fhir:identity [ fhir:v "fhirauditevent" ] ;
fhir:uri [
fhir:v "http://hl7.org/fhir/auditevent"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/auditevent>     ] ;
fhir:name [ fhir:v "FHIR AuditEvent Mapping" ]
  ] ) ; # 
  fhir:kind [ fhir:v "resource"] ; # 
  fhir:abstract [ fhir:v false] ; # 
  fhir:type [
fhir:v "Provenance"^^xsd:anyURI ;
fhir:l fhir:Provenance
  ] ; # 
  fhir:baseDefinition [
fhir:v "http://hl7.org/fhir/StructureDefinition/Provenance|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Provenance?version=5.0.0>
  ] ; # 
  fhir:derivation [ fhir:v "constraint"] ; # 
  fhir:snapshot [
    ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version>       ] ;
fhir:value [
a fhir:String ;
fhir:v "5.0.0"       ]     ] ) ;
    ( fhir:element [
fhir:id [ fhir:v "Provenance" ] ;
fhir:path [ fhir:v "Provenance" ] ;
fhir:short [ fhir:v "Who, What, When for a set of resources" ] ;
fhir:definition [ fhir:v "Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g. Document Completion - has the artifact been legally authenticated), all of which may impact security, privacy, and trust policies." ] ;
fhir:comment [ fhir:v "Some parties may be duplicated between the target resource and its provenance.  For instance, the prescriber is usually (but not always) the author of the prescription resource. This resource is defined with close consideration for W3C Provenance." ] ;
      ( fhir:alias [ fhir:v "History" ] [ fhir:v "Event" ] [ fhir:v "Activity" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance" ] ;
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:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource?version=5.0.0>         ]       ] [
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 or SHALL refer to the containing resource" ] ;
fhir:expression [ fhir:v "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource?version=5.0.0>         ]       ] [
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:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "dom-5" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a security label" ] ;
fhir:expression [ fhir:v "contained.meta.security.empty()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource?version=5.0.0>         ]       ] [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice>           ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true           ]         ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation>           ] ;
fhir:value [
a fhir:Markdown ;
fhir:v "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."           ]         ] ) ;
fhir:key [ fhir:v "dom-6" ] ;
fhir:severity [ fhir:v "warning" ] ;
fhir:human [ fhir:v "A resource should have narrative for robust management" ] ;
fhir:expression [ fhir:v "text.`div`.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Entity, Role, or Act,ControlAct[isNormalAct() and subsumes(CACT, classCode) and moodCode=EVN]" ]       ] [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Event" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "infrastructure.information" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Activity" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.id" ] ;
fhir:path [ fhir:v "Provenance.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 "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case." ] ;
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:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "id"^^xsd:anyURI ;
fhir:l fhir:id           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ]     ] [
fhir:id [ fhir:v "Provenance.meta" ] ;
fhir:path [ fhir:v "Provenance.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 might 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:l fhir:Meta         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ]     ] [
fhir:id [ fhir:v "Provenance.meta.id" ] ;
fhir:path [ fhir:v "Provenance.meta.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
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:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "id"^^xsd:anyURI ;
fhir:l fhir:id           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.meta.extension" ] ;
fhir:path [ fhir:v "Provenance.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:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
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:l fhir:Extension         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.meta.extension:meta" ] ;
fhir:path [ fhir:v "Provenance.meta.extension" ] ;
fhir:sliceName [ fhir:v "meta" ] ;
fhir:short [ fhir:v "DSTU2: meta additional types" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.meta` additional types (Meta) additional types from child elements (lastUpdated, profile, security, tag, versionId)" ] ;
fhir:comment [ fhir:v "Element `Provenance.meta` is mapped to FHIR R5 element `Provenance.meta` as `SourceIsBroaderThanTarget`.\nThe mappings for `Provenance.meta` do not cover the following types: Meta.\nThe mappings for `Provenance.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.meta|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.meta?version=0.1.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.meta.versionId" ] ;
fhir:path [ fhir:v "Provenance.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 value 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:l fhir:id         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ]     ] [
fhir:id [ fhir:v "Provenance.meta.lastUpdated" ] ;
fhir:path [ fhir:v "Provenance.meta.lastUpdated" ] ;
fhir:short [ fhir:v "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 element is generally omitted in instances submitted in a PUT or POST. Instead, it is populated in the response instance and when retrieving information using a GET. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http://hl7.org/fhir/R5/http.html#read) interaction." ] ;
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:l fhir:instant         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ]     ] [
fhir:id [ fhir:v "Provenance.meta.source" ] ;
fhir:path [ fhir:v "Provenance.meta.source" ] ;
fhir:short [ fhir:v "Identifies where the resource comes from" ] ;
fhir:definition [ fhir:v "A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](http://hl7.org/fhir/R5/provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc." ] ;
fhir:comment [ fhir:v "The exact use of the source (and the possible implied Provenance.entity.role and agent.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. The source may correspond to Provenance.entity.what[x] or Provenance.agent.who[x], though it may be a more general or abstract reference. \n\nThis element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Meta.source" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "uri"^^xsd:anyURI ;
fhir:l fhir:uri         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ]     ] [
fhir:id [ fhir:v "Provenance.meta.profile" ] ;
fhir:path [ fhir:v "Provenance.meta.profile" ] ;
fhir:short [ fhir:v "Profiles this resource claims to conform to" ] ;
fhir:definition [ fhir:v "A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/R5/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](http://hl7.org/fhir/R5/structuredefinition-definitions.html#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 "canonical"^^xsd:anyURI ;
fhir:l fhir:canonical         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/StructureDefinition|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/StructureDefinition?version=5.0.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ]     ] [
fhir:id [ fhir:v "Provenance.meta.security" ] ;
fhir:path [ fhir:v "Provenance.meta.security" ] ;
fhir:short [ fhir:v "Security Labels applied to this resource" ] ;
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:l fhir:Coding         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "SecurityLabels"           ]         ] ) ;
fhir:strength [ fhir:v "extensible" ] ;
fhir:description [ fhir:v "Security Labels from the Healthcare Privacy and Security Classification System." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/security-labels|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/security-labels?version=5.0.0>         ]       ]     ] [
fhir:id [ fhir:v "Provenance.meta.tag" ] ;
fhir:path [ fhir:v "Provenance.meta.tag" ] ;
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:l fhir:Coding         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
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 [
fhir:v "http://hl7.org/fhir/ValueSet/common-tags|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/common-tags?version=5.0.0>         ]       ]     ] [
fhir:id [ fhir:v "Provenance.implicitRules" ] ;
fhir:path [ fhir:v "Provenance.implicitRules" ] ;
fhir:short [ fhir:v "A set of rules under which this content was created" ] ;
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. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ] ;
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. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc." ] ;
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:l fhir:uri         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v true ] ;
fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation" ] ;
fhir:isSummary [ fhir:v true ]     ] [
fhir:id [ fhir:v "Provenance.language" ] ;
fhir:path [ fhir:v "Provenance.language" ] ;
fhir:short [ fhir:v "Language of the resource content" ] ;
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:l fhir:code         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "Language"           ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "IETF language tag for a human language" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/all-languages|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/all-languages?version=5.0.0>         ] ;
        ( fhir:additional [
fhir:purpose [ fhir:v "starter" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/languages|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/languages?version=5.0.0>           ]         ] )       ]     ] [
fhir:id [ fhir:v "Provenance.text" ] ;
fhir:path [ fhir:v "Provenance.text" ] ;
fhir:short [ fhir:v "Text summary of the resource, for human interpretation" ] ;
fhir:definition [ fhir:v "A human-readable narrative that contains a summary of the resource and can 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 a 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 information 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:l fhir:Narrative         ]       ] ) ;
      ( fhir:condition [ fhir:v "dom-6" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Act.text?" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.text.id" ] ;
fhir:path [ fhir:v "Provenance.text.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
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:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "id"^^xsd:anyURI ;
fhir:l fhir:id           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.text.extension" ] ;
fhir:path [ fhir:v "Provenance.text.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:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
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:l fhir:Extension         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.text.extension:text" ] ;
fhir:path [ fhir:v "Provenance.text.extension" ] ;
fhir:sliceName [ fhir:v "text" ] ;
fhir:short [ fhir:v "DSTU2: text additional types" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.text` additional types (Narrative) additional types from child elements (div, status)" ] ;
fhir:comment [ fhir:v "Element `Provenance.text` is mapped to FHIR R5 element `Provenance.text` as `SourceIsBroaderThanTarget`.\nThe mappings for `Provenance.text` do not cover the following types: Narrative.\nThe mappings for `Provenance.text` do not cover the following types based on type expansion: div, status.\nContained resources do not have narrative. Resources that are not contained SHOULD have a narrative." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.text|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.text?version=0.1.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.text.status" ] ;
fhir:path [ fhir:v "Provenance.text.status" ] ;
fhir:short [ fhir:v "generated | extensions | additional | empty" ] ;
fhir:definition [ fhir:v "The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Narrative.status" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "code"^^xsd:anyURI ;
fhir:l fhir:code         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "NarrativeStatus"           ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "The status of a resource narrative." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/narrative-status|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/narrative-status?version=5.0.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.text.div" ] ;
fhir:path [ fhir:v "Provenance.text.div" ] ;
fhir:short [ fhir:v "Limited xhtml content" ] ;
fhir:definition [ fhir:v "The actual narrative content, a stripped down version of XHTML." ] ;
fhir:comment [ fhir:v "The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Narrative.div" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "xhtml"^^xsd:anyURI ;
fhir:l fhir:xhtml         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "txt-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes" ] ;
fhir:expression [ fhir:v "htmlChecks()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Narrative|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Narrative?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "txt-2" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "The narrative SHALL have some non-whitespace content" ] ;
fhir:expression [ fhir:v "htmlChecks()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Narrative|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Narrative?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.contained" ] ;
fhir:path [ fhir:v "Provenance.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning." ] ;
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. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels." ] ;
      ( 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:l fhir:Resource         ]       ] ) ;
      ( fhir:condition [ fhir:v "dom-2" ] [ fhir:v "dom-4" ] [ fhir:v "dom-3" ] [ fhir:v "dom-5" ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.extension" ] ;
fhir:path [ fhir:v "Provenance.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. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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:l fhir:Extension         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.modifierExtension" ] ;
fhir:path [ fhir:v "Provenance.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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
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:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)." ] ;
      ( 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:l fhir:Extension         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v true ] ;
fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.target" ] ;
fhir:path [ fhir:v "Provenance.target" ] ;
fhir:short [ fhir:v "Target Reference(s) (usually version specific)" ] ;
fhir:definition [ fhir:v "The Reference(s) that were generated or updated by  the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity." ] ;
fhir:comment [ fhir:v "Target references are usually version specific, but might not be, if a version has not been assigned or if the provenance information is part of the set of resources being maintained (i.e. a document). When using the RESTful API, the identity of the resource might not be known (especially not the version specific one); the client may either submit the resource first, and then the provenance, or it may submit both using a single transaction. See the notes on transaction for further discussion." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.target" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Resource|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Resource?version=5.0.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.what[x]" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./outboundRelationship[isNormalActRelationship() and typeCode=SUBJ]/target  OR  ./participation[isNormalParticipation() and typeCode=SBJ]/role  OR  ./participation[isNormalParticipation() and typeCode=SBJ]/role[isNormalRole()]/player" ]       ] [
fhir:identity [ fhir:v "fhirauditevent" ] ;
fhir:map [ fhir:v "AuditEvent.entity.reference" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Entity Created/Updated" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.target.id" ] ;
fhir:path [ fhir:v "Provenance.target.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
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:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "id"^^xsd:anyURI ;
fhir:l fhir:id           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.target.extension" ] ;
fhir:path [ fhir:v "Provenance.target.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:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
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:l fhir:Extension         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.target.extension:target" ] ;
fhir:path [ fhir:v "Provenance.target.extension" ] ;
fhir:sliceName [ fhir:v "target" ] ;
fhir:short [ fhir:v "DSTU2: target additional types" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.target` additional types from child elements (display, reference)" ] ;
fhir:comment [ fhir:v "Element `Provenance.target` is mapped to FHIR R5 element `Provenance.target` as `SourceIsBroaderThanTarget`.\nThe mappings for `Provenance.target` do not cover the following types based on type expansion: display, reference.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR DSTU2 element `Provenance.target` with unmapped reference targets: Resource.\nTarget references are usually version specific, but may not be, if a version has not been assigned or if the provenance information is part of the set of resources being maintained (i.e. a document). When using the RESTful API, the identity of the resource may not be known (especially not the version specific one); the client may either submit the resource first, and then the provenance, or it may submit both using a single transaction. See the notes on transaction for further discussion." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/alternate-reference|5.2.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/alternate-reference?version=5.2.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.target.reference" ] ;
fhir:path [ fhir:v "Provenance.target.reference" ] ;
fhir:short [ fhir:v "Literal reference, Relative, internal or absolute URL" ] ;
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 "0"^^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:l fhir:string         ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-2" ] [ fhir:v "ref-1" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.target.type" ] ;
fhir:path [ fhir:v "Provenance.target.type" ] ;
fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\") - must be a resource in resources" ] ;
fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ;
fhir:comment [ fhir:v "This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.type" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "uri"^^xsd:anyURI ;
fhir:l fhir:uri         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "FHIRResourceTypeExt"           ]         ] ) ;
fhir:strength [ fhir:v "extensible" ] ;
fhir:description [ fhir:v "Aa resource (or, for logical models, the URI of the logical model)." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/resource-types|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/resource-types?version=5.0.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.target.identifier" ] ;
fhir:path [ fhir:v "Provenance.target.identifier" ] ;
fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ;
fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents 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.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).\n\nThis element only allows for a single identifier. In the case where additional identifers are required, use the [http://hl7.org/fhir/StructureDefinition/additionalIdentifier](http://hl7.org/fhir/extensions/StructureDefinition-additionalIdentifier.html) extension." ] ;
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:l fhir:Identifier         ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-2" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".identifier" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.target.display" ] ;
      ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable>         ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true         ]       ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable>         ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true         ]       ] ) ;
fhir:path [ fhir:v "Provenance.target.display" ] ;
fhir:short [ fhir:v "Text alternative for the 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:l fhir:string         ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-2" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.occurred[x]" ] ;
fhir:path [ fhir:v "Provenance.occurred[x]" ] ;
fhir:short [ fhir:v "When the activity occurred" ] ;
fhir:definition [ fhir:v "The period during which the activity occurred." ] ;
fhir:comment [ fhir:v "The period can be a little arbitrary; where possible, the time should correspond to human assessment of the activity time." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.occurred[x]" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Period"^^xsd:anyURI ;
fhir:l fhir:Period         ]       ] [
fhir:code [
fhir:v "dateTime"^^xsd:anyURI ;
fhir:l fhir:dateTime         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Event.occurrence" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.done[x]" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./effectiveTime[type=IVL_TS]" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Activity.startTime & Activity.endTime" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.recorded" ] ;
fhir:path [ fhir:v "Provenance.recorded" ] ;
fhir:short [ fhir:v "When the activity was recorded / updated" ] ;
fhir:definition [ fhir:v "The instant of time at which the activity was recorded." ] ;
fhir:comment [ fhir:v "This can be a little different from the time stamp on the resource if there is a delay between recording the event and updating the provenance and target resource." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.recorded" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "instant"^^xsd:anyURI ;
fhir:l fhir:instant         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.recorded" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "unique(./participation[isNormalParticipation() and typeCode=AUT]/time[type=TS])" ]       ] [
fhir:identity [ fhir:v "fhirauditevent" ] ;
fhir:map [ fhir:v "AuditEvent.recorded" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Activity.when" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.policy" ] ;
fhir:path [ fhir:v "Provenance.policy" ] ;
fhir:short [ fhir:v "Policy or plan the activity was defined by" ] ;
fhir:definition [ fhir:v "Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc." ] ;
fhir:comment [ fhir:v "For example: Where an OAuth token authorizes, the unique identifier from the OAuth token is placed into the policy element Where a policy engine (e.g. XACML) holds policy logic, the unique policy identifier is placed into the policy element." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.policy" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "uri"^^xsd:anyURI ;
fhir:l fhir:uri         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./inboundRelationship[isNormalActRelationship() and typeCode=\"SUBJ\"]/source[isNormalAct and subsumes(POLICY, classCode) and moodCode=EVN]/text[typeCode='ED'/tel" ]       ] [
fhir:identity [ fhir:v "fhirauditevent" ] ;
fhir:map [ fhir:v "AuditEvent.agent.policy" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.location" ] ;
fhir:path [ fhir:v "Provenance.location" ] ;
fhir:short [ fhir:v "Where the activity occurred, if relevant" ] ;
fhir:definition [ fhir:v "Where the activity occurred, if relevant." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.location" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Location|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Location?version=5.0.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Event.location" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.where[x]" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "unique(./participation[isNormalParticipation() and typeCode=LOC]/role[isNormalRole() and subsumes(SDLOC, classCode)]/player[isNormalEntity and classCode=\"LOC\" and determinerCode=\"INST\"]" ]       ] [
fhir:identity [ fhir:v "fhirauditevent" ] ;
fhir:map [ fhir:v "AuditEvent.agent.location" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Activity.location" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.location.id" ] ;
fhir:path [ fhir:v "Provenance.location.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
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:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "id"^^xsd:anyURI ;
fhir:l fhir:id           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.location.extension" ] ;
fhir:path [ fhir:v "Provenance.location.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:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
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:l fhir:Extension         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.location.extension:location" ] ;
fhir:path [ fhir:v "Provenance.location.extension" ] ;
fhir:sliceName [ fhir:v "location" ] ;
fhir:short [ fhir:v "DSTU2: location additional types" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.location` additional types from child elements (display, reference)" ] ;
fhir:comment [ fhir:v "Element `Provenance.location` is mapped to FHIR R5 element `Provenance.location` as `SourceIsBroaderThanTarget`.\nThe mappings for `Provenance.location` do not cover the following types based on type expansion: display, reference.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR DSTU2 element `Provenance.location` with unmapped reference targets: Location." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/alternate-reference|5.2.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/alternate-reference?version=5.2.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.location.reference" ] ;
fhir:path [ fhir:v "Provenance.location.reference" ] ;
fhir:short [ fhir:v "Literal reference, Relative, internal or absolute URL" ] ;
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 "0"^^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:l fhir:string         ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-2" ] [ fhir:v "ref-1" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.location.type" ] ;
fhir:path [ fhir:v "Provenance.location.type" ] ;
fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\") - must be a resource in resources" ] ;
fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ;
fhir:comment [ fhir:v "This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.type" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "uri"^^xsd:anyURI ;
fhir:l fhir:uri         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "FHIRResourceTypeExt"           ]         ] ) ;
fhir:strength [ fhir:v "extensible" ] ;
fhir:description [ fhir:v "Aa resource (or, for logical models, the URI of the logical model)." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/resource-types|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/resource-types?version=5.0.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.location.identifier" ] ;
fhir:path [ fhir:v "Provenance.location.identifier" ] ;
fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ;
fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents 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.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).\n\nThis element only allows for a single identifier. In the case where additional identifers are required, use the [http://hl7.org/fhir/StructureDefinition/additionalIdentifier](http://hl7.org/fhir/extensions/StructureDefinition-additionalIdentifier.html) extension." ] ;
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:l fhir:Identifier         ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-2" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".identifier" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.location.display" ] ;
      ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable>         ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true         ]       ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable>         ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true         ]       ] ) ;
fhir:path [ fhir:v "Provenance.location.display" ] ;
fhir:short [ fhir:v "Text alternative for the 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:l fhir:string         ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-2" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.authorization" ] ;
fhir:path [ fhir:v "Provenance.authorization" ] ;
fhir:short [ fhir:v "Authorization (purposeOfUse) related to the event" ] ;
fhir:definition [ fhir:v "The authorization (e.g., PurposeOfUse) that was used during the event being recorded." ] ;
fhir:requirements [ fhir:v "Record of any relevant security context, not restricted to purposeOfUse valueSet. May include security compartments, refrain, obligation, or other security tags." ] ;
      ( fhir:alias [ fhir:v "PurposeOfEvent" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.authorization" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "CodeableReference"^^xsd:anyURI ;
fhir:l fhir:CodeableReference         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "ProvenanceReason"           ]         ] ) ;
fhir:strength [ fhir:v "example" ] ;
fhir:description [ fhir:v "The authorized purposeOfUse for the activity." ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-PurposeOfUse|3.1.0"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/ValueSet/v3-PurposeOfUse?version=3.1.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Event.reason" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.why[x]" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "unique(./reasonCode)" ]       ] [
fhir:identity [ fhir:v "fhirauditevent" ] ;
fhir:map [ fhir:v "AuditEvent.purposeOfEvent" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Activity.Activity" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.activity" ] ;
fhir:path [ fhir:v "Provenance.activity" ] ;
fhir:short [ fhir:v "Activity that occurred" ] ;
fhir:definition [ fhir:v "An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.activity" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "CodeableConcept"^^xsd:anyURI ;
fhir:l fhir:CodeableConcept         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "ProvenanceActivity"           ]         ] ) ;
fhir:strength [ fhir:v "example" ] ;
fhir:description [ fhir:v "The activity that took place." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/provenance-activity-type|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/provenance-activity-type?version=5.0.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Event.code" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.why[x]" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Act.code" ]       ] [
fhir:identity [ fhir:v "fhirauditevent" ] ;
fhir:map [ fhir:v "AuditEvent.code" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Activity.Activity" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.basedOn" ] ;
fhir:path [ fhir:v "Provenance.basedOn" ] ;
fhir:short [ fhir:v "Workflow authorization within which this event occurred" ] ;
fhir:definition [ fhir:v "Allows tracing of authorizatino for the events and tracking whether proposals/recommendations were acted upon." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.basedOn" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/CarePlan|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/CarePlan?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/DeviceRequest|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/DeviceRequest?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/MedicationRequest?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/NutritionOrder|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/NutritionOrder?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/ServiceRequest|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/ServiceRequest?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Task|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Task?version=5.0.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Event.code" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.why[x]" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Act.code" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Activity.Activity" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.patient" ] ;
fhir:path [ fhir:v "Provenance.patient" ] ;
fhir:short [ fhir:v "The patient is the subject of the data created/updated (.target) by the activity" ] ;
fhir:definition [ fhir:v "The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity." ] ;
fhir:requirements [ fhir:v "When the .patient is populated it shall be accurate to the subject of the target data. The .patient shall not be populated when the target data created/updated (.target) by the activity does not involve a subject. Note that when the patient is an agent, they will be recorded as an agent. When the Patient resource is Created, Updated, or Deleted it will be recorded as an entity." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.patient" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?version=5.0.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Event.subject" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.subject[x]" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "participation[typeCode=RTGT]" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Entity.Identity" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.encounter" ] ;
fhir:path [ fhir:v "Provenance.encounter" ] ;
fhir:short [ fhir:v "Encounter within which this event occurred or which the event is tightly associated" ] ;
fhir:definition [ fhir:v "This will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.encounter" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Encounter|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Encounter?version=5.0.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Event.code" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.why[x]" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Act.code" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Activity.Activity" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.agent" ] ;
fhir:path [ fhir:v "Provenance.agent" ] ;
fhir:short [ fhir:v "Actor involved" ] ;
fhir:definition [ fhir:v "An actor taking a role in an activity  for which it can be assigned some degree of responsibility for the activity taking place." ] ;
fhir:comment [ fhir:v "Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa." ] ;
fhir:requirements [ fhir:v "An agent can be a person, an organization, software, device, or other entities that may be ascribed responsibility." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.agent" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "BackboneElement"^^xsd:anyURI ;
fhir:l fhir:BackboneElement         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "prov-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Who and onBehalfOf cannot be the same" ] ;
fhir:expression [ fhir:v "who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Provenance|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Provenance?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "prov-2" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner" ] ;
fhir:expression [ fhir:v "who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Provenance|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Provenance?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "prov-3" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "If who is an organization, onBehalfOf can't be a PractitionerRole within that organization" ] ;
fhir:expression [ fhir:v "who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Provenance|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Provenance?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Event.performer" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.who" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./participation[isNormalParticipation()]  OR  ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']" ]       ] [
fhir:identity [ fhir:v "fhirauditevent" ] ;
fhir:map [ fhir:v "AuditEvent.agent" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Agent" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.id" ] ;
fhir:path [ fhir:v "Provenance.agent.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
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:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "string"^^xsd:anyURI ;
fhir:l fhir:string           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.extension" ] ;
fhir:path [ fhir:v "Provenance.agent.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
fhir:min [ fhir:v "2"^^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:l fhir:Extension         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.agent.extension:userId" ] ;
fhir:path [ fhir:v "Provenance.agent.extension" ] ;
fhir:sliceName [ fhir:v "userId" ] ;
fhir:short [ fhir:v "DSTU2: Authorization-system identifier for the agent (new)" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.agent.userId` (new:Identifier)" ] ;
fhir:comment [ fhir:v "Element `Provenance.agent.userId` has a context of Provenance.agent based on following the parent source element upwards and mapping to `Provenance`.\nElement `Provenance.agent.userId` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.userId|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.userId?version=0.1.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.agent.extension:type" ] ;
fhir:path [ fhir:v "Provenance.agent.extension" ] ;
fhir:sliceName [ fhir:v "type" ] ;
fhir:short [ fhir:v "DSTU2: Type of relationship between agents (new)" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.agent.relatedAgent.type` (new:CodeableConcept)" ] ;
fhir:comment [ fhir:v "Element `Provenance.agent.relatedAgent.type` has a context of Provenance.agent based on following the parent source element upwards and mapping to `Provenance`.\nElement `Provenance.agent.relatedAgent.type` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.relatedAgent.type|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.relatedAgent.type?version=0.1.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.agent.extension:target" ] ;
fhir:path [ fhir:v "Provenance.agent.extension" ] ;
fhir:sliceName [ fhir:v "target" ] ;
fhir:short [ fhir:v "DSTU2: Reference to other agent in this resource by identifier (new)" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.agent.relatedAgent.target` (new:uri)" ] ;
fhir:comment [ fhir:v "Element `Provenance.agent.relatedAgent.target` has a context of Provenance.agent based on following the parent source element upwards and mapping to `Provenance`.\nElement `Provenance.agent.relatedAgent.target` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).\nThe uri has the form #[id] where [id] is on another Provenance.agent in this same resource." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.relatedAgent.target|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.relatedAgent.target?version=0.1.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.agent.modifierExtension" ] ;
fhir:path [ fhir:v "Provenance.agent.modifierExtension" ] ;
fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
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:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)." ] ;
      ( 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:l fhir:Extension         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v true ] ;
fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.type" ] ;
fhir:path [ fhir:v "Provenance.agent.type" ] ;
fhir:short [ fhir:v "How the agent participated" ] ;
fhir:definition [ fhir:v "The Functional Role of the agent with respect to the activity." ] ;
fhir:comment [ fhir:v "For example: assembler, author, prescriber, signer, investigator, etc." ] ;
fhir:requirements [ fhir:v "Functional roles reflect functional aspects of relationships between entities. Functional roles are bound to the realization/performance of acts, where actions might be concatenated to an activity or even to a process. This element will hold the functional role that the agent played in the activity that is the focus of this Provenance. Where an agent played multiple functional roles, they will be listed as multiple .agent elements representing each functional participation. See ISO 21298:2018 - Health Informatics - Functional and structural roles, and ISO 22600-2:2014 - Health Informatics - Privilege Management and Access Control - Part 2: formal models." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.agent.type" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "CodeableConcept"^^xsd:anyURI ;
fhir:l fhir:CodeableConcept         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "ProvenanceAgentType"           ]         ] ) ;
fhir:strength [ fhir:v "example" ] ;
fhir:description [ fhir:v "The type of participation that a provenance agent played with respect to the activity." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/participation-role-type|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/participation-role-type?version=5.0.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Event.performer.function" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".role" ]       ] [
fhir:identity [ fhir:v "fhirauditevent" ] ;
fhir:map [ fhir:v "AuditEvent.agent.type" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Agent.Attribution" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.role" ] ;
fhir:path [ fhir:v "Provenance.agent.role" ] ;
fhir:short [ fhir:v "What the agents role was" ] ;
fhir:definition [ fhir:v "The structural roles of the agent indicating the agent's competency. The security role enabling the agent with respect to the activity." ] ;
fhir:comment [ fhir:v "For example: Chief-of-Radiology, Nurse, Physician, Medical-Student, etc." ] ;
fhir:requirements [ fhir:v "Structural roles reflect the structural aspects of relationships between entities. Structural roles describe prerequisites, feasibilities, or competences for acts. Functional roles reflect functional aspects of relationships between entities. Functional roles are bound to the realization/performance of acts, where actions might be concatenated to an activity or even to a process. See ISO 21298:2018 - Health Informatics - Functional and structural roles, and ISO 22600-2:2014 - Health Informatics - Privilege Management and Access Control - Part 2: formal models.." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.agent.role" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "CodeableConcept"^^xsd:anyURI ;
fhir:l fhir:CodeableConcept         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "ProvenanceAgentRole"           ]         ] ) ;
fhir:strength [ fhir:v "example" ] ;
fhir:description [ fhir:v "The role that a provenance agent played with respect to the activity." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/security-role-type|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/security-role-type?version=5.0.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".typecode" ]       ] [
fhir:identity [ fhir:v "fhirauditevent" ] ;
fhir:map [ fhir:v "AuditEvent.agent.role" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.who" ] ;
fhir:path [ fhir:v "Provenance.agent.who" ] ;
fhir:short [ fhir:v "The agent that participated in the event" ] ;
fhir:definition [ fhir:v "Indicates who or what performed in the event." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.agent.who" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Practitioner?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/PractitionerRole?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/CareTeam|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/CareTeam?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Device|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Device?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/RelatedPerson?version=5.0.0>         ] )       ] ) ;
      ( fhir:condition [ fhir:v "prov-1" ] [ fhir:v "prov-2" ] [ fhir:v "prov-3" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "workflow" ] ;
fhir:map [ fhir:v "Event.performer.actor" ]       ] [
fhir:identity [ fhir:v "w5" ] ;
fhir:map [ fhir:v "FiveWs.actor" ]       ] [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".id" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.who.id" ] ;
fhir:path [ fhir:v "Provenance.agent.who.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
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:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "id"^^xsd:anyURI ;
fhir:l fhir:id           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.who.extension" ] ;
fhir:path [ fhir:v "Provenance.agent.who.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:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
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:l fhir:Extension         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.agent.who.extension:actor" ] ;
fhir:path [ fhir:v "Provenance.agent.who.extension" ] ;
fhir:sliceName [ fhir:v "actor" ] ;
fhir:short [ fhir:v "DSTU2: Individual, device or organization playing role" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.agent.actor`" ] ;
fhir:comment [ fhir:v "Element `Provenance.agent.actor` is mapped to FHIR R5 element `Provenance.agent.who` as `RelatedTo`.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR DSTU2 element `Provenance.agent.actor` with unmapped reference targets: Device, Organization, Patient, Practitioner, RelatedPerson." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/alternate-reference|5.2.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/alternate-reference?version=5.2.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.agent.who.reference" ] ;
fhir:path [ fhir:v "Provenance.agent.who.reference" ] ;
fhir:short [ fhir:v "Literal reference, Relative, internal or absolute URL" ] ;
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 "0"^^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:l fhir:string         ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-2" ] [ fhir:v "ref-1" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.who.type" ] ;
fhir:path [ fhir:v "Provenance.agent.who.type" ] ;
fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\") - must be a resource in resources" ] ;
fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ;
fhir:comment [ fhir:v "This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.type" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "uri"^^xsd:anyURI ;
fhir:l fhir:uri         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "FHIRResourceTypeExt"           ]         ] ) ;
fhir:strength [ fhir:v "extensible" ] ;
fhir:description [ fhir:v "Aa resource (or, for logical models, the URI of the logical model)." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/resource-types|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/resource-types?version=5.0.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.who.identifier" ] ;
fhir:path [ fhir:v "Provenance.agent.who.identifier" ] ;
fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ;
fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents 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.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).\n\nThis element only allows for a single identifier. In the case where additional identifers are required, use the [http://hl7.org/fhir/StructureDefinition/additionalIdentifier](http://hl7.org/fhir/extensions/StructureDefinition-additionalIdentifier.html) extension." ] ;
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:l fhir:Identifier         ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-2" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".identifier" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.who.display" ] ;
      ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable>         ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true         ]       ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable>         ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true         ]       ] ) ;
fhir:path [ fhir:v "Provenance.agent.who.display" ] ;
fhir:short [ fhir:v "Text alternative for the 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:l fhir:string         ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-2" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.onBehalfOf" ] ;
fhir:path [ fhir:v "Provenance.agent.onBehalfOf" ] ;
fhir:short [ fhir:v "The agent that delegated" ] ;
fhir:definition [ fhir:v "The agent that delegated authority to perform the activity performed by the agent.who element." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.agent.onBehalfOf" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Practitioner?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/PractitionerRole?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/CareTeam|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/CareTeam?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?version=5.0.0>         ] )       ] ) ;
      ( fhir:condition [ fhir:v "prov-1" ] [ fhir:v "prov-2" ] [ fhir:v "prov-3" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.entity" ] ;
fhir:path [ fhir:v "Provenance.entity" ] ;
fhir:short [ fhir:v "An entity used in this activity" ] ;
fhir:definition [ fhir:v "An entity used in this activity." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.entity" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "BackboneElement"^^xsd:anyURI ;
fhir:l fhir:BackboneElement         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./subjectOf" ]       ] [
fhir:identity [ fhir:v "fhirauditevent" ] ;
fhir:map [ fhir:v "AuditEvent.entity" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Entity" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.entity.id" ] ;
fhir:path [ fhir:v "Provenance.entity.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
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:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "string"^^xsd:anyURI ;
fhir:l fhir:string           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.entity.extension" ] ;
fhir:path [ fhir:v "Provenance.entity.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
fhir:min [ fhir:v "1"^^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:l fhir:Extension         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.entity.extension:type" ] ;
fhir:path [ fhir:v "Provenance.entity.extension" ] ;
fhir:sliceName [ fhir:v "type" ] ;
fhir:short [ fhir:v "DSTU2: The type of resource in this entity (new)" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.entity.type` (new:Coding)" ] ;
fhir:comment [ fhir:v "Element `Provenance.entity.type` has a context of Provenance.entity based on following the parent source element upwards and mapping to `Provenance`.\nElement `Provenance.entity.type` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.type|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.type?version=0.1.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.entity.extension:display" ] ;
fhir:path [ fhir:v "Provenance.entity.extension" ] ;
fhir:sliceName [ fhir:v "display" ] ;
fhir:short [ fhir:v "DSTU2: Human description of entity (new)" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.entity.display` (new:string)" ] ;
fhir:comment [ fhir:v "Element `Provenance.entity.display` has a context of Provenance.entity based on following the parent source element upwards and mapping to `Provenance`.\nElement `Provenance.entity.display` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.display|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.display?version=0.1.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.entity.modifierExtension" ] ;
fhir:path [ fhir:v "Provenance.entity.modifierExtension" ] ;
fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
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:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)." ] ;
      ( 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:l fhir:Extension         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v true ] ;
fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.entity.role" ] ;
fhir:path [ fhir:v "Provenance.entity.role" ] ;
fhir:short [ fhir:v "revision | quotation | source | instantiates | removal" ] ;
fhir:definition [ fhir:v "How the entity was used during the activity." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.entity.role" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "code"^^xsd:anyURI ;
fhir:l fhir:code         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "ProvenanceEntityRole"           ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "How an entity was used in an activity." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/provenance-entity-role|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/provenance-entity-role?version=5.0.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./typeCode" ]       ] [
fhir:identity [ fhir:v "fhirauditevent" ] ;
fhir:map [ fhir:v "AuditEvent.entity.role" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Entity.role" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.entity.role.id" ] ;
fhir:path [ fhir:v "Provenance.entity.role.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)" ] ;
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:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "string"^^xsd:anyURI ;
fhir:l fhir:string           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.entity.role.extension" ] ;
fhir:path [ fhir:v "Provenance.entity.role.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
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:l fhir:Extension         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.entity.role.extension:role" ] ;
fhir:path [ fhir:v "Provenance.entity.role.extension" ] ;
fhir:sliceName [ fhir:v "role" ] ;
fhir:short [ fhir:v "DSTU2: derivation | revision | quotation | source additional codes" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.entity.role` additional codes" ] ;
fhir:comment [ fhir:v "Element `Provenance.entity.role` is mapped to FHIR R5 element `Provenance.entity.role` as `RelatedTo`.\nThe mappings for `Provenance.entity.role` do not allow expression of the necessary codes, per the bindings on the source and target." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.role|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.role?version=0.1.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.entity.role.value" ] ;
fhir:path [ fhir:v "Provenance.entity.role.value" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Primitive value for code" ] ;
fhir:definition [ fhir:v "Primitive value for code" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "string.value" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "code"^^xsd:anyURI ;
fhir:l fhir:code           ]         ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/regex"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/regex>           ] ;
fhir:value [
a fhir:String ;
fhir:v "[^\\s]+( [^\\s]+)*"           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.entity.what" ] ;
fhir:path [ fhir:v "Provenance.entity.what" ] ;
fhir:short [ fhir:v "Identity of entity" ] ;
fhir:definition [ fhir:v "Identity of the  Entity used. May be a logical or physical uri and maybe absolute or relative." ] ;
fhir:comment [ fhir:v "whatIdentity should be used for entities that are not a Resource type." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.entity.what" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Resource|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Resource?version=5.0.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./text/reference" ]       ] [
fhir:identity [ fhir:v "fhirauditevent" ] ;
fhir:map [ fhir:v "AuditEvent.entity.reference" ]       ] [
fhir:identity [ fhir:v "w3c.prov" ] ;
fhir:map [ fhir:v "Entity.Identity" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.entity.what.id" ] ;
fhir:path [ fhir:v "Provenance.entity.what.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
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:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "id"^^xsd:anyURI ;
fhir:l fhir:id           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.entity.what.extension" ] ;
fhir:path [ fhir:v "Provenance.entity.what.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:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
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:l fhir:Extension         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.entity.what.extension:reference" ] ;
fhir:path [ fhir:v "Provenance.entity.what.extension" ] ;
fhir:sliceName [ fhir:v "reference" ] ;
fhir:short [ fhir:v "DSTU2: reference additional types" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.entity.reference` additional types (uri) additional types from child elements (value)" ] ;
fhir:comment [ fhir:v "Element `Provenance.entity.reference` is mapped to FHIR R5 element `Provenance.entity.what` as `SourceIsBroaderThanTarget`.\nThe mappings for `Provenance.entity.reference` do not cover the following types: uri.\nThe mappings for `Provenance.entity.reference` do not cover the following types based on type expansion: value.\nIdentity may be a reference to a resource or to something else, depending on the type." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.reference|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.reference?version=0.1.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.entity.what.reference" ] ;
fhir:path [ fhir:v "Provenance.entity.what.reference" ] ;
fhir:short [ fhir:v "Literal reference, Relative, internal or absolute URL" ] ;
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 "0"^^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:l fhir:string         ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-2" ] [ fhir:v "ref-1" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.entity.what.type" ] ;
fhir:path [ fhir:v "Provenance.entity.what.type" ] ;
fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\") - must be a resource in resources" ] ;
fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ;
fhir:comment [ fhir:v "This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Reference.type" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "uri"^^xsd:anyURI ;
fhir:l fhir:uri         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "FHIRResourceTypeExt"           ]         ] ) ;
fhir:strength [ fhir:v "extensible" ] ;
fhir:description [ fhir:v "Aa resource (or, for logical models, the URI of the logical model)." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/resource-types|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/resource-types?version=5.0.0>         ]       ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.entity.what.identifier" ] ;
fhir:path [ fhir:v "Provenance.entity.what.identifier" ] ;
fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ;
fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents 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.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).\n\nThis element only allows for a single identifier. In the case where additional identifers are required, use the [http://hl7.org/fhir/StructureDefinition/additionalIdentifier](http://hl7.org/fhir/extensions/StructureDefinition-additionalIdentifier.html) extension." ] ;
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:l fhir:Identifier         ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-2" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v ".identifier" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.entity.what.display" ] ;
      ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable>         ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true         ]       ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable>         ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true         ]       ] ) ;
fhir:path [ fhir:v "Provenance.entity.what.display" ] ;
fhir:short [ fhir:v "Text alternative for the 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:l fhir:string         ]       ] ) ;
      ( fhir:condition [ fhir:v "ref-2" ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.entity.agent" ] ;
fhir:path [ fhir:v "Provenance.entity.agent" ] ;
fhir:short [ fhir:v "Entity is attributed to this agent" ] ;
fhir:definition [ fhir:v "The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which used the entity." ] ;
fhir:comment [ fhir:v "A usecase where one Provenance.entity.agent is used where the Entity that was used in the creation/updating of the Target, is not in the context of the same custodianship as the Target, and thus the meaning of Provenance.entity.agent is to say that the entity referenced is managed elsewhere and that this Agent provided access to it.  This would be similar to where the Entity being referenced is managed outside FHIR, such as through HL7 V2, v3, or XDS. This might be where the Entity being referenced is managed in another FHIR resource server. Thus it explains the Provenance of that Entity's use in the context of this Provenance activity." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.entity.agent" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
fhir:contentReference [
fhir:v "http://hl7.org/fhir/StructureDefinition/Provenance#Provenance.agent"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Provenance#Provenance.agent>       ] ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./author/role" ]       ] [
fhir:identity [ fhir:v "fhirauditevent" ] ;
fhir:map [ fhir:v "AuditEvent.entity.agent" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.signature" ] ;
fhir:path [ fhir:v "Provenance.signature" ] ;
fhir:short [ fhir:v "Signature on target" ] ;
fhir:definition [ fhir:v "A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Provenance.signature" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Signature"^^xsd:anyURI ;
fhir:l fhir:Signature         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:mustSupport [ fhir:v false ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "./signatureText" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.signature.id" ] ;
fhir:path [ fhir:v "Provenance.signature.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
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:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "id"^^xsd:anyURI ;
fhir:l fhir:id           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Provenance.signature.extension" ] ;
fhir:path [ fhir:v "Provenance.signature.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:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
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:l fhir:Extension         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.signature.extension:signature" ] ;
fhir:path [ fhir:v "Provenance.signature.extension" ] ;
fhir:sliceName [ fhir:v "signature" ] ;
fhir:short [ fhir:v "DSTU2: signature additional types" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.signature` additional types (Signature) additional types from child elements (blob, contentType, type, when, who[x])" ] ;
fhir:comment [ fhir:v "Element `Provenance.signature` is mapped to FHIR R5 element `Provenance.signature` as `SourceIsBroaderThanTarget`.\nThe mappings for `Provenance.signature` do not cover the following types: Signature.\nThe mappings for `Provenance.signature` do not cover the following types based on type expansion: blob, contentType, type, when, who[x]." ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.signature|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.signature?version=0.1.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Provenance.signature.type" ] ;
fhir:path [ fhir:v "Provenance.signature.type" ] ;
fhir:short [ fhir:v "Indication of the reason the entity signed the object(s)" ] ;
fhir:definition [ fhir:v "An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document." ] ;
fhir:comment [ fhir:v "Examples include attesting to: authorship, correct transcription, and witness of specific event. Also known as a &quot;Commitment Type Indication&quot;." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Signature.type" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Coding"^^xsd:anyURI ;
fhir:l fhir:Coding         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "SignatureType"           ]         ] ) ;
fhir:strength [ fhir:v "preferred" ] ;
fhir:description [ fhir:v "An indication of the reason that an entity signed the object." ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/signature-type|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/signature-type?version=5.0.0>         ]       ]     ] [
fhir:id [ fhir:v "Provenance.signature.when" ] ;
fhir:path [ fhir:v "Provenance.signature.when" ] ;
fhir:short [ fhir:v "When the signature was created" ] ;
fhir:definition [ fhir:v "When the digital signature was signed." ] ;
fhir:comment [ fhir:v "This should agree with the information in the signature." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Signature.when" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "instant"^^xsd:anyURI ;
fhir:l fhir:instant         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ]     ] [
fhir:id [ fhir:v "Provenance.signature.who" ] ;
fhir:path [ fhir:v "Provenance.signature.who" ] ;
fhir:short [ fhir:v "Who signed" ] ;
fhir:definition [ fhir:v "A reference to an application-usable description of the identity that signed  (e.g. the signature used their private key)." ] ;
fhir:comment [ fhir:v "This should agree with the information in the signature." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Signature.who" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Practitioner?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/PractitionerRole?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/RelatedPerson?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Device|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Device?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=5.0.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ]     ] [
fhir:id [ fhir:v "Provenance.signature.onBehalfOf" ] ;
fhir:path [ fhir:v "Provenance.signature.onBehalfOf" ] ;
fhir:short [ fhir:v "The party represented" ] ;
fhir:definition [ fhir:v "A reference to an application-usable description of the identity that is represented by the signature." ] ;
fhir:comment [ fhir:v "The party that can't sign. For example a child." ] ;
fhir:requirements [ fhir:v "used when the signature is on behalf of a non-signer." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Signature.onBehalfOf" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ] ;
        ( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Practitioner?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/PractitionerRole?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/RelatedPerson?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Device|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Device?version=5.0.0>         ] [
fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=5.0.0>         ] )       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v true ]     ] [
fhir:id [ fhir:v "Provenance.signature.targetFormat" ] ;
fhir:path [ fhir:v "Provenance.signature.targetFormat" ] ;
fhir:short [ fhir:v "The technical format of the signed resources" ] ;
fhir:definition [ fhir:v "A mime type that indicates the technical format of the target resources signed by the signature." ] ;
fhir:comment [ fhir:v "\"xml\", \"json\" and \"ttl\" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Signature.targetFormat" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "code"^^xsd:anyURI ;
fhir:l fhir:code         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "MimeType"           ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/mimetypes?version=5.0.0>         ]       ]     ] [
fhir:id [ fhir:v "Provenance.signature.sigFormat" ] ;
fhir:path [ fhir:v "Provenance.signature.sigFormat" ] ;
fhir:short [ fhir:v "The technical format of the signature" ] ;
fhir:definition [ fhir:v "A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Signature.sigFormat" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "code"^^xsd:anyURI ;
fhir:l fhir:code         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
fhir:binding [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
fhir:value [
a fhir:String ;
fhir:v "MimeType"           ]         ] ) ;
fhir:strength [ fhir:v "required" ] ;
fhir:description [ fhir:v "BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/ValueSet/mimetypes?version=5.0.0>         ]       ]     ] [
fhir:id [ fhir:v "Provenance.signature.data" ] ;
fhir:path [ fhir:v "Provenance.signature.data" ] ;
fhir:short [ fhir:v "The actual signature content (XML DigSig. JWS, picture, etc.)" ] ;
fhir:definition [ fhir:v "The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty." ] ;
fhir:comment [ fhir:v "Where the signature type is an XML DigSig, the signed content is a FHIR Resource(s), the signature is of the XML form of the Resource(s) using  XML-Signature (XMLDIG) \"Detached Signature\" form." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Signature.data" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "base64Binary"^^xsd:anyURI ;
fhir:l fhir:base64Binary         ]       ] ) ;
      ( 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() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element|5.0.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=5.0.0>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "Provenance" ] ;
fhir:path [ fhir:v "Provenance" ]     ] [
fhir:id [ fhir:v "Provenance.meta.extension" ] ;
fhir:path [ fhir:v "Provenance.meta.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]     ] [
fhir:id [ fhir:v "Provenance.meta.extension:meta" ] ;
fhir:path [ fhir:v "Provenance.meta.extension" ] ;
fhir:sliceName [ fhir:v "meta" ] ;
fhir:short [ fhir:v "DSTU2: meta additional types" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.meta` additional types (Meta) additional types from child elements (lastUpdated, profile, security, tag, versionId)" ] ;
fhir:comment [ fhir:v "Element `Provenance.meta` is mapped to FHIR R5 element `Provenance.meta` as `SourceIsBroaderThanTarget`.\nThe mappings for `Provenance.meta` do not cover the following types: Meta.\nThe mappings for `Provenance.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.meta|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.meta?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "Provenance.text.extension" ] ;
fhir:path [ fhir:v "Provenance.text.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]     ] [
fhir:id [ fhir:v "Provenance.text.extension:text" ] ;
fhir:path [ fhir:v "Provenance.text.extension" ] ;
fhir:sliceName [ fhir:v "text" ] ;
fhir:short [ fhir:v "DSTU2: text additional types" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.text` additional types (Narrative) additional types from child elements (div, status)" ] ;
fhir:comment [ fhir:v "Element `Provenance.text` is mapped to FHIR R5 element `Provenance.text` as `SourceIsBroaderThanTarget`.\nThe mappings for `Provenance.text` do not cover the following types: Narrative.\nThe mappings for `Provenance.text` do not cover the following types based on type expansion: div, status.\nContained resources do not have narrative. Resources that are not contained SHOULD have a narrative." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.text|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.text?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "Provenance.target.extension" ] ;
fhir:path [ fhir:v "Provenance.target.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]     ] [
fhir:id [ fhir:v "Provenance.target.extension:target" ] ;
fhir:path [ fhir:v "Provenance.target.extension" ] ;
fhir:sliceName [ fhir:v "target" ] ;
fhir:short [ fhir:v "DSTU2: target additional types" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.target` additional types from child elements (display, reference)" ] ;
fhir:comment [ fhir:v "Element `Provenance.target` is mapped to FHIR R5 element `Provenance.target` as `SourceIsBroaderThanTarget`.\nThe mappings for `Provenance.target` do not cover the following types based on type expansion: display, reference.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR DSTU2 element `Provenance.target` with unmapped reference targets: Resource.\nTarget references are usually version specific, but may not be, if a version has not been assigned or if the provenance information is part of the set of resources being maintained (i.e. a document). When using the RESTful API, the identity of the resource may not be known (especially not the version specific one); the client may either submit the resource first, and then the provenance, or it may submit both using a single transaction. See the notes on transaction for further discussion." ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/alternate-reference|5.2.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/alternate-reference?version=5.2.0>         ] )       ] )     ] [
fhir:id [ fhir:v "Provenance.location.extension" ] ;
fhir:path [ fhir:v "Provenance.location.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]     ] [
fhir:id [ fhir:v "Provenance.location.extension:location" ] ;
fhir:path [ fhir:v "Provenance.location.extension" ] ;
fhir:sliceName [ fhir:v "location" ] ;
fhir:short [ fhir:v "DSTU2: location additional types" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.location` additional types from child elements (display, reference)" ] ;
fhir:comment [ fhir:v "Element `Provenance.location` is mapped to FHIR R5 element `Provenance.location` as `SourceIsBroaderThanTarget`.\nThe mappings for `Provenance.location` do not cover the following types based on type expansion: display, reference.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR DSTU2 element `Provenance.location` with unmapped reference targets: Location." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/alternate-reference|5.2.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/alternate-reference?version=5.2.0>         ] )       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.extension" ] ;
fhir:path [ fhir:v "Provenance.agent.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:min [ fhir:v "2"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]     ] [
fhir:id [ fhir:v "Provenance.agent.extension:userId" ] ;
fhir:path [ fhir:v "Provenance.agent.extension" ] ;
fhir:sliceName [ fhir:v "userId" ] ;
fhir:short [ fhir:v "DSTU2: Authorization-system identifier for the agent (new)" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.agent.userId` (new:Identifier)" ] ;
fhir:comment [ fhir:v "Element `Provenance.agent.userId` has a context of Provenance.agent based on following the parent source element upwards and mapping to `Provenance`.\nElement `Provenance.agent.userId` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.userId|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.userId?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.extension:type" ] ;
fhir:path [ fhir:v "Provenance.agent.extension" ] ;
fhir:sliceName [ fhir:v "type" ] ;
fhir:short [ fhir:v "DSTU2: Type of relationship between agents (new)" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.agent.relatedAgent.type` (new:CodeableConcept)" ] ;
fhir:comment [ fhir:v "Element `Provenance.agent.relatedAgent.type` has a context of Provenance.agent based on following the parent source element upwards and mapping to `Provenance`.\nElement `Provenance.agent.relatedAgent.type` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.relatedAgent.type|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.relatedAgent.type?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.extension:target" ] ;
fhir:path [ fhir:v "Provenance.agent.extension" ] ;
fhir:sliceName [ fhir:v "target" ] ;
fhir:short [ fhir:v "DSTU2: Reference to other agent in this resource by identifier (new)" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.agent.relatedAgent.target` (new:uri)" ] ;
fhir:comment [ fhir:v "Element `Provenance.agent.relatedAgent.target` has a context of Provenance.agent based on following the parent source element upwards and mapping to `Provenance`.\nElement `Provenance.agent.relatedAgent.target` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).\nThe uri has the form #[id] where [id] is on another Provenance.agent in this same resource." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.relatedAgent.target|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.agent.relatedAgent.target?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "Provenance.agent.who.extension" ] ;
fhir:path [ fhir:v "Provenance.agent.who.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]     ] [
fhir:id [ fhir:v "Provenance.agent.who.extension:actor" ] ;
fhir:path [ fhir:v "Provenance.agent.who.extension" ] ;
fhir:sliceName [ fhir:v "actor" ] ;
fhir:short [ fhir:v "DSTU2: Individual, device or organization playing role" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.agent.actor`" ] ;
fhir:comment [ fhir:v "Element `Provenance.agent.actor` is mapped to FHIR R5 element `Provenance.agent.who` as `RelatedTo`.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR DSTU2 element `Provenance.agent.actor` with unmapped reference targets: Device, Organization, Patient, Practitioner, RelatedPerson." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/alternate-reference|5.2.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/alternate-reference?version=5.2.0>         ] )       ] )     ] [
fhir:id [ fhir:v "Provenance.entity.extension" ] ;
fhir:path [ fhir:v "Provenance.entity.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]     ] [
fhir:id [ fhir:v "Provenance.entity.extension:type" ] ;
fhir:path [ fhir:v "Provenance.entity.extension" ] ;
fhir:sliceName [ fhir:v "type" ] ;
fhir:short [ fhir:v "DSTU2: The type of resource in this entity (new)" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.entity.type` (new:Coding)" ] ;
fhir:comment [ fhir:v "Element `Provenance.entity.type` has a context of Provenance.entity based on following the parent source element upwards and mapping to `Provenance`.\nElement `Provenance.entity.type` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.type|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.type?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "Provenance.entity.extension:display" ] ;
fhir:path [ fhir:v "Provenance.entity.extension" ] ;
fhir:sliceName [ fhir:v "display" ] ;
fhir:short [ fhir:v "DSTU2: Human description of entity (new)" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.entity.display` (new:string)" ] ;
fhir:comment [ fhir:v "Element `Provenance.entity.display` has a context of Provenance.entity based on following the parent source element upwards and mapping to `Provenance`.\nElement `Provenance.entity.display` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.display|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.display?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "Provenance.entity.role.extension" ] ;
fhir:path [ fhir:v "Provenance.entity.role.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]     ] [
fhir:id [ fhir:v "Provenance.entity.role.extension:role" ] ;
fhir:path [ fhir:v "Provenance.entity.role.extension" ] ;
fhir:sliceName [ fhir:v "role" ] ;
fhir:short [ fhir:v "DSTU2: derivation | revision | quotation | source additional codes" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.entity.role` additional codes" ] ;
fhir:comment [ fhir:v "Element `Provenance.entity.role` is mapped to FHIR R5 element `Provenance.entity.role` as `RelatedTo`.\nThe mappings for `Provenance.entity.role` do not allow expression of the necessary codes, per the bindings on the source and target." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.role|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.role?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "Provenance.entity.what.extension" ] ;
fhir:path [ fhir:v "Provenance.entity.what.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]     ] [
fhir:id [ fhir:v "Provenance.entity.what.extension:reference" ] ;
fhir:path [ fhir:v "Provenance.entity.what.extension" ] ;
fhir:sliceName [ fhir:v "reference" ] ;
fhir:short [ fhir:v "DSTU2: reference additional types" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.entity.reference` additional types (uri) additional types from child elements (value)" ] ;
fhir:comment [ fhir:v "Element `Provenance.entity.reference` is mapped to FHIR R5 element `Provenance.entity.what` as `SourceIsBroaderThanTarget`.\nThe mappings for `Provenance.entity.reference` do not cover the following types: uri.\nThe mappings for `Provenance.entity.reference` do not cover the following types based on type expansion: value.\nIdentity may be a reference to a resource or to something else, depending on the type." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.reference|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.entity.reference?version=0.1.0>         ] )       ] )     ] [
fhir:id [ fhir:v "Provenance.signature.extension" ] ;
fhir:path [ fhir:v "Provenance.signature.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:ordered [ fhir:v false ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]     ] [
fhir:id [ fhir:v "Provenance.signature.extension:signature" ] ;
fhir:path [ fhir:v "Provenance.signature.extension" ] ;
fhir:sliceName [ fhir:v "signature" ] ;
fhir:short [ fhir:v "DSTU2: signature additional types" ] ;
fhir:definition [ fhir:v "DSTU2: `Provenance.signature` additional types (Signature) additional types from child elements (blob, contentType, type, when, who[x])" ] ;
fhir:comment [ fhir:v "Element `Provenance.signature` is mapped to FHIR R5 element `Provenance.signature` as `SourceIsBroaderThanTarget`.\nThe mappings for `Provenance.signature` do not cover the following types: Signature.\nThe mappings for `Provenance.signature` do not cover the following types based on type expansion: blob, contentType, type, when, who[x]." ] ;
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:l fhir:Extension         ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.signature|0.1.0"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/1.0/StructureDefinition/extension-Provenance.signature?version=0.1.0>         ] )       ] )     ] )
  ] . #