Publish-box (todo)
Example AuditEvent/example-consent-permit-authz (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
An AuditEvent recording a 'permit' authorization decision by a Consent Decision Service, based on a Consent resource (C1) filed by a patient (P1), in response to a request by an organization (Org1) for the purpose of treatment (TREAT).
@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-consent-permit-authz"] ; #
fhir:type [
fhir:coding ( [
fhir:system [ fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ] ;
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:code [ fhir:v "110112" ] ;
fhir:display [ fhir:v "Query" ]
] )
] ) ; #
fhir:action [ fhir:v "E"] ; #
fhir:recorded [ fhir:v "2021-09-08T21:51:59.932Z"^^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:detail ( [
fhir:text [ fhir:v "CONSENT_PERMIT" ]
] )
] ; #
fhir:patient [
fhir:reference [ fhir:v "Patient/example" ]
] ; #
fhir:agent ( [
fhir:type [
fhir:coding ( [
fhir:system [ fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ] ;
fhir:code [ fhir:v "110152" ] ;
fhir:display [ fhir:v "Destination Role ID" ]
] )
] ;
fhir:who [
fhir:identifier [
fhir:system [ fhir:v "https://github.com/synthetichealth/synthea"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Org1" ]
]
] ;
fhir:requestor [ fhir:v "true"^^xsd:boolean ] ;
fhir:authorization ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "TREAT" ]
] )
] )
] ) ; #
fhir:source [
fhir:observer [
fhir:display [ fhir:v "LEAP Consent Decision Service" ]
] ;
fhir:type ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/security-source-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "4" ] ;
fhir:display [ fhir:v "Application Server" ]
] )
] )
] ; #
fhir:entity ( [
fhir:what [
fhir:reference [ fhir:v "Consent/consent-example-basic" ]
] ;
fhir:role [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/object-role"^^xsd:anyURI ] ;
fhir:code [ fhir:v "4" ] ;
fhir:display [ fhir:v "Domain Resource" ]
] )
]
] )] . #
# -------------------------------------------------------------------------------------
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.