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

<Provenance xmlns="http://hl7.org/fhir">
  <id value="example1"/>
  <!--  
    Got the patient's official name from the patient directly
   -->
  <target>
    <extension url="http://hl7.org/fhir/StructureDefinition/targetElement">
      <valueUri value="n1"/>
    </extension>
    <reference value="Patient/pat3/_history/1"/>
  </target>
  <recorded value="2021-12-07T12:23:45+11:00"/>
  <agent>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
        <code value="INF"/>
      </coding>
    </type>
    <who>
      <reference value="Patient/pat3"/>
    </who>
  </agent>
</Provenance>