HL7 FHIR Implementation Guide: Data Access Policies
1.0.0-current - ci-build Global (Whole world)

HL7 FHIR Implementation Guide: Data Access Policies, published by HL7 International / Security. This guide is not an authorized publication; it is the continuous build for version 1.0.0-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/data-access-policies/ and changes regularly. See the Directory of published versions

: A base permission example.

Page standards status: Informative

Raw ttl | Download


@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/example-base> a fhir:Permission ;
  fhir:resourceDefinition http://hl7.org/fhir/StructureDefinition/Permission|1.0.0-current ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-base"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Permission example-base</b></p><a name=\"example-base\"> </a><a name=\"hcexample-base\"> </a><p><b>status</b>: Active</p><p><b>asserter</b>: <a href=\"Organization-ex-organization.html\">Organization nowhere</a></p><p><b>date</b>: 2018-12-24</p><p><b>combining</b>: Deny-overrides</p><blockquote><p><b>rule</b></p><p><b>type</b>: Deny</p><h3>Data</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Security</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://terminology.hl7.org/7.3.0/CodeSystem-v3-ActCode.html#v3-ActCode-SUD\">ActCode: SUD</a> (substance use disorder information sensitivity)</td></tr></table><h3>Activities</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Action</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentaction access}\">Access</span></td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:asserter [
     fhir:l <http://hl7.org/fhir/Organization/ex-organization> ;
     fhir:reference [ fhir:v "Organization/ex-organization" ]
  ] ; # 
  fhir:date ( [ fhir:v "2018-12-24"^^xsd:date] ) ; # 
  fhir:combining [ fhir:v "deny-overrides"] ; # 
  fhir:rule ( [
     fhir:type [ fhir:v "deny" ] ;
     fhir:data ( [
       fhir:security ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
         ] ;
         fhir:code [ fhir:v "SUD" ]
       ] )
     ] ) ;
     fhir:activity ( [
       fhir:action ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/consentaction>
           ] ;
           fhir:code [ fhir:v "access" ]
         ] )
       ] )
     ] )
  ] ) . # 

<http://hl7.org/fhir/Organization/ex-organization> a fhir:Organization .