HotBeverage FHIR Implementation Guide
1.4.2022 - release International flag

This page is part of the HotBeverage FHIR Implementation Guide (v1.4.2022: Release) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Audit Example of a basic brew - XML Representation

Raw xml | Download



<AuditEvent xmlns="http://hl7.org/fhir">
  <id value="ex-auditBasicBrew"/>
  <meta>
    <profile
             value="http://fhir.org/guides/acme/HotBeverage/StructureDefinition/BrewedLog"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource "ex-auditBasicBrew" </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-BrewedLog.html">The AuditEvent for a successful Brewed Hot Beverage</a></p></div><p><b>type</b>: Restful Operation (Details: http://terminology.hl7.org/CodeSystem/audit-event-type code rest = 'RESTful Operation', stated as 'Restful Operation')</p><p><b>subtype</b>: operation (Details: http://hl7.org/fhir/restful-interaction code operation = 'operation', stated as 'operation')</p><p><b>action</b>: E</p><p><b>recorded</b>: 29/04/2020 7:49:00 PM</p><p><b>outcome</b>: 0</p><blockquote><p><b>agent</b></p><p><b>type</b>: Source Role ID <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.1.0/CodeSystem-v3-DCM.html">DICOM</a>#110153)</span></p><p><b>who</b>: <span>: my phone</span></p><p><b>requestor</b>: false</p><h3>Networks</h3><table class="grid"><tr><td>-</td><td><b>Address</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>2001:0db8:85a3:0000:0000:8a2e:0370:7334</td><td>2</td></tr></table></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: Destination Role ID <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.1.0/CodeSystem-v3-DCM.html">DICOM</a>#110152)</span></p><p><b>who</b>: <a href="Device-VertuoNext.html">Device/VertuoNext</a></p><p><b>requestor</b>: false</p><h3>Networks</h3><table class="grid"><tr><td>-</td><td><b>Address</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>http://server.example.com/fhir/coffee</td><td>5</td></tr></table></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: beneficiary <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.1.0/CodeSystem-v3-ParticipationType.html">ParticipationType</a>#BEN)</span></p><p><b>who</b>: <span>: John Smith</span></p><p><b>requestor</b>: true</p></blockquote><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Site</b></td><td><b>Observer</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>server.example.com</td><td><a href="Device-VertuoNext.html">Device/VertuoNext</a></td><td>Application Server (Details: http://terminology.hl7.org/CodeSystem/security-source-type code 4 = 'Application Server', stated as 'Application Server')</td></tr></table><blockquote><p><b>entity</b></p><p><b>type</b>: System Object (Details: http://terminology.hl7.org/CodeSystem/audit-entity-type code 2 = 'System Object', stated as 'System Object')</p><p><b>role</b>: Job (Details: http://terminology.hl7.org/CodeSystem/object-role code 20 = 'Job', stated as 'Job')</p><blockquote><p><b>detail</b></p><p><b>type</b>: beverageType</p><p><b>value</b>: #ESPRESSO</p></blockquote><blockquote><p><b>detail</b></p><p><b>type</b>: drinkSize</p><p><b>value</b>: #PROG</p></blockquote></blockquote></div>
  </text>
  <type>
    <system value="http://terminology.hl7.org/CodeSystem/audit-event-type"/>
    <code value="rest"/>
    <display value="Restful Operation"/>
  </type>
  <subtype>
    <system value="http://hl7.org/fhir/restful-interaction"/>
    <code value="operation"/>
    <display value="operation"/>
  </subtype>
  <action value="E"/>
  <recorded value="2020-04-29T09:49:00.000Z"/>
  <outcome value="0"/>
  <agent>
    <type>
      <coding>
        <system value="http://dicom.nema.org/resources/ontology/DCM"/>
        <code value="110153"/>
        <display value="Source Role ID"/>
      </coding>
    </type>
    <who>
      <display value="my phone"/>
    </who>
    <requestor value="false"/>
    <network>
      <address value="2001:0db8:85a3:0000:0000:8a2e:0370:7334"/>
      <type value="2"/>
    </network>
  </agent>
  <agent>
    <type>
      <coding>
        <system value="http://dicom.nema.org/resources/ontology/DCM"/>
        <code value="110152"/>
        <display value="Destination Role ID"/>
      </coding>
    </type>
    <who>
      <reference value="Device/VertuoNext"/>
    </who>
    <requestor value="false"/>
    <network>
      <address value="http://server.example.com/fhir/coffee"/>
      <type value="5"/>
    </network>
  </agent>
  <agent>
    <type>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
        <code value="BEN"/>
        <display value="beneficiary"/>
      </coding>
    </type>
    <who>
      <display value="John Smith"/>
    </who>
    <requestor value="true"/>
  </agent>
  <source>
    <site value="server.example.com"/>
    <observer>
      <reference value="Device/VertuoNext"/>
    </observer>
    <type>
      <system value="http://terminology.hl7.org/CodeSystem/security-source-type"/>
      <code value="4"/>
      <display value="Application Server"/>
    </type>
  </source>
  <entity>
    <type>
      <system value="http://terminology.hl7.org/CodeSystem/audit-entity-type"/>
      <code value="2"/>
      <display value="System Object"/>
    </type>
    <role>
      <system value="http://terminology.hl7.org/CodeSystem/object-role"/>
      <code value="20"/>
      <display value="Job"/>
    </role>
    <detail>
      <type value="beverageType"/>
      <valueString value="#ESPRESSO"/>
    </detail>
    <detail>
      <type value="drinkSize"/>
      <valueString value="#PROG"/>
    </detail>
  </entity>
</AuditEvent>