Release 5 R6 Ballot (2nd Draft)

This page is part of the FHIR Specification (v5.0.0: R5 - STU v6.0.0-ballot2: Release 6 Ballot (2nd Draft) (see Ballot Notes ). This is the The current published version in it's permanent home (it will always be available at this URL). is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Example Provenance/example (XML)

Security Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Patient , Practitioner , RelatedPerson

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

Jump past Narrative

General Provenance Example - data extracted from CDA document from XDS (id = "example")

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

<Provenance xmlns="http://hl7.org/fhir">
  <id value="example"/> 
    <!--   

  <!--  
  <text>
    <status value="additional"/>
    <div xmlns="http://www.w3.org/1999/xhtml">procedure record authored on 27-June
   2015 by Harold Hippocrates, MD Content extracted from XDS managed CDA Referral
   received 26-June as authorized by a referenced Consent.</div>
  </text>
   -->
      <!--    
    where possible, provenance targets should be version specific,
    so that there is no ambiguity about which version of the 
    record this relates to
     -->
  display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
       1px solid #8da1b4; border-radius: 5px; line-height: 60% 
  &lt;text&gt;
    &lt;status value=&quot;additional&quot;/&gt;
    &lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;procedure record authored
         on 27-June 2015 by Harold Hippocrates, MD Content extracted from XDS managed CDA
         Referral received 26-June as authorized by a referenced Consent.&lt;/div&gt;
  &lt;/text&gt;
 &amp;#10;  

  -->
  <!--   
    where possible, provenance targets should be version specific,
    so that there is no ambiguity about which version of the 
    record this relates to
     
      the document is in an XDS repository. 
      as a source, we're going to give an MHD 
      reference. (easier than XDS.b call with parameters!)
    Given the reference is to a FHIR DocumentReference, that resource describes
             the kind of content
     

    -->
  <target> 
    <reference value="Procedure/example/_history/1"/> 
  </target> 
  <occurredPeriod> 
    <start value="2015-06-27"/> 
    <end value="2015-06-28"/> 
  </occurredPeriod> 
  <recorded value="2015-06-27T08:39:24+10:00"/> 
      

  <!--   reference to a patient consent to share inforamtion   -->
  <policy value="http://acme.com/fhir/Consent/25"/> 
  <location> 
    <reference value="Location/1"/> 
  </location> 
  <activity> 
    <coding> 
      <system value="http://snomed.info/sct"/> 
      <code value="3457005"/> 
      <display value="Referral"/> 
    </coding> 
  </activity> 
      

  <!--   author = Harold Hippocrates   -->
  <!--   reference to other agent defined within   -->
  <!--     removed as unclear how to do this now     <onBehalfOf value="#a1"/>      -->
  <!--  
    <onBehalfOf>
      <reference value="Practitioner/xcda-author"/>
    </onBehalfOf>>
    -->

  <agent> 
    <type> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> 
        <code value="AUT"/> 
      </coding> 
    </type> 
    <who> 
      <reference value="Practitioner/xcda-author"/> 
    </who> 
        
        
    <!--   
    <onBehalfOf>
      <reference value="Practitioner/xcda-author"/>
    </onBehalfOf>>
     -->

  </agent> 
      

  <!--   device = software Harold used   -->
  <agent id="a1">
    <type> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> 
        <code value="DEV"/> 
      </coding> 
    </type> 
    <who> 
      <display value="Device/software"/> 
    </who> 
  </agent> 
      

  <!--   information extract from a CCDA referral document   -->
  <entity> 
    <role value="source"/> 
        <!--    

    <!--   
      the document is in an XDS repository. 
      as a source, we're going to give an MHD 
      reference. (easier than XDS.b call with parameters!)
    Given the reference is to a FHIR DocumentReference, that resource describes
     the kind of content
       -->

      -->

    <what> 
          

      <reference value="DocumentReference/example"/> 
      <display value="CDA Document in XDS repository"/> 
    </what> 
  </entity> 


</

Provenance

>



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.