STU 3 Ballot

This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Auditevent-example.xml

Raw XML (canonical form)

General AuditEvent Example (id = "example")

<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>
        <system value="http://nema.org/dicom/dicm"/>
        <code value="110100"/>
        <display value="Application Activity"/>
    </type>
    <subtype>
        <system value="http://nema.org/dicom/dicm"/>
        <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>
    <userId>
    <value value="Grahame"/>
  </userId>
    <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
       --> 
    <role> <coding> <system value="http://nema.org/dicom/dicm"/> <code value="110153"/> <display value="Source Role ID"/> </coding> </role> 
    <userId> <value value="2.16.840.1.113883.4.2|2.16.840.1.113883.4.2"/> </userId> 
    <altId value="6580"/> 
    <requestor value="false"/> 
    <network> <address value="Workstation1.ehr.familyclinic.com"/> <type value="1"/> </network> 
  </agent>
  <source>
    <site value="Development"/>
  <identifier>
    <value value="Grahame's Laptop"/>
  </identifier>
    <type>
      <system value="http://hl7.org/fhir/audit-event-sub-type"/>
      <code value="1"/>
    </type>
  </source>
  <entity>
    <identifier>
      <type>
        <coding>
          <system value="http://hl7.org/fhir/identifier-type"/>
          <code value="SNO"/>
        </coding>
        <text value="Dell Serial Number"/>
      </type>
      <value value="ABCDEF"/>
    </identifier>
  <type>
    <system value="http://hl7.org/fhir/object-type"/>
    <code value="4"/>
    <display value="Other"/>
  </type>
  <role>
    <system value="http://hl7.org/fhir/object-role"/>
    <code value="4"/>
    <display value="Domain Resource"/>
  </role>
    <lifecycle>
    <system value="http://hl7.org/fhir/object-lifecycle"/>
    <code value="6"/>
    <display value="Access / Use"/>
  </lifecycle>
    <name value="Grahame's Laptop"/>
  </entity>
</AuditEvent>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.