FHIR © HL7.org  |  Server Home  |  Health Intersections FHIR Server v1.0.333  |  FHIR Version 3.0.2  | User: ANONYMOUS (Unknown)  

History Record

XML or JSON representation

Links: First Previous Next Last  (790 found). Search: http://tx.fhir.org/r3/StructureDefinition/_history?&_prior=2020-07-08T14:57:52.635Z&_format=text/xhtml&history-id=f68c250b-e7a1-4752-b215-76f32c9ff7 

StructureDefinition "argo-diagnosticreport-notes-and-reports" Version "1"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport Argonaut Diagnostic Report Profile for Imaging
... status SI1..1codeBinding: DiagnosticReportStatus (required)
DiagnosticReport-1: When DiagnosticReport.status is final/amended/corrected/appended, the presentedForm, conclusion or codedDiagnosis must be present
... category S1..1CodeableConceptBinding: Argonaut DiagnosticReport Category Value Set (extensible)
... code S1..1CodeableConceptUS Core Report Code
Binding: LOINC Diagnostic Report Codes (extensible)
... subject S1..1Reference(US Core Patient Profile)
... context S0..1Reference(US Core Encounter Profile)
... effective[x] S1..1dateTime, PeriodTime of the report or note
... issued S0..1instant
... performer S0..*
.... actor S1..1Reference(US Core Practitioner | US Core Organization Profile)
... image S0..*
... presentedForm S0..*Attachment

doco Documentation for this format

