<?xml version="1.0" encoding="UTF-8"?><AuditEvent xmlns="http://hl7.org/fhir">
  <id value="example-media"/>
  <meta>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HTEST"/>
      <display value="test health data"/>
    </security>
  </meta>
  <type>
    <coding>
      <system value="http://dicom.nema.org/resources/ontology/DCM"/>
      <code value="110106"/>
      <display value="Export"/>
    </coding>
  </type>
  <subtype>
    <coding>
      <system value="urn:ihe:event-type-code"/>
      <code value="ITI-32"/>
      <display value="Distribute Document Set on Media"/>
    </coding>
  </subtype>
  <action value="R"/>
  <recorded value="2015-08-27T23:42:24Z"/>
  <outcome>
    <code>
      <system value="http://terminology.hl7.org/CodeSystem/audit-event-outcome"/>
      <code value="0"/>
      <display value="Success"/>
    </code>
  </outcome>
  <agent>
    <!-- Source active participant, the software making the PIX query
  UserId - The identity of the Patient Identifier Cross-reference Consumer Actor facility and sending application from the HL7 message; 
  concatenated together, separated by the | character. 
  AlternativeUserId - Process ID -->
    <type>
      <coding>
        <system value="http://dicom.nema.org/resources/ontology/DCM"/>
        <code value="110153"/>
        <display value="Source Role ID"/>
      </coding>
    </type>
    <who>
      <display value="ExportToMedia.app"/>
    </who>
    <requestor value="false"/>
  </agent>
  <agent>
    <!-- The Human using the software, if known -->
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/extra-security-role-type"/>
        <code value="humanuser"/>
        <display value="human user"/>
      </coding>
    </type>
    <who>
      <identifier>
        <value value="95"/>
      </identifier>
      <display value="Grahame Grieve"/>
    </who>
    <requestor value="true"/>
  </agent>
  <agent>
    <!-- The media exported onto -->
    <type>
      <coding>
        <system value="http://dicom.nema.org/resources/ontology/DCM"/>
        <code value="110154"/>
        <display value="Destination Media"/>
      </coding>
    </type>
    <who>
      <display value="Media title: Hello World"/>
    </who>
    <requestor value="false"/>
  </agent>
  <source>
    <observer>
      <identifier>
        <value value="hl7connect.healthintersections.com.au"/>
      </identifier>
      <display value="Cloud"/>
    </observer>
  </source>
  <entity>
    <!-- The Patient -->
    <what>
      <identifier>
        <value value="e3cdfc81a0d24bd^^^&amp;2.16.840.1.113883.4.2&amp;ISO"/>
      </identifier>
    </what>
    <role>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/object-role"/>
        <code value="1"/>
        <display value="Patient"/>
      </coding>
    </role>
  </entity>
  <entity>
    <!-- The SubmissionSet identifier -->
    <what>
      <identifier>
        <type>
          <coding>
            <system value="urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd"/>
            <code value="IHE XDS Metadata"/>
            <display value="submission set classificationNode"/>
          </coding>
        </type>
        <value value="e3cdfc81a0d24bd^^^&amp;2.16.840.1.113883.4.2&amp;ISO"/>
      </identifier>
    </what>
    <role>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/object-role"/>
        <code value="20"/>
        <display value="Job"/>
      </coding>
    </role>
  </entity>
  <entity>
    <!-- The Document Manifest exported -->
    <what>
      <reference value="DocumentReference/example"/>
    </what>
  </entity>
</AuditEvent>