This page is part of the US Core (v2.0.0: STU2) based on FHIR R3. The current version which supercedes this version is 5.0.1. For a full list of available versions, see the Directory of published versions
Formats: Narrative, XML, JSON, Turtle
Download Raw json
{ "resourceType" : "StructureDefinition", "id" : "us-core-documentreference", "text" : { "status" : "generated", "div" : "<div xmlns="http://www.w3.org/1999/xhtml"><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Additional information about the element">Description & Constraints</a><span style="float: right"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/STU3/help16.png" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-us-core-documentreference-definitions.html#DocumentReference" title="This is a basic constraint on DocumentRefernce for use in the US Core IG.">DocumentReference</a><a name="DocumentReference"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.4">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">US Core DocumentReference Profile</td></tr> <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-us-core-documentreference-definitions.html#DocumentReference.identifier">identifier</a><a name="DocumentReference.identifier"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.4">0</span>..<span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr> <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-us-core-documentreference-definitions.html#DocumentReference.status">status</a><a name="DocumentReference.status"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.4">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="http://hl7.org/fhir/STU3/valueset-document-reference-status.html">DocumentReferenceStatus</a> (<a href="http://hl7.org/fhir/STU3/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr> <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-us-core-documentreference-definitions.html#DocumentReference.type">type</a><a name="DocumentReference.type"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.4">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="http://hl7.org/fhir/STU3/valueset-c80-doc-typecodes.html">Document Type Value Set</a> (<a href="http://hl7.org/fhir/STU3/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr> <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-us-core-documentreference-definitions.html#DocumentReference.subject">subject</a><a name="DocumentReference.subject"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-us-core-patient.html">US Core Patient Profile</a>)</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr> <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-us-core-documentreference-definitions.html#DocumentReference.created">created</a><a name="DocumentReference.created"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.4">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr> <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-us-core-documentreference-definitions.html#DocumentReference.indexed">indexed</a><a name="DocumentReference.indexed"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.4">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#instant">instant</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr> <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-us-core-documentreference-definitions.html#DocumentReference.content">content</a><a name="DocumentReference.content"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.4">1</span>..<span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr> <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-us-core-documentreference-definitions.html#DocumentReference.content.attachment">attachment</a><a name="DocumentReference.content.attachment"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.4">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#Attachment">Attachment</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr> <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1110.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.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-us-core-documentreference-definitions.html#DocumentReference.content.attachment.contentType">contentType</a><a name="DocumentReference.content.attachment.contentType"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr> <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1100.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_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-us-core-documentreference-definitions.html#DocumentReference.content.attachment.url">url</a><a name="DocumentReference.content.attachment.url"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr> <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-us-core-documentreference-definitions.html#DocumentReference.content.format">format</a><a name="DocumentReference.content.format"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.4">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#Coding">Coding</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="http://hl7.org/fhir/STU3/valueset-formatcodes.html">DocumentReference Format Code Set</a> (<a href="http://hl7.org/fhir/STU3/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.">extensible</a>)</td></tr> <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-us-core-documentreference-definitions.html#DocumentReference.context">context</a><a name="DocumentReference.context"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.4">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr> <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-us-core-documentreference-definitions.html#DocumentReference.context.encounter">encounter</a><a name="DocumentReference.context.encounter"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.4">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-us-core-encounter.html">US Core Encounter Profile</a>)</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr> <tr><td colspan="5" class="hierarchy"><br/><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/STU3/help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>" }, "url" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference", "version" : "2.0.0", "name" : "US Core DocumentReference Profile", "status" : "draft", "date" : "2017-12-10T00:00:00+11:00", "publisher" : "HL7 US Realm Steering Committee", "contact" : [ { "telecom" : [ { "system" : "url", "value" : "http://www.healthit.gov" } ] } ], "description" : "The document reference profile used in US Core.", "jurisdiction" : [ { "coding" : [ { "system" : "urn:iso:std:iso:3166", "code" : "US", "display" : "United States of America" } ] } ], "fhirVersion" : "3.0.1", "mapping" : [ { "identity" : "rim", "uri" : "http://hl7.org/v3", "name" : "RIM Mapping" }, { "identity" : "w5", "uri" : "http://hl7.org/fhir/w5", "name" : "W5 Mapping" }, { "identity" : "v2", "uri" : "http://hl7.org/v2", "name" : "HL7 v2 Mapping" }, { "identity" : "xds", "uri" : "http://ihe.net/xds", "name" : "XDS metadata equivalent" } ], "kind" : "resource", "abstract" : false, "type" : "DocumentReference", "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/DocumentReference", "derivation" : "constraint", "snapshot" : { "element" : [ { "id" : "DocumentReference", "path" : "DocumentReference", "short" : "US Core DocumentReference Profile", "definition" : "This is a basic constraint on DocumentRefernce for use in the US Core IG.", "comment" : "Usually, this is used for documents other than those defined by FHIR.", "min" : 0, "max" : "*", "base" : { "path" : "DocumentReference", "min" : 0, "max" : "*" }, "constraint" : [ { "key" : "dom-2", "severity" : "error", "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression" : "contained.contained.empty()", "xpath" : "not(parent::f:contained and f:contained)", "source" : "DomainResource" }, { "key" : "dom-1", "severity" : "error", "human" : "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression" : "contained.text.empty()", "xpath" : "not(parent::f:contained and f:text)", "source" : "DomainResource" }, { "key" : "dom-4", "severity" : "error", "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source" : "DomainResource" }, { "key" : "dom-3", "severity" : "error", "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "expression" : "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", "xpath" : "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source" : "DomainResource" } ], "mustSupport" : false, "mapping" : [ { "identity" : "rim", "map" : "Entity. Role, or Act" }, { "identity" : "rim", "map" : "Document[classCode="DOC" and moodCode="EVN"]" }, { "identity" : "w5", "map" : "infrastructure.documents" } ] }, { "id" : "DocumentReference.id", "path" : "DocumentReference.id", "short" : "Logical id of this artifact", "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "comment" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", "min" : 0, "max" : "1", "base" : { "path" : "Resource.id", "min" : 0, "max" : "1" }, "type" : [ { "code" : "id" } ], "isSummary" : true }, { "id" : "DocumentReference.meta", "path" : "DocumentReference.meta", "short" : "Metadata about the resource", "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.", "min" : 0, "max" : "1", "base" : { "path" : "Resource.meta", "min" : 0, "max" : "1" }, "type" : [ { "code" : "Meta" } ], "isSummary" : true }, { "id" : "DocumentReference.implicitRules", "path" : "DocumentReference.implicitRules", "short" : "A set of rules under which this content was created", "definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.", "comment" : "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. This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.", "min" : 0, "max" : "1", "base" : { "path" : "Resource.implicitRules", "min" : 0, "max" : "1" }, "type" : [ { "code" : "uri" } ], "isModifier" : true, "isSummary" : true }, { "id" : "DocumentReference.language", "path" : "DocumentReference.language", "short" : "Language of the resource content", "definition" : "The base language in which the resource is written.", "comment" : "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).", "min" : 0, "max" : "1", "base" : { "path" : "Resource.language", "min" : 0, "max" : "1" }, "type" : [ { "code" : "code" } ], "binding" : { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference" : { "reference" : "http://hl7.org/fhir/ValueSet/all-languages" } }, { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString" : "Language" }, { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean" : true } ], "strength" : "extensible", "description" : "A human language.", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/languages" } } }, { "id" : "DocumentReference.text", "path" : "DocumentReference.text", "short" : "Text summary of the resource, for human interpretation", "definition" : "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "comment" : "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later.", "alias" : [ "narrative", "html", "xhtml", "display" ], "min" : 0, "max" : "1", "base" : { "path" : "DomainResource.text", "min" : 0, "max" : "1" }, "type" : [ { "code" : "Narrative" } ], "condition" : [ "dom-1" ], "mapping" : [ { "identity" : "rim", "map" : "Act.text?" } ] }, { "id" : "DocumentReference.contained", "path" : "DocumentReference.contained", "short" : "Contained, inline Resources", "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", "comment" : "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.", "alias" : [ "inline resources", "anonymous resources", "contained resources" ], "min" : 0, "max" : "*", "base" : { "path" : "DomainResource.contained", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Resource" } ], "mapping" : [ { "identity" : "rim", "map" : "N/A" } ] }, { "id" : "DocumentReference.extension", "path" : "DocumentReference.extension", "short" : "Additional Content defined by implementations", "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment" : "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.", "alias" : [ "extensions", "user content" ], "min" : 0, "max" : "*", "base" : { "path" : "DomainResource.extension", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Extension" } ], "mapping" : [ { "identity" : "rim", "map" : "N/A" } ] }, { "id" : "DocumentReference.modifierExtension", "path" : "DocumentReference.modifierExtension", "short" : "Extensions that cannot be ignored", "definition" : "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comment" : "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.", "alias" : [ "extensions", "user content" ], "min" : 0, "max" : "*", "base" : { "path" : "DomainResource.modifierExtension", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Extension" } ], "isModifier" : true, "mapping" : [ { "identity" : "rim", "map" : "N/A" } ] }, { "id" : "DocumentReference.masterIdentifier", "path" : "DocumentReference.masterIdentifier", "short" : "Master Version Specific Identifier", "definition" : "Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document.", "comment" : "CDA Document Id extension and root.", "requirements" : "The structure and format of this Id shall be consistent with the specification corresponding to the formatCode attribute. (e.g. for a DICOM standard document a 64-character numeric UID, for an HL7 CDA format a serialization of the CDA Document Id extension and root in the form "oid^extension", where OID is a 64 digits max, and the Id is a 16 UTF-8 char max. If the OID is coded without the extension then the '^' character shall not be included.).", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.masterIdentifier", "min" : 0, "max" : "1" }, "type" : [ { "code" : "Identifier" } ], "isSummary" : true, "mapping" : [ { "identity" : "v2", "map" : "TXA-12" }, { "identity" : "rim", "map" : ".id" }, { "identity" : "xds", "map" : "DocumentEntry.uniqueId" }, { "identity" : "w5", "map" : "id" } ] }, { "id" : "DocumentReference.identifier", "path" : "DocumentReference.identifier", "short" : "Other identifiers for the document", "definition" : "Other identifiers associated with the document, including version independent identifiers.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.identifier", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Identifier" } ], "mustSupport" : true, "isSummary" : true, "mapping" : [ { "identity" : "v2", "map" : "TXA-16?" }, { "identity" : "rim", "map" : ".id / .setId" }, { "identity" : "xds", "map" : "DocumentEntry.entryUUID" }, { "identity" : "w5", "map" : "id" } ] }, { "id" : "DocumentReference.status", "path" : "DocumentReference.status", "short" : "current | superseded | entered-in-error", "definition" : "The status of this document reference.", "comment" : "This is the status of the DocumentReference object, which might be independent from the docStatus element. This element is labeled as a modifier because the status contains the codes that mark the document or reference as not currently valid.", "min" : 1, "max" : "1", "base" : { "path" : "DocumentReference.status", "min" : 1, "max" : "1" }, "type" : [ { "code" : "code" } ], "mustSupport" : true, "isModifier" : true, "isSummary" : true, "binding" : { "strength" : "required", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/document-reference-status" } }, "mapping" : [ { "identity" : "v2", "map" : "TXA-19" }, { "identity" : "rim", "map" : "interim: .completionCode="IN" & ./statusCode[isNormalDatatype()]="active"; final: .completionCode="AU" && ./statusCode[isNormalDatatype()]="complete" and not(./inboundRelationship[typeCode="SUBJ" and isNormalActRelationship()]/source[subsumesCode("ActClass#CACT") and moodCode="EVN" and domainMember("ReviseDocument", code) and isNormalAct()]); amended: .completionCode="AU" && ./statusCode[isNormalDatatype()]="complete" and ./inboundRelationship[typeCode="SUBJ" and isNormalActRelationship()]/source[subsumesCode("ActClass#CACT") and moodCode="EVN" and domainMember("ReviseDocument", code) and isNormalAct() and statusCode="completed"]; withdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]="obsolete"" }, { "identity" : "xds", "map" : "DocumentEntry status" }, { "identity" : "w5", "map" : "status" } ] }, { "id" : "DocumentReference.docStatus", "path" : "DocumentReference.docStatus", "short" : "preliminary | final | appended | amended | entered-in-error", "definition" : "The status of the underlying document.", "comment" : "The document that is pointed to might be in various lifecycle states.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.docStatus", "min" : 0, "max" : "1" }, "type" : [ { "code" : "code" } ], "isSummary" : true, "binding" : { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString" : "ReferredDocumentStatus" } ], "strength" : "required", "description" : "Status of the underlying document.", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/composition-status" } }, "mapping" : [ { "identity" : "v2", "map" : "TXA-17" }, { "identity" : "rim", "map" : ".statusCode" }, { "identity" : "w5", "map" : "status" } ] }, { "id" : "DocumentReference.type", "path" : "DocumentReference.type", "short" : "Kind of document (LOINC if possible)", "definition" : "Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced.", "comment" : "Key metadata element describing the document, used in searching/filtering.", "min" : 1, "max" : "1", "base" : { "path" : "DocumentReference.type", "min" : 1, "max" : "1" }, "type" : [ { "code" : "CodeableConcept" } ], "mustSupport" : true, "isSummary" : true, "binding" : { "strength" : "required", "description" : "Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers.", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/c80-doc-typecodes" } }, "mapping" : [ { "identity" : "v2", "map" : "TXA-2" }, { "identity" : "rim", "map" : "./code" }, { "identity" : "xds", "map" : "DocumentEntry.type" }, { "identity" : "w5", "map" : "class" } ] }, { "id" : "DocumentReference.class", "path" : "DocumentReference.class", "short" : "Categorization of document", "definition" : "A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type.", "comment" : "This is a metadata field from [XDS/MHD](http://wiki.ihe.net/index.php?title=Mobile_access_to_Health_Documents_(MHD)).", "requirements" : "Helps humans to assess whether the document is of interest when viewing a list of documents.", "alias" : [ "kind" ], "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.class", "min" : 0, "max" : "1" }, "type" : [ { "code" : "CodeableConcept" } ], "isSummary" : true, "binding" : { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString" : "DocumentC80Class" } ], "strength" : "example", "description" : "High-level kind of a clinical document at a macro level.", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/c80-doc-classcodes" } }, "mapping" : [ { "identity" : "rim", "map" : ".outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code" }, { "identity" : "xds", "map" : "DocumentEntry.class" }, { "identity" : "w5", "map" : "class" } ] }, { "id" : "DocumentReference.subject", "path" : "DocumentReference.subject", "short" : "Who/what is the subject of the document", "definition" : "Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure).", "min" : 1, "max" : "1", "base" : { "path" : "DocumentReference.subject", "min" : 0, "max" : "1" }, "type" : [ { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" } ], "mustSupport" : true, "isSummary" : true, "mapping" : [ { "identity" : "v2", "map" : "PID-3 (No standard way to define a Practitioner or Group subject in HL7 v2 MDM message)" }, { "identity" : "rim", "map" : ".participation[typeCode="SBJ"].role[typeCode="PAT"]" }, { "identity" : "xds", "map" : "DocumentEntry.patientId" }, { "identity" : "w5", "map" : "who.focus" } ] }, { "id" : "DocumentReference.created", "path" : "DocumentReference.created", "short" : "Document creation time", "definition" : "When the document was created.", "comment" : "Creation time is used for tracking, organizing versions and searching. This is the creation time of the document, not the source material on which it is based.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.created", "min" : 0, "max" : "1" }, "type" : [ { "code" : "dateTime" } ], "mustSupport" : true, "isSummary" : true, "mapping" : [ { "identity" : "v2", "map" : "TXA-6" }, { "identity" : "rim", "map" : ".effectiveTime[type="TS"]" }, { "identity" : "xds", "map" : "DocumentEntry.submissionTime" }, { "identity" : "w5", "map" : "when.done" } ] }, { "id" : "DocumentReference.indexed", "path" : "DocumentReference.indexed", "short" : "When this document reference was created", "definition" : "When the document reference was created.", "comment" : "Referencing/indexing time is used for tracking, organizing versions and searching.", "min" : 1, "max" : "1", "base" : { "path" : "DocumentReference.indexed", "min" : 1, "max" : "1" }, "type" : [ { "code" : "instant" } ], "mustSupport" : true, "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : ".availabilityTime[type="TS"]" }, { "identity" : "xds", "map" : "DocumentEntry.submissionTime" }, { "identity" : "w5", "map" : "when.recorded" } ] }, { "id" : "DocumentReference.author", "path" : "DocumentReference.author", "short" : "Who and/or what authored the document", "definition" : "Identifies who is responsible for adding the information to the document.", "comment" : "Not necessarily who did the actual data entry (i.e. typist) it in or who was the source (informant).", "min" : 0, "max" : "*", "base" : { "path" : "DocumentReference.author", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Device" }, { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary" : true, "mapping" : [ { "identity" : "v2", "map" : "TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message)" }, { "identity" : "rim", "map" : ".participation[typeCode="AUT"].role[classCode="ASSIGNED"]" }, { "identity" : "xds", "map" : "DocumentEntry.author" }, { "identity" : "w5", "map" : "who.author" } ] }, { "id" : "DocumentReference.authenticator", "path" : "DocumentReference.authenticator", "short" : "Who/what authenticated the document", "definition" : "Which person or organization authenticates that this document is valid.", "comment" : "Represents a participant within the author institution who has legally authenticated or attested the document. Legal authentication implies that a document has been signed manually or electronically by the legal Authenticator.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.authenticator", "min" : 0, "max" : "1" }, "type" : [ { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary" : true, "mapping" : [ { "identity" : "v2", "map" : "TXA-10" }, { "identity" : "rim", "map" : ".participation[typeCode="AUTHEN"].role[classCode="ASSIGNED"]" }, { "identity" : "xds", "map" : "DocumentEntry.legalAuthenticator" }, { "identity" : "w5", "map" : "who.witness" } ] }, { "id" : "DocumentReference.custodian", "path" : "DocumentReference.custodian", "short" : "Organization which maintains the document", "definition" : "Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.", "comment" : "Identifies the logical organization to go to find the current version, where to report issues, etc. This is different from the physical location of the document, which is the technical location of the document, which host may be delegated to the management of some other organization.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.custodian", "min" : 0, "max" : "1" }, "type" : [ { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : ".participation[typeCode="RCV"].role[classCode="CUST"].scoper[classCode="ORG" and determinerCode="INST"]" } ] }, { "id" : "DocumentReference.relatesTo", "path" : "DocumentReference.relatesTo", "short" : "Relationships to other documents", "definition" : "Relationships that this document has with other document references that already exist.", "comment" : "This element is labeled as a modifier because documents that append to other documents are incomplete on their own.", "min" : 0, "max" : "*", "base" : { "path" : "DocumentReference.relatesTo", "min" : 0, "max" : "*" }, "type" : [ { "code" : "BackboneElement" } ], "constraint" : [ { "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() | (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "Element" } ], "isModifier" : true, "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : ".outboundRelationship" } ] }, { "id" : "DocumentReference.relatesTo.id", "path" : "DocumentReference.relatesTo.id", "representation" : [ "xmlAttr" ], "short" : "xml:id (or equivalent in JSON)", "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min" : 0, "max" : "1", "base" : { "path" : "Element.id", "min" : 0, "max" : "1" }, "type" : [ { "code" : "string" } ], "mapping" : [ { "identity" : "rim", "map" : "n/a" } ] }, { "id" : "DocumentReference.relatesTo.extension", "path" : "DocumentReference.relatesTo.extension", "short" : "Additional Content defined by implementations", "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment" : "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.", "alias" : [ "extensions", "user content" ], "min" : 0, "max" : "*", "base" : { "path" : "Element.extension", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Extension" } ], "mapping" : [ { "identity" : "rim", "map" : "n/a" } ] }, { "id" : "DocumentReference.relatesTo.modifierExtension", "path" : "DocumentReference.relatesTo.modifierExtension", "short" : "Extensions that cannot be ignored", "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comment" : "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.", "alias" : [ "extensions", "user content", "modifiers" ], "min" : 0, "max" : "*", "base" : { "path" : "BackboneElement.modifierExtension", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Extension" } ], "isModifier" : true, "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : "N/A" } ] }, { "id" : "DocumentReference.relatesTo.code", "path" : "DocumentReference.relatesTo.code", "short" : "replaces | transforms | signs | appends", "definition" : "The type of relationship that this document has with anther document.", "comment" : "If this document appends another document, then the document cannot be fully understood without also accessing the referenced document.", "min" : 1, "max" : "1", "base" : { "path" : "DocumentReference.relatesTo.code", "min" : 1, "max" : "1" }, "type" : [ { "code" : "code" } ], "isSummary" : true, "binding" : { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString" : "DocumentRelationshipType" } ], "strength" : "required", "description" : "The type of relationship between documents.", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/document-relationship-type" } }, "mapping" : [ { "identity" : "rim", "map" : ".outboundRelationship.typeCode" }, { "identity" : "xds", "map" : "DocumentEntry Associations type" } ] }, { "id" : "DocumentReference.relatesTo.target", "path" : "DocumentReference.relatesTo.target", "short" : "Target of the relationship", "definition" : "The target document of this relationship.", "min" : 1, "max" : "1", "base" : { "path" : "DocumentReference.relatesTo.target", "min" : 1, "max" : "1" }, "type" : [ { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/StructureDefinition/DocumentReference" } ], "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : ".target[classCode="DOC", moodCode="EVN"].id" }, { "identity" : "xds", "map" : "DocumentEntry Associations reference" } ] }, { "id" : "DocumentReference.description", "path" : "DocumentReference.description", "short" : "Human-readable description (title)", "definition" : "Human-readable description of the source document. This is sometimes known as the "title".", "comment" : "What the document is about, rather than a terse summary of the document. It is commonly the case that records do not have a title and are collectively referred to by the display name of Record code (e.g. a "consultation" or "progress note").", "requirements" : "Helps humans to assess whether the document is of interest.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.description", "min" : 0, "max" : "1" }, "type" : [ { "code" : "string" } ], "isSummary" : true, "mapping" : [ { "identity" : "v2", "map" : "TXA-25" }, { "identity" : "rim", "map" : ".outboundRelationship[typeCode="SUBJ"].target.text" }, { "identity" : "xds", "map" : "DocumentEntry.description" } ] }, { "id" : "DocumentReference.securityLabel", "path" : "DocumentReference.securityLabel", "short" : "Document security-tags", "definition" : "A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the "reference" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to.", "comment" : "The confidentiality codes can carry multiple vocabulary items. HL7 has developed an understanding of security and privacy tags that might be desirable in a Document Sharing environment, called HL7 Healthcare Privacy and Security Classification System (HCS). The following specification is recommended but not mandated, as the vocabulary bindings are an administrative domain responsibility. The use of this method is up to the policy domain such as the XDS Affinity Domain or other Trust Domain where all parties including sender and recipients are trusted to appropriately tag and enforce. In the HL7 Healthcare Privacy and Security Classification (HCS) there are code systems specific to Confidentiality, Sensitivity, Integrity, and Handling Caveats. Some values would come from a local vocabulary as they are related to workflow roles and special projects.", "requirements" : "Use of the Health Care Privacy/Security Classification (HCS) system of security-tag use is recommended.", "min" : 0, "max" : "*", "base" : { "path" : "DocumentReference.securityLabel", "min" : 0, "max" : "*" }, "type" : [ { "code" : "CodeableConcept" } ], "isSummary" : true, "binding" : { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString" : "SecurityLabels" }, { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean" : true } ], "strength" : "extensible", "description" : "Security Labels from the Healthcare Privacy and Security Classification System.", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/security-labels" } }, "mapping" : [ { "identity" : "v2", "map" : "TXA-18" }, { "identity" : "rim", "map" : ".confidentialityCode" }, { "identity" : "xds", "map" : "DocumentEntry.confidentialityCode" } ] }, { "id" : "DocumentReference.content", "path" : "DocumentReference.content", "short" : "Document referenced", "definition" : "The document and format referenced. There may be multiple content element repetitions, each with a different format.", "min" : 1, "max" : "1", "base" : { "path" : "DocumentReference.content", "min" : 1, "max" : "*" }, "type" : [ { "code" : "BackboneElement" } ], "constraint" : [ { "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() | (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "Element" } ], "mustSupport" : true, "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : "document.text" } ] }, { "id" : "DocumentReference.content.id", "path" : "DocumentReference.content.id", "representation" : [ "xmlAttr" ], "short" : "xml:id (or equivalent in JSON)", "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min" : 0, "max" : "1", "base" : { "path" : "Element.id", "min" : 0, "max" : "1" }, "type" : [ { "code" : "string" } ], "mapping" : [ { "identity" : "rim", "map" : "n/a" } ] }, { "id" : "DocumentReference.content.extension", "path" : "DocumentReference.content.extension", "short" : "Additional Content defined by implementations", "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment" : "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.", "alias" : [ "extensions", "user content" ], "min" : 0, "max" : "*", "base" : { "path" : "Element.extension", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Extension" } ], "mapping" : [ { "identity" : "rim", "map" : "n/a" } ] }, { "id" : "DocumentReference.content.modifierExtension", "path" : "DocumentReference.content.modifierExtension", "short" : "Extensions that cannot be ignored", "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comment" : "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.", "alias" : [ "extensions", "user content", "modifiers" ], "min" : 0, "max" : "*", "base" : { "path" : "BackboneElement.modifierExtension", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Extension" } ], "isModifier" : true, "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : "N/A" } ] }, { "id" : "DocumentReference.content.attachment", "path" : "DocumentReference.content.attachment", "short" : "Where to access the document", "definition" : "The document or URL of the document along with critical metadata to prove content has integrity.", "min" : 1, "max" : "1", "base" : { "path" : "DocumentReference.content.attachment", "min" : 1, "max" : "1" }, "type" : [ { "code" : "Attachment" } ], "mustSupport" : true, "isSummary" : true, "mapping" : [ { "identity" : "v2", "map" : "TXA-3 for mime type" }, { "identity" : "rim", "map" : "document.text" }, { "identity" : "xds", "map" : "DocumentEntry.mimeType DocumentEntry.languageCode DocumentEntry.URI DocumentEntry.size DocumentEntry.hash DocumentEntry.title" } ] }, { "id" : "DocumentReference.content.attachment.id", "path" : "DocumentReference.content.attachment.id", "representation" : [ "xmlAttr" ], "short" : "xml:id (or equivalent in JSON)", "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min" : 0, "max" : "1", "base" : { "path" : "Element.id", "min" : 0, "max" : "1" }, "type" : [ { "code" : "string" } ], "mapping" : [ { "identity" : "rim", "map" : "n/a" } ] }, { "id" : "DocumentReference.content.attachment.extension", "path" : "DocumentReference.content.attachment.extension", "slicing" : { "discriminator" : [ { "type" : "value", "path" : "url" } ], "description" : "Extensions are always sliced by (at least) url", "rules" : "open" }, "short" : "Additional Content defined by implementations", "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment" : "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.", "alias" : [ "extensions", "user content" ], "min" : 0, "max" : "*", "base" : { "path" : "Element.extension", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Extension" } ], "mapping" : [ { "identity" : "rim", "map" : "n/a" } ] }, { "id" : "DocumentReference.content.attachment.contentType", "path" : "DocumentReference.content.attachment.contentType", "short" : "Mime type of the content, with charset etc.", "definition" : "Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.", "requirements" : "Processors of the data need to be able to know how to interpret the data.", "min" : 1, "max" : "1", "base" : { "path" : "Attachment.contentType", "min" : 0, "max" : "1" }, "type" : [ { "code" : "code" } ], "example" : [ { "label" : "General", "valueCode" : "text/plain; charset=UTF-8, image/png" } ], "mustSupport" : true, "isSummary" : true, "binding" : { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString" : "MimeType" }, { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean" : true } ], "strength" : "required", "description" : "The mime type of an attachment. Any valid mime type is allowed.", "valueSetUri" : "http://www.rfc-editor.org/bcp/bcp13.txt" }, "mapping" : [ { "identity" : "v2", "map" : "ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used" }, { "identity" : "rim", "map" : "./mediaType, ./charset" } ] }, { "id" : "DocumentReference.content.attachment.language", "path" : "DocumentReference.content.attachment.language", "short" : "Human language of the content (BCP-47)", "definition" : "The human language of the content. The value can be any valid value according to BCP 47.", "requirements" : "Users need to be able to choose between the languages in a set of attachments.", "min" : 0, "max" : "1", "base" : { "path" : "Attachment.language", "min" : 0, "max" : "1" }, "type" : [ { "code" : "code" } ], "example" : [ { "label" : "General", "valueCode" : "en-AU" } ], "isSummary" : true, "binding" : { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference" : { "reference" : "http://hl7.org/fhir/ValueSet/all-languages" } }, { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString" : "Language" }, { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean" : true } ], "strength" : "extensible", "description" : "A human language.", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/languages" } }, "mapping" : [ { "identity" : "rim", "map" : "./language" } ] }, { "id" : "DocumentReference.content.attachment.data", "path" : "DocumentReference.content.attachment.data", "short" : "Data inline, base64ed", "definition" : "The actual data of the attachment - a sequence of bytes. In XML, represented using base64.", "comment" : "The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON.", "requirements" : "The data needs to able to be transmitted inline.", "min" : 0, "max" : "1", "base" : { "path" : "Attachment.data", "min" : 0, "max" : "1" }, "type" : [ { "code" : "base64Binary" } ], "mapping" : [ { "identity" : "v2", "map" : "ED.5" }, { "identity" : "rim", "map" : "./data" } ] }, { "id" : "DocumentReference.content.attachment.url", "path" : "DocumentReference.content.attachment.url", "short" : "Uri where the data can be found", "definition" : "An alternative location where the data can be accessed.", "comment" : "If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data.", "requirements" : "The data needs to be transmitted by reference.", "min" : 1, "max" : "1", "base" : { "path" : "Attachment.url", "min" : 0, "max" : "1" }, "type" : [ { "code" : "uri" } ], "example" : [ { "label" : "General", "valueUri" : "http://www.acme.com/logo-small.png" } ], "mustSupport" : true, "isSummary" : true, "mapping" : [ { "identity" : "v2", "map" : "RP.1+RP.2 - if they refer to a URL (see v2.6)" }, { "identity" : "rim", "map" : "./reference/literal" } ] }, { "id" : "DocumentReference.content.attachment.size", "path" : "DocumentReference.content.attachment.size", "short" : "Number of bytes of content (if url provided)", "definition" : "The number of bytes of data that make up this attachment (before base64 encoding, if that is done).", "comment" : "The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference.", "requirements" : "Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all.", "min" : 0, "max" : "1", "base" : { "path" : "Attachment.size", "min" : 0, "max" : "1" }, "type" : [ { "code" : "unsignedInt" } ], "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : "N/A (needs data type R3 proposal)" } ] }, { "id" : "DocumentReference.content.attachment.hash", "path" : "DocumentReference.content.attachment.hash", "short" : "Hash of the data (sha-1, base64ed)", "definition" : "The calculated hash of the data using SHA-1. Represented using base64.", "comment" : "The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded.", "requirements" : "Included so that applications can verify that the contents of a location have not changed and so that a signature of the content can implicitly sign the content of an image without having to include the data in the instance or reference the url in the signature.", "min" : 0, "max" : "1", "base" : { "path" : "Attachment.hash", "min" : 0, "max" : "1" }, "type" : [ { "code" : "base64Binary" } ], "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : ".integrityCheck[parent::ED/integrityCheckAlgorithm="SHA-1"]" } ] }, { "id" : "DocumentReference.content.attachment.title", "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean" : true } ], "path" : "DocumentReference.content.attachment.title", "short" : "Label to display in place of the data", "definition" : "A label or set of text to display in place of the data.", "requirements" : "Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer.", "min" : 0, "max" : "1", "base" : { "path" : "Attachment.title", "min" : 0, "max" : "1" }, "type" : [ { "code" : "string" } ], "example" : [ { "label" : "General", "valueString" : "Official Corporate Logo" } ], "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : "./title/data" } ] }, { "id" : "DocumentReference.content.attachment.creation", "path" : "DocumentReference.content.attachment.creation", "short" : "Date attachment was first created", "definition" : "The date that the attachment was first created.", "requirements" : "This is often tracked as an integrity issue for use of the attachment.", "min" : 0, "max" : "1", "base" : { "path" : "Attachment.creation", "min" : 0, "max" : "1" }, "type" : [ { "code" : "dateTime" } ], "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : "N/A (needs data type R3 proposal)" } ] }, { "id" : "DocumentReference.content.format", "path" : "DocumentReference.content.format", "short" : "Format/content rules for the document", "definition" : "An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.", "comment" : "Note that while IHE mostly issues URNs for format types, not all documents can be identified by a URI.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.content.format", "min" : 0, "max" : "1" }, "type" : [ { "code" : "Coding" } ], "mustSupport" : true, "isSummary" : true, "binding" : { "strength" : "extensible", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/formatcodes" } }, "mapping" : [ { "identity" : "rim", "map" : "document.text" }, { "identity" : "xds", "map" : "DocumentEntry.formatCode" } ] }, { "id" : "DocumentReference.context", "path" : "DocumentReference.context", "short" : "Clinical context of document", "definition" : "The clinical context in which the document was prepared.", "comment" : "These values are primarily added to help with searching for interesting/relevant documents.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.context", "min" : 0, "max" : "1" }, "type" : [ { "code" : "BackboneElement" } ], "constraint" : [ { "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() | (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "Element" } ], "mustSupport" : true, "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : "outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT']" } ] }, { "id" : "DocumentReference.context.id", "path" : "DocumentReference.context.id", "representation" : [ "xmlAttr" ], "short" : "xml:id (or equivalent in JSON)", "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min" : 0, "max" : "1", "base" : { "path" : "Element.id", "min" : 0, "max" : "1" }, "type" : [ { "code" : "string" } ], "mapping" : [ { "identity" : "rim", "map" : "n/a" } ] }, { "id" : "DocumentReference.context.extension", "path" : "DocumentReference.context.extension", "short" : "Additional Content defined by implementations", "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment" : "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.", "alias" : [ "extensions", "user content" ], "min" : 0, "max" : "*", "base" : { "path" : "Element.extension", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Extension" } ], "mapping" : [ { "identity" : "rim", "map" : "n/a" } ] }, { "id" : "DocumentReference.context.modifierExtension", "path" : "DocumentReference.context.modifierExtension", "short" : "Extensions that cannot be ignored", "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comment" : "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.", "alias" : [ "extensions", "user content", "modifiers" ], "min" : 0, "max" : "*", "base" : { "path" : "BackboneElement.modifierExtension", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Extension" } ], "isModifier" : true, "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : "N/A" } ] }, { "id" : "DocumentReference.context.encounter", "path" : "DocumentReference.context.encounter", "short" : "Context of the document content", "definition" : "Describes the clinical encounter or type of care that the document content is associated with.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.context.encounter", "min" : 0, "max" : "1" }, "type" : [ { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" } ], "mustSupport" : true, "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : "unique(highest(./outboundRelationship[typeCode="SUBJ" and isNormalActRelationship()], priorityNumber)/target[moodCode="EVN" and classCode=("ENC", "PCPR") and isNormalAct])" }, { "identity" : "w5", "map" : "context" } ] }, { "id" : "DocumentReference.context.event", "path" : "DocumentReference.context.event", "short" : "Main clinical acts documented", "definition" : "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a "History and Physical Report" in which the procedure being documented is necessarily a "History and Physical" act.", "comment" : "An event can further specialize the act inherent in the type, such as where it is simply "Procedure Report" and the procedure was a "colonoscopy". If one or more event codes are included, they shall not conflict with the values inherent in the class or type elements as such a conflict would create an ambiguous situation.", "min" : 0, "max" : "*", "base" : { "path" : "DocumentReference.context.event", "min" : 0, "max" : "*" }, "type" : [ { "code" : "CodeableConcept" } ], "isSummary" : true, "binding" : { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString" : "DocumentEventType" } ], "strength" : "example", "description" : "This list of codes represents the main clinical acts being documented.", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/v3-ActCode" } }, "mapping" : [ { "identity" : "rim", "map" : ".code" }, { "identity" : "xds", "map" : "DocumentEntry.eventCodeList" } ] }, { "id" : "DocumentReference.context.period", "path" : "DocumentReference.context.period", "short" : "Time of service that is being documented", "definition" : "The time period over which the service that is described by the document was provided.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.context.period", "min" : 0, "max" : "1" }, "type" : [ { "code" : "Period" } ], "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : ".effectiveTime" }, { "identity" : "xds", "map" : "DocumentEntry.serviceStartTime DocumentEntry.serviceStopTime" } ] }, { "id" : "DocumentReference.context.facilityType", "path" : "DocumentReference.context.facilityType", "short" : "Kind of facility where patient was seen", "definition" : "The kind of facility where the patient was seen.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.context.facilityType", "min" : 0, "max" : "1" }, "type" : [ { "code" : "CodeableConcept" } ], "isSummary" : true, "binding" : { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString" : "DocumentC80FacilityType" } ], "strength" : "example", "description" : "XDS Facility Type.", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/c80-facilitycodes" } }, "mapping" : [ { "identity" : "rim", "map" : ".participation[typeCode="LOC"].role[classCode="DSDLOC"].code" }, { "identity" : "xds", "map" : "DocumentEntry.healthcareFacilityTypeCode" } ] }, { "id" : "DocumentReference.context.practiceSetting", "path" : "DocumentReference.context.practiceSetting", "short" : "Additional details about where the content was created (e.g. clinical specialty)", "definition" : "This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty.", "comment" : "The value set for this content has an example binding because it is a value set decided by community policy. Other examples exist for consideration: * HITSP created the table HITSP/C80 Table 2-148 Clinical Specialty Value Set (a value set based upon SNOMED CT which is referenced by Direct (XDR and XDM for Direct Messaging Specification, Version 1), as well as Nationwide Health Information Network (NHIN). Query for Documents, Web Service Interface Specification, V 3.0, 07/27/2011 * ELGA (Austria) (ELGA CDA Implementie-rungsleitfäden Registrierung von CDA Dokumenten für ELGA mit IHE Cross-Enterprise Document Sharing: XDS Metadaten (XDSDocumentEntry), [1.2.40.0.34.7.6.3] * XDS Connect-a-thon practiceSettingCode.", "requirements" : "This is an important piece of metadata that providers often rely upon to quickly sort and/or filter out to find specific content.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.context.practiceSetting", "min" : 0, "max" : "1" }, "type" : [ { "code" : "CodeableConcept" } ], "isSummary" : true, "binding" : { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString" : "DocumentC80PracticeSetting" } ], "strength" : "example", "description" : "Additional details about where the content was created (e.g. clinical specialty).", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/c80-practice-codes" } }, "mapping" : [ { "identity" : "rim", "map" : ".participation[typeCode="LOC"].role[classCode="DSDLOC"].code" }, { "identity" : "xds", "map" : "DocumentEntry.practiceSettingCode" } ] }, { "id" : "DocumentReference.context.sourcePatientInfo", "path" : "DocumentReference.context.sourcePatientInfo", "short" : "Patient demographics from source", "definition" : "The Patient Information as known when the document was published. May be a reference to a version specific, or contained.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.context.sourcePatientInfo", "min" : 0, "max" : "1" }, "type" : [ { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Patient" } ], "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : ".participation[typeCode="SBJ"].role[typeCode="PAT"]" }, { "identity" : "xds", "map" : "DocumentEntry.sourcePatientInfo DocumentEntry.sourcePatientId" } ] }, { "id" : "DocumentReference.context.related", "path" : "DocumentReference.context.related", "short" : "Related identifiers or resources", "definition" : "Related identifiers or resources associated with the DocumentReference.", "comment" : "May be identifiers or resources that caused the DocumentReference or referenced Document to be created.", "min" : 0, "max" : "*", "base" : { "path" : "DocumentReference.context.related", "min" : 0, "max" : "*" }, "type" : [ { "code" : "BackboneElement" } ], "constraint" : [ { "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() | (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "Element" } ], "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : "./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct]" }, { "identity" : "xds", "map" : "DocumentEntry.referenceIdList" } ] }, { "id" : "DocumentReference.context.related.id", "path" : "DocumentReference.context.related.id", "representation" : [ "xmlAttr" ], "short" : "xml:id (or equivalent in JSON)", "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min" : 0, "max" : "1", "base" : { "path" : "Element.id", "min" : 0, "max" : "1" }, "type" : [ { "code" : "string" } ], "mapping" : [ { "identity" : "rim", "map" : "n/a" } ] }, { "id" : "DocumentReference.context.related.extension", "path" : "DocumentReference.context.related.extension", "short" : "Additional Content defined by implementations", "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment" : "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.", "alias" : [ "extensions", "user content" ], "min" : 0, "max" : "*", "base" : { "path" : "Element.extension", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Extension" } ], "mapping" : [ { "identity" : "rim", "map" : "n/a" } ] }, { "id" : "DocumentReference.context.related.modifierExtension", "path" : "DocumentReference.context.related.modifierExtension", "short" : "Extensions that cannot be ignored", "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comment" : "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.", "alias" : [ "extensions", "user content", "modifiers" ], "min" : 0, "max" : "*", "base" : { "path" : "BackboneElement.modifierExtension", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Extension" } ], "isModifier" : true, "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : "N/A" } ] }, { "id" : "DocumentReference.context.related.identifier", "path" : "DocumentReference.context.related.identifier", "short" : "Identifier of related objects or events", "definition" : "Related identifier to this DocumentReference. If both id and ref are present they shall refer to the same thing.", "comment" : "Order numbers, accession numbers, XDW workflow numbers.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.context.related.identifier", "min" : 0, "max" : "1" }, "type" : [ { "code" : "Identifier" } ], "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : "./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct] .id" } ] }, { "id" : "DocumentReference.context.related.ref", "path" : "DocumentReference.context.related.ref", "short" : "Related Resource", "definition" : "Related Resource to this DocumentReference. If both id and ref are present they shall refer to the same thing.", "comment" : "Order, ProcedureRequest, Procedure, EligibilityRequest, etc.", "min" : 0, "max" : "1", "base" : { "path" : "DocumentReference.context.related.ref", "min" : 0, "max" : "1" }, "type" : [ { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary" : true, "mapping" : [ { "identity" : "rim", "map" : "./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct].text.reference" } ] } ] }, "differential" : { "element" : [ { "id" : "DocumentReference", "path" : "DocumentReference", "short" : "US Core DocumentReference Profile", "definition" : "This is a basic constraint on DocumentRefernce for use in the US Core IG.", "mustSupport" : false, "isModifier" : false }, { "id" : "DocumentReference.identifier", "path" : "DocumentReference.identifier", "min" : 0, "max" : "1", "mustSupport" : true, "isModifier" : false }, { "id" : "DocumentReference.status", "path" : "DocumentReference.status", "min" : 1, "max" : "1", "mustSupport" : true, "isModifier" : false, "binding" : { "strength" : "required", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/document-reference-status" } } }, { "id" : "DocumentReference.type", "path" : "DocumentReference.type", "min" : 1, "max" : "1", "mustSupport" : true, "isModifier" : false, "binding" : { "strength" : "required", "description" : "Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers.", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/c80-doc-typecodes" } } }, { "id" : "DocumentReference.subject", "path" : "DocumentReference.subject", "min" : 1, "max" : "1", "type" : [ { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" } ], "mustSupport" : true, "isModifier" : false }, { "id" : "DocumentReference.created", "path" : "DocumentReference.created", "min" : 0, "max" : "1", "mustSupport" : true, "isModifier" : false }, { "id" : "DocumentReference.indexed", "path" : "DocumentReference.indexed", "min" : 1, "max" : "1", "mustSupport" : true, "isModifier" : false }, { "id" : "DocumentReference.content", "path" : "DocumentReference.content", "min" : 1, "max" : "1", "mustSupport" : true, "isModifier" : false }, { "id" : "DocumentReference.content.attachment", "path" : "DocumentReference.content.attachment", "min" : 1, "max" : "1", "mustSupport" : true, "isModifier" : false }, { "id" : "DocumentReference.content.attachment.contentType", "path" : "DocumentReference.content.attachment.contentType", "min" : 1, "max" : "1", "mustSupport" : true, "isModifier" : false }, { "id" : "DocumentReference.content.attachment.url", "path" : "DocumentReference.content.attachment.url", "min" : 1, "max" : "1", "mustSupport" : true, "isModifier" : false }, { "id" : "DocumentReference.content.format", "path" : "DocumentReference.content.format", "min" : 0, "max" : "1", "mustSupport" : true, "isModifier" : false, "binding" : { "strength" : "extensible", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/formatcodes" } } }, { "id" : "DocumentReference.context", "path" : "DocumentReference.context", "min" : 0, "max" : "1", "mustSupport" : true, "isModifier" : false }, { "id" : "DocumentReference.context.encounter", "path" : "DocumentReference.context.encounter", "min" : 0, "max" : "1", "type" : [ { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" } ], "mustSupport" : true, "isModifier" : false } ] } }