<?xml version="1.0" encoding="UTF-8"?>

<DocumentReference xmlns="http://hl7.org/fhir">
  <id value="ex-DocumentReferenceUnContainedFully"/>
  <meta>
    <profile value="https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.UnContained.Comprehensive.DocumentReference"/>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HTEST"/>
    </security>
  </meta>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: DocumentReference ex-DocumentReferenceUnContainedFully</b></p><a name="ex-DocumentReferenceUnContainedFully"> </a><a name="hcex-DocumentReferenceUnContainedFully"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-IHE.MHD.UnContained.Comprehensive.DocumentReference.html">MHD DocumentReference Comprehensive UnContained References Option</a></p><p style="margin-bottom: 0px">Security Label: test health data (Details: ActReason code HTEST = 'test health data')</p></div><p><b>DocumentReference Source Patient</b>: <a href="Patient-ex-patient.html">John Schmidt  Other, DoB: 1923-07-25</a></p><p><b>Holds values from DocumentEntry.referenceIdList that are not appropriate for .context or .basedOn</b>: <a href="http://terminology.hl7.org/7.0.1/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt 

This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: 

Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.

This OID may also be used in CD.codeSystem.">Uniform Resource Identifier (URI)</a>/urn:oid:1.2.840.113556.1.8000.2554.17917.46600.21181.17878.33419.62048.57128.2759</p><p><b>identifier</b>: Identifier type for XDS UniqueId/urn:oid:1.2.840.113556.1.8000.2554.58783.21864.3474.19410.44358.58254.41281.46340, Identifier type for XDS entryUUID/urn:uuid:0c287d32-01e3-4d87-9953-9fcc9404eb21</p><p><b>status</b>: Current</p><p><b>type</b>: <span title="Codes:{http://loinc.org 55107-7}">Addendum Document</span></p><p><b>category</b>: <span title="Codes:{http://loinc.org 11369-6}">History of Immunization note</span></p><p><b>subject</b>: <a href="Patient-ex-patient.html">John Schmidt  Other, DoB: 1923-07-25</a></p><h3>Events</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Concept</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode ACCTRECEIVABLE}">account receivable</span></td></tr></table><p><b>facilityType</b>: <span title="Codes:{http://snomed.info/sct 82242000}">Children's hospital</span></p><p><b>practiceSetting</b>: <span title="Codes:{http://snomed.info/sct 408467006}">Adult mental illness - specialty (qualifier value)</span></p><p><b>period</b>: 2020-12-31 23:50:50-0500 --&gt; 2020-12-31 23:50:50-0500</p><p><b>date</b>: 2020-12-31 23:50:50-0500</p><p><b>author</b>: <a href="Practitioner-ex-practitioner.html">Practitioner: telecom = JohnMoehrke@gmail.com</a></p><h3>Attesters</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Mode</b></td><td><b>Party</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:{http://hl7.org/fhir/composition-attestation-mode professional}">Professional</span></td><td><a href="Practitioner-ex-practitioner.html">Practitioner: telecom = JohnMoehrke@gmail.com</a></td></tr></table><h3>RelatesTos</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Code</b></td><td><b>Target</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:{http://hl7.org/fhir/document-relationship-type appends}">Appends</span></td><td><a href="DocumentReference-ex-documentreference.html">DocumentReference: status = current</a></td></tr></table><p><b>description</b>: </p><div><p>Example of a Comprehensive DocumentReference resource. This is minimally filled for all mandatory elements.</p>
</div><p><b>securityLabel</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-Confidentiality N}">normal</span></p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class="grid"><tr><td style="display: none">-</td><td><b>ContentType</b></td><td><b>Language</b></td><td><b>Url</b></td><td><b>Size</b></td><td><b>Hash</b></td><td><b>Title</b></td><td><b>Creation</b></td></tr><tr><td style="display: none">*</td><td>text/plain</td><td>English</td><td><a href="http://example.com/nowhere.txt">http://example.com/nowhere.txt</a></td><td>0</td><td><code>ZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ==</code></td><td>DocumentReference for Comprehensive minimally filled metadata</td><td>2020-12-31 23:50:50-0500</td></tr></table><h3>Profiles</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Value[x]</b></td></tr><tr><td style="display: none">*</td><td><a href="http://tx.fhir.org/r5/ValueSet/formatcode#formatcode-urn.58ihe.58iti.58xds-sd.58text.582008">IHE Format Code set for use with Document Sharing: urn:ihe:iti:xds-sd:text:2008</a> (ITI XDS-SD TEXT)</td></tr></table></blockquote></div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient">
    <valueReference>
      <reference value="Patient/ex-patient"/>
    </valueReference>
  </extension>
  <extension url="https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-referenceId">
    <valueIdentifier>
      <system value="urn:ietf:rfc:3986"/>
      <value value="urn:oid:1.2.840.113556.1.8000.2554.17917.46600.21181.17878.33419.62048.57128.2759"/>
    </valueIdentifier>
  </extension>
  <identifier>
    <type>
      <coding>
        <system value="https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType"/>
        <code value="uniqueId"/>
      </coding>
    </type>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:1.2.840.113556.1.8000.2554.58783.21864.3474.19410.44358.58254.41281.46340"/>
  </identifier>
  <identifier>
    <type>
      <coding>
        <system value="https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType"/>
        <code value="entryUUID"/>
      </coding>
    </type>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:uuid:0c287d32-01e3-4d87-9953-9fcc9404eb21"/>
  </identifier>
  <status value="current"/>
  <type>
    <coding>
      <system value="http://loinc.org"/>
      <code value="55107-7"/>
    </coding>
  </type>
  <category>
    <coding>
      <system value="http://loinc.org"/>
      <code value="11369-6"/>
    </coding>
  </category>
  <subject>
    <reference value="Patient/ex-patient"/>
  </subject>
  <event>
    <concept>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
        <code value="ACCTRECEIVABLE"/>
      </coding>
    </concept>
  </event>
  <facilityType>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="82242000"/>
    </coding>
  </facilityType>
  <practiceSetting>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="408467006"/>
    </coding>
  </practiceSetting>
  <period>
    <start value="2020-12-31T23:50:50-05:00"/>
    <end value="2020-12-31T23:50:50-05:00"/>
  </period>
  <date value="2020-12-31T23:50:50-05:00"/>
  <author>
    <reference value="Practitioner/ex-practitioner"/>
  </author>
  <attester>
    <mode>
      <coding>
        <system value="http://hl7.org/fhir/composition-attestation-mode"/>
        <code value="professional"/>
      </coding>
    </mode>
    <party>
      <reference value="Practitioner/ex-practitioner"/>
    </party>
  </attester>
  <relatesTo>
    <code>
      <coding>
        <system value="http://hl7.org/fhir/document-relationship-type"/>
        <code value="appends"/>
      </coding>
    </code>
    <target>
      <reference value="DocumentReference/ex-documentreference"/>
    </target>
  </relatesTo>
  <description value="Example of a Comprehensive DocumentReference resource. This is minimally filled for all mandatory elements."/>
  <securityLabel>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/>
      <code value="N"/>
    </coding>
  </securityLabel>
  <content>
    <attachment>
      <contentType value="text/plain"/>
      <language value="en"/>
      <url value="http://example.com/nowhere.txt"/>
      <size value="0"/>
      <hash value="ZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ=="/>
      <title value="DocumentReference for Comprehensive minimally filled metadata"/>
      <creation value="2020-12-31T23:50:50-05:00"/>
    </attachment>
    <profile>
      <valueCoding>
        <system value="http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode"/>
        <code value="urn:ihe:iti:xds-sd:text:2008"/>
      </valueCoding>
    </profile>
  </content>
</DocumentReference>