| Australian Digital Health Agency FHIR Implementation Guide 1.0.0

Australian Digital Health Agency FHIR Implementation Guide. This is the current published version. It is based on FHIR® version 4.0.1. See the Directory of published versions for a list of available versions.

## Example: DocumentReference-mbs-01

Formats: Narrative, XML, JSON, Turtle

Raw xml

    <DocumentReference xmlns="http://hl7.org/fhir">
      <id value="mbs-01"/>
    <!-- Created DocumentReference from 'data in' Bundle | Post from Medicare repository to MHR -->
    <!-- DocumentReference for ExplanationOfBenefit/mbs-01  -->
      <meta>
        <profile
                 value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-documentreference-core-1"/>
      </meta>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: DocumentReference</b><a name="mbs-01"> </a></p><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">Resource DocumentReference &quot;mbs-01&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-dh-documentreference-core-1.html">ADHA Core DocumentReference</a></p></div><p><b>masterIdentifier</b>: id: urn:uuid:a7b64195-3553-4708-957e-04d571c7db92</p><p><b>identifier</b>: id: urn:uuid:a7b64195-3553-4708-957e-04d571c7db92</p><p><b>status</b>: current</p><p><b>docStatus</b>: final</p><p><b>type</b>: Medicare/DVA Benefits Report <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (nctis-data-components-1#100.16644)</span></p><p><b>category</b>: Medicare/DVA Benefits Report <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (nctis-data-components-1#100.16644)</span></p><p><b>subject</b>: <a href="Patient-mhr-zhang-wei.html">Patient/mhr-zhang-wei</a> &quot; ZHANG&quot;</p><p><b>date</b>: Feb 8, 2019 12:02:00 AM</p><p><b>author</b>: <a href="Device-medicare-rs-01.html">Device/medicare-rs-01</a></p><p><b>custodian</b>: <a href="Organization-medicare-rs-operator.html">Organization/medicare-rs-operator</a> &quot;Medicare Australia repository services operator&quot;</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class="grid"><tr><td>-</td><td><b>Language</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>en-AU</td><td><a href="http://example.org/mhr/xds/mhd/Binary/6834d034-5a89-4394-8bf2-a947584ac438">http://example.org/mhr/xds/mhd/Binary/6834d034-5a89-4394-8bf2-a947584ac438</a></td></tr></table></blockquote><h3>Contexts</h3><table class="grid"><tr><td>-</td><td><b>SourcePatientInfo</b></td><td><b>Related</b></td></tr><tr><td>*</td><td><span/></td><td><a href="http://example.org/mhr/xds/mhd/ExplanationOfBenefit/a7b64195-3553-4708-957e-04d571c7db92">http://example.org/mhr/xds/mhd/ExplanationOfBenefit/a7b64195-3553-4708-957e-04d571c7db92</a></td></tr></table></div>
      </text>
      <masterIdentifier>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:uuid:a7b64195-3553-4708-957e-04d571c7db92"/>
      </masterIdentifier>
      <identifier>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:uuid:a7b64195-3553-4708-957e-04d571c7db92"/>
      </identifier>
      <status value="current"/>
      <docStatus value="final"/>
      <type>
        <coding>
          <system
                  value="https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1"/>
          <code value="100.16644"/>
          <display value="Medicare/DVA Benefits Report"/>
        </coding>
      </type>
      <category>
        <coding>
          <system
                  value="https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1"/>
          <code value="100.16644"/>
          <display value="Medicare/DVA Benefits Report"/>
        </coding>
      </category>
      <subject>
      <!--  Assume local record number will be used here instead of IHI -->
        <reference value="Patient/mhr-zhang-wei"/>
        <identifier>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="NI"/>
              <display value="National unique individual identifier"/>
            </coding>
            <text value="IHI"/>
          </type>
          <system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
          <value value="8003608833564735"/>
        </identifier>
      </subject>
    <!-- Instant this DocumentReference was created from the uploaded the Bundle | resource -->
      <date value="2019-02-08T10:02:00+10:00"/>
      <author>
        <reference value="Device/medicare-rs-01"/>
      </author>
      <custodian>
        <reference value="Organization/medicare-rs-operator"/>
      </custodian>
      <content>
      <!-- Assumption that a Binary of the original upload is persisted -->
        <attachment>
          <language value="en-AU"/>
          <url
               value="http://example.org/mhr/xds/mhd/Binary/6834d034-5a89-4394-8bf2-a947584ac438"/>
        </attachment>
      </content>
    <!-- additional instances of related are instantiated if the Bundle | resource has been split across a DB -->
      <context>
        <sourcePatientInfo>
          <identifier>
            <type>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                <code value="NI"/>
              </coding>
              <text value="IHI"/>
            </type>
            <system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
            <value value="8003608000228437"/>
          </identifier>
        </sourcePatientInfo>
      <!-- RELATED RESOURCES - REFERENCING INDIVIDUAL RESOURCES ACROSS THE DB THAT MAKE UP THIS 'DOCUMENT' -->
      <!-- The url identifier scheme used below is nonsense should be replaced with the real scheme. The nonsense convention is document identifier (i.e. Bundle.identifier or Resource.identifier) -->
      <!-- There is no related reference for a Patient record as this is not persisted - MHR Master Patient record is maintained and when a view or other output is
                 generated that generation process is to generate a fresh Patient resource according to current data and business rules -->
        <related>
          <reference
                     value="http://example.org/mhr/xds/mhd/ExplanationOfBenefit/a7b64195-3553-4708-957e-04d571c7db92"/>
        <!-- identifier below is the value of ExplanationOfBenefit.identifier -->
          <identifier>
            <system value="urn:ietf:rfc:3986"/>
            <value value="urn:uuid:a7b64195-3553-4708-957e-04d571c7db92"/>
          </identifier>
        </related>
      </context>
    </DocumentReference>