Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Documentreference-example.xml

Example DocumentReference/example (XML)

Maturity Level : N/A
Structured Documents Responsible Owner: Orders and Observations Work Group Standards Status : Informative Compartments : Device , Encounter , Group , 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"?>


  
  <!--    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
      -->
  (Details : {http://ihe.net/xds/connectathon/classCodes code 'History and Physical' = 'History
           and Physical', given as 'History and Physical'})(Details : {http://terminology.hl7.org/CodeSystem/v3-Confidentiality code 'V' = 'very
           restricted', given as 'very restricted'})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')(Details : {http://ihe.net/xds/connectathon/eventCodes code 'T-D8200' = 'T-D8200', given
               as 'Arm'})(Details : {http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes code 'Outpatient'
               = 'Outpatient', given as 'Outpatient'})(Details : {http://www.ihe.net/xds/connectathon/practiceSettingCodes code 'General Medicine'
               = 'General Medicine', given as 'General Medicine'})
    
      
      
        
        
      
    
  
  
    
    
  
  
    
    
  
  
  

  
    
      
      
      
    
  
  
    
      
      
      
    
  
  
    
  
  
  
    
  
  
    
  
  
    
  
  
    
  
  
    
    
      
    
  
  
  
    
      
      
      
    
  
  
    
      
      
      
      
      
      
           
    
    
      
      
      
    
  
  
    
      
    
    
      
        
        
        
      
    
    
      
      
    
    
      
        
        
        
      
    
    
      
        
        
        
      
    
    
      
    
    
      
      
        
        
      
    
  

<!--  
source data from http://wiki.ihe.net/index.php?title=Annotated_ProvideAndRegister.b_Transacti
on.
  <homeCommunity>1.2.36.1.1001.1.1.1.1</homeCommunity>
  --><DocumentReference xmlns="http://hl7.org/fhir">
  <id value="example"/>   <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>   <extension url="http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient">    <valueReference>       <reference value="Patient/xcda"/>     </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> 


</

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.