FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example AuditEvent/example-search (Turtle)

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

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

RESTful search operation

@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 -------------------------------------------------------------------

#    could include an .entity of the patient if possible   

[a fhir:AuditEvent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-search"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: AuditEvent</b><a name=\"example-search\"> </a><a name=\"hcexample-search\"> </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-search&quot; </p></div><p><b>type</b>: Restful Operation <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-audit-event-type.html\">Audit Event ID</a>#rest)</span></p><p><b>subtype</b>: search <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-restful-interaction.html\">FHIR Restful Interactions</a>#search)</span></p><p><b>action</b>: E</p><p><b>recorded</b>: Aug 22, 2015, 11:42:24 PM</p><h3>Outcomes</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>Success (Details: http://terminology.hl7.org/CodeSystem/audit-event-outcome code 0 = 'Success', stated as 'Success')</td></tr></table><blockquote><p><b>agent</b></p><p><b>type</b>: human user <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-extra-security-role-type.html\">Security Role Type</a>#humanuser)</span></p><p><b>who</b>: <span>: Grahame Grieve</span></p><p><b>requestor</b>: true</p></blockquote><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><code>urn:oid:2.16.840.1.113883.4.2</code>/2.16.840.1.113883.4.2</span></p><p><b>requestor</b>: false</p><p><b>network</b>: Workstation1.ehr.familyclinic.com</p></blockquote><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Observer</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td><span>: hl7connect.healthintersections.com.au</span></td><td>Web Server <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-security-source-type.html\">Audit Event Source Type</a>#3)</span></td></tr></table><h3>Entities</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Role</b></td><td><b>Query</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"  HTTP GET encoded in base64Binary  &amp;#10;  orignal example encoded here is  &amp;#10;  &quot;http://fhir-dev.healthintersections.com.au/open/Encounter?participant=13&quot;  \">Query <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-object-role.html\">AuditEventEntityRole</a>#24)</span></span></td><td>(base64 data - 72 bytes)</td></tr></table></div>"
  ] ; # 
  fhir:type [
     fhir:coding ( [
       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:coding ( [
       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 "2015-08-22T23:42:24Z"^^xsd:dateTime] ; # 
  fhir:outcome [
     fhir:code [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/audit-event-outcome"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "0" ] ;
       fhir:display [ fhir:v "Success" ]
     ]
  ] ; # 
  fhir:agent ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/extra-security-role-type"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "humanuser" ] ;
         fhir:display [ fhir:v "human user" ]
       ] )
     ] ;
     fhir:who [
       fhir:identifier [
         fhir:value [ fhir:v "95" ]
       ] ;
       fhir:display [ fhir:v "Grahame Grieve" ]
     ] ;
     fhir:requestor [ fhir:v "true"^^xsd:boolean ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:type [
           fhir:text [ fhir:v "process ID" ]
         ] ;
         fhir:value [ fhir:v "6580" ]
       ]
     ] ) ; #    Source active participant, the software making the . AlternativeUserId - Process ID   
     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:identifier [
         fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.4.2"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "2.16.840.1.113883.4.2" ]
       ]
     ] ;
     fhir:requestor [ fhir:v "false"^^xsd:boolean ] ;
     fhir:network [ fhir:v "Workstation1.ehr.familyclinic.com" ]
  ] ) ; # 
  fhir:source [
     fhir:observer [
       fhir:display [ fhir:v "hl7connect.healthintersections.com.au" ]
     ] ;
     fhir:type ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/security-source-type"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "3" ] ;
         fhir:display [ fhir:v "Web Server" ]
       ] )
     ] )
  ] ; # 
  fhir:entity ( [
     fhir:role [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/object-role"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "24" ] ;
         fhir:display [ fhir:v "Query" ]
       ] )
     ] ; #    HTTP GET encoded in base64Binary   ,    orignal example encoded here is   ,    \"http:\/\/fhir-dev.healthintersections.com.au\/open\/Encounter?participant=13\"   
     fhir:query [ fhir:v "aHR0cDovL2ZoaXItZGV2LmhlYWx0aGludGVyc2VjdGlvbnMuY29tLmF1L29wZW4vRW5jb3VudGVyP3BhcnRpY2lwYW50PTEz"^^xsd:base64Binary ]
  ] )] . # 

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


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.