Implementation Guide
23.1.0 - R4 APIs

Publish Box goes here

: General DocumentReference Example - XML Representation

Raw xml | Download



<DocumentReference xmlns="http://hl7.org/fhir">
  <id value="Example1"/>
  <meta>
    <lastUpdated value="2020-09-16T03:50:04.200-06:00"/>
    <profile
             value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"/>
    <profile
             value="https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-documentref-profile"/>
    <security>
      <system
              value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/>
      <code value="N"/>
      <display value="Normal"/>
    </security>
    <tag>
      <system
              value="https://docs.mydata.athenahealth.com/fhir-r4/codesystem/athenaFlex/EditTags"/>
      <code value="New"/>
      <display value="New"/>
    </tag>
    <tag>
      <system
              value="https://docs.mydata.athenahealth.com/fhir-r4/codesystem/athenaFlex/EditTags"/>
      <code value="Pen"/>
      <display value="Pen"/>
    </tag>
    <tag>
      <system
              value="https://docs.mydata.athenahealth.com/fhir-r4/codesystem/athenaFlex/EditTags"/>
      <code value="NewPen"/>
      <display value="New Pen"/>
    </tag>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: DocumentReference Example1</b></p><a name="Example1"> </a><a name="hcExample1"> </a><a name="Example1-en-US"> </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">Last updated: 2020-09-16 03:50:04-0600</p><p style="margin-bottom: 0px">Profiles: <a href="http://hl7.org/fhir/us/core/STU3.1/StructureDefinition-us-core-documentreference.html">US Core DocumentReference Profile</a>, <a href="StructureDefinition-athena-documentref-profile.html">A reference to a document</a></p><p style="margin-bottom: 0px">Tags: New (Details: EditTags code New  = ' New ', stated as ' New '), Pen (Details: EditTags code Pen  = ' Pen ', stated as ' Pen '), New Pen (Details: EditTags code NewPen  = ' NewPen ', stated as ' New Pen ')</p><p style="margin-bottom: 0px">Security Label: Normal (Details: Confidentiality code N  = ' normal ', stated as ' Normal ')</p></div><p><b>masterIdentifier</b>: Unspecified Identifier/DOC-1915846720450610</p><p><b>identifier</b>: Unspecified Identifier/DOC-1915846720450610</p><p><b>status</b>: Current</p><p><b>docStatus</b>: Final</p><p><b>type</b>: <span title="Codes:{http://loinc.org 34133-9}">Summary of episode note</span></p><p><b>category</b>: <span title="Codes:{http://loinc.org 28563-5}">Care provider notes</span></p><p><b>subject</b>: <a href="Patient-Example1.html">Robert S Benson (official) Male, DoB: 1974-05-21 ( Medical record number)</a></p><p><b>date</b>: 2020-09-16 03:38:40-0600</p><p><b>author</b>: <a href="Practitioner-Example1.html">Practitioner Harry S. Winston </a></p><p><b>authenticator</b>: <a href="Practitioner-Example1.html">Practitioner Harry S. Winston </a></p><p><b>custodian</b>: <a href="Organization-Example1.html">Organization Main Health System</a></p><p><b>description</b>: example document</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></tr><tr><td style="display: none">*</td><td>ASCII Text</td><td>English</td><td>Binary/DOC-1915846720450610</td></tr></table><p><b>format</b>: unknown urn:ihe:iti:xds:2017:mimeTypeSufficient: MimeType Sufficient</p></blockquote><h3>Contexts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Encounter</b></td><td><b>Period</b></td><td><b>SourcePatientInfo</b></td></tr><tr><td style="display: none">*</td><td><a href="Encounter-Example1.html">Encounter: extension = No display for Extension ,No display for Extension ,No display for Extension ; status = finished; class = ambulatory (ActCode#AMB); type = Office Visit; priority = routine; period = 2020-08-17 21:04:20-0600 --&gt; 2020-08-17 21:07:17-0600</a></td><td>2020-09-16 03:38:41-0600 --&gt; 2020-09-16 03:38:41-0600</td><td><a href="Patient-Example1.html">Robert S Benson (official) Male, DoB: 1974-05-21 ( Medical record number)</a></td></tr></table></div>
  </text>
  <extension
             url="https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-documentref-extension-refprovid">
    <valueReference>
      <reference value="Practitioner/1377098605000720"/>
    </valueReference>
  </extension>
  <extension
             url="https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-documentref-extension-pubtime">
    <valueDateTime value="2020-09-16T03:50:05-06:00"/>
  </extension>
  <masterIdentifier>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
        <code value="U"/>
        <display value="Unspecified Identifier"/>
      </coding>
      <text value="Unspecified Identifier"/>
    </type>
    <system
            value="https://mydata.athenahealth.com/fhir/athenaFlex/namingsystem/DocumentReferenceId/Training"/>
    <value value="DOC-1915846720450610"/>
  </masterIdentifier>
  <identifier>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
        <code value="U"/>
        <display value="Unspecified Identifier"/>
      </coding>
      <text value="Unspecified Identifier"/>
    </type>
    <system
            value="https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/namingsystem/DocumentReferenceId/Training"/>
    <value value="DOC-1915846720450610"/>
  </identifier>
  <status value="current">
    <extension
               url="https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-originalCode">
      <valueCoding>
        <system
                value="https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/codesystem/documentreferencestatus"/>
        <code value="C"/>
        <display value="Current"/>
      </valueCoding>
    </extension>
  </status>
  <docStatus value="final">
    <extension
               url="https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-originalCode">
      <valueCoding>
        <system
                value="https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/codesystem/docstatus"/>
        <code value="S"/>
        <display value="signed"/>
      </valueCoding>
    </extension>
  </docStatus>
  <type>
    <coding>
      <system value="http://loinc.org"/>
      <code value="34133-9"/>
      <display value="Summary of episode note"/>
    </coding>
    <text value="Summary of episode note"/>
    <extension
               url="https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-originalCode">
      <valueCoding>
        <system
                value="https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/codesystem/documenttype"/>
        <code value="1"/>
        <display value="Office Visit"/>
      </valueCoding>
    </extension>
  </type>
  <category>
    <coding>
      <system value="http://loinc.org"/>
      <code value="28563-5"/>
      <display value="Care provider notes"/>
    </coding>
    <text value="Care provider notes"/>
  </category>
  <subject>🔗 
    <reference value="Patient/Example1"/>
  </subject>
  <date value="2020-09-16T03:38:40.833-06:00"/>
  <author>🔗 
    <reference value="Practitioner/Example1"/>
  </author>
  <authenticator>🔗 
    <reference value="Practitioner/Example1"/>
  </authenticator>
  <custodian>🔗 
    <reference value="Organization/Example1"/>
  </custodian>
  <description value="example document"/>
  <content>
    <attachment>
      <contentType value="ASCII Text"/>
      <language value="en"/>
      <url value="Binary/DOC-1915846720450610"/>
    </attachment>
    <format>
      <system value="urn:oid:1.3.6.1.4.1.19376.1.2.3"/>
      <code value="urn:ihe:iti:xds:2017:mimeTypeSufficient"/>
      <display value="MimeType Sufficient"/>
    </format>
  </content>
  <context>
    <encounter>🔗 
      <reference value="Encounter/Example1"/>
    </encounter>
    <period>
      <start value="2020-09-16T03:38:41-06:00"/>
      <end value="2020-09-16T03:38:41-06:00"/>
    </period>
    <sourcePatientInfo>🔗 
      <reference value="Patient/Example1"/>
    </sourcePatientInfo>
  </context>
</DocumentReference>