@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/AuditEvent/example-breakglass-start> a fhir:AuditEvent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-breakglass-start"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Authorized Break-Glass period has been declared to enable immediate emergent treatment condition. This AuditEvent indicates the start of the Break-Glass event. Another would indicate the stop of that Break-Glass period, provided there is a session or state that can detect the end of the break-glass event.</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ;
         fhir:l <http://dicom.nema.org/resources/ontology/DCM>
       ] ;
       fhir:code [ fhir:v "110113" ] ;
       fhir:display [ fhir:v "Security Alert" ]
     ] )
  ] ; # 
  fhir:subtype ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ;
         fhir:l <http://dicom.nema.org/resources/ontology/DCM>
       ] ;
       fhir:code [ fhir:v "110127" ] ;
       fhir:display [ fhir:v "Emergency Override Started" ]
     ] )
  ] ) ; # 
  fhir:action [ fhir:v "E"] ; # 
  fhir:recorded [ fhir:v "2013-09-22T00:08:00Z"^^xsd:dateTime] ; #   when was the break-glass started  
  fhir:outcome [
     fhir:code [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/audit-event-outcome"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/audit-event-outcome>
       ] ;
       fhir:code [ fhir:v "0" ] ;
       fhir:display [ fhir:v "Success" ]
     ] ;
     fhir:detail ( [
       fhir:text [ fhir:v "Successful  Start of Break-Glass" ]
     ] )
  ] ; # 
  fhir:authorization ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActReason>
       ] ;
       fhir:code [ fhir:v "ETREAT" ] ;
       fhir:display [ fhir:v "Emergency Treatment" ]
     ] ) #   why was the break-glass declared  
  ] ) ; # 
  fhir:agent ( [
     fhir:who [
       fhir:l <http://hl7.org/fhir/Practitioner/f001> ;
       fhir:reference [ fhir:v "Practitioner/f001" ]
     ] ; #   who declared the break-glass  
     fhir:requestor [ fhir:v true ] ;
     fhir:location [
       fhir:l <http://hl7.org/fhir/Location/1> ;
       fhir:reference [ fhir:v "Location/1" ]
     ] ; #   where was the break-glass emergency declared  
     fhir:network [
       a fhir:String ;
       fhir:v "custodian.net"
     ]
  ] ) ; # 
  fhir:source [
     fhir:observer [
       fhir:display [ fhir:v "Watchers Accounting of Disclosures Application" ]
     ] ; #   what system detected this break-glass  
     fhir:type ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/security-source-type"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/security-source-type>
         ] ;
         fhir:code [ fhir:v "4" ] ;
         fhir:display [ fhir:v "Application Server" ]
       ] )
     ] )
  ] ; # 
  fhir:entity ( [
     fhir:what [
       fhir:l <http://hl7.org/fhir/Patient/example> ;
       fhir:reference [ fhir:v "Patient/example" ]
     ] ; #   patient whos data is being accessed  
     fhir:role [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/object-role"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/object-role>
         ] ;
         fhir:code [ fhir:v "1" ] ;
         fhir:display [ fhir:v "Patient" ]
       ] )
     ]
  ] ) . # 

<http://hl7.org/fhir/Practitioner/f001> a fhir:Practitioner .

<http://hl7.org/fhir/Location/1> a fhir:Location .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

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

