This
page
is
part
of
the
FHIR
Specification
(v5.0.0:
R5
-
STU
v6.0.0-ballot2:
Release
6
Ballot
(2nd
Draft)
(see
Ballot
Notes
).
This
is
the
The
current
published
version
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
is
5.0.0
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
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:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: AuditEvent</b><a name=\"example-consent-permit-authz\"> </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 "example-consent-permit-authz" </p></div><p><b>code</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>action</b>: E</p><p><b>recorded</b>: 9 Sept 2021, 7:51:59 am</p><h3>Outcomes</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td><td><b>Detail</b></td></tr><tr><td>*</td><td>Success (Details: http://terminology.hl7.org/CodeSystem/audit-event-outcome code 0 = 'Success', stated as 'Success')</td><td>CONSENT_PERMIT <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td></tr></table><p><b>patient</b>: <a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</p><h3>Agents</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Who</b></td><td><b>Requestor</b></td><td><b>Authorization</b></td></tr><tr><td>*</td><td>Destination Role ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://dicom.nema.org/resources/ontology/DCM\">DICOM</a>#110152)</span></td><td><span/></td><td>true</td><td>treatment <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-ActReason.html\">ActReason</a>#TREAT)</span></td></tr></table><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Observer</b></td><td><b>Type</b></td></tr><tr><td>*</td><td><span>: LEAP Consent Decision Service</span></td><td>Application Server <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-security-source-type.html\">Audit Event Source Type</a>#4)</span></td></tr></table><h3>Entities</h3><table class=\"grid\"><tr><td>-</td><td><b>What</b></td><td><b>Role</b></td></tr><tr><td>*</td><td><a href=\"consent-example.html\">Consent/consent-example-basic</a></td><td>Domain Resource <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-object-role.html\">AuditEventEntityRole</a>#4)</span></td></tr></table></div>"
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:code [
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.