FHIR Release 3 (STU)

This page is part of the FHIR Specification (v3.0.2: STU 3). 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

Provenance-example.xml

Security Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Device, Patient, Practitioner, RelatedPerson

Raw XML (canonical form)

Jump past Narrative

General Provenance Example (id = "example")

<Provenance xmlns="http://hl7.org/fhir">
  <id value="example"/> 
  <text> 
    <status value="generated"/> 
    <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</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
    -->
  <target> 
    <reference value="Procedure/example/_history/1"/> 
  </target> 
  <period> 
    <start value="2015-06-27"/> 
    <end value="2015-06-28"/> 
  </period> 
  <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> 
  <reason> 
    <system value="http://snomed.info/sct"/> 
    <code value="3457005"/> 
    <display value="Referral"/> 
  </reason> 

  <!--   author = Harold Hippocrates   -->
  <agent> 
    <role> 
      <coding> 
        <system value="http://hl7.org/fhir/v3/ParticipationType"/> 
        <code value="AUT"/> 
      </coding> 
    </role> 
    <whoReference> 
      <reference value="Practitioner/xcda-author"/> 
    </whoReference> 
    <!--   reference to other agent defined within   -->
    <onBehalfOfUri value="#a1"/> 
    <relatedAgentType> 
      <text value="used"/> 
    </relatedAgentType> 
  </agent> 
  <!--   device = software Harold used   -->
  <agent id="a1">
    <role> 
      <coding> 
        <system value="http://hl7.org/fhir/v3/ParticipationType"/> 
        <code value="DEV"/> 
      </coding> 
    </role> 
    <whoReference> 
      <reference value="Device/software"/> 
    </whoReference> 
  </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
      -->
    <whatReference> 
      <reference value="DocumentReference/example"/>     
      <display value="CDA Document in XDS repository"/> 
    </whatReference> 
  </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.