This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Security Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Example of permission for VhDir
@prefix fhir: <http://hl7.org/fhir/> . @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:Permission; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example-vhdir"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>\n VhDir has identified a need to identify specific entries in the Directory and indicate some restrictions upon use of that entry. \n This example is the example from VhDir with some additional details added.\n </p>\n <p> \n womens-shelter : All entries related to Women's Shelter can only be read by members of a CareTeam \n defined for councellors for womens abuse. \n Uses the existing example CareTeam that is not actually about women abuse councellors, used as example only.\n Presumes that directory entries related to womens shelter are marked with .meta.security of WSHELTER \n sensitivity code, a code that is not standard so would exist in a domain using this example Permission.\n </p>\n <p>\n Thus the dataScope is for all data with .meta.security of WSHELTER.\n </p>\n <p>\n Activities by those in the CareTeam. \n Explicit action and purpose are given, but they are likely not critical to the usecase.\n </p>\n </div>" ]; fhir:Permission.status [ fhir:value "active"]; fhir:Permission.date [ fhir:value "2022-08-04"^^xsd:date; fhir:index 0 ]; fhir:Permission.combining [ fhir:value "deny-overrides"]; fhir:Permission.rule [ fhir:index 0; fhir:Permission.rule.type [ fhir:value "permit" ]; fhir:Permission.rule.data [ fhir:index 0; fhir:Permission.rule.data.security [ fhir:index 0; fhir:Coding.system [ fhir:value "https://example.org" ]; fhir:Coding.code [ fhir:value "WSHELTER" ] ] ]; fhir:Permission.rule.activity [ fhir:index 0; fhir:Permission.rule.activity.actor [ fhir:index 0; fhir:Reference.reference [ fhir:value "CareTeam/example" ] ]; fhir:Permission.rule.activity.action [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ]; fhir:Coding.code [ fhir:value "access" ] ] ]; fhir:Permission.rule.activity.purpose [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActReason" ]; fhir:Coding.code [ fhir:value "HOPERAT" ] ] ] ] ]] . # - ontology header ------------------------------------------------------------ [a owl:Ontology; owl:imports fhir:fhir.ttl] . # -------------------------------------------------------------------------------------
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.