This
page
is
part
of
the
FHIR
Specification
(v5.0.0:
R5
-
STU
v6.0.0-ballot2:
Release
6
Ballot
(2nd
Draft)
(see
Ballot
Notes
).
This
is
the
The
current
published
version
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
is
5.0.0
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
Example
Permission/example-vhdir
(Turtle)
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:id [ fhir:v "example-vhdir"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir: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:status [ fhir:v "active"] ; #
fhir:date ( [ fhir:v "2022-08-04"^^xsd:date] ) ; #
fhir:combining [ fhir:v "deny-overrides"] ; #
fhir:rule ( [
fhir:type [ fhir:v "permit" ] ;
fhir:data ( [
fhir:security ( [
fhir:system [ fhir:v "https://example.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "WSHELTER" ]
] )
] ) ;
fhir:activity ( [
fhir:actor ( [
fhir:reference [ fhir:v "CareTeam/example" ]
] ) ;
fhir:action ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/consentaction"^^xsd:anyURI ] ;
fhir:code [ fhir:v "access" ]
] )
] ) ;
fhir:purpose ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HOPERAT" ]
] )
] )
] )
] )] . #
# -------------------------------------------------------------------------------------
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.