Release 5 R6 Ballot (3rd Draft)
This page is part of the FHIR Specification (v5.0.0: R5 - STU ). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Publish-box (todo)

Example Permission/example (Turtle)

Security Work Group Maturity Level : N/A Standards Status : Informative Compartments : No defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification )

Example of permission

@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 -------------------------------------------------------------------

#   insert contents here  

[a fhir:Permission ;

<http://hl7.org/fhir/Permission/example> a fhir:Permission ;

  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">[Put rendering here]</div>"
  ] ; # 

  fhir:status [ fhir:v "active"] ; # 
  fhir:combining [ fhir:v "deny-overrides"]] . # 

  fhir:asserter [
     fhir:link <http://hl7.org/fhir/Organization/example> ;
     fhir:reference [ fhir:v "Organization/example" ]
  ] ; # 
  fhir:date ( [ fhir:v "2022-06-13"^^xsd:date] ) ; # 
  fhir:combining [ fhir:v "deny-unless-permit"] ; # 
  fhir:rule ( [
     fhir:type [ fhir:v "permit" ] ;
     fhir:data ( [
       fhir:resource ( [
         fhir:meaning [ fhir:v "authoredby" ] ;
         fhir:reference [
           fhir:link <http://hl7.org/fhir/Practitioner/example> ;
           fhir:reference [ fhir:v "Practitioner/example" ]
         ]
       ] )
     ] ) ;
     fhir:activity ( [
       fhir:purpose ( [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "TREAT" ]
         ] )
       ] [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "HPAYMT" ]
         ] )
       ] [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "HOPERAT" ]
         ] )
       ] )
     ] )
  ] ) . # 

<http://hl7.org/fhir/Organization/example> a fhir:Organization .

<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .


# -------------------------------------------------------------------------------------


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.