Basic Audit Log Patterns (BALP)
1.1.4-current - ci-build International flag

Basic Audit Log Patterns (BALP), published by IHE IT Infrastructure Technical Committee. This guide is not an authorized publication; it is the continuous build for version 1.1.4-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IHE/ITI.BasicAudit/ and changes regularly. See the Directory of published versions

: Server - Audit Example of a basic patient identifiable Query (GET) - 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-auditBasicQueryGetServer"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.PatientQuery"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.PatientQuery>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  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-auditBasicQueryGetServer</b></p><a name=\"ex-auditBasicQueryGetServer\"> </a><a name=\"hcex-auditBasicQueryGetServer\"> </a><a name=\"ex-auditBasicQueryGetServer-en-US\"> </a><p><b>type</b>: <a href=\"http://terminology.hl7.org/6.0.0/CodeSystem-audit-event-type.html#audit-event-type-rest\">Audit Event ID</a> rest: Restful Operation</p><p><b>subtype</b>: <a href=\"http://hl7.org/fhir/R4/codesystem-restful-interaction.html#restful-interaction-search\">FHIR Restful Interactions</a> search: search</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>: myMachine.example.org</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-ex-device.html\">Device</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</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 IRCP}\">information recipient</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-ex-device.html\">Device</a></td><td><a href=\"http://terminology.hl7.org/6.0.0/CodeSystem-security-source-type.html#security-source-type-4\">Audit Event Source Type</a> 4: Application Server</td></tr></table><blockquote><p><b>entity</b></p><p><b>type</b>: <a href=\"http://terminology.hl7.org/6.0.0/CodeSystem-audit-entity-type.html#audit-entity-type-2\">Audit event entity type</a> 2: System Object</p><p><b>role</b>: <a href=\"http://terminology.hl7.org/6.0.0/CodeSystem-object-role.html#object-role-24\">AuditEventEntityRole</a> 24: Query</p><p><b>description</b>: GET test.fhir.org/r4/Observation?patient=ex-patient&amp;_lastUpdated=gt2020-11-06T21:52:30.300Z&amp;_sort=_lastUpdated&amp;_count=10\nAccept: application/fhir+json; fhirVersion=4.0\nX-Request-Id: cc6d168e-5871-11ec-bf63-0242ac130002</p><p><b>query</b>: <code>R0VUIHRlc3QuZmhpci5vcmcvcjQvT2JzZXJ2YXRpb24/cGF0aWVudD1leC1wYXRpZW50Jl9sYXN0VXBkYXRlZD1ndDIwMjAtMTEtMDZUMjE6NTI6MzAuMzAwWiZfc29ydD1fbGFzdFVwZGF0ZWQmX2NvdW50PTEwCkFjY2VwdDogYXBwbGljYXRpb24vZmhpcitqc29uOyBmaGlyVmVyc2lvbj00LjAKWC1SZXF1ZXN0LUlkOiBjYzZkMTY4ZS01ODcxLTExZWMtYmY2My0wMjQyYWMxMzAwMDI=</code></p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <a href=\"Patient-ex-patient.html\">John Schmidt  Other, DoB: 1923-07-25</a></p><p><b>type</b>: <a href=\"http://terminology.hl7.org/6.0.0/CodeSystem-audit-entity-type.html#audit-entity-type-1\">Audit event entity type</a> 1: Person</p><p><b>role</b>: <a href=\"http://terminology.hl7.org/6.0.0/CodeSystem-object-role.html#object-role-1\">AuditEventEntityRole</a> 1: Patient</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: Identifier: cc6d168e-5871-11ec-bf63-0242ac130002</p><p><b>type</b>: <a href=\"CodeSystem-BasicAuditEntityType.html#BasicAuditEntityType-XrequestId\">Entity Types that are defined in IHE BasicAudit</a> XrequestId: transport specific unique identifier where http X-Request-Id is used</p></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 "search" ] ;
fhir:display [ fhir:v "search" ]
  ] ) ; # 
  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 "myMachine.example.org" ]     ] ;
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/ex-device" ]     ] ;
fhir:requestor [ fhir:v "false"^^xsd:boolean ] ;
fhir:network [
fhir:address [ fhir:v "http://server.example.com/fhir" ] ;
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 "IRCP" ] ;
fhir:display [ fhir:v "information recipient" ]       ] )     ] ;
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/ex-device" ]     ] ;
    ( 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 "24" ] ;
fhir:display [ fhir:v "Query" ]     ] ;
fhir:description [ fhir:v "GET test.fhir.org/r4/Observation?patient=ex-patient&_lastUpdated=gt2020-11-06T21:52:30.300Z&_sort=_lastUpdated&_count=10\nAccept: application/fhir+json; fhirVersion=4.0\nX-Request-Id: cc6d168e-5871-11ec-bf63-0242ac130002" ] ;
fhir:query [ fhir:v "R0VUIHRlc3QuZmhpci5vcmcvcjQvT2JzZXJ2YXRpb24/cGF0aWVudD1leC1wYXRpZW50Jl9sYXN0VXBkYXRlZD1ndDIwMjAtMTEtMDZUMjE6NTI6MzAuMzAwWiZfc29ydD1fbGFzdFVwZGF0ZWQmX2NvdW50PTEwCkFjY2VwdDogYXBwbGljYXRpb24vZmhpcitqc29uOyBmaGlyVmVyc2lvbj00LjAKWC1SZXF1ZXN0LUlkOiBjYzZkMTY4ZS01ODcxLTExZWMtYmY2My0wMjQyYWMxMzAwMDI="^^xsd:base64Binary ]
  ] [
fhir:what [
fhir:reference [ fhir:v "Patient/ex-patient" ]     ] ;
fhir:type [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/audit-entity-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1" ] ;
fhir:display [ fhir:v "Person" ]     ] ;
fhir:role [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/object-role"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1" ] ;
fhir:display [ fhir:v "Patient" ]     ]
  ] [
fhir:what [
fhir:identifier [
fhir:value [ fhir:v "cc6d168e-5871-11ec-bf63-0242ac130002" ]       ]     ] ;
fhir:type [
fhir:system [ fhir:v "https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "XrequestId" ]     ]
  ] ) . #