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

<Provenance xmlns="http://hl7.org/fhir">
  <id value="example4"/>
  <!--  
    Use path when the target resource doesn't have an id to point to
    Note that the path is constrained to simple FHIRPath - see 
    https://hl7.org/fhir/fhirpath.html#simple
    
    This asserts that the race came from admitting clinician (example provided 
		to show how to point to an extension)
   -->
  <target>
    <extension url="http://hl7.org/fhir/StructureDefinition/targetPath">
      <valueString value="Patient.extension('http://hl7.org/fhir/us/core/StructureDefinition/us-core-race')"/>
    </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="ADM"/>
      </coding>
    </type>
    <who>
      <reference value="Practitioner/f007"/>
    </who>
  </agent>
</Provenance>