<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="argo-diagnosticreport-notes-and-reports"/>
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2020-06-25T06:58:19.302Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <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 &amp; 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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-diagnosticreport-notes-and-reports-definitions.html#DiagnosticReport" title="The US Core Diagnostic Report Profile is based upon the requirements of the Argonauts to exchang imaging reports.">DiagnosticReport</a>
            <a name="DiagnosticReport"> </a>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Argonaut Diagnostic Report Profile for Imaging</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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
            <a href="StructureDefinition-argo-diagnosticreport-notes-and-reports-definitions.html#DiagnosticReport.status" title="null">status</a>
            <a name="DiagnosticReport.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>
            <span style="padding-left: 3px padding-right: 3px color: black background-color: white" title="This element has or is affected by some invariants">I</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/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-diagnostic-report-status.html">DiagnosticReportStatus</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>)
            <br/>
            <span style="font-weight:bold">DiagnosticReport-1: </span>When DiagnosticReport.status is final/amended/corrected/appended, the presentedForm, conclusion or codedDiagnosis must be present</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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Data Type" class="hierarchy"/>
            <a href="StructureDefinition-argo-diagnosticreport-notes-and-reports-definitions.html#DiagnosticReport.category" title="null">category</a>
            <a name="DiagnosticReport.category"> </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/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="ValueSet-diagnosticreport-category.html">Argonaut DiagnosticReport Category Value 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_bck10.png)" class="hierarchy">
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Data Type" class="hierarchy"/>
            <a href="StructureDefinition-argo-diagnosticreport-notes-and-reports-definitions.html#DiagnosticReport.code" title="The test, panel, report, or note that was ordered.">code</a>
            <a name="DiagnosticReport.code"> </a>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding-left: 3px padding-right: 3px color: white background-color: red" title="This element must be supported">S</span>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">1..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/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">US Core Report Code
            <br/>
            <span style="font-weight:bold">Binding: </span>
            <a href="http://hl7.org/fhir/STU3/valueset-report-codes.html">LOINC Diagnostic Report Codes</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_bck10.png)" class="hierarchy">
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Reference to another Resource" class="hierarchy"/>
            <a href="StructureDefinition-argo-diagnosticreport-notes-and-reports-definitions.html#DiagnosticReport.subject" title="null">subject</a>
            <a name="DiagnosticReport.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="http://hl7.org/fhir/us/core/STU2/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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Reference to another Resource" class="hierarchy"/>
            <a href="StructureDefinition-argo-diagnosticreport-notes-and-reports-definitions.html#DiagnosticReport.context" title="null">context</a>
            <a name="DiagnosticReport.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">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(
            <a href="http://hl7.org/fhir/us/core/STU2/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 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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Choice of Types" class="hierarchy"/>
            <a href="StructureDefinition-argo-diagnosticreport-notes-and-reports-definitions.html#DiagnosticReport.effective[x]" title="This is the Datetime or Period when the report or note was written.">effective[x]</a>
            <a name="DiagnosticReport.effective_x_"> </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/datatypes.html#dateTime">dateTime</a>,
            <a href="http://hl7.org/fhir/STU3/datatypes.html#Period">Period</a>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">Time of the report or note</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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Primitive Data Type" class="hierarchy"/>
            <a href="StructureDefinition-argo-diagnosticreport-notes-and-reports-definitions.html#DiagnosticReport.issued" title="null">issued</a>
            <a name="DiagnosticReport.issued"> </a>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding-left: 3px padding-right: 3px color: white background-color: red" title="This element must be supported">S</span>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a 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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-diagnosticreport-notes-and-reports-definitions.html#DiagnosticReport.performer" title="null">performer</a>
            <a name="DiagnosticReport.performer"> </a>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding-left: 3px padding-right: 3px color: white background-color: red" title="This element must be supported">S</span>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..*</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"/>
        </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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Reference to another Resource" class="hierarchy"/>
            <a href="StructureDefinition-argo-diagnosticreport-notes-and-reports-definitions.html#DiagnosticReport.performer.actor" title="null">actor</a>
            <a name="DiagnosticReport.performer.actor"> </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="http://hl7.org/fhir/us/core/STU2/StructureDefinition-us-core-practitioner.html">US Core Practitioner</a>|
            <a href="http://hl7.org/fhir/us/core/STU2/StructureDefinition-us-core-organization.html">US Core Organization 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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-diagnosticreport-notes-and-reports-definitions.html#DiagnosticReport.image" title="null">image</a>
            <a name="DiagnosticReport.image"> </a>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding-left: 3px padding-right: 3px color: white background-color: red" title="This element must be supported">S</span>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..*</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"/>
        </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_bck00.png)" class="hierarchy">
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Data Type" class="hierarchy"/>
            <a href="StructureDefinition-argo-diagnosticreport-notes-and-reports-definitions.html#DiagnosticReport.presentedForm" title="null">presentedForm</a>
            <a name="DiagnosticReport.presentedForm"> </a>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding-left: 3px padding-right: 3px color: white background-color: red" title="This element must be supported">S</span>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..*</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/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>
          <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>
  </text>
  <url value="http://fhir.org/guides/argonaut/clinicalnotes/StructureDefinition/argo-diagnosticreport-notes-and-reports"/>
  <version value="1.0.0"/>
  <name value="Argonaut Imaging Reports"/>
  <status value="active"/>
  <date value="2018-04-10T23:48:14+10:00"/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
      <display value="United States of America"/>
    </coding>
  </jurisdiction>
  <fhirVersion value="3.0.1"/>
  <mapping>
    <identity value="workflow"/>
    <uri value="http://hl7.org/fhir/workflow"/>
    <name value="Workflow Mapping"/>
  </mapping>
  <mapping>
    <identity value="v2"/>
    <uri value="http://hl7.org/v2"/>
    <name value="HL7 v2 Mapping"/>
  </mapping>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/w5"/>
    <name value="W5 Mapping"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="DiagnosticReport"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="DiagnosticReport">
      <path value="DiagnosticReport"/>
      <short value="Argonaut Diagnostic Report Profile for Imaging"/>
      <definition value="The US Core Diagnostic Report Profile is based upon the requirements of the Argonauts to exchang imaging reports."/>
      <comment value="This is intended to capture a single report, and is not suitable for use in displaying summary information that covers multiple reports. For example, this resource has not been designed for laboratory cumulative reporting formats nor detailed structured reports for sequencing."/>
      <alias value="Report"/>
      <alias value="Test"/>
      <alias value="Result"/>
      <alias value="Results"/>
      <alias value="Labs"/>
      <alias value="Laboratory"/>
      <alias value="Imaging Report"/>
      <alias value="Radiology Report"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DiagnosticReport"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="dom-2"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
        <expression value="contained.contained.empty()"/>
        <xpath value="not(parent::f:contained and f:contained)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-1"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
        <expression value="contained.text.empty()"/>
        <xpath value="not(parent::f:contained and f:text)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-4"/>
        <severity value="error"/>
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
        <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-3"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
        <expression value="contained.where((&apos;#&apos;+id in %resource.descendants().reference).not()).empty()"/>
        <xpath value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat(&apos;#&apos;, $id))]))"/>
        <source value="DomainResource"/>
      </constraint>
      <mustSupport value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="workflow"/>
        <map value="Event"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="ORU -&gt; OBR"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Observation[classCode=OBS, moodCode=EVN]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="clinical.diagnostics"/>
      </mapping>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.id">
      <path value="DiagnosticReport.id"/>
      <short value="Logical id of this artifact"/>
      <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
      <comment value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="id"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="DiagnosticReport.meta">
      <path value="DiagnosticReport.meta"/>
      <short value="Metadata about the resource"/>
      <definition value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.meta"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Meta"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="DiagnosticReport.implicitRules">
      <path value="DiagnosticReport.implicitRules"/>
      <short value="A set of rules under which this content was created"/>
      <definition value="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 value="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. &#10;&#10;This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it&apos;s meaning or interpretation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.implicitRules"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="DiagnosticReport.language">
      <path value="DiagnosticReport.language"/>
      <short value="Language of the resource content"/>
      <definition value="The base language in which the resource is written."/>
      <comment value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
          </valueReference>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="DiagnosticReport.text">
      <path value="DiagnosticReport.text"/>
      <short value="Text summary of the resource, for human interpretation"/>
      <definition value="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 &quot;clinically safe&quot; 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 value="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 &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded in formation is added later."/>
      <alias value="narrative"/>
      <alias value="html"/>
      <alias value="xhtml"/>
      <alias value="display"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
      <condition value="dom-1"/>
      <mapping>
        <identity value="rim"/>
        <map value="Act.text?"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.contained">
      <path value="DiagnosticReport.contained"/>
      <short value="Contained, inline Resources"/>
      <definition value="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 value="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 value="inline resources"/>
      <alias value="anonymous resources"/>
      <alias value="contained resources"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.contained"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.extension">
      <path value="DiagnosticReport.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.modifierExtension">
      <path value="DiagnosticReport.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.identifier">
      <path value="DiagnosticReport.identifier"/>
      <short value="Business identifier for report"/>
      <definition value="Identifiers assigned to this report by the performer or other systems."/>
      <comment value="Usually assigned by the Information System of the diagnostic service provider (filler id)."/>
      <requirements value="Need to know what identifier to use when making queries about this report from the source laboratory, and for linking to the report outside FHIR context."/>
      <alias value="ReportID"/>
      <alias value="Filler ID"/>
      <alias value="Placer ID"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DiagnosticReport.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.identifier"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="OBR-51"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="id"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.basedOn">
      <path value="DiagnosticReport.basedOn"/>
      <short value="What was requested"/>
      <definition value="Details concerning a test or procedure requested."/>
      <comment value="Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports."/>
      <requirements value="This allows tracing of authorization for the report and tracking whether proposals/recommendations were acted upon."/>
      <alias value="Request"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DiagnosticReport.basedOn"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ProcedureRequest"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ReferralRequest"/>
      </type>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.basedOn"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="ORC? OBR-2/3?"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=FLFS].target"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.status">
      <path value="DiagnosticReport.status"/>
      <short value="registered | partial | preliminary | final +"/>
      <definition value="The status of the diagnostic report as a whole."/>
      <comment value="This is labeled as &quot;Is Modifier&quot; because applications need to take appropriate action if a report is withdrawn."/>
      <requirements value="Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DiagnosticReport.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <constraint>
        <key value="DiagnosticReport-1"/>
        <severity value="error"/>
        <human value="When DiagnosticReport.status is final/amended/corrected/appended, the presentedForm, conclusion or codedDiagnosis must be present"/>
        <expression value="(DiagnosticReport.status = &apos;final&apos; or DiagnosticReport.status = &apos;amended&apos; or DiagnosticReport.status = &apos;corrected&apos; or DiagnosticReport.status = &apos;appended&apos;) implies (presentedForm.exists() or conclusion.exists() or codedDiagnosis.exists())"/>
        <xpath value="not(f:DiagnosticReport/f:status[@value=(&apos;final&apos;,&apos;amended&apos;,&apos;appended&apos;,&apos;corrected&apos;)]) or (f:DiagnosticReport/f:conclusion or f:DiagnosticReport/f:presentedForm or f:DiagnosticReport/f:codedDiagnosis)"/>
      </constraint>
      <mustSupport value="true"/>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/diagnostic-report-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.status"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="OBR-25 (not 1:1 mapping)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="statusCode Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type &quot;revise&quot;"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.status"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.category">
      <path value="DiagnosticReport.category"/>
      <short value="Service category"/>
      <definition value="A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes."/>
      <comment value="The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code."/>
      <alias value="Department"/>
      <alias value="Sub-department"/>
      <alias value="Service"/>
      <alias value="Discipline"/>
      <alias value="service"/>
      <alias value="discipline"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DiagnosticReport.category"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://fhir.org/guides/argonaut/clinicalnotes/ValueSet/diagnosticreport-category"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="OBR-24"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code &lt; LabService].code"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.category"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.code">
      <path value="DiagnosticReport.code"/>
      <short value="US Core Report Code"/>
      <definition value="The test, panel, report, or note that was ordered."/>
      <comment value="UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a &quot;local&quot; code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists."/>
      <alias value="Type"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DiagnosticReport.code"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <binding>
        <strength value="extensible"/>
        <description value="LOINC codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/report-codes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.code"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="OBR-4 (HL7 v2 doesn&apos;t provide an easy way to indicate both the ordered test and the performed panel)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="code"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="what"/>
      </mapping>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.code"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject"/>
      <short value="The subject of the report - usually, but not always, the patient"/>
      <definition value="The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources."/>
      <requirements value="SHALL know the subject context."/>
      <alias value="Patient"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DiagnosticReport.subject"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.subject"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PID-3 (no HL7 v2 mapping for Group or Device)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="participation[typeCode=SBJ]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.focus"/>
      </mapping>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.subject"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.context">
      <path value="DiagnosticReport.context"/>
      <short value="Health care event when test ordered"/>
      <definition value="The healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport per is about."/>
      <comment value="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter or episode but still be tied to the context of the encounter or episode (e.g. pre-admission lab tests)."/>
      <requirements value="Links the request to the Encounter context."/>
      <alias value="Encounter"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DiagnosticReport.context"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.context"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PV1-19"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="context"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.effective[x]">
      <path value="DiagnosticReport.effective[x]"/>
      <short value="Time of the report or note"/>
      <definition value="This is the Datetime or Period when the report or note was written."/>
      <comment value="If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic."/>
      <requirements value="Need to know where in the patient history to file/present this report."/>
      <alias value="Observation time"/>
      <alias value="Effective Time"/>
      <alias value="Occurrence"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DiagnosticReport.effective[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <type>
        <code value="Period"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.occurrence[x]"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="OBR-7"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="effectiveTime"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="when.done"/>
      </mapping>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.effective[x]"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.issued">
      <path value="DiagnosticReport.issued"/>
      <short value="DateTime this version was released"/>
      <definition value="The date and time that this version of the report was released from the source diagnostic service."/>
      <comment value="May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report."/>
      <requirements value="Clinicians need to be able to check the date that the report was released."/>
      <alias value="Date Created"/>
      <alias value="Date published"/>
      <alias value="Date Issued"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DiagnosticReport.issued"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="instant"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="OBR-22"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="participation[typeCode=VRF or AUT].time"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="when.recorded"/>
      </mapping>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.issued"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.performer">
      <path value="DiagnosticReport.performer"/>
      <short value="Participants in producing the report"/>
      <definition value="Indicates who or what participated in producing the report."/>
      <alias value="Laboratory"/>
      <alias value="Service"/>
      <alias value="Practitioner"/>
      <alias value="Department"/>
      <alias value="Company"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DiagnosticReport.performer"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.performer"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PRT-8 (where this PRT-4-Participation = &quot;PO&quot;)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=PRF]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.witness"/>
      </mapping>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="NA (new element in STU3)"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.performer.id">
      <path value="DiagnosticReport.performer.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.performer.extension">
      <path value="DiagnosticReport.performer.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.performer.modifierExtension">
      <path value="DiagnosticReport.performer.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.performer.role">
      <path value="DiagnosticReport.performer.role"/>
      <short value="Type of performer"/>
      <definition value="Describes the type of participation (e.g. a responsible party, author, or verifier)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DiagnosticReport.performer.role"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Role"/>
        </extension>
        <strength value="example"/>
        <description value="Indicate a role of diagnostic report performer"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/performer-role"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.performer.role"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PRT-8 (where this PRT-4-Participation = &quot;PO&quot;)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".functionCode"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.performer.actor">
      <path value="DiagnosticReport.performer.actor"/>
      <short value="Practitioner or Organization participant"/>
      <definition value="The reference to the practitioner or organization involved in producing the report. For example, the diagnostic service that is responsible for issuing the report."/>
      <comment value="This is not necessarily the source of the atomic data items. It is the entity that takes responsibility for the clinical report."/>
      <requirements value="Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DiagnosticReport.performer.actor"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.performer.actor"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PRT-8 (where this PRT-4-Participation = &quot;PO&quot;)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".role"/>
      </mapping>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.performer"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.specimen">
      <path value="DiagnosticReport.specimen"/>
      <short value="Specimens this report is based on"/>
      <definition value="Details about the specimens on which this diagnostic report is based."/>
      <comment value="If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group."/>
      <requirements value="Need to be able to report information about the collected specimens on which the report is based."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DiagnosticReport.specimen"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="SPM"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="participation[typeCode=SBJ]"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.result">
      <path value="DiagnosticReport.result"/>
      <short value="Observations - simple, or complex nested groups"/>
      <definition value="Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. &quot;atomic&quot; results), or they can be grouping observations that include references to other members of the group (e.g. &quot;panels&quot;)."/>
      <requirements value="Need to support individual results, or report groups of results, where the result grouping is arbitrary, but meaningful. This structure is recursive - observations can contain observations."/>
      <alias value="Data"/>
      <alias value="Atomic Value"/>
      <alias value="Result"/>
      <alias value="Atomic result"/>
      <alias value="Data"/>
      <alias value="Test"/>
      <alias value="Analyte"/>
      <alias value="Battery"/>
      <alias value="Organizer"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DiagnosticReport.result"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="OBXs"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=COMP].target"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.imagingStudy">
      <path value="DiagnosticReport.imagingStudy"/>
      <short value="Reference to full details of imaging associated with the diagnostic report"/>
      <definition value="One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images."/>
      <comment value="ImagingStudy and ImageManifest and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However each caters to different types of displays for different types of purposes. Neither, either, or both may be provided."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DiagnosticReport.imagingStudy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingManifest"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.image">
      <path value="DiagnosticReport.image"/>
      <short value="Key images associated with this report"/>
      <definition value="A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest)."/>
      <requirements value="Many diagnostic services include images in the report as part of their service."/>
      <alias value="DICOM"/>
      <alias value="Slides"/>
      <alias value="Scans"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DiagnosticReport.image"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="OBX?"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=COMP].target"/>
      </mapping>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.image"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.image.id">
      <path value="DiagnosticReport.image.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.image.extension">
      <path value="DiagnosticReport.image.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.image.modifierExtension">
      <path value="DiagnosticReport.image.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.image.comment">
      <path value="DiagnosticReport.image.comment"/>
      <short value="Comment about the image (e.g. explanation)"/>
      <definition value="A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer&apos;s attention to important features."/>
      <comment value="The comment should be displayed with the image. It would be common for the report to include additional discussion of the image contents in other sections such as the conclusion."/>
      <requirements value="The provider of the report should make a comment about each image included in the report."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DiagnosticReport.image.comment"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=&quot;annotation&quot;].value"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.image.link">
      <path value="DiagnosticReport.image.link"/>
      <short value="Reference to the image source"/>
      <definition value="Reference to the image source."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DiagnosticReport.image.link"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Media"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".value.reference"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.conclusion">
      <path value="DiagnosticReport.conclusion"/>
      <short value="Clinical Interpretation of test results"/>
      <definition value="Concise and clinically contextualized impression / summary of the diagnostic report."/>
      <requirements value="Need to be able to provide a conclusion that is not lost among the basic result data."/>
      <alias value="Report"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DiagnosticReport.conclusion"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="OBX"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="inboundRelationship[typeCode=&quot;SPRT&quot;].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST)"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.codedDiagnosis">
      <path value="DiagnosticReport.codedDiagnosis"/>
      <short value="Codes for the conclusion"/>
      <definition value="Codes for the conclusion."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DiagnosticReport.codedDiagnosis"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AdjunctDiagnosis"/>
        </extension>
        <strength value="example"/>
        <description value="Diagnosis codes provided as adjuncts to the report."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/clinical-findings"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="OBX"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD)"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.presentedForm">
      <path value="DiagnosticReport.presentedForm"/>
      <short value="Entire report as issued"/>
      <definition value="Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent."/>
      <comment value="&quot;application/pdf&quot; is recommended as the most reliable and interoperable in this context."/>
      <requirements value="Gives laboratory the ability to provide its own fully formatted report for clinical fidelity."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DiagnosticReport.presentedForm"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Attachment"/>
      </type>
      <mustSupport value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="OBX"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="text (type=ED)"/>
      </mapping>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.presentedForm"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="DiagnosticReport">
      <path value="DiagnosticReport"/>
      <short value="Argonaut Diagnostic Report Profile for Imaging"/>
      <definition value="The US Core Diagnostic Report Profile is based upon the requirements of the Argonauts to exchang imaging reports."/>
      <alias value="Imaging Report"/>
      <alias value="Radiology Report"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.status">
      <path value="DiagnosticReport.status"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <constraint>
        <key value="DiagnosticReport-1"/>
        <severity value="error"/>
        <human value="When DiagnosticReport.status is final/amended/corrected/appended, the presentedForm, conclusion or codedDiagnosis must be present"/>
        <expression value="(DiagnosticReport.status = &apos;final&apos; or DiagnosticReport.status = &apos;amended&apos; or DiagnosticReport.status = &apos;corrected&apos; or DiagnosticReport.status = &apos;appended&apos;) implies (presentedForm.exists() or conclusion.exists() or codedDiagnosis.exists())"/>
        <xpath value="not(f:DiagnosticReport/f:status[@value=(&apos;final&apos;,&apos;amended&apos;,&apos;appended&apos;,&apos;corrected&apos;)]) or (f:DiagnosticReport/f:conclusion or f:DiagnosticReport/f:presentedForm or f:DiagnosticReport/f:codedDiagnosis)"/>
      </constraint>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/diagnostic-report-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.status"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.category">
      <path value="DiagnosticReport.category"/>
      <alias value="Department"/>
      <alias value="Sub-department"/>
      <alias value="service"/>
      <alias value="discipline"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://fhir.org/guides/argonaut/clinicalnotes/ValueSet/diagnosticreport-category"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.category"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.code">
      <path value="DiagnosticReport.code"/>
      <short value="US Core Report Code"/>
      <definition value="The test, panel, report, or note that was ordered."/>
      <comment value="UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a &quot;local&quot; code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <binding>
        <strength value="extensible"/>
        <description value="LOINC codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/report-codes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.code"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.subject"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.context">
      <path value="DiagnosticReport.context"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
    </element>
    <element id="DiagnosticReport.effective[x]">
      <path value="DiagnosticReport.effective[x]"/>
      <short value="Time of the report or note"/>
      <definition value="This is the Datetime or Period when the report or note was written."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <type>
        <code value="Period"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.effective[x]"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.issued">
      <path value="DiagnosticReport.issued"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="instant"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.issued"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.performer">
      <path value="DiagnosticReport.performer"/>
      <min value="0"/>
      <max value="*"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="NA (new element in STU3)"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.performer.actor">
      <path value="DiagnosticReport.performer.actor"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.performer"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.image">
      <path value="DiagnosticReport.image"/>
      <min value="0"/>
      <max value="*"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.image"/>
      </mapping>
    </element>
    <element id="DiagnosticReport.presentedForm">
      <path value="DiagnosticReport.presentedForm"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Attachment"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <mapping>
        <identity value="argonaut-dq-dstu2"/>
        <map value="DiagnosticReport.presentedForm"/>
      </mapping>
    </element>
  </differential>
