US Core Implementation Guide
7.0.0 - STU7 United States of America flag

US Core Implementation Guide, published by HL7 International / Cross-Group Projects. This guide is not an authorized publication; it is the continuous build for version 7.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/US-Core/ and changes regularly. See the Directory of published versions

: Docref Example 2 - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="docref-example-2"/>
  <type value="searchset"/>
  <total value="3"/>
  <link>
    <relation value="self"/>
    <url
         value="http://example.org/DocumentReference/$docref?patient=123&amp;start=2019-01-01&amp;end=2019-01-01&amp;type=http://terminology.hl7.org/CodeSystem/c80-doc-typecodes|18842-5,http://terminology.hl7.org/CodeSystem/c80-doc-typecodes|28570-0&amp;ondemand=true"/>
  </link>
  <entry>
    <fullUrl value="http://example.org/DocumentReference/procedure-note123"/>
    <resource>
      <DocumentReference>
        <id value="procedure-note123"/>
        <meta>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"/>
        </meta>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.19.5.99999.1"/>
        </identifier>
        <status value="current"/>
        <type>
          <coding>
            <system value="http://loinc.org"/>
            <code value="28570-0"/>
            <display value="Procedure Note"/>
          </coding>
          <text value="Procedure Note"/>
        </type>
        <category>
          <coding>
            <system
                    value="http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category"/>
            <code value="clinical-note"/>
            <display value="Clinical Note"/>
          </coding>
          <text value="Clinical Note"/>
        </category>
        <subject>🔗 
          <reference value="Patient/example"/>
          <display value="Amy Shaw"/>
        </subject>
        <date value="2022-11-18T20:45:05Z"/>
        <author>🔗 
          <reference value="Practitioner/practitioner-1"/>
          <display value="Ronald Bone, MD"/>
        </author>
        <description value="Ureteroscopy"/>
        <content>
          <attachment>
            <contentType value="application/pdf"/>
            <url value="/Binary/procedure-note123.pdf"/>
          </attachment>
        </content>
        <context>
          <period>
            <start value="2019-03-01"/>
            <end value="2019-03-02"/>
          </period>
        </context>
      </DocumentReference>
    </resource>
    <search>
      <mode value="match"/>
    </search>
  </entry>
  <entry>
    <fullUrl value="http://example.org/DocumentReference/procedure-note456"/>
    <resource>
      <DocumentReference>
        <id value="procedure-note456"/>
        <meta>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"/>
        </meta>
        <status value="current"/>
        <type>
          <coding>
            <system value="http://loinc.org"/>
            <code value="28570-0"/>
            <display value="Procedure Note"/>
          </coding>
          <text value="Procedure Note"/>
        </type>
        <category>
          <coding>
            <system
                    value="http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category"/>
            <code value="clinical-note"/>
            <display value="Clinical Note"/>
          </coding>
          <text value="Clinical Note"/>
        </category>
        <subject>🔗 
          <reference value="Patient/example"/>
          <display value="Amy Shaw"/>
        </subject>
        <date value="2022-11-18T20:45:05Z"/>
        <author>🔗 
          <reference value="Practitioner/practitioner-1"/>
          <display value="Ronald Bone, MD"/>
        </author>
        <description value="Ureteroscopy"/>
        <content>
          <attachment>
            <contentType value="application/pdf"/>
            <url value="/Binary/procedure-note456.pdf"/>
          </attachment>
        </content>
        <context>
          <period>
            <start value="2019-06-01"/>
            <end value="2019-06-01"/>
          </period>
        </context>
      </DocumentReference>
    </resource>
    <search>
      <mode value="match"/>
    </search>
  </entry>
  <entry>
    <fullUrl value="http://example.org/DocumentReference/discharge"/>
    <resource>
      <DocumentReference>
        <id value="discharge"/>
        <meta>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"/>
        </meta>
        <status value="current"/>
        <type>
          <coding>
            <system value="http://loinc.org"/>
            <code value="18842-5"/>
            <display value="Discharge Summary"/>
          </coding>
          <text value="Discharge Summary"/>
        </type>
        <category>
          <coding>
            <system
                    value="http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category"/>
            <code value="clinical-note"/>
            <display value="Clinical Note"/>
          </coding>
          <text value="Clinical Note"/>
        </category>
        <subject>🔗 
          <reference value="Patient/example"/>
          <display value="Amy Shaw"/>
        </subject>
        <date value="2022-11-18T20:45:05Z"/>
        <author>🔗 
          <reference value="Practitioner/practitioner-1"/>
          <display value="Ronald Bone, MD"/>
        </author>
        <description value="Ureteroscopy"/>
        <content>
          <attachment>
            <contentType value="application/pdf"/>
            <url value="/Binary/discharge-summary789.pdf"/>
          </attachment>
        </content>
        <context>
          <period>
            <start value="2019-03-01"/>
            <end value="2019-03-03"/>
          </period>
        </context>
      </DocumentReference>
    </resource>
    <search>
      <mode value="match"/>
    </search>
  </entry>
</Bundle>