US Core Implementation Guide
6.1.0 - STU6 United States of America flag

This page is part of the US Core (v6.1.0: STU6 Update) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Docref Example 1 - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="docref-example-1"/>
  <type value="searchset"/>
  <total value="1"/>
  <link>
    <relation value="self"/>
    <url value="http://example.org/DocumentReference/$docref?patient=123"/>
  </link>
  <entry>
    <fullUrl value="http://example.org/DocumentReference/ccd123"/>
    <resource>
      <DocumentReference>
        <id value="ccd123"/>
        <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="34133-9"/>
            <display value="Summary of episode note"/>
          </coding>
          <text value="CCD Document"/>
        </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="2016-03-09T15:29:46Z"/>
        <author>
          <reference value="Practitioner/practitioner-1"/>
          <display value="Ronald Bone, MD"/>
        </author>
        <description value="Pulmonology clinic acute visit"/>
        <content>
          <attachment>
            <contentType value="text/plain"/>
            <url value="Binary/1-note"/>
            <title
                   value="Uri where the data can be found: http://example.org/Binary/1-note"/>
          </attachment>
          <format>
            <system
                    value="http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode"/>
            <code value="urn:hl7-org:sdwg:ccda-structuredBody:2.1"/>
            <display
                     value="For documents following C-CDA 2.1 constraints using a structured body."/>
          </format>
        </content>
        <context>
          <period>
            <start value="2004-12-23T08:00:00+11:00"/>
            <end value="2004-12-23T08:01:00+11:00"/>
          </period>
        </context>
      </DocumentReference>
    </resource>
    <search>
      <mode value="match"/>
    </search>
  </entry>
</Bundle>