This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU) in it's permanent home (it will always be available at this URL). 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
Raw XML (canonical form + also see XML Format Specification)
Login example (id = "example-login")
<?xml version="1.0" encoding="UTF-8"?> <AuditEvent xmlns="http://hl7.org/fhir"><id value="example-login"/><text ><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p ><b >Generated Narrative with Details</b></p><p ><b >id</b>: example-login</p><p ><b >type</b>: User Authentication (Details: DICOM code 110114 = 'User Authentication', stated as 'User Authentication')</p><p ><b >subtype</b>: Login (Details: DICOM code 110122 = 'Login', stated as 'Login')</p><p ><b >action</b>: E</p><p ><b >recorded</b>: 20/06/2013 11:41:23 PM</p><p ><b >outcome</b>: 0</p><blockquote ><p ><b >agent</b></p><p ><b >type</b>: human user <span >(Details : {http://terminology.hl7.org/CodeSystem/extra-security-role-type code 'humanuser' = 'human user', given as 'human user'})</span></p><p ><b >who</b>: </p><p ><b >altId</b>: 601847123</p><p ><b >name</b>: Grahame Grieve</p><p ><b >requestor</b>: true</p><h3 >Networks</h3><table ><tr ><td >-</td><td ><b >Address</b></td><td ><b >Type</b></td></tr><tr ><td >*</td><td >127.0.0.1</td><td >2</td></tr></table></blockquote><blockquote ><p ><b >agent</b></p><p ><b >type</b>: Source Role ID <span >(Details : {DICOM code '110153' = 'Source Role ID', given as 'Source Role ID'})</span></p><p ><b >who</b>: </p><p ><b >altId</b>: 6580</p><p ><b >requestor</b>: false</p><h3 >Networks</h3><table ><tr ><td >-</td><td ><b >Address</b></td><td ><b >Type</b></td></tr><tr ><td >*</td><td >Workstation1.ehr.familyclinic.com</td><td >1</td></tr></table></blockquote><h3 >Sources</h3><table ><tr ><td >-</td><td ><b >Site</b></td><td ><b >Observer</b></td><td ><b >Type</b></td></tr><tr ><td >*</td><td >Cloud</td><td /><td >Web Server (Details: http://terminology.hl7.org/CodeSystem/security-source-type code 3 = 'Web Server', stated as 'Web Server')</td></tr></table></div></text><type ><system value="http://dicom.nema.org/resources/ontology/DCM"/><code value="110114"/><display value="User Authentication"/></type><subtype ><system value="http://dicom.nema.org/resources/ontology/DCM"/><code value="110122"/><display value="Login"/></subtype><action value="E"/><recorded value="2013年06月20日T23:41:23Z"/><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><who ><identifier><valuevalue="95"/></identifier></who><altId value="601847123"/><name value="Grahame Grieve"/><requestor value="true"/><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><systemvalue="urn:oid:2.16.840.1.113883.4.2"/><valuevalue="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="Cloud"/><observer ><identifier><valuevalue="hl7connect.healthintersections.com.au"/></identifier></observer><type ><system value="http://terminology.hl7.org/CodeSystem/security-source-type"/><code value="3"/><display value="Web Server"/></type></source></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.