HL7 FHIR Implementation Guide: Data Access Policies
1.0.0-current - ci-build International flag

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

: Consent that uses Permission for rules - TTL Representation

Page standards status: Informative

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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 -------------------------------------------------------------------

 a fhir:Consent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ex-consent-permission"] ; # 
  fhir:meta [
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent ex-consent-permission</b></p><a name=\"ex-consent-permission\"> </a><a name=\"hcex-consent-permission\"> </a><a name=\"ex-consent-permission-en-US\"> </a><p><b>status</b>: Active</p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 59284-0}\">Consent Document</span></p><p><b>subject</b>: <a href=\"Patient-ex-patient.html\">John Schmidt  Other, DoB: 1923-07-25</a></p><p><b>date</b>: 2022-06-13</p><p><b>grantor</b>: <a href=\"Patient-ex-patient.html\">John Schmidt  Other, DoB: 1923-07-25</a></p><h3>PolicyBases</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Permission-ex-overriding-rbac-by-role.html\">Permission: status = active; date = 2023-12-22; combining = permit-overrides</a></td></tr></table><p><b>decision</b>: Permit</p><blockquote><p><b>provision</b></p><h3>Expressions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Description</b></td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>Points to the instance of Permission with THIS patients provisions encoded in Permission.rule form.</td><td>application/x-fhir-query</td><td>Permission/ex-permission-intermediate-not-authoredby</td></tr></table></blockquote></div>"
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:category ( [
    ( fhir:coding [
a loinc:59284-0 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "59284-0" ] ;
fhir:display [ fhir:v "Consent Document" ]     ] )
  ] ) ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/ex-patient" ]
  ] ; # 
  fhir:date [ fhir:v "2022-06-13"^^xsd:date] ; # 
  fhir:grantor ( [
fhir:reference [ fhir:v "Patient/ex-patient" ]
  ] ) ; # 
  fhir:policyBasis [
fhir:reference [
fhir:reference [ fhir:v "Permission/ex-overriding-rbac-by-role" ]     ]
  ] ; # 
  fhir:decision [ fhir:v "permit"] ; # 
  fhir:provision ( [
fhir:expression [
fhir:description [ fhir:v "Points to the instance of Permission with THIS patients provisions encoded in Permission.rule form." ] ;
fhir:language [ fhir:v "application/x-fhir-query" ] ;
fhir:expression [ fhir:v "Permission/ex-permission-intermediate-not-authoredby" ]     ]
  ] ) . #