FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example Permission/ex-permission-directory-admin (Turtle)

Security Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: 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:code [ fhir:v "HTEST" ]
     ] )
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:asserter [
     fhir:link <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:code [ fhir:v "C" ]
         ] )
       ] [
         fhir:coding ( [
           fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "R" ]
         ] )
       ] [
         fhir:coding ( [
           fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "U" ]
         ] )
       ] [
         fhir:coding ( [
           fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "D" ]
         ] )
       ] [
         fhir:coding ( [
           fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "E" ]
         ] )
       ] ) ;
       fhir:purpose ( [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
           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:code [ fhir:v "C" ]
         ] )
       ] [
         fhir:coding ( [
           fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "R" ]
         ] )
       ] [
         fhir:coding ( [
           fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "U" ]
         ] )
       ] [
         fhir:coding ( [
           fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "D" ]
         ] )
       ] [
         fhir:coding ( [
           fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "E" ]
         ] )
       ] ) ;
       fhir:purpose ( [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
           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.