Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Example Provenance/example2 (XML)

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

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

Jump past Narrative

Targeted Provenance Example - got the patient nickname from his partner (id = "example2")

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

<Provenance xmlns="http://hl7.org/fhir">
  <id value="example2"/> 
      <!--    
    Got the patient's nickname from his partner
     -->
  <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: Provenance</b> <a name="example2"> </a> </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 Provenance &quot;example2&quot; </p> </div> <p> <b> target</b> : <span title="  
    Got the patient's nickname from his partner
   "><a href="patient-example-c.html">Patient/pat3/_history/1</a>  &quot;Simon NOTSOWELL&quot;(#n2)</span> </p> <p> <b> recorded</b> : 8 Dec 2021, 4:54:24 pm</p> <h3> Agents</h3> <table class="grid"><tr> <td> -</td> <td> <b> Type</b> </td> <td> <b> Who</b> </td> </tr> <tr> <td> *</td> <td> informant <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.1.0/CodeSystem-v3-ParticipationType.html">ParticipationType</a> #INF)</span> </td> <td> <a href="relatedperson-example-f001-sarah.html">RelatedPerson/f001</a>  &quot;Sarah ABELS&quot;</td> </tr> </table> </div> </text> <target> 
    <extension url="http://hl7.org/fhir/StructureDefinition/targetElement"> 
      <valueUri value="n2"/> 
    </extension> 
    <reference value="Patient/pat3/_history/1"/> 
  </target> 
  <recorded value="2021-12-08T16:54:24+11:00"/> 
  <agent> 
    <type> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> 
        <code value="INF"/> 
      </coding> 
    </type> 
    <who> 
      <reference value="RelatedPerson/f001"/> 
    </who> 
  </agent> 
</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.