</StructureDefinition>

StructureDefinition "argo-clinicalnotes" Version "1"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference Argonaut Clinical Notes Profile
... identifier S0..1
... status S1..1Binding: DocumentReferenceStatus (required)
... type S1..1Binding: Document Type Value Set (required)
Min Binding: Argonaut DocumentReferences Type Value Set
... class S1..Binding: Argonaut DocumentReferences Category Value Set (extensible)
... subject S1..1Reference(US Core Patient Profile)
... created S0..1
... indexed S1..1
... author S0..Reference(US Core Practitioner | US Core Organization Profile | Device | US Core Patient Profile | RelatedPerson)
... custodian S0..Reference(US Core Organization Profile)
... content S1..1
.... attachment SI1..1argonaut-6: There shall be a url referencing the data or inline content.
..... contentType S1..1
..... data SI0..1
..... url SI0..1
.... format S0..1Binding: DocumentReference Format Code Set (extensible)
... context S0..1
.... encounter S0..1Reference(US Core Encounter Profile)

doco Documentation for this format

<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="argo-clinicalnotes"/>
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2020-06-25T06:58:17.583Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <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 &amp; 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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference" title="null">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"/>
          <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">Argonaut Clinical Notes 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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.identifier" title="null">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">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.status" title="null">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">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"/>
          <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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.type" title="null">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">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"/>
          <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>)
            <br/>
            <a style="font-weight:bold" href="http://hl7.org/fhir/STU3/extension-elementdefinition-minvalueset.html" title="Min Value Set Extension">Min Binding: </a>
            <a href="ValueSet-argonaut-clinical-note-type.html">Argonaut DocumentReferences Type Value Set</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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.class" title="null">class</a>
            <a name="DocumentReference.class"> </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..</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="font-weight:bold">Binding: </span>
            <a href="ValueSet-documentreference-category.html">Argonaut DocumentReferences Category Value 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_bck10.png)" class="hierarchy">
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Reference to another Resource" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.subject" title="null">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="http://hl7.org/fhir/us/core/STU2/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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.created" title="null">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">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.indexed" title="null">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">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"/>
          <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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Reference to another Resource" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.author" title="null">author</a>
            <a name="DocumentReference.author"> </a>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding-left: 3px padding-right: 3px color: white background-color: red" title="This element must be supported">S</span>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..</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="http://hl7.org/fhir/us/core/STU2/StructureDefinition-us-core-practitioner.html">US Core Practitioner</a>|
            <a href="http://hl7.org/fhir/us/core/STU2/StructureDefinition-us-core-organization.html">US Core Organization Profile</a>|
            <a href="http://hl7.org/fhir/STU3/device.html">Device</a>|
            <a href="http://hl7.org/fhir/us/core/STU2/StructureDefinition-us-core-patient.html">US Core Patient Profile</a>|
            <a href="http://hl7.org/fhir/STU3/relatedperson.html">RelatedPerson</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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Reference to another Resource" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.custodian" title="null">custodian</a>
            <a name="DocumentReference.custodian"> </a>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding-left: 3px padding-right: 3px color: white background-color: red" title="This element must be supported">S</span>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..</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="http://hl7.org/fhir/us/core/STU2/StructureDefinition-us-core-organization.html">US Core Organization 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_bck11.png)" class="hierarchy">
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.content" title="null">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">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"/>
          <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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.content.attachment" title="null">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>
            <span style="padding-left: 3px padding-right: 3px color: black background-color: white" title="This element has or is affected by some invariants">I</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"/>
          <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">argonaut-6: </span>There shall be a url referencing the data or inline content.</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_bck1110.png)" class="hierarchy">
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.content.attachment.contentType" title="null">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"/>
          <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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.content.attachment.data" title="null">data</a>
            <a name="DocumentReference.content.attachment.data"> </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>
            <span style="padding-left: 3px padding-right: 3px color: black background-color: white" title="This element has or is affected by some invariants">I</span>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.content.attachment.url" title="null">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>
            <span style="padding-left: 3px padding-right: 3px color: black background-color: white" title="This element has or is affected by some invariants">I</span>
          </td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.content.format" title="null">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">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Element" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.context" title="null">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">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy"/>
          <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 alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: inherit" class="hierarchy"/>
            <img alt="." style="background-color: white background-color: inherit" title="Reference to another Resource" class="hierarchy"/>
            <a href="StructureDefinition-argo-clinicalnotes-definitions.html#DocumentReference.context.encounter" title="null">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">0..1</td>
          <td style="vertical-align: top text-align : left background-color: white border: 0px #F0F0F0 solid padding:0px 4px 0px 4px" class="hierarchy">
            <a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(
            <a href="http://hl7.org/fhir/us/core/STU2/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>
  </text>
  <url value="http://fhir.org/guides/argonaut/clinicalnotes/StructureDefinition/argo-clinicalnotes"/>
  <version value="1.0.0"/>
  <name value="Argonaut Clinical Notes"/>
  <status value="active"/>
  <date value="2018-04-10T23:48:14+10:00"/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
      <display value="United States of America"/>
    </coding>
  </jurisdiction>
  <fhirVersion value="3.0.1"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/w5"/>
    <name value="W5 Mapping"/>
  </mapping>
  <mapping>
    <identity value="v2"/>
    <uri value="http://hl7.org/v2"/>
    <name value="HL7 v2 Mapping"/>
  </mapping>
  <mapping>
    <identity value="xds"/>
    <uri value="http://ihe.net/xds"/>
    <name value="XDS metadata equivalent"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="DocumentReference"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="DocumentReference">
      <path value="DocumentReference"/>
      <short value="Argonaut Clinical Notes Profile"/>
      <definition value="A reference to a document."/>
      <comment value="Usually, this is used for documents other than those defined by FHIR."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DocumentReference"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="dom-2"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
        <expression value="contained.contained.empty()"/>
        <xpath value="not(parent::f:contained and f:contained)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-1"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
        <expression value="contained.text.empty()"/>
        <xpath value="not(parent::f:contained and f:text)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-4"/>
        <severity value="error"/>
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
        <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-3"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
        <expression value="contained.where((&apos;#&apos;+id in %resource.descendants().reference).not()).empty()"/>
        <xpath value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat(&apos;#&apos;, $id))]))"/>
        <source value="DomainResource"/>
      </constraint>
      <mustSupport value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Document[classCode=&quot;DOC&quot; and moodCode=&quot;EVN&quot;]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="infrastructure.documents"/>
      </mapping>
    </element>
    <element id="DocumentReference.id">
      <path value="DocumentReference.id"/>
      <short value="Logical id of this artifact"/>
      <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
      <comment value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="id"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="DocumentReference.meta">
      <path value="DocumentReference.meta"/>
      <short value="Metadata about the resource"/>
      <definition value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.meta"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Meta"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="DocumentReference.implicitRules">
      <path value="DocumentReference.implicitRules"/>
      <short value="A set of rules under which this content was created"/>
      <definition value="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 value="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. &#10;&#10;This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it&apos;s meaning or interpretation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.implicitRules"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="DocumentReference.language">
      <path value="DocumentReference.language"/>
      <short value="Language of the resource content"/>
      <definition value="The base language in which the resource is written."/>
      <comment value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
          </valueReference>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="DocumentReference.text">
      <path value="DocumentReference.text"/>
      <short value="Text summary of the resource, for human interpretation"/>
      <definition value="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 &quot;clinically safe&quot; 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 value="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 &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded in formation is added later."/>
      <alias value="narrative"/>
      <alias value="html"/>
      <alias value="xhtml"/>
      <alias value="display"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
      <condition value="dom-1"/>
      <mapping>
        <identity value="rim"/>
        <map value="Act.text?"/>
      </mapping>
    </element>
    <element id="DocumentReference.contained">
      <path value="DocumentReference.contained"/>
      <short value="Contained, inline Resources"/>
      <definition value="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 value="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 value="inline resources"/>
      <alias value="anonymous resources"/>
      <alias value="contained resources"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.contained"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="DocumentReference.extension">
      <path value="DocumentReference.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="DocumentReference.modifierExtension">
      <path value="DocumentReference.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="DocumentReference.masterIdentifier">
      <path value="DocumentReference.masterIdentifier"/>
      <short value="Master Version Specific Identifier"/>
      <definition value="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 value="CDA Document Id extension and root."/>
      <requirements value="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 &quot;oid^extension&quot;, 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 &apos;^&apos; character shall not be included.)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.masterIdentifier"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="TXA-12"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.uniqueId"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="DocumentReference.identifier">
      <path value="DocumentReference.identifier"/>
      <short value="Other identifiers for the document"/>
      <definition value="Other identifiers associated with the document, including version independent identifiers."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="TXA-16?"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".id / .setId"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.entryUUID"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="DocumentReference.status">
      <path value="DocumentReference.status"/>
      <short value="current | superseded | entered-in-error"/>
      <definition value="The status of this document reference."/>
      <comment value="This is the status of the DocumentReference object, which might be independent from the docStatus element.&#10;&#10;This element is labeled as a modifier because the status contains the codes that mark the document or reference as not currently valid."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/document-reference-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="TXA-19"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="interim: .completionCode=&quot;IN&quot; &amp; ./statusCode[isNormalDatatype()]=&quot;active&quot; final: .completionCode=&quot;AU&quot; &amp;&amp; ./statusCode[isNormalDatatype()]=&quot;complete&quot; and not(./inboundRelationship[typeCode=&quot;SUBJ&quot; and isNormalActRelationship()]/source[subsumesCode(&quot;ActClass#CACT&quot;) and moodCode=&quot;EVN&quot; and domainMember(&quot;ReviseDocument&quot;, code) and isNormalAct()]) amended: .completionCode=&quot;AU&quot; &amp;&amp; ./statusCode[isNormalDatatype()]=&quot;complete&quot; and ./inboundRelationship[typeCode=&quot;SUBJ&quot; and isNormalActRelationship()]/source[subsumesCode(&quot;ActClass#CACT&quot;) and moodCode=&quot;EVN&quot; and domainMember(&quot;ReviseDocument&quot;, code) and isNormalAct() and statusCode=&quot;completed&quot;] withdrawn : .completionCode=NI &amp;&amp; ./statusCode[isNormalDatatype()]=&quot;obsolete&quot;"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry status"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element id="DocumentReference.docStatus">
      <path value="DocumentReference.docStatus"/>
      <short value="preliminary | final | appended | amended | entered-in-error"/>
      <definition value="The status of the underlying document."/>
      <comment value="The document that is pointed to might be in various lifecycle states."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.docStatus"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ReferredDocumentStatus"/>
        </extension>
        <strength value="required"/>
        <description value="Status of the underlying document."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/composition-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="TXA-17"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".statusCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element id="DocumentReference.type">
      <path value="DocumentReference.type"/>
      <short value="Kind of document (LOINC if possible)"/>
      <definition value="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 value="Key metadata element describing the document, used in searching/filtering."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.type"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet">
          <valueUri value="http://fhir.org/guides/argonaut/clinicalnotes/ValueSet/argonaut-clinical-note-type"/>
        </extension>
        <strength value="required"/>
        <description value="This is the code specifying the precise type of document"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/c80-doc-typecodes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="TXA-2"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./code"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.type"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="DocumentReference.class">
      <path value="DocumentReference.class"/>
      <short value="Categorization of document"/>
      <definition value="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 value="This is a metadata field from [XDS/MHD](http://wiki.ihe.net/index.php?title=Mobile_access_to_Health_Documents_(MHD))."/>
      <requirements value="Helps humans to assess whether the document is of interest when viewing a list of documents."/>
      <alias value="kind"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.class"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://fhir.org/guides/argonaut/clinicalnotes/ValueSet/documentreference-category"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.class"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="DocumentReference.subject">
      <path value="DocumentReference.subject"/>
      <short value="Who/what is the subject of the document"/>
      <definition value="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 value="1"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.subject"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="PID-3 (No standard way to define a Practitioner or Group subject in HL7 v2 MDM message)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=&quot;SBJ&quot;].role[typeCode=&quot;PAT&quot;]"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.patientId"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.focus"/>
      </mapping>
    </element>
    <element id="DocumentReference.created">
      <path value="DocumentReference.created"/>
      <short value="Document creation time"/>
      <definition value="When the document was created."/>
      <comment value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.created"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="TXA-6"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime[type=&quot;TS&quot;]"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.submissionTime"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="when.done"/>
      </mapping>
    </element>
    <element id="DocumentReference.indexed">
      <path value="DocumentReference.indexed"/>
      <short value="When this document reference was created"/>
      <definition value="When the document reference was created."/>
      <comment value="Referencing/indexing time is used for tracking, organizing versions and searching."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.indexed"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="instant"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".availabilityTime[type=&quot;TS&quot;]"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.submissionTime"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="when.recorded"/>
      </mapping>
    </element>
    <element id="DocumentReference.author">
      <path value="DocumentReference.author"/>
      <short value="Who and/or what authored the document"/>
      <definition value="Identifies who is responsible for adding the information to the document."/>
      <comment value="Not necessarily who did the actual data entry (i.e. typist) it in or who was the source (informant)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DocumentReference.author"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=&quot;AUT&quot;].role[classCode=&quot;ASSIGNED&quot;]"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.author"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.author"/>
      </mapping>
    </element>
    <element id="DocumentReference.authenticator">
      <path value="DocumentReference.authenticator"/>
      <short value="Who/what authenticated the document"/>
      <definition value="Which person or organization authenticates that this document is valid."/>
      <comment value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.authenticator"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="TXA-10"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=&quot;AUTHEN&quot;].role[classCode=&quot;ASSIGNED&quot;]"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.legalAuthenticator"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.witness"/>
      </mapping>
    </element>
    <element id="DocumentReference.custodian">
      <path value="DocumentReference.custodian"/>
      <short value="Organization which maintains the document"/>
      <definition value="Identifies the organization or group who is responsible for ongoing maintenance of and access to the document."/>
      <comment value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.custodian"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=&quot;RCV&quot;].role[classCode=&quot;CUST&quot;].scoper[classCode=&quot;ORG&quot; and determinerCode=&quot;INST&quot;]"/>
      </mapping>
    </element>
    <element id="DocumentReference.relatesTo">
      <path value="DocumentReference.relatesTo"/>
      <short value="Relationships to other documents"/>
      <definition value="Relationships that this document has with other document references that already exist."/>
      <comment value="This element is labeled as a modifier because documents that append to other documents are incomplete on their own."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DocumentReference.relatesTo"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship"/>
      </mapping>
    </element>
    <element id="DocumentReference.relatesTo.id">
      <path value="DocumentReference.relatesTo.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DocumentReference.relatesTo.extension">
      <path value="DocumentReference.relatesTo.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DocumentReference.relatesTo.modifierExtension">
      <path value="DocumentReference.relatesTo.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="DocumentReference.relatesTo.code">
      <path value="DocumentReference.relatesTo.code"/>
      <short value="replaces | transforms | signs | appends"/>
      <definition value="The type of relationship that this document has with anther document."/>
      <comment value="If this document appends another document, then the document cannot be fully understood without also accessing the referenced document."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.relatesTo.code"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DocumentRelationshipType"/>
        </extension>
        <strength value="required"/>
        <description value="The type of relationship between documents."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/document-relationship-type"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship.typeCode"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry Associations type"/>
      </mapping>
    </element>
    <element id="DocumentReference.relatesTo.target">
      <path value="DocumentReference.relatesTo.target"/>
      <short value="Target of the relationship"/>
      <definition value="The target document of this relationship."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.relatesTo.target"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".target[classCode=&quot;DOC&quot;, moodCode=&quot;EVN&quot;].id"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry Associations reference"/>
      </mapping>
    </element>
    <element id="DocumentReference.description">
      <path value="DocumentReference.description"/>
      <short value="Human-readable description (title)"/>
      <definition value="Human-readable description of the source document. This is sometimes known as the &quot;title&quot;."/>
      <comment value="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 &quot;consultation&quot; or &quot;progress note&quot;)."/>
      <requirements value="Helps humans to assess whether the document is of interest."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.description"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="TXA-25"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".outboundRelationship[typeCode=&quot;SUBJ&quot;].target.text"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.description"/>
      </mapping>
    </element>
    <element id="DocumentReference.securityLabel">
      <path value="DocumentReference.securityLabel"/>
      <short value="Document security-tags"/>
      <definition value="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 &quot;reference&quot; to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to."/>
      <comment value="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 value="Use of the Health Care Privacy/Security Classification (HCS) system of security-tag use is recommended."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DocumentReference.securityLabel"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SecurityLabels"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="extensible"/>
        <description value="Security Labels from the Healthcare Privacy and Security Classification System."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/security-labels"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="TXA-18"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".confidentialityCode"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.confidentialityCode"/>
      </mapping>
    </element>
    <element id="DocumentReference.content">
      <path value="DocumentReference.content"/>
      <short value="Document referenced"/>
      <definition value="The document and format referenced. There may be multiple content element repetitions, each with a different format."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.content"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="document.text"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.id">
      <path value="DocumentReference.content.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.extension">
      <path value="DocumentReference.content.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.modifierExtension">
      <path value="DocumentReference.content.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.attachment">
      <path value="DocumentReference.content.attachment"/>
      <short value="Where to access the document"/>
      <definition value="The document or URL of the document along with critical metadata to prove content has integrity."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.content.attachment"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Attachment"/>
      </type>
      <constraint>
        <key value="argonaut-6"/>
        <severity value="error"/>
        <human value="There shall be a url referencing the data or inline content."/>
        <expression value="url.exists() or data.exists()"/>
        <xpath value="f:url or f:content"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="TXA-3 for mime type"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="document.text"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.mimeType DocumentEntry.languageCode DocumentEntry.URI DocumentEntry.size DocumentEntry.hash DocumentEntry.title"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.attachment.id">
      <path value="DocumentReference.content.attachment.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.attachment.extension">
      <path value="DocumentReference.content.attachment.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional Content defined by implementations"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.attachment.contentType">
      <path value="DocumentReference.content.attachment.contentType"/>
      <short value="Mime type of the content, with charset etc."/>
      <definition value="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 value="Processors of the data need to be able to know how to interpret the data."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Attachment.contentType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <example>
        <label value="General"/>
        <valueCode value="text/plain charset=UTF-8, image/png"/>
      </example>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MimeType"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="required"/>
        <description value="The mime type of an attachment. Any valid mime type is allowed."/>
        <valueSetUri value="http://www.rfc-editor.org/bcp/bcp13.txt"/>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./mediaType, ./charset"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.attachment.language">
      <path value="DocumentReference.content.attachment.language"/>
      <short value="Human language of the content (BCP-47)"/>
      <definition value="The human language of the content. The value can be any valid value according to BCP 47."/>
      <requirements value="Users need to be able to choose between the languages in a set of attachments."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Attachment.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <example>
        <label value="General"/>
        <valueCode value="en-AU"/>
      </example>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
          </valueReference>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="./language"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.attachment.data">
      <path value="DocumentReference.content.attachment.data"/>
      <short value="Data inline, base64ed"/>
      <definition value="The actual data of the attachment - a sequence of bytes. In XML, represented using base64."/>
      <comment value="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."/>
      <requirements value="The data needs to able to be transmitted inline."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Attachment.data"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="base64Binary"/>
      </type>
      <mustSupport value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="ED.5"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./data"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.attachment.url">
      <path value="DocumentReference.content.attachment.url"/>
      <short value="Uri where the data can be found"/>
      <definition value="An alternative location where the data can be accessed."/>
      <comment value="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 value="The data needs to be transmitted by reference."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Attachment.url"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <example>
        <label value="General"/>
        <valueUri value="http://www.acme.com/logo-small.png"/>
      </example>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="RP.1+RP.2 - if they refer to a URL (see v2.6)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./reference/literal"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.attachment.size">
      <path value="DocumentReference.content.attachment.size"/>
      <short value="Number of bytes of content (if url provided)"/>
      <definition value="The number of bytes of data that make up this attachment (before base64 encoding, if that is done)."/>
      <comment value="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 value="Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Attachment.size"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="unsignedInt"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A (needs data type R3 proposal)"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.attachment.hash">
      <path value="DocumentReference.content.attachment.hash"/>
      <short value="Hash of the data (sha-1, base64ed)"/>
      <definition value="The calculated hash of the data using SHA-1. Represented using base64."/>
      <comment value="The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded."/>
      <requirements value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="Attachment.hash"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="base64Binary"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".integrityCheck[parent::ED/integrityCheckAlgorithm=&quot;SHA-1&quot;]"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.attachment.title">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true"/>
      </extension>
      <path value="DocumentReference.content.attachment.title"/>
      <short value="Label to display in place of the data"/>
      <definition value="A label or set of text to display in place of the data."/>
      <requirements value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="Attachment.title"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <example>
        <label value="General"/>
        <valueString value="Official Corporate Logo"/>
      </example>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="./title/data"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.attachment.creation">
      <path value="DocumentReference.content.attachment.creation"/>
      <short value="Date attachment was first created"/>
      <definition value="The date that the attachment was first created."/>
      <requirements value="This is often tracked as an integrity issue for use of the attachment."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Attachment.creation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A (needs data type R3 proposal)"/>
      </mapping>
    </element>
    <element id="DocumentReference.content.format">
      <path value="DocumentReference.content.format"/>
      <short value="Format/content rules for the document"/>
      <definition value="An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType."/>
      <comment value="Note that while IHE mostly issues URNs for format types, not all documents can be identified by a URI."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.content.format"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/formatcodes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="document.text"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.formatCode"/>
      </mapping>
    </element>
    <element id="DocumentReference.context">
      <path value="DocumentReference.context"/>
      <short value="Clinical context of document"/>
      <definition value="The clinical context in which the document was prepared."/>
      <comment value="These values are primarily added to help with searching for interesting/relevant documents."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.context"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=&quot;SUBJ&quot;].target[classCode&lt;&apos;ACT&apos;]"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.id">
      <path value="DocumentReference.context.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.extension">
      <path value="DocumentReference.context.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.modifierExtension">
      <path value="DocumentReference.context.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.encounter">
      <path value="DocumentReference.context.encounter"/>
      <short value="Context of the document content"/>
      <definition value="Describes the clinical encounter or type of care that the document content is associated with."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.context.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="unique(highest(./outboundRelationship[typeCode=&quot;SUBJ&quot; and isNormalActRelationship()], priorityNumber)/target[moodCode=&quot;EVN&quot; and classCode=(&quot;ENC&quot;, &quot;PCPR&quot;) and isNormalAct])"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="context"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.event">
      <path value="DocumentReference.context.event"/>
      <short value="Main clinical acts documented"/>
      <definition value="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 &quot;History and Physical Report&quot; in which the procedure being documented is necessarily a &quot;History and Physical&quot; act."/>
      <comment value="An event can further specialize the act inherent in the type, such as where it is simply &quot;Procedure Report&quot; and the procedure was a &quot;colonoscopy&quot;. 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 value="0"/>
      <max value="*"/>
      <base>
        <path value="DocumentReference.context.event"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DocumentEventType"/>
        </extension>
        <strength value="example"/>
        <description value="This list of codes represents the main clinical acts being documented."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActCode"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".code"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.eventCodeList"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.period">
      <path value="DocumentReference.context.period"/>
      <short value="Time of service that is being documented"/>
      <definition value="The time period over which the service that is described by the document was provided."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.context.period"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.serviceStartTime DocumentEntry.serviceStopTime"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.facilityType">
      <path value="DocumentReference.context.facilityType"/>
      <short value="Kind of facility where patient was seen"/>
      <definition value="The kind of facility where the patient was seen."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.context.facilityType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DocumentC80FacilityType"/>
        </extension>
        <strength value="example"/>
        <description value="XDS Facility Type."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/c80-facilitycodes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=&quot;LOC&quot;].role[classCode=&quot;DSDLOC&quot;].code"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.healthcareFacilityTypeCode"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.practiceSetting">
      <path value="DocumentReference.context.practiceSetting"/>
      <short value="Additional details about where the content was created (e.g. clinical specialty)"/>
      <definition value="This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty."/>
      <comment value="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&#228;den Registrierung von CDA Dokumenten f&#252;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 value="This is an important piece of metadata that providers often rely upon to quickly sort and/or filter out to find specific content."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.context.practiceSetting"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DocumentC80PracticeSetting"/>
        </extension>
        <strength value="example"/>
        <description value="Additional details about where the content was created (e.g. clinical specialty)."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/c80-practice-codes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=&quot;LOC&quot;].role[classCode=&quot;DSDLOC&quot;].code"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.practiceSettingCode"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.sourcePatientInfo">
      <path value="DocumentReference.context.sourcePatientInfo"/>
      <short value="Patient demographics from source"/>
      <definition value="The Patient Information as known when the document was published. May be a reference to a version specific, or contained."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.context.sourcePatientInfo"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=&quot;SBJ&quot;].role[typeCode=&quot;PAT&quot;]"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.sourcePatientInfo DocumentEntry.sourcePatientId"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.related">
      <path value="DocumentReference.context.related"/>
      <short value="Related identifiers or resources"/>
      <definition value="Related identifiers or resources associated with the DocumentReference."/>
      <comment value="May be identifiers or resources that caused the DocumentReference or referenced Document to be created."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DocumentReference.context.related"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="./outboundRelationship[typeCode=&quot;PERT&quot; and isNormalActRelationship()] / target[isNormalAct]"/>
      </mapping>
      <mapping>
        <identity value="xds"/>
        <map value="DocumentEntry.referenceIdList"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.related.id">
      <path value="DocumentReference.context.related.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.related.extension">
      <path value="DocumentReference.context.related.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.related.modifierExtension">
      <path value="DocumentReference.context.related.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="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 value="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 value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.related.identifier">
      <path value="DocumentReference.context.related.identifier"/>
      <short value="Identifier of related objects or events"/>
      <definition value="Related identifier to this DocumentReference. If both id and ref are present they shall refer to the same thing."/>
      <comment value="Order numbers, accession numbers, XDW workflow numbers."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.context.related.identifier"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="./outboundRelationship[typeCode=&quot;PERT&quot; and isNormalActRelationship()] / target[isNormalAct] .id"/>
      </mapping>
    </element>
    <element id="DocumentReference.context.related.ref">
      <path value="DocumentReference.context.related.ref"/>
      <short value="Related Resource"/>
      <definition value="Related Resource to this DocumentReference. If both id and ref are present they shall refer to the same thing."/>
      <comment value="Order, ProcedureRequest, Procedure, EligibilityRequest, etc."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentReference.context.related.ref"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="./outboundRelationship[typeCode=&quot;PERT&quot; and isNormalActRelationship()] / target[isNormalAct].text.reference"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="DocumentReference">
      <path value="DocumentReference"/>
      <short value="Argonaut Clinical Notes Profile"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
    </element>
    <element id="DocumentReference.identifier">
      <path value="DocumentReference.identifier"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
    </element>
    <element id="DocumentReference.status">
      <path value="DocumentReference.status"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <binding>
        <strength value="required"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/document-reference-status"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="DocumentReference.type">
      <path value="DocumentReference.type"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet">
          <valueUri value="http://fhir.org/guides/argonaut/clinicalnotes/ValueSet/argonaut-clinical-note-type"/>
        </extension>
        <strength value="required"/>
        <description value="This is the code specifying the precise type of document"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/c80-doc-typecodes"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="DocumentReference.class">
      <path value="DocumentReference.class"/>
      <min value="1"/>
      <mustSupport value="true"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://fhir.org/guides/argonaut/clinicalnotes/ValueSet/documentreference-category"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="DocumentReference.subject">
      <path value="DocumentReference.subject"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
    </element>
    <element id="DocumentReference.created">
      <path value="DocumentReference.created"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
    </element>
    <element id="DocumentReference.indexed">
      <path value="DocumentReference.indexed"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
    </element>
    <element id="DocumentReference.author">
      <path value="DocumentReference.author"/>
      <min value="0"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element id="DocumentReference.custodian">
      <path value="DocumentReference.custodian"/>
      <min value="0"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element id="DocumentReference.content">
      <path value="DocumentReference.content"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
    </element>
    <element id="DocumentReference.content.attachment">
      <path value="DocumentReference.content.attachment"/>
      <min value="1"/>
      <max value="1"/>
      <constraint>
        <key value="argonaut-6"/>
        <severity value="error"/>
        <human value="There shall be a url referencing the data or inline content."/>
        <expression value="url.exists() or data.exists()"/>
        <xpath value="f:url or f:content"/>
      </constraint>
      <mustSupport value="true"/>
      <isModifier value="false"/>
    </element>
    <element id="DocumentReference.content.attachment.contentType">
      <path value="DocumentReference.content.attachment.contentType"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
    </element>
    <element id="DocumentReference.content.attachment.data">
      <path value="DocumentReference.content.attachment.data"/>
      <min value="0"/>
      <max value="1"/>
      <condition value="argonaut-6"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
    </element>
    <element id="DocumentReference.content.attachment.url">
      <path value="DocumentReference.content.attachment.url"/>
      <min value="0"/>
      <max value="1"/>
      <condition value="argonaut-6"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
    </element>
    <element id="DocumentReference.content.format">
      <path value="DocumentReference.content.format"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <binding>
        <strength value="extensible"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/formatcodes"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="DocumentReference.context">
      <path value="DocumentReference.context"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
    </element>
    <element id="DocumentReference.context.encounter">
      <path value="DocumentReference.context.encounter"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
    </element>
  </differential>
