Release 5 Draft Ballot

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Documentreference-example.xml

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

Generic example (id = "example")

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

<DocumentReference xmlns="http://hl7.org/fhir">
  <id value="example"/> 
  <!--    Many XDS systems do not trak any id for the author. When systems don't do this, 
    the only option is for the author information to be contained in the Document Reference
      -->
  <text> <status value="extensions"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative</b> </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 &quot;example&quot; </p> </div> <p> <b> Supporting Information</b> : <a href="patient-xcda.html">Patient/xcda</a>  &quot;Henry LEVIN&quot;</p> <p> <b> identifier</b> : entryUUID: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234, uniqueId: urn:oid:1.3.6.1.4.1.21367.2005.3.7</p> <p> <b> status</b> : current</p> <p> <b> docStatus</b> : preliminary</p> <p> <b> type</b> : Outpatient Note <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://loinc.org/">LOINC</a> #34108-1)</span> </p> <p> <b> category</b> : History and Physical <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (classCodes#History and Physical)</span> </p> <p> <b> subject</b> : <a href="patient-xcda.html">Patient/xcda</a>  &quot;Henry LEVIN&quot;</p> <p> <b> context</b> : <a href="encounter-xcda.html">Encounter/xcda</a> </p> <p> <b> facilityType</b> : Outpatient <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (healthcareFacilityTypeCodes#Outpatient)</span> </p> <p> <b> practiceSetting</b> : General Medicine <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (practiceSettingCodes#General Medicine)</span> </p> <p> <b> period</b> : 2004-12-23T08:00:00+11:00 --&gt; 2004-12-23T08:01:00+11:00</p> <p> <b> date</b> : Dec 23, 2005 10:43:41 PM</p> <p> <b> author</b> : </p> <ul> <li> <a href="practitioner-xcda1.html">Practitioner/xcda1</a>  &quot;Sherry DOPPLEMEYER&quot;</li> <li> <a name="a2"> </a> </li> </ul> <blockquote> <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 &quot;a2&quot; </p> </div> <p> <b> name</b> : Gerald Smitty </p> </blockquote> <h3> Attesters</h3> <table class="grid"><tr> <td> -</td> <td> <b> Mode</b> </td> <td> <b> Party</b> </td> </tr> <tr> <td> *</td> <td> Official <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="codesystem-composition-attestation-mode.html">CompositionAttestationMode</a> #official)</span> </td> <td> <a href="organization-f001.html">Organization/f001</a>  &quot;Burgers University Medical Center&quot;</td> </tr> </table> <p> <b> custodian</b> : <a href="organization-f001.html">Organization/f001</a>  &quot;Burgers University Medical Center&quot;</p> <h3> RelatesTos</h3> <table class="grid"><tr> <td> -</td> <td> <b> Code</b> </td> <td> <b> Target</b> </td> </tr> <tr> <td> *</td> <td> Appends <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="codesystem-document-relationship-type.html">DocumentRelationshipType</a> #appends)</span> </td> <td> <a href="documentreference-example.html">DocumentReference/example</a> </td> </tr> </table> <p> <b> description</b> : Physical</p> <p> <b> securityLabel</b> : very restricted <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.1.0/CodeSystem-v3-Confidentiality.html">Confidentiality</a> #V)</span> </p> <blockquote> <p> <b> content</b> </p> <h3> Profiles</h3> <table class="grid"><tr> <td> -</td> <td> <b> Value[x]</b> </td> </tr> <tr> <td> *</td> <td> History and Physical Specification (Details: urn:oid:1.3.6.1.4.1.19376.1.2.3 code urn:ihe:pcc:handp:
              2008 = 'urn:ihe:pcc:handp:2008', stated as 'History and Physical Specification')</td> </tr> </table> </blockquote> <p> <b> sourcePatientInfo</b> : <a href="patient-xcda.html">Patient/xcda</a>  &quot;Henry LEVIN&quot;</p> </div> </text> <contained> 
    <Practitioner> 
      <id value="a2"/> 
      <name> 
        <family value="Smitty"/> 
        <given value="Gerald"/> 
      </name> 
    </Practitioner> 
  </contained> 
  <extension url="http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo">
    <valueReference> 
      <reference value="Patient/xcda"/> 
      <identifier> 
        <system value="urn:ietf:rfc:3986"/> 
        <value value="urn:oid:1.3.6.1.4.1.21367.2005.3.7.2345"/> 
      </identifier> 
    </valueReference> 
  </extension> 
  <identifier> 
      <type> 
        <text value="entryUUID"/> 
    </type> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234"/> 
  </identifier> 
  <identifier> 
      <type> 
        <text value="uniqueId"/> 
    </type> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:1.3.6.1.4.1.21367.2005.3.7"/> 
  </identifier> 
  <status value="current"/> 
  <docStatus value="preliminary"/> 

  <type> 
    <coding> 
      <system value="http://loinc.org"/> 
      <code value="34108-1"/> 
      <display value="Outpatient Note"/> 
    </coding> 
  </type> 
  <category> 
    <coding> 
      <system value="http://ihe.net/xds/connectathon/classCodes"/> 
      <code value="History and Physical"/> 
      <display value="History and Physical"/> 
    </coding> 
  </category> 
  <subject> 
    <reference value="Patient/xcda"/> 
  </subject> 
  <context> 
    <reference value="Encounter/xcda"/> 
  </context> 
  <event> 
  <concept> 
    <coding> 
      <system value="http://ihe.net/xds/connectathon/eventCodes"/> 
      <code value="T-D8200"/> 
      <display value="Arm"/> 
    </coding> 
    </concept> 
  </event> 
  <facilityType> 
    <coding> 
      <system value="http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes"/> 
      <code value="Outpatient"/> 
      <display value="Outpatient"/> 
    </coding> 
  </facilityType> 
  <practiceSetting> 
    <coding> 
      <system value="http://www.ihe.net/xds/connectathon/practiceSettingCodes"/> 
      <code value="General Medicine"/> 
      <display value="General Medicine"/> 
    </coding> 
  </practiceSetting> 
  <period> 
    <start value="2004-12-23T08:00:00+11:00"/> 
    <end value="2004-12-23T08:01:00+11:00"/> 
  </period> 
  <date value="2005-12-24T09:43:41+11:00"/> 
  <author> 
    <reference value="Practitioner/xcda1"/> 
  </author> 
  <author> 
    <reference value="#a2"/> 
  </author> 
  <attester> 
    <mode> 
      <coding> 
        <system value="http://hl7.org/fhir/composition-attestation-mode"/> 
        <code value="official"/> 
      </coding> 
    </mode> 
    <party> 
      <reference value="Organization/f001"/> 
    </party> 
  </attester> 
  <custodian> 
    <reference value="Organization/f001"/> 
  </custodian> 
  <relatesTo> 
      <code> 
      <coding> 
        <system value="http://hl7.org/fhir/document-relationship-type"/> 
        <code value="appends"/> 
      </coding> 
    </code> 
    <target> 
      <reference value="DocumentReference/example"/> 
    </target> 
  </relatesTo> 
  <description value="Physical"/> 
  <securityLabel> 
    <coding> 
      <system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/> 
      <code value="V"/> 
      <display value="very restricted"/> 
    </coding> 
  </securityLabel> 
  <content> 
    <attachment> 
      <contentType value="application/hl7-v3+xml"/> 
      <language value="en-US"/> 
      <url value="http://example.org/xds/mhd/Binary/07a6483f-732b-461e-86b6-edb665c45510"/> 
      <size value="3654"/> 
      <hash value="2jmj7l5rSw0yVb/vlWAYkK/YBwk="/> 
      <title value="Physical"/> 
           <creation value="2005-12-24T09:35:00+11:00"/> 
    </attachment> 
    <profile> 
      <valueCoding> 
      <system value="urn:oid:1.3.6.1.4.1.19376.1.2.3"/> 
      <code value="urn:ihe:pcc:handp:2008"/> 
      <display value="History and Physical Specification"/> 
      </valueCoding> 
    </profile> 

  </content> 
  <sourcePatientInfo> 
    <reference value="Patient/xcda"/> 
  </sourcePatientInfo> 

</DocumentReference> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.