<AuditEvent xmlns="http://hl7.org/fhir">
  <id value="example" />
  <meta>
    <tag>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason" />
      <code value="HTEST" />
      <display value="test health data" />
    </tag>
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">Application Start for under service login "Grahame" (id: Grahame's Test HL7Connect)</div>
  </text>
  <type>
    <system value="http://dicom.nema.org/resources/ontology/DCM" />
    <code value="110100" />
    <display value="Application Activity" />
  </type>
  <subtype>
    <system value="http://dicom.nema.org/resources/ontology/DCM" />
    <code value="110120" />
    <display value="Application Start" />
  </subtype>
  <action value="E" />
  <recorded value="2012-10-25T22:04:27+11:00" />
  <outcome value="0" />
  <agent>
    <role>
      <text value="Service User (Logon)" />
    </role>
    <requestor value="false" />
    <network>
      <address value="127.0.0.1" />
      <type value="2" />
    </network>
    <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="Grahame" />
      </identifier>
    </who>
  </agent>
  <agent>
    <altId value="6580" />
    <requestor value="false" />
    <network>
      <address value="Workstation1.ehr.familyclinic.com" />
      <type value="1" />
    </network>
    <type>
      <coding>
        <system value="http://dicom.nema.org/resources/ontology/DCM" />
        <code value="110153" />
        <display value="Source Role ID" />
      </coding>
    </type>
    <who>
      <identifier>
        <system value="urn:oid:2.16.840.1.113883.4.2" />
        <value value="2.16.840.1.113883.4.2" />
      </identifier>
    </who>
  </agent>
  <source>
    <site value="Development" />
    <type>
      <system value="http://dicom.nema.org/resources/ontology/DCM" />
      <code value="110122" />
      <display value="Login" />
    </type>
    <observer>
      <display value="Grahame's Laptop" />
    </observer>
  </source>
  <entity>
    <type>
      <system value="http://terminology.hl7.org/CodeSystem/audit-entity-type" />
      <code value="4" />
      <display value="Other" />
    </type>
    <role>
      <system value="http://terminology.hl7.org/CodeSystem/object-role" />
      <code value="4" />
      <display value="Domain Resource" />
    </role>
    <lifecycle>
      <system value="http://terminology.hl7.org/CodeSystem/dicom-audit-lifecycle" />
      <code value="6" />
      <display value="Access / Use" />
    </lifecycle>
    <name value="Grahame's Laptop" />
    <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>
  </entity>
</AuditEvent>