Security and PrivacyThis is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
| Security Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: No defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Example of permission for SANER
@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 -------------------------------------------------------------------
#
# <p>
# Given the importance of current public health information, only the latest version of the report is
# authorized for access.
# </p>
#
# <rule>
# <type value="deny" />
# <data>
# <expression>
# <language value="text/fhirpath" />
# <expression value="meta.versionId.exists() and meta.versionId != 'latest'" />
# </expression>
# </data>
# </rule>
#
<http://hl7.org/fhir/Permission/example-saner> a fhir:Permission ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "example-saner"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>\n Read-Only access to a given SANER report is authorized for PurposeOfUse of Public-Health\n compliance, from the given Organization.\n Access requests authorized shall be recorded.\n </p>\n <p>\n Read-Only access to a given SANER report is authorized for PurposeOfUse of Public-Health\n compliance, from the given Group.\n Access requests authorized shall be recorded.\n </p>\n </div>"^^rdf:XMLLiteral
] ; #
fhir:identifier ( [
fhir:system [ fhir:v "http://example.org/identifiers"^^xsd:anyURI ] ;
fhir:value [ fhir:v "saner-report" ]
] ) ; #
fhir:status [ fhir:v "active"] ; #
fhir:asserter [
fhir:link <http://hl7.org/fhir/Organization/f203> ;
fhir:reference [ fhir:v "Organization/f203" ]
] ; #
fhir:date ( [ fhir:v "2018-12-24"^^xsd:date] ) ; #
fhir:combining [ fhir:v "deny-overrides"] ; #
fhir:rule ( [
fhir:type [ fhir:v "permit" ] ;
fhir:data ( [
fhir:resource ( [
fhir:meaning [ fhir:v "instance" ] ;
fhir:reference [
fhir:link <http://hl7.org/fhir/uv/saner/Measure/CDCHealthcareSupplyPathway> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/uv/saner/Measure/CDCHealthcareSupplyPathway" ]
]
] )
] ) ;
fhir:activity ( [
fhir:actor ( [
fhir:reference [
fhir:link <http://hl7.org/fhir/Organization/f203> ;
fhir:reference [ fhir:v "Organization/f203" ]
]
] ) ;
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 "HCOMPL" ]
] )
] )
] ) ;
fhir:limit ( [
fhir:control ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "AUDIT" ]
] )
] )
] )
] [
fhir:type [ fhir:v "permit" ] ;
fhir:data ( [
fhir:resource ( [
fhir:meaning [ fhir:v "instance" ] ;
fhir:reference [
fhir:link <http://hl7.org/fhir/uv/saner/Measure/CDCHealthcareSupplyPathway> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/uv/saner/Measure/CDCHealthcareSupplyPathway" ]
]
] )
] ) ;
fhir:activity ( [
fhir:actor ( [
fhir:reference [
fhir:link <http://hl7.org/fhir/Group/102> ;
fhir:reference [ fhir:v "Group/102" ]
]
] ) ;
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 "HCOMPL" ]
] )
] )
] ) ;
fhir:limit ( [
fhir:control ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "AUDIT" ]
] )
] )
] )
] ) . #
<http://hl7.org/fhir/Organization/f203> a fhir:Organization .
<http://hl7.org/fhir/uv/saner/Measure/CDCHealthcareSupplyPathway> a fhir:uv .
<http://hl7.org/fhir/Group/102> a fhir:Group .
# -------------------------------------------------------------------------------------
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.
FHIR ®© HL7.org 2011+. FHIR R6 hl7.fhir.core#6.0.0-ballot3 generated on Mon, Oct 20, 2025 13:11+0000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R5 |
|
Propose a change