R6 Ballot (2nd Draft)

Publish-box (todo)

Example AuditEvent/example-rest (Turtle)

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

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

RESTful vread 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 -------------------------------------------------------------------

[a fhir:AuditEvent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-rest"] ; # 
  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 "vread" ] ;
       fhir:display [ fhir:v "vread" ]
     ] )
  ] ) ; # 
  fhir:action [ fhir:v "R"] ; # 
  fhir:recorded [ fhir:v "2013-06-20T23: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: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:identifier [
         fhir:value [ 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:what [
       fhir:reference [ fhir:v "Patient/example/_history/1" ]
     ] ;
     fhir:role [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/object-role"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1" ] ;
         fhir:display [ fhir:v "Patient" ]
       ] )
     ]
  ] )] . # 

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


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.