<?xml version=“1.0” encoding=“UTF-8”?> <AuditEvent xmlns=“hl7.org/fhir”>

<id value="example"/>
 <meta>
   <security>
     <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
     <code value="HTEST"/>
     <display value="test health data"/>
   </security>
 </meta>

   <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>
     <type> <coding> <system value="http://terminology.hl7.org/CodeSystem/extra-security-role-type"/> <code value="humanuser"/> <display value="human user"/> </coding> </type> 

   <role>
     <text value="Service User (Logon)"/>
   </role>
                       <who>
                       <identifier>
               <value value="Grahame"/>
                       </identifier>
               </who>

   <requestor value="false"/>
   <network>
     <address value="127.0.0.1"/>
     <type value="2"/>
   </network>
 </agent>
 <agent> <!--  Source active participant, the software making the . 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>
                       <identifier>
                               <system value="urn:oid:2.16.840.1.113883.4.2"/> 
                               <value value="2.16.840.1.113883.4.2"/> 
                       </identifier>
               </who>
   <altId value="6580"/> 
   <requestor value="false"/> 
   <network> <address value="Workstation1.ehr.familyclinic.com"/> <type value="1"/> </network> 
 </agent>
 <source>
   <site value="Development"/>
       <observer>
               <display value="Grahame's Laptop"/>
       </observer>
   <type>
     <system value="http://dicom.nema.org/resources/ontology/DCM"/>
     <code value="110122"/>
     <display value="Login"/>
   </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>
       <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"/>
 </entity>

</AuditEvent>