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).
{
"resourceType" : "AuditEvent",
"id" : "example-consent-permit-authz",
"type" : {
"coding" : [{
"system" : "http://dicom.nema.org/resources/ontology/DCM",
"code" : "110113",
"display" : "Security Alert"
}]
},
"subtype" : [{
"coding" : [{
"system" : "http://dicom.nema.org/resources/ontology/DCM",
"code" : "110112",
"display" : "Query"
}]
}],
"action" : "E",
"recorded" : "2021-09-08T21:51:59.932Z",
"outcome" : {
"code" : {
"system" : "http://terminology.hl7.org/CodeSystem/audit-event-outcome",
"code" : "0",
"display" : "Success"
},
"detail" : [{
"text" : "CONSENT_PERMIT"
}]
},
"patient" : {
"reference" : "Patient/example"
},
"agent" : [{
"type" : {
"coding" : [{
"system" : "http://dicom.nema.org/resources/ontology/DCM",
"code" : "110152",
"display" : "Destination Role ID"
}]
},
"who" : {
"identifier" : {
"system" : "https://github.com/synthetichealth/synthea",
"value" : "Org1"
}
},
"requestor" : true,
"authorization" : [{
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"code" : "TREAT"
}]
}]
}],
"source" : {
"observer" : {
"display" : "LEAP Consent Decision Service"
},
"type" : [{
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/security-source-type",
"code" : "4",
"display" : "Application Server"
}]
}]
},
"entity" : [{
"what" : {
"reference" : "Consent/consent-example-basic"
},
"role" : {
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/object-role",
"code" : "4",
"display" : "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.