HotBeverage FHIR Implementation Guide
1.4.2024 - release International flag

HotBeverage FHIR Implementation Guide, published by Dave Pyke & John Moehrke. This guide is not an authorized publication; it is the continuous build for version 1.4.2024 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/DavidPyke/HotBeverage/ and changes regularly. See the Directory of published versions

: Audit Example of a basic brew - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:AuditEvent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ex-auditBasicBrew"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://fhir.org/guides/acme/HotBeverage/StructureDefinition/BrewedLog"^^xsd:anyURI ;
fhir:link <http://fhir.org/guides/acme/HotBeverage/StructureDefinition/BrewedLog>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: AuditEvent ex-auditBasicBrew</b></p><a name=\"ex-auditBasicBrew\"> </a><a name=\"hcex-auditBasicBrew\"> </a><a name=\"ex-auditBasicBrew-en-US\"> </a><p><b>type</b>: <a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-audit-event-type.html#audit-event-type-rest\">Audit Event ID rest</a>: Restful Operation</p><p><b>subtype</b>: <a href=\"http://hl7.org/fhir/R4/codesystem-restful-interaction.html#restful-interaction-operation\">FHIR Restful Interactions operation</a>: operation</p><p><b>action</b>: Execute</p><p><b>recorded</b>: 2020-04-29 09:49:00+0000</p><p><b>outcome</b>: Success</p><blockquote><p><b>agent</b></p><p><b>type</b>: <span title=\"Codes:{http://dicom.nema.org/resources/ontology/DCM 110153}\">Source Role ID</span></p><p><b>who</b>: my phone</p><p><b>requestor</b>: false</p><h3>Networks</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Address</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>2001:0db8:85a3:0000:0000:8a2e:0370:7334</td><td>IP Address</td></tr></table></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: <span title=\"Codes:{http://dicom.nema.org/resources/ontology/DCM 110152}\">Destination Role ID</span></p><p><b>who</b>: <a href=\"Device-VertuoNext.html\">Device: status = active; manufacturer = nespresso; modelNumber = B084GYKJ58; url = http://server.example.com/fhir/coffee</a></p><p><b>requestor</b>: false</p><h3>Networks</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Address</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>http://server.example.com/fhir/coffee</td><td>URI</td></tr></table></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType BEN}\">beneficiary</span></p><p><b>who</b>: John Smith</p><p><b>requestor</b>: true</p></blockquote><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Site</b></td><td><b>Observer</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>server.example.com</td><td><a href=\"Device-VertuoNext.html\">Device: status = active; manufacturer = nespresso; modelNumber = B084GYKJ58; url = http://server.example.com/fhir/coffee</a></td><td><a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-security-source-type.html#security-source-type-4\">Audit Event Source Type 4</a>: Application Server</td></tr></table><blockquote><p><b>entity</b></p><p><b>type</b>: <a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-audit-entity-type.html#audit-entity-type-2\">Audit event entity type 2</a>: System Object</p><p><b>role</b>: <a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-object-role.html#object-role-20\">AuditEventEntityRole 20</a>: 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>"
  ] ; # 
  fhir:type [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/audit-event-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "rest" ] ;
fhir:display [ fhir:v "Restful Operation" ]
  ] ; # 
  fhir:subtype ( [
fhir:system [ fhir:v "http://hl7.org/fhir/restful-interaction"^^xsd:anyURI ] ;
fhir:code [ fhir:v "operation" ] ;
fhir:display [ fhir:v "operation" ]
  ] ) ; # 
  fhir:action [ fhir:v "E"] ; # 
  fhir:recorded [ fhir:v "2020-04-29T09:49:00.000Z"^^xsd:dateTime] ; # 
  fhir:outcome [ fhir:v "0"] ; # 
  fhir:agent ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ] ;
fhir:code [ fhir:v "110153" ] ;
fhir:display [ fhir:v "Source Role ID" ]       ] )     ] ;
fhir:who [
fhir:display [ fhir:v "my phone" ]     ] ;
fhir:requestor [ fhir:v "false"^^xsd:boolean ] ;
fhir:network [
fhir:address [ fhir:v "2001:0db8:85a3:0000:0000:8a2e:0370:7334" ] ;
fhir:type [ fhir:v "2" ]     ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ] ;
fhir:code [ fhir:v "110152" ] ;
fhir:display [ fhir:v "Destination Role ID" ]       ] )     ] ;
fhir:who [
fhir:reference [ fhir:v "Device/VertuoNext" ]     ] ;
fhir:requestor [ fhir:v "false"^^xsd:boolean ] ;
fhir:network [
fhir:address [ fhir:v "http://server.example.com/fhir/coffee" ] ;
fhir:type [ fhir:v "5" ]     ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "BEN" ] ;
fhir:display [ fhir:v "beneficiary" ]       ] )     ] ;
fhir:who [
fhir:display [ fhir:v "John Smith" ]     ] ;
fhir:requestor [ fhir:v "true"^^xsd:boolean ]
  ] ) ; # 
  fhir:source [
fhir:site [ fhir:v "server.example.com" ] ;
fhir:observer [
fhir:reference [ fhir:v "Device/VertuoNext" ]     ] ;
    ( fhir:type [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/security-source-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "4" ] ;
fhir:display [ fhir:v "Application Server" ]     ] )
  ] ; # 
  fhir:entity ( [
fhir:type [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/audit-entity-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "2" ] ;
fhir:display [ fhir:v "System Object" ]     ] ;
fhir:role [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/object-role"^^xsd:anyURI ] ;
fhir:code [ fhir:v "20" ] ;
fhir:display [ fhir:v "Job" ]     ] ;
    ( fhir:detail [
fhir:type [ fhir:v "beverageType" ] ;
fhir:value [ fhir:v "#ESPRESSO" ]     ] [
fhir:type [ fhir:v "drinkSize" ] ;
fhir:value [ fhir:v "#PROG" ]     ] )
  ] ) . #