<Provenance xmlns="http://hl7.org/fhir">
  <id value="ProvenanceExampleHL7v2" />
  <meta>
    <profile value="http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-provenance" />
    <tag>
      <system value="http://ontariohealth.ca/fhir/ehr/CodeSystem/cdf-data-domain" />
      <code value="accdr" />
    </tag>
    <tag>
      <system value="http://ontariohealth.ca/fhir/CodeSystem/cdf-v2-message-type" />
      <code value="ADT^A01" />
    </tag>
  </meta>
  <target>
    <reference value="Patient/4b22675f-0747-4152-842a-a6ce87451089/_history/1" />
  </target>
  <target>
    <reference value="Practitioner/3e9c03cd-2048-4a9c-ab6c-5d02e079119a/_history/1" />
  </target>
  <recorded value="2025-06-12T15:26:23.217+00:00" />
  <policy value="http://ontariohealth.ca/fhir/provenance-policy/clinical-data" />
  <activity>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle" />
      <code value="transform" />
      <display value="Transform/Translate Record Lifecycle Event" />
    </coding>
  </activity>
  <agent>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
        <code value="composer" />
        <display value="Composer" />
      </coding>
    </type>
    <who>
      <identifier>
        <system value="urn:ietf:rfc:3986" />
        <value value="urn:oid:2.16.840.1.113883.3.239.23.8.100.1" />
      </identifier>
    </who>
  </agent>
  <agent>
    <type>
      <coding>
        <system value="http://ontariohealth.ca/fhir/ehr/CodeSystem/provenance-participant-type" />
        <code value="gateway" />
        <display value="Gateway" />
      </coding>
    </type>
    <who>
      <identifier>
        <system value="urn:ietf:rfc:3986" />
        <value value="urn:uuid:818e07be-03f8-40c9-851a-94d6a3aac322" />
      </identifier>
    </who>
  </agent>
  <agent>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
        <code value="transformer" />
        <display value="Transformer" />
      </coding>
    </type>
    <who>
      <display value="Ontario Health HL7v2 to FHIR Translation Engine" />
    </who>
  </agent>
  <entity>
    <role value="derivation" />
    <what>
      <identifier>
        <system value="urn:ietf:rfc:3986" />
        <value value="urn:uuid:707e07be-03f8-40c9-851a-94d6a3aac211" />
      </identifier>
    </what>
  </entity>
</Provenance>