Basic Audit Log Patterns (BALP)
1.1.0 - Trial-Implementation International flag

This page is part of the IHE Basic Audit Log Patterns (BALP) (v1.1.0: Trial Implementation) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: Audit Example of ITI-67 at responder - 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:Resource.id [ fhir:value "ex-auditFindDocumentReferences-responder"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.PatientQuery";
       fhir:index 0;
       fhir:link <https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.PatientQuery>     ];
     fhir:Meta.security [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActReason" ];
       fhir:Coding.code [ fhir:value "HTEST" ]     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<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-auditFindDocumentReferences-responder\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-IHE.BasicAudit.PatientQuery.html\">Basic AuditEvent for a successful Query with Patient</a></p><p style=\"margin-bottom: 0px\">Security Labels: <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActReason http://terminology.hl7.org/CodeSystem/v3-ActReason}\">http://terminology.hl7.org/CodeSystem/v3-ActReason</span></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>: search (Details: http://hl7.org/fhir/restful-interaction code search = 'search', stated as 'search'), Find Document References (Details: urn:ihe:event-type-code code ITI-67 = 'ITI-67', stated as 'Find Document References')</p><p><b>action</b>: E</p><p><b>recorded</b>: Apr 29, 2020 4:49:00 AM</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>: <a href=\"Device-ex-device.html\">Device/ex-device</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>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>: <span>: http://server.example.com/fhir</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>http://server.example.com/fhir</td><td>5</td></tr></table></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>HIE MHD api example</td><td><span>: http://server.example.com/fhir</span></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>: Query (Details: http://terminology.hl7.org/CodeSystem/object-role code 24 = 'Query', stated as 'Query')</p><p><b>description</b>: GET test.fhir.net/R4/fhir/DocumentReference?patient=9876&amp;status=current&amp;type=http://loinc.org|1234-5</p><p><b>query</b>: R0VUIHRlc3QuZmhpci5uZXQvUjQvZmhpci9Eb2N1bWVudFJlZmVyZW5jZT9wYXRpZW50PTk4NzYmc3RhdHVzPWN1cnJlbnQmdHlwZT1odHRwOi8vbG9pbmMub3JnfDEyMzQtNQo=</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <a href=\"Patient-ex-patient.html\">Patient/ex-patient</a> \" SCHMIDT\"</p><p><b>type</b>: Person (Details: http://terminology.hl7.org/CodeSystem/audit-entity-type code 1 = 'Person', stated as 'Person')</p><p><b>role</b>: Patient (Details: http://terminology.hl7.org/CodeSystem/object-role code 1 = 'Patient', stated as 'Patient')</p></blockquote></div>"
  ];
  fhir:AuditEvent.type [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/audit-event-type" ];
     fhir:Coding.code [ fhir:value "rest" ];
     fhir:Coding.display [ fhir:value "Restful Operation" ]
  ];
  fhir:AuditEvent.subtype [
     fhir:index 0;
     fhir:Coding.system [ fhir:value "http://hl7.org/fhir/restful-interaction" ];
     fhir:Coding.code [ fhir:value "search" ];
     fhir:Coding.display [ fhir:value "search" ]
  ], [
     fhir:index 1;
     fhir:Coding.system [ fhir:value "urn:ihe:event-type-code" ];
     fhir:Coding.code [ fhir:value "ITI-67" ];
     fhir:Coding.display [ fhir:value "Find Document References" ]
  ];
  fhir:AuditEvent.action [ fhir:value "E"];
  fhir:AuditEvent.recorded [ fhir:value "2020-04-29T09:49:00.000Z"^^xsd:dateTime];
  fhir:AuditEvent.outcome [ fhir:value "0"];
  fhir:AuditEvent.agent [
     fhir:index 0;
     fhir:AuditEvent.agent.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://dicom.nema.org/resources/ontology/DCM" ];
         fhir:Coding.code [ fhir:value "110153" ];
         fhir:Coding.display [ fhir:value "Source Role ID" ]       ]     ];
     fhir:AuditEvent.agent.who [
       fhir:Reference.reference [ fhir:value "Device/ex-device" ]     ];
     fhir:AuditEvent.agent.requestor [ fhir:value "false"^^xsd:boolean ];
     fhir:AuditEvent.agent.network [
       fhir:AuditEvent.agent.network.address [ fhir:value "2001:0db8:85a3:0000:0000:8a2e:0370:7334" ];
       fhir:AuditEvent.agent.network.type [ fhir:value "2" ]     ]
  ], [
     fhir:index 1;
     fhir:AuditEvent.agent.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://dicom.nema.org/resources/ontology/DCM" ];
         fhir:Coding.code [ fhir:value "110152" ];
         fhir:Coding.display [ fhir:value "Destination Role ID" ]       ]     ];
     fhir:AuditEvent.agent.who [
       fhir:Reference.display [ fhir:value "http://server.example.com/fhir" ]     ];
     fhir:AuditEvent.agent.requestor [ fhir:value "false"^^xsd:boolean ];
     fhir:AuditEvent.agent.network [
       fhir:AuditEvent.agent.network.address [ fhir:value "http://server.example.com/fhir" ];
       fhir:AuditEvent.agent.network.type [ fhir:value "5" ]     ]
  ];
  fhir:AuditEvent.source [
     fhir:AuditEvent.source.site [ fhir:value "HIE MHD api example" ];
     fhir:AuditEvent.source.observer [
       fhir:Reference.display [ fhir:value "http://server.example.com/fhir" ]     ];
     fhir:AuditEvent.source.type [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/security-source-type" ];
       fhir:Coding.code [ fhir:value "4" ];
       fhir:Coding.display [ fhir:value "Application Server" ]     ]
  ];
  fhir:AuditEvent.entity [
     fhir:index 0;
     fhir:AuditEvent.entity.type [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/audit-entity-type" ];
       fhir:Coding.code [ fhir:value "2" ];
       fhir:Coding.display [ fhir:value "System Object" ]     ];
     fhir:AuditEvent.entity.role [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/object-role" ];
       fhir:Coding.code [ fhir:value "24" ];
       fhir:Coding.display [ fhir:value "Query" ]     ];
     fhir:AuditEvent.entity.description [ fhir:value "GET test.fhir.net/R4/fhir/DocumentReference?patient=9876&status=current&type=http://loinc.org|1234-5" ];
     fhir:AuditEvent.entity.query [ fhir:value "R0VUIHRlc3QuZmhpci5uZXQvUjQvZmhpci9Eb2N1bWVudFJlZmVyZW5jZT9wYXRpZW50PTk4NzYmc3RhdHVzPWN1cnJlbnQmdHlwZT1odHRwOi8vbG9pbmMub3JnfDEyMzQtNQo="^^xsd:base64Binary ]
  ], [
     fhir:index 1;
     fhir:AuditEvent.entity.what [
       fhir:Reference.reference [ fhir:value "Patient/ex-patient" ]     ];
     fhir:AuditEvent.entity.type [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/audit-entity-type" ];
       fhir:Coding.code [ fhir:value "1" ];
       fhir:Coding.display [ fhir:value "Person" ]     ];
     fhir:AuditEvent.entity.role [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/object-role" ];
       fhir:Coding.code [ fhir:value "1" ];
       fhir:Coding.display [ fhir:value "Patient" ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.