Security and PrivacyThis is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
| Responsible Owner: Security Work Group | Standards Status: Informative | Compartments: No defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Example of simple directory admin allowing HR and IT
@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/Permission/ex-permission-directory-admin> a fhir:Permission ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "ex-permission-directory-admin"] ; #
fhir:meta [
fhir:security ( [
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 "HTEST" ]
] )
] ; #
fhir:status [ fhir:v "active"] ; #
fhir:asserter [
fhir:l <http://hl7.org/fhir/Organization/example> ;
fhir:reference [ fhir:v "Organization/example" ]
] ; #
fhir:date ( [ fhir:v "2023-11-22"^^xsd:date] ) ; #
fhir:combining [ fhir:v "deny-unless-permit"] ; #
fhir:rule ( [
fhir:type [ fhir:v "permit" ] ;
fhir:activity ( [
fhir:action ( [
fhir:coding ( [
fhir:system [
fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/audit-event-action>
] ;
fhir:code [ fhir:v "C" ]
] )
] [
fhir:coding ( [
fhir:system [
fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/audit-event-action>
] ;
fhir:code [ fhir:v "R" ]
] )
] [
fhir:coding ( [
fhir:system [
fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/audit-event-action>
] ;
fhir:code [ fhir:v "U" ]
] )
] [
fhir:coding ( [
fhir:system [
fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/audit-event-action>
] ;
fhir:code [ fhir:v "D" ]
] )
] [
fhir:coding ( [
fhir:system [
fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/audit-event-action>
] ;
fhir:code [ fhir:v "E" ]
] )
] ) ;
fhir:purpose ( [
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 "HDIRECT" ]
] )
] )
] )
] [
fhir:type [ fhir:v "permit" ] ;
fhir:activity ( [
fhir:action ( [
fhir:coding ( [
fhir:system [
fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/audit-event-action>
] ;
fhir:code [ fhir:v "C" ]
] )
] [
fhir:coding ( [
fhir:system [
fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/audit-event-action>
] ;
fhir:code [ fhir:v "R" ]
] )
] [
fhir:coding ( [
fhir:system [
fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/audit-event-action>
] ;
fhir:code [ fhir:v "U" ]
] )
] [
fhir:coding ( [
fhir:system [
fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/audit-event-action>
] ;
fhir:code [ fhir:v "D" ]
] )
] [
fhir:coding ( [
fhir:system [
fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/audit-event-action>
] ;
fhir:code [ fhir:v "E" ]
] )
] ) ;
fhir:purpose ( [
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 "HSYSADMIN" ]
] )
] )
] )
] ) . #
<http://hl7.org/fhir/Organization/example> a fhir:Organization .
# -------------------------------------------------------------------------------------
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 R6 hl7.fhir.core#6.0.0-ballot3 generated on Fri, Nov 21, 2025 00:02+0000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R4 |
Compare to R5 |
Compare to Last Ballot |
|
Propose a change