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

<AuditEvent xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Application Start for under service login &quot;Grahame&quot; (id: Grahame's Test HL7Connect)</div>
  </text>
  <type>
    <coding>
      <system value="http://dicom.nema.org/resources/ontology/DCM"/>
      <code value="110100"/>
      <display value="Application Activity"/>
    </coding>
  </type>
  <subtype>
    <coding>
      <system value="http://dicom.nema.org/resources/ontology/DCM"/>
      <code value="110120"/>
      <display value="Application Start"/>
    </coding>
  </subtype>
  <action value="E"/>
  <recorded value="2012-10-25T22:04:27+11:00"/>
  <outcome>
    <code>
      <system value="http://terminology.hl7.org/CodeSystem/audit-event-outcome"/>
      <code value="0"/>
      <display value="Success"/>
    </code>
  </outcome>
  <agent>
    <role>
      <text value="Service User (Logon)"/>
    </role>
    <who>
      <identifier>
        <value value="Grahame"/>
      </identifier>
    </who>
    <requestor value="false"/>
  </agent>
  <agent>
    <!--  Source active participant, the software making the . AlternativeUserId - Process ID  -->
    <extension url="http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID">
      <valueIdentifier>
        <type>
          <text value="process ID"/>
        </type>
        <value value="6580"/>
      </valueIdentifier>
    </extension>
    <who>
      <identifier>
        <system value="urn:oid:2.16.840.1.113883.4.2"/>
        <value value="2.16.840.1.113883.4.2"/>
      </identifier>
    </who>
    <requestor value="false"/>
    <networkString value="Workstation1.ehr.familyclinic.com"/>
  </agent>
  <source>
    <observer>
      <display value="Grahame's Laptop"/>
    </observer>
    <type>
      <coding>
        <system value="http://dicom.nema.org/resources/ontology/DCM"/>
        <code value="110122"/>
        <display value="Login"/>
      </coding>
    </type>
  </source>
  <entity>
    <what>
      <identifier>
        <type>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
            <code value="SNO"/>
          </coding>
          <text value="Dell Serial Number"/>
        </type>
        <value value="ABCDEF"/>
      </identifier>
    </what>
    <role>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/object-role"/>
        <code value="4"/>
        <display value="Domain Resource"/>
      </coding>
    </role>
  </entity>
</AuditEvent>