Example
Permission/ex-permission-directory-admin
(Turtle)
Practitioner/f006
(XML)
Raw
Turtle
XML
(+
(
canonical
form
+
also
see
Turtle/RDF
XML
Format
Specification
)
Jump
past
Narrative
Example
of
simple
directory
admin
allowing
HR
and
IT
Fictive
Pharmacist
(id
=
"f006")
@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/ex-permission-directory-admin> a fhir:Permission ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "ex-permission-directory-admin"] ; #
fhir:meta [
fhir:security ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]
] )
] ; #
fhir:status [ fhir:v "active"] ; #
fhir:asserter [
fhir:link <http://hl7.org/fhir/Organization/example> ;
fhir:reference [ fhir:v "Organization/example" ]
] ; #
fhir:date ( [ fhir:v "2023-11-22"^^xsd:date] ) ; #
fhir:combining [ fhir:v "deny-unless-permit"] ; #
fhir:rule ( [
fhir:type [ fhir:v "permit" ] ;
fhir:activity ( [
fhir:action ( [
fhir:coding ( [
fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
fhir:code [ fhir:v "C" ]
] )
] [
fhir:coding ( [
fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
fhir:code [ fhir:v "R" ]
] )
] [
fhir:coding ( [
fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
fhir:code [ fhir:v "U" ]
] )
] [
fhir:coding ( [
fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
fhir:code [ fhir:v "D" ]
] )
] [
fhir:coding ( [
fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
fhir:code [ fhir:v "E" ]
] )
] ) ;
fhir:purpose ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HDIRECT" ]
] )
] )
] )
] [
fhir:type [ fhir:v "permit" ] ;
fhir:activity ( [
fhir:action ( [
fhir:coding ( [
fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
fhir:code [ fhir:v "C" ]
] )
] [
fhir:coding ( [
fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
fhir:code [ fhir:v "R" ]
] )
] [
fhir:coding ( [
fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
fhir:code [ fhir:v "U" ]
] )
] [
fhir:coding ( [
fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
fhir:code [ fhir:v "D" ]
] )
] [
fhir:coding ( [
fhir:system [ fhir:v "http://hl7.org/fhir/audit-event-action"^^xsd:anyURI ] ;
fhir:code [ fhir:v "E" ]
] )
] ) ;
fhir:purpose ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HSYSADMIN" ]
] )
] )
] )
] ) . #
<http://hl7.org/fhir/Organization/example> a fhir:Organization .
# -------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<Practitioner xmlns="http://hl7.org/fhir">
<id value="f006"/>
<text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: Practitioner</b> <a name="f006"> </a> </p> <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource Practitioner "f006" </p> </div> <p> <b> identifier</b> : id: 937223645 (OFFICIAL), id: 134IDY41W988 (USUAL)</p> <p> <b> name</b> : Rob van den Berk (OFFICIAL)</p> <p> <b> telecom</b> : ph: 0205569288(WORK), <a href="mailto:R.A.vandenberk@bmc.nl">R.A.vandenberk@bmc.nl</a> , fax: 0205664987(WORK)</p> <p> <b> gender</b> : male</p> <p> <b> birthDate</b> : 1975-12-07</p> <p> <b> address</b> : Galapagosweg 91 Den Burg 9105 PZ NLD (WORK)</p> </div> </text> <identifier>
<use value="official"/>
<system value="urn:oid:2.16.528.1.1007.3.1"/>
<value value="937223645"/>
</identifier>
<identifier>
<use value="usual"/>
<system value="urn:oid:2.16.840.1.113883.2.4.6.3"/>
<value value="134IDY41W988"/>
</identifier>
<name>
<use value="official"/>
<family value="van den Berk"/>
<given value="Rob"/>
<suffix value="MD"/>
</name>
<telecom>
<system value="phone"/>
<value value="0205569288"/>
<use value="work"/>
</telecom>
<telecom>
<system value="email"/>
<value value="R.A.vandenberk@bmc.nl"/>
<use value="work"/>
</telecom>
<telecom>
<system value="fax"/>
<value value="0205664987"/>
<use value="work"/>
</telecom>
<gender value="male"/>
<birthDate value="1975-12-07"/>
<address>
<use value="work"/>
<line value="Galapagosweg 91"/>
<city value="Den Burg"/>
<postalCode value="9105 PZ"/>
<country value="NLD"/>
</address>
</
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.