Snapshot 3: Connectathon 32 Base

This is Snapshot #3 for FHIR R5, released to support Connectathon 32. For a full list of available versions, see the Directory of published versions.

Example AuditEvent/example-pixQuery (Turtle)

Security Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner

Raw Turtle (+ also see Turtle/RDF Format Specification)

Converted ATNA message from a PIX query

@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 "example-pixQuery"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: AuditEvent</b><a name=\"example-pixQuery\"> </a></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 AuditEvent &quot;example-pixQuery&quot; </p></div><p><b>category</b>: Query <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://dicom.nema.org/resources/ontology/DCM\">DICOM</a>#110112)</span></p><p><b>code</b>: PIX Query <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (unknown#ITI-9)</span></p><p><b>action</b>: E</p><p><b>recorded</b>: 27 Aug 2015, 9:42:24 am</p><h3>Outcomes</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td></tr><tr><td>*</td><td>Success (Details: http://terminology.hl7.org/CodeSystem/audit-event-outcome code success = 'Success', stated as 'Success')</td></tr></table><blockquote><p><b>agent</b></p><p><b>AuditEvent Alternative User ID</b>: process ID: 6580</p><p><b>type</b>: Source Role ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://dicom.nema.org/resources/ontology/DCM\">DICOM</a>#110153)</span></p><p><b>who</b>: <span/></p><p><b>requestor</b>: false</p><p><b>network</b>: Workstation1.ehr.familyclinic.com</p></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: <span title=\"   The Human using the software, if known   \">human user <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-extra-security-role-type.html\">SecurityRoleType</a>#humanuser)</span></span></p><p><b>who</b>: <span>: Grahame Grieve</span></p><p><b>requestor</b>: true</p></blockquote><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Observer</b></td></tr><tr><td>*</td><td><span>: hl7connect.healthintersections.com.au</span></td></tr></table><blockquote><p><b>entity</b></p><p><b>what</b>: <span title=\" \n  The Patient\n   \"><span/></span></p><p><b>role</b>: Patient <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-object-role.html\">AuditEventEntityRole</a>#1)</span></p></blockquote><blockquote><p><b>entity</b></p><p><b>role</b>: <span title=\"  The PIX Query Parameters  \">Query <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-object-role.html\">AuditEventEntityRole</a>#24)</span></span></p><p><b>query</b>: <span title=\"  The complete query message (including MSH and QPD segments), base64 encoded  \">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPFBSUEFfSU4yMDEzMDlVVjAyIElUU1ZlcnNpb249IlhNTF8xLjAiIHhtbG5zPSJ1cm46aGw3LW9yZzp2MyI+CiAgPGlkIGV4dGVuc2lvbj0iMzU0MjMiIHJvb3Q9IjEuMi44NDAuMTE0MzUwLjEuMTMuMC4xLjcuMS4xIi8+CiAgPGNyZWF0aW9uVGltZSB2YWx1ZT0iMjAxN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lvbj4KICAgICAgPC9hc0FnZW50PgogICAgPC9kZXZpY2U+CiAgPC9zZW5kZXI+CiAgPGNvbnRyb2xBY3RQcm9jZXNzIGNsYXNzQ29kZT0iQ0FDVCIgbW9vZENvZGU9IkVWTiI+CiAgICA8Y29kZSBjb2RlPSJQUlBBX1RFMjAxMzA5VVYwMiIgY29kZVN5c3RlbT0iMi4xNi44NDAuMS4xMTM4ODMuMS42Ii8+CiAgICA8cXVlcnlCeVBhcmFtZXRlcj4KICAgICAgPHF1ZXJ5SWQgZXh0ZW5zaW9uPSIxODQwOTk3MDg0IiByb290PSIxLjIuODQwLjExNDM1MC4xLjEzLjI4LjEuMTguNS45OTkiLz4KICAgICAgPHN0YXR1c0NvZGUgY29kZT0ibmV3Ii8+CiAgICAgIDxyZXNwb25zZVByaW9yaXR5Q29kZSBjb2RlPSJJIi8+CiAgICAgIDxwYXJhbWV0ZXJMaXN0PgogICAgICAgIDxwYXRpZW50SWRlbnRpZmllcj4KICAgICAgICAgIDx2YWx1ZSBleHRlbnNpb249IlN1cnlhQnJhbmQiIHJvb3Q9IjIuMTYuODQwLjEuMTEzODgzLjQuMiIvPgogICAgICAgICAgPHNlbWFudGljc1RleHQ+UGF0aWVudC5JZDwvc2VtYW50aWNzVGV4dD4KICAgICAgICA8L3BhdGllbnRJZGVudGlmaWVyPgogICAgICA8L3BhcmFtZXRlckxpc3Q+CiAgICA8L3F1ZXJ5QnlQYXJhbWV0ZXI+CiAgPC9jb250cm9sQWN0UHJvY2Vzcz4KPC9QUlBBX0lOMjAxMzA5VVYwMj4K</span></p><h3>Details</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td>*</td><td><span title=\"  MSH-10  \">MSH-10 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#MSH-10)</span></span></td><td>MS4yLjg0MC4xMTQzNTAuMS4xMy4wLjEuNy4xLjE=</td></tr></table></blockquote></div>"
  ]; # 
  fhir:AuditEvent.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://dicom.nema.org/resources/ontology/DCM" ];
       fhir:Coding.code [ fhir:value "110112" ];
       fhir:Coding.display [ fhir:value "Query" ]
     ]
  ]; # 
  fhir:AuditEvent.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:oid:1.3.6.1.4.1.19376.1.2" ];
       fhir:Coding.code [ fhir:value "ITI-9" ];
       fhir:Coding.display [ fhir:value "PIX Query" ]
     ]
  ]; # 
  fhir:AuditEvent.action [ fhir:value "E"]; # 
  fhir:AuditEvent.recorded [ fhir:value "2015-08-26T23:42:24Z"^^xsd:dateTime]; # 
  fhir:AuditEvent.outcome [
     fhir:AuditEvent.outcome.code [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/audit-event-outcome" ];
       fhir:Coding.code [ fhir:value "success" ];
       fhir:Coding.display [ fhir:value "Success" ]
     ]
  ]; # 
  fhir:AuditEvent.agent [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID" ];
       fhir:Extension.valueIdentifier [
         fhir:Identifier.type [
           fhir:CodeableConcept.text [ fhir:value "process ID" ]
         ];
         fhir:Identifier.value [ fhir:value "6580" ]
       ]
     ]; #    Source active participant, the software making the PIX query\n  UserId - The identity of the Patient Identifier Cross-reference Consumer Actor facility and sending application from the HL7 message; \n  concatenated together, separated by the | character. \n  AlternativeUserId - Process ID\n    
     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.identifier [
         fhir:Identifier.system [ fhir:value "urn:oid:2.16.840.1.113883.4.2" ];
         fhir:Identifier.value [ fhir:value "2.16.840.1.113883.4.2" ]
       ]
     ];
     fhir:AuditEvent.agent.requestor [ fhir:value "false"^^xsd:boolean ];
     fhir:AuditEvent.agent.networkString [ fhir:value "Workstation1.ehr.familyclinic.com" ]
  ], [
     fhir:index 1;
     fhir:AuditEvent.agent.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/extra-security-role-type" ];
         fhir:Coding.code [ fhir:value "humanuser" ];
         fhir:Coding.display [ fhir:value "human user" ]
       ]
     ]; #     The Human using the software, if known    
     fhir:AuditEvent.agent.who [
       fhir:Reference.identifier [
         fhir:Identifier.value [ fhir:value "95" ]
       ];
       fhir:Reference.display [ fhir:value "Grahame Grieve" ]
     ];
     fhir:AuditEvent.agent.requestor [ fhir:value "true"^^xsd:boolean ]
  ]; # 
  fhir:AuditEvent.source [
     fhir:AuditEvent.source.observer [
       fhir:Reference.display [ fhir:value "hl7connect.healthintersections.com.au" ]
     ]
  ]; # 
  fhir:AuditEvent.entity [
     fhir:index 0;
     fhir:AuditEvent.entity.what [
       fhir:Reference.identifier [
         fhir:Identifier.value [ fhir:value "e3cdfc81a0d24bd^^^&2.16.840.1.113883.4.2&ISO" ]
       ]
     ]; #   \n  The Patient\n    
     fhir:AuditEvent.entity.role [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         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.role [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/object-role" ];
         fhir:Coding.code [ fhir:value "24" ];
         fhir:Coding.display [ fhir:value "Query" ]
       ]
     ]; #    The PIX Query Parameters   
     fhir:A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C9jb250cm9sQWN0UHJvY2Vzcz4KPC9QUlBBX0lOMjAxMzA5VVYwMj4K"^^xsd:base64Binary ]; #    The complete query message (including MSH and QPD segments), base64 encoded   
     fhir:AuditEvent.entity.detail [
       fhir:index 0;
       fhir:AuditEvent.entity.detail.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.code [ fhir:value "MSH-10" ]
         ]
       ]; #    MSH-10   
       fhir:AuditEvent.entity.detail.valueBase64Binary [ fhir:value "MS4yLjg0MC4xMTQzNTAuMS4xMy4wLjEuNy4xLjE="^^xsd:base64Binary ]
     ]
  ]] . # 

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

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

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.