2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Documentreference-example.xml

Raw XML (canonical form)

Example of documentreference (id = "example")

Raw XML

<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
     -->
  <contained>
    <Practitioner>
      <id value="a1"/>    
        <name>
          <family value="Dopplemeyer"/>
          <given value="Sherry"/>
        </name>
        <telecom>
          <system value="email"/>
          <value value="john.doe@healthcare.example.org"/>
        </telecom>
      <practitionerRole>
        
      <managingOrganization>
        <display value="Cleveland Clinic"/>
      </managingOrganization>
<!--  
      &lt;organization&gt;
        &lt;display value=&quot;Berea Community&quot;/&gt;
      &lt;/organization&gt;      
  -->
      <role><text value="Primary Surgon"/></role>
      <specialty><text value="Orthopedic"/></specialty>
      </practitionerRole>
    </Practitioner>
  </contained>
  <contained>
    <Practitioner>
      <id value="a2"/> 
        <name>
          <family value="Smitty"/>
          <given value="Gerald"/>
        </name>
        <telecom>
          <system value="email"/>
          <value value="john.doe@healthcare.example.org"/>
        </telecom>
    <practitionerRole>
      
      <managingOrganization>
        <display value="Cleveland Clinic"/>
      </managingOrganization>
<!--  
      &lt;organization&gt;
        &lt;display value=&quot;Parma Community&quot;/&gt;
      &lt;/organization&gt;      
  -->
      <role><text value="Attending"/></role>
      <specialty><text value="Orthopedic"/></specialty>
    </practitionerRole>  
    </Practitioner>
  </contained>
  <masterIdentifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:1.3.6.1.4.1.21367.2005.3.7"/>
  </masterIdentifier>
  <subject>
    <reference value="Patient/xcda"/>
  </subject>
  <type>
    <coding>
  <system value="http://loinc.org"/>
  <code value="34108-1"/>
  <display value="Outpatient Note"/>
    </coding>
  </type>
  <class>
      <coding>
        <system value="http://ihe.net/xds/connectathon/classCodes"/>
        <code value="History and Physical"/>
        <display value="History and Physical"/>
      </coding>
  </class>
  <author>
    <reference value="#a1"/>
  </author>
  <author>
    <reference value="#a2"/>
  </author>
  <created value="2005-12-24T09:35:00+11:00"/>
  <indexed value="2005-12-24T09:43:41+11:00"/>
  <status value="current"/>
  
  <description value="Physical"/>
  <confidentiality>
    <coding>
      <system value="http://ihe.net/xds/connectathon/confidentialityCodes"/>
      <code value="1.3.6.1.4.1.21367.2006.7.101"/>
      <display value="Clinical-Staff"/>
    </coding>
  </confidentiality>
  <content>
    <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="/>
  </content>
  <context>
    <event>
      <coding>
        <system value="http://ihe.net/xds/connectathon/eventCodes"/>
        <code value="T-D8200"/>
        <display value="Arm"/>
      </coding>
    </event>
    <period>
      <start value="2004-12-23T08:00:00+11:00"/>
      <end value="2004-12-23T08:01:00+11:00"/>
    </period>
    <facilityType>
      <coding>
        <system value="http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes"/>
        <code value="Outpatient"/>
        <display value="Outpatient"/>
      </coding>
    </facilityType>
  </context>    

<!--  
    &lt;practiceSetting&gt;
      &lt;coding&gt;
        &lt;system value=&quot;http://www.ihe.net/xds/connectathon/practiceSettingCodes&quot;/&gt;
        &lt;code value=&quot;General Medicine&quot;/&gt;
        &lt;display value=&quot;General Medicine&quot;/&gt;
      &lt;/coding&gt;
    &lt;/practiceSetting&gt;

  &lt;currentSubject&gt;
    &lt;reference value=&quot;Patient/xcda&quot;/&gt;
  &lt;/currentSubject&gt;
  -->

</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.