</StructureDefinition>

StructureDefinition "argo-practitionerrole" Version "1"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

Generated Narrative with Details

url: http://fhir.org/guides/argonaut-pd/StructureDefinition/argo-practitionerrole

name: Argonaut Provider Directory PractitionerRole

status: DRAFT

date: 09/11/2016

publisher: Argonaut Project

contact:

url: http://fhir.org/guides/argonaut-pd/StructureDefinition/argo-practitionerrole

name: Argonaut Provider Directory PractitionerRole

status: DRAFT

publisher: Argonaut Project

contact:

date: 09/11/2016

mapping

identity: v2

uri: http://hl7.org/v2

name: HL7 v2 Mapping

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: servd

uri: http://www.omg.org/spec/ServD/1.0/

name: ServD

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

kind: RESOURCE

abstract: false

type: PractitionerRole

baseDefinition: http://hl7.org/fhir/StructureDefinition/PractitionerRole

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle

<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="argo-practitionerrole"/>
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2020-06-25T02:53:46.911Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>url</b>:
        <a href="http://fhir.org/guides/argonaut-pd/StructureDefinition/argo-practitionerrole">http://fhir.org/guides/argonaut-pd/StructureDefinition/argo-practitionerrole</a>
      </p>
      <p>
        <b>name</b>: Argonaut Provider Directory PractitionerRole</p>
      <p>
        <b>status</b>: DRAFT</p>
      <p>
        <b>date</b>: 09/11/2016</p>
      <p>
        <b>publisher</b>: Argonaut Project</p>
      <p>
        <b>contact</b>: </p>
      <p>
        <b>url</b>:
        <a href="http://fhir.org/guides/argonaut-pd/StructureDefinition/argo-practitionerrole">http://fhir.org/guides/argonaut-pd/StructureDefinition/argo-practitionerrole</a>
      </p>
      <p>
        <b>name</b>: Argonaut Provider Directory PractitionerRole</p>
      <p>
        <b>status</b>: DRAFT</p>
      <p>
        <b>publisher</b>: Argonaut Project</p>
      <p>
        <b>contact</b>: </p>
      <p>
        <b>date</b>: 09/11/2016</p>
      <blockquote>
        <p>
          <b>mapping</b>
        </p>
        <p>
          <b>identity</b>: v2</p>
        <p>
          <b>uri</b>:
          <a href="http://hl7.org/v2">http://hl7.org/v2</a>
        </p>
        <p>
          <b>name</b>: HL7 v2 Mapping</p>
      </blockquote>
      <blockquote>
        <p>
          <b>mapping</b>
        </p>
        <p>
          <b>identity</b>: rim</p>
        <p>
          <b>uri</b>:
          <a href="http://hl7.org/v3">http://hl7.org/v3</a>
        </p>
        <p>
          <b>name</b>: RIM Mapping</p>
      </blockquote>
      <blockquote>
        <p>
          <b>mapping</b>
        </p>
        <p>
          <b>identity</b>: servd</p>
        <p>
          <b>uri</b>:
          <a href="http://www.omg.org/spec/ServD/1.0/">http://www.omg.org/spec/ServD/1.0/</a>
        </p>
        <p>
          <b>name</b>: ServD</p>
      </blockquote>
      <blockquote>
        <p>
          <b>mapping</b>
        </p>
        <p>
          <b>identity</b>: w5</p>
        <p>
          <b>uri</b>:
          <a href="http://hl7.org/fhir/w5">http://hl7.org/fhir/w5</a>
        </p>
        <p>
          <b>name</b>: W5 Mapping</p>
      </blockquote>
      <p>
        <b>kind</b>: RESOURCE</p>
      <p>
        <b>abstract</b>: false</p>
      <p>
        <b>type</b>: PractitionerRole</p>
      <p>
        <b>baseDefinition</b>:
        <a href="http://hl7.org/fhir/StructureDefinition/PractitionerRole">http://hl7.org/fhir/StructureDefinition/PractitionerRole</a>
      </p>
      <p>
        <b>derivation</b>: CONSTRAINT</p>
      <h3>Snapshots</h3>
      <table class="grid">
        <tr>
          <td>-</td>
          <td>
            <b>Element</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>todo-bundle</td>
        </tr>
      </table>
      <h3>Differentials</h3>
      <table class="grid">
        <tr>
          <td>-</td>
          <td>
            <b>Element</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>todo-bundle</td>
        </tr>
      </table>
    </div>
  </text>
  <url value="http://fhir.org/guides/argonaut-pd/StructureDefinition/argo-practitionerrole"/>
  <name value="Argonaut Provider Directory PractitionerRole"/>
  <status value="draft"/>
  <date value="2016-11-09"/>
  <publisher value="Argonaut Project"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://argonautwiki.hl7.org"/>
    </telecom>
  </contact>
  <mapping>
    <identity value="v2"/>
    <uri value="http://hl7.org/v2"/>
    <name value="HL7 v2 Mapping"/>
  </mapping>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <mapping>
    <identity value="servd"/>
    <uri value="http://www.omg.org/spec/ServD/1.0/"/>
    <name value="ServD"/>
  </mapping>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/w5"/>
    <name value="W5 Mapping"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="PractitionerRole"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="PractitionerRole:argonaut-pd">
      <path value="PractitionerRole"/>
      <sliceName value="Argonaut-PD"/>
      <short value="Argonaut Provider Directory PractitionerRole"/>
      <definition value="This is basic constraint on PractitionerRole for use in Argonaut Provider Directory resources."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PractitionerRole"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="dom-2"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
        <expression value="contained.contained.empty()"/>
        <xpath value="not(parent::f:contained and f:contained)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-1"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
        <expression value="contained.text.empty()"/>
        <xpath value="not(parent::f:contained and f:text)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-4"/>
        <severity value="error"/>
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
        <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-3"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
        <expression value="contained.where((&apos;#&apos;+id in %resource.descendants().reference).not()).empty()"/>
        <xpath value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat(&apos;#&apos;, $id))]))"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="pd-1"/>
        <severity value="error"/>
        <human value="SHALL have contact information or a reference to an Endpoint"/>
        <expression value="telecom or endpoint"/>
        <xpath value="exists(f:telecom) or exists(f:endpoint)"/>
      </constraint>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="PRD (as one example)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Role"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="ServiceSiteProvider"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="administrative.individual"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.id">
      <path value="PractitionerRole.id"/>
      <short value="Logical id of this artifact"/>
      <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="id"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="PractitionerRole:argonaut-pd.meta">
      <path value="PractitionerRole.meta"/>
      <short value="Metadata about the resource"/>
      <definition value="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 value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.meta"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Meta"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="PractitionerRole:argonaut-pd.implicitRules">
      <path value="PractitionerRole.implicitRules"/>
      <short value="A set of rules under which this content was created"/>
      <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.implicitRules"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="PractitionerRole:argonaut-pd.language">
      <path value="PractitionerRole.language"/>
      <short value="Language of the resource content"/>
      <definition value="The base language in which the resource is written."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
          </valueReference>
        </extension>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="PractitionerRole:argonaut-pd.text">
      <path value="PractitionerRole.text"/>
      <short value="Text summary of the resource, for human interpretation"/>
      <definition value="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 &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
      <alias value="narrative"/>
      <alias value="html"/>
      <alias value="xhtml"/>
      <alias value="display"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
      <condition value="dom-1"/>
      <mapping>
        <identity value="rim"/>
        <map value="Act.text?"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.contained">
      <path value="PractitionerRole.contained"/>
      <short value="Contained, inline Resources"/>
      <definition value="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."/>
      <alias value="inline resources"/>
      <alias value="anonymous resources"/>
      <alias value="contained resources"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.contained"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.extension">
      <path value="PractitionerRole.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.modifierExtension">
      <path value="PractitionerRole.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.identifier">
      <path value="PractitionerRole.identifier"/>
      <short value="Business Identifiers that are specific to a role/location"/>
      <definition value="Business Identifiers that are specific to a role/location."/>
      <requirements value="Often, specific identities are assigned for the agent."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PractitionerRole.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="v2"/>
        <map value="PRD-7 (or XCN.1)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./id"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./Identifiers"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.active">
      <path value="PractitionerRole.active"/>
      <short value="Whether this practitioner&apos;s record is in active use"/>
      <definition value="Whether this practitioner&apos;s record is in active use."/>
      <requirements value="Need to be able to mark a practitioner record as not to be used because it was created in error."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PractitionerRole.active"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="./statusCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.practitioner">
      <path value="PractitionerRole.practitioner"/>
      <short value="Practitioner that is able to provide the defined services for the organation"/>
      <definition value="Practitioner that is able to provide the defined services for the organation."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PractitionerRole.practitioner"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://fhir.org/guides/argonaut-pd/StructureDefinition-argo-practitioner"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value=".player"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.organization">
      <path value="PractitionerRole.organization"/>
      <short value="Organization where the roles are available"/>
      <definition value="The organization where the Practitioner performs the roles associated."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PractitionerRole.organization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://fhir.org/guides/argonaut-pd/StructureDefinition-argo-organization"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="scopingOrganization"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.code">
      <path value="PractitionerRole.code"/>
      <short value="Roles which this practitioner may perform"/>
      <definition value="Roles which this practitioner is authorized to perform for the organization."/>
      <requirements value="Need to know what authority the practitioner has - what can they do?"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PractitionerRole.code"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="required"/>
        <description value="Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers."/>
        <valueSetReference>
          <reference value="http://fhir.org/guides/argonaut-pd/ValueSet/provider-role"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="PRD-1 / STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="./code"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="(ServD maps Practitioners and Organizations via another entity, so this concept is not available)"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.specialty">
      <path value="PractitionerRole.specialty"/>
      <short value="Specific specialty of the practitioner"/>
      <definition value="Specific specialty of the practitioner."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PractitionerRole.specialty"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="required"/>
        <description value="Provider specialty codes consist of NUCC Health Care Provider Taxonomy Code Set for providers."/>
        <valueSetReference>
          <reference value="http://fhir.org/guides/argonaut-pd/ValueSet/provider-specialty"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="PRA-5"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="indirectAuthority/QualifiedEntity[code &lt; Speciality]/code"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="./Specialty"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.location">
      <path value="PractitionerRole.location"/>
      <short value="The location(s) at which this practitioner provides care"/>
      <definition value="The location(s) at which this practitioner provides care."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PractitionerRole.location"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://fhir.org/guides/argonaut-pd/StructureDefinition-argo-location"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="./target[classCode=&quot;indirectAuthority].source[classCode=SDLOC]"/>
      </mapping>
      <mapping>
        <identity value="servd"/>
        <map value="(ServD maps Practitioners and Organizations via another entity, so this concept is not available)&lt;br/&gt; However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="where"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.healthcareService">
      <path value="PractitionerRole.healthcareService"/>
      <short value="The list of healthcare services that this worker provides for this role&apos;s Organization/Location(s)"/>
      <definition value="The list of healthcare services that this worker provides for this role&apos;s Organization/Location(s)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PractitionerRole.healthcareService"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="./target[classCode=&quot;indirectAuthority].id?"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.telecom">
      <path value="PractitionerRole.telecom"/>
      <short value="Contact details that are specific to the role/location/service"/>
      <definition value="Contact details that are specific to the role/location/service."/>
      <requirements value="Often practitioners have a dedicated line for each location (or service) that they work at, and need to be able to define separate contact details for each of these."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PractitionerRole.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="ContactPoint"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value=".telecom"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.telecom.id">
      <path value="PractitionerRole.telecom.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.telecom.extension">
      <path value="PractitionerRole.telecom.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PractitionerRole:argonaut-pd.telecom.system">
      <path value="PractitionerRole.telecom.system"/>
      <short value="phone | fax | email | pager | url | other"/>
      <definition value="Telecommunications form for contact point - what communications system is required to make use of the contact."/>
      <