Security
and
Privacy
This
page
is
part
of
the
FHIR
Specification
(v4.3.0:
R4B
(v5.0.0:
R5
-
STU
).
The
This
is
the
current
published
version
which
supercedes
in
it's
permanent
home
(it
will
always
be
available
at
this
version
is
5.0.0
.
URL).
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R5
R4B
R4
R3
| Security Work Group | Maturity Level : N/A | Standards Status : Informative | Compartments : Device , Patient , Practitioner |
Raw Turtle (+ also see Turtle/RDF Format Specification )
Logout example
@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 -------------------------------------------------------------------<http://hl7.org/fhir/AuditEvent/example-logout> a fhir:AuditEvent; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example-logout"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></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 "example-logout" </p></div><p><b>type</b>: User Authentication (Details: DICOM code 110114 = 'User Authentication', stated as 'User Authentication')</p><p><b>subtype</b>: Logout (Details: DICOM code 110123 = 'Logout', stated as 'Logout')</p><p><b>action</b>: E</p><p><b>recorded</b>: 21/06/2013 9:46:41 AM</p><p><b>outcome</b>: 0</p><blockquote><p><b>agent</b></p><p><b>type</b>: human user <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-extra-security-role-type.html\">SecurityRoleType</a>#humanuser)</span></p><p><b>who</b>: <span/></p><p><b>altId</b>: 601847123</p><p><b>name</b>: Grahame Grieve</p><p><b>requestor</b>: true</p><h3>Networks</h3><table class=\"grid\"><tr><td>-</td><td><b>Address</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>127.0.0.1</td><td>2</td></tr></table></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: Source Role ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-DCM.html\">DICOM</a>#110153)</span></p><p><b>who</b>: <span/></p><p><b>altId</b>: 6580</p><p><b>requestor</b>: false</p><h3>Networks</h3><table class=\"grid\"><tr><td>-</td><td><b>Address</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>Workstation1.ehr.familyclinic.com</td><td>1</td></tr></table></blockquote><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Site</b></td><td><b>Observer</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>Cloud</td><td><span/></td><td>Web Server (Details: http://terminology.hl7.org/CodeSystem/security-source-type code 3 = 'Web Server', stated as 'Web Server')</td></tr></table></div>" ]; fhir:AuditEvent.type [ fhir:Coding.system [ fhir:value "http://dicom.nema.org/resources/ontology/DCM" ]; fhir:Coding.code [ fhir:value "110114" ]; fhir:Coding.display [ fhir:value "User Authentication" ] ]; fhir:AuditEvent.subtype [ fhir:index 0; fhir:Coding.system [ fhir:value "http://dicom.nema.org/resources/ontology/DCM" ]; fhir:Coding.code [ fhir:value "110123" ]; fhir:Coding.display [ fhir:value "Logout" ] ]; fhir:AuditEvent.action [ fhir:value "E"]; fhir:AuditEvent.recorded [ fhir:value "2013-06-20T23:46:41Z"^^xsd:dateTime]; fhir:AuditEvent.outcome [ fhir:value "0"]; fhir:AuditEvent.agent [ fhir:index 0; fhir:AuditEvent.agent.type [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/extra-security-role-type" ]; fhir:Coding.code [ fhir:value "humanuser" ]; fhir:Coding.display [ fhir:value "human user" ] ] ]; fhir:AuditEvent.agent.who [ fhir:Reference.identifier [ fhir:Identifier.value [ fhir:value "95" ] ] ]; fhir:AuditEvent.agent.altId [ fhir:value "601847123" ]; fhir:AuditEvent.agent.name [ fhir:value "Grahame Grieve" ]; fhir:AuditEvent.agent.requestor [ fhir:value "true"^^xsd:boolean ]; fhir:AuditEvent.agent.network [ fhir:AuditEvent.agent.network.address [ fhir:value "127.0.0.1" ]; fhir:AuditEvent.agent.network.type [ fhir:value "2" ][a fhir:AuditEvent ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "example-logout"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: AuditEvent</b><a name=\"example-logout\"> </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-logout" </p></div><p><b>category</b>: User Authentication <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://dicom.nema.org/resources/ontology/DCM\">DICOM</a>#110114)</span></p><p><b>code</b>: Logout <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://dicom.nema.org/resources/ontology/DCM\">DICOM</a>#110123)</span></p><p><b>action</b>: E</p><p><b>recorded</b>: 21 June 2013, 9:46:41 am</p><h3>Outcomes</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td></tr><tr><td>*</td><td>Success (Details: http://terminology.hl7.org/CodeSystem/audit-event-outcome code 0 = 'Success', stated as 'Success')</td></tr></table><blockquote><p><b>agent</b></p><p><b>type</b>: human user <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-extra-security-role-type.html\">Security Role Type</a>#humanuser)</span></p><p><b>who</b>: <span>: Grahame Grieve</span></p><p><b>requestor</b>: true</p><p><b>network</b>: 127.0.0.1</p></blockquote><blockquote><p><b>agent</b></p><p><b>AuditEvent Alternative User ID</b>: process ID: 6580</p><p><b>type</b>: Source Role ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://dicom.nema.org/resources/ontology/DCM\">DICOM</a>#110153)</span></p><p><b>who</b>: <span/></p><p><b>requestor</b>: false</p><p><b>network</b>: Workstation1.ehr.familyclinic.com</p></blockquote><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>: Cloud</span></td><td>Web 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>#3)</span></td></tr></table></div>" ] ; # fhir:category ( [ fhir:coding ( [ fhir:system [ fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ] ; fhir:code [ fhir:v "110114" ] ; fhir:display [ fhir:v "User Authentication" ] ] ) ] ) ; # fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ] ; fhir:code [ fhir:v "110123" ] ; fhir:display [ fhir:v "Logout" ] ] ) ] ; # fhir:action [ fhir:v "E"] ; # fhir:recorded [ fhir:v "2013-06-20T23:46:41Z"^^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:index 1; fhir:AuditEvent.agent.type [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://dicom.nema.org/resources/ontology/DCM" ]; fhir:Coding.code [ fhir:value "110153" ]; fhir:Coding.display [ fhir:value "Source Role ID" ] ] ]; fhir:AuditEvent.agent.who [ fhir:Reference.identifier [ fhir:Identifier.system [ fhir:value "urn:oid:2.16.840.1.113883.4.2" ]; fhir:Identifier.value [ fhir:value "2.16.840.1.113883.4.2" ]] ; # 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:display [ fhir:v "Grahame Grieve" ] ] ; fhir:requestor [ fhir:v "true"^^xsd:boolean ] ; fhir:network [ fhir:v "127.0.0.1" ] ] [ 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" ] ]]; fhir:AuditEvent.agent.altId [ fhir:value "6580" ]; fhir:AuditEvent.agent.requestor [ fhir:value "false"^^xsd:boolean ]; fhir:AuditEvent.agent.network [ fhir:AuditEvent.agent.network.address [ fhir:value "Workstation1.ehr.familyclinic.com" ]; fhir:AuditEvent.agent.network.type [ fhir:value "1" ] ] ]; fhir:AuditEvent.source [ fhir:AuditEvent.source.site [ fhir:value "Cloud" ]; fhir:AuditEvent.source.observer [ fhir:Reference.identifier [ fhir:Identifier.value [ fhir:value "hl7connect.healthintersections.com.au" ]] ) ; # 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:AuditEvent.source.type [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/security-source-type" ]; fhir:Coding.code [ fhir:value "3" ]; fhir:Coding.display [ fhir:value "Web Server" ] ] ] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/AuditEvent/example-logout.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/AuditEvent/example-logout.ttl> .] ; 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:display [ fhir:v "Cloud" ] ] ; 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" ] ] ) ] ) ]] . # # -------------------------------------------------------------------------------------
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.
FHIR
®©
HL7.org
2011+.
FHIR
Release
4B
(v4.3.0)
hl7.fhir.r4b.core#4.3.0
R5
hl7.fhir.core#5.0.0
generated
on
Sat,
May
28,
2022
12:53+1000.
Sun,
Mar
26,
2023
15:24+1100.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Glossary
|
QA
Page
|
Compare
to
R4
|
Compare
to
R4B
|
|
Propose
a
change