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-68 at consumer - 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-auditRetrieveDocument-consumer"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.PatientRead";
       fhir:index 0;
       fhir:link <https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.PatientRead>     ];
     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-auditRetrieveDocument-consumer\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-IHE.BasicAudit.PatientRead.html\">Basic AuditEvent for a successful Read with a 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>: read (Details: http://hl7.org/fhir/restful-interaction code read = 'read', stated as 'read'), Retrieve Document (Details: urn:ihe:event-type-code code ITI-68 = 'ITI-68', stated as 'Retrieve Document'), Import (Details: DICOM code 110107 = 'Import', stated as 'Import')</p><p><b>action</b>: R</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>: 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-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>http://server.example.com/fhir</td><td>5</td></tr></table></blockquote><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>: model number ABC, serial number 1234</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><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>mobile app foo-bar</td><td><span>: model number ABC, serial number 1234</span></td><td>User Device (Details: http://terminology.hl7.org/CodeSystem/security-source-type code 1 = 'User Device', stated as 'User Device')</td></tr></table><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><blockquote><p><b>entity</b></p><p><b>what</b>: <a href=\"http://example.org/blah/blah.pdf\">http://example.org/blah/blah.pdf</a></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>: Report (Details: http://terminology.hl7.org/CodeSystem/object-role code 3 = 'Report', stated as 'Report')</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 "read" ];
     fhir:Coding.display [ fhir:value "read" ]
  ], [
     fhir:index 1;
     fhir:Coding.system [ fhir:value "urn:ihe:event-type-code" ];
     fhir:Coding.code [ fhir:value "ITI-68" ];
     fhir:Coding.display [ fhir:value "Retrieve Document" ]
  ], [
     fhir:index 2;
     fhir:Coding.system [ fhir:value "http://dicom.nema.org/resources/ontology/DCM" ];
     fhir:Coding.code [ fhir:value "110107" ];
     fhir:Coding.display [ fhir:value "Import" ]
  ];
  fhir:AuditEvent.action [ fhir:value "R"];
  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 "110152" ];
         fhir:Coding.display [ fhir:value "Destination 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 "http://server.example.com/fhir" ];
       fhir:AuditEvent.agent.network.type [ fhir:value "5" ]     ]
  ], [
     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 "110153" ];
         fhir:Coding.display [ fhir:value "Source Role ID" ]       ]     ];
     fhir:AuditEvent.agent.who [
       fhir:Reference.display [ fhir:value "model number ABC, serial number 1234" ]     ];
     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:AuditEvent.source [
     fhir:AuditEvent.source.site [ fhir:value "mobile app foo-bar" ];
     fhir:AuditEvent.source.observer [
       fhir:Reference.display [ fhir:value "model number ABC, serial number 1234" ]     ];
     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 "1" ];
       fhir:Coding.display [ fhir:value "User Device" ]     ]
  ];
  fhir:AuditEvent.entity [
     fhir:index 0;
     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" ]     ]
  ], [
     fhir:index 1;
     fhir:AuditEvent.entity.what [
       fhir:link <http://example.org/blah/blah.pdf>;
       fhir:Reference.reference [ fhir:value "http://example.org/blah/blah.pdf" ]     ];
     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 "3" ];
       fhir:Coding.display [ fhir:value "Report" ]     ]
  ].

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

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