John Moehrke XACML Consent Example, published by John Moehrke (Moehrke Research LLC). This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/JohnMoehrke/xacml-consent/ and changes regularly. See the Directory of published versions
@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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 -------------------------------------------------------------------
a fhir:Consent ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "Consent-AB352-Example-AllowAll"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent Consent-AB352-Example-AllowAll</b></p><a name=\"Consent-AB352-Example-AllowAll\"> </a><a name=\"hcConsent-AB352-Example-AllowAll\"> </a><p><b>status</b>: Active</p><p><b>scope</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentscope patient-privacy}\">Privacy Consent</span></p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 64292-6}\">Release of information consent</span></p><p><b>patient</b>: <a href=\"http://example.org/Patient/example\">http://example.org/Patient/example</a></p><p><b>dateTime</b>: 2025-01-15 12:00:00+0000</p><p><b>organization</b>: <a href=\"http://example.org/Organization/ca-hospital\">Example California Hospital</a></p><h3>Policies</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Authority</b></td><td><b>Uri</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"https://example-hospital.org\">https://example-hospital.org</a></td><td>urn:org:hospital:policyset:AB352</td></tr></table><p><b>policyRule</b>: <span title=\"Codes:{urn:ietf:rfc:3986 urn:law:us:ca:statute:AB352}\">California AB 352</span></p><blockquote><p><b>provision</b></p><p><b>type</b>: Opt In</p><p><b>securityLabel</b>: <a href=\"CodeSystem-cs-health-sensitivity.html#cs-health-sensitivity-ABORTION\">Health Information Sensitivity Categories: ABORTION</a> (Abortion-related services), <a href=\"CodeSystem-cs-health-sensitivity.html#cs-health-sensitivity-GENDER_AFFIRMING_CARE\">Health Information Sensitivity Categories: GENDER_AFFIRMING_CARE</a> (Gender-affirming care), <a href=\"CodeSystem-cs-health-sensitivity.html#cs-health-sensitivity-CONTRACEPTION\">Health Information Sensitivity Categories: CONTRACEPTION</a> (Contraception), <a href=\"http://terminology.hl7.org/7.0.1/CodeSystem-v3-Confidentiality.html#v3-Confidentiality-N\">Confidentiality: N</a> (Normal), <a href=\"http://terminology.hl7.org/7.0.1/CodeSystem-v3-Confidentiality.html#v3-Confidentiality-R\">Confidentiality: R</a> (Restricted)</p><p><b>purpose</b>: <a href=\"http://terminology.hl7.org/7.0.1/CodeSystem-v3-ActReason.html#v3-ActReason-TREAT\">ActReason: TREAT</a> (treatment), <a href=\"http://terminology.hl7.org/7.0.1/CodeSystem-v3-ActReason.html#v3-ActReason-HPAYMT\">ActReason: HPAYMT</a> (healthcare payment), <a href=\"http://terminology.hl7.org/7.0.1/CodeSystem-v3-ActReason.html#v3-ActReason-HOPERAT\">ActReason: HOPERAT</a> (healthcare operations)</p></blockquote></div>"^^rdf:XMLLiteral ]
] ; #
fhir:status [ fhir:v "active"] ; #
fhir:scope [
( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/consentscope"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/consentscope> ] ;
fhir:code [ fhir:v "patient-privacy" ] ;
fhir:display [ fhir:v "Privacy Consent" ] ] )
] ; #
fhir:category ( [
( fhir:coding [
a loinc:64292-6 ;
fhir:system [
fhir:v "http://loinc.org"^^xsd:anyURI ;
fhir:l <http://loinc.org> ] ;
fhir:code [ fhir:v "64292-6" ] ;
fhir:display [ fhir:v "Release of information consent" ] ] )
] ) ; #
fhir:patient [
fhir:l <http://example.org/Patient/example> ;
fhir:reference [ fhir:v "http://example.org/Patient/example" ]
] ; #
fhir:dateTime [ fhir:v "2025-01-15T12:00:00Z"^^xsd:dateTime] ; #
fhir:organization ( [
fhir:l <http://example.org/Organization/ca-hospital> ;
fhir:reference [ fhir:v "http://example.org/Organization/ca-hospital" ] ;
fhir:display [ fhir:v "Example California Hospital" ]
] ) ; #
fhir:policy ( [
fhir:authority [
fhir:v "https://example-hospital.org"^^xsd:anyURI ;
fhir:l <https://example-hospital.org> ] ;
fhir:uri [
fhir:v "urn:org:hospital:policyset:AB352"^^xsd:anyURI ;
fhir:l <urn:org:hospital:policyset:AB352> ]
] ) ; #
fhir:policyRule [
( fhir:coding [
fhir:system [
fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
fhir:l <urn:ietf:rfc:3986> ] ;
fhir:code [ fhir:v "urn:law:us:ca:statute:AB352" ] ;
fhir:display [ fhir:v "California AB 352" ] ] )
] ; #
fhir:provision [
fhir:type [ fhir:v "permit" ] ;
( fhir:securityLabel [
fhir:system [
fhir:v "http://johnmoehrke.github.io/xacml-consent/CodeSystem/cs-health-sensitivity"^^xsd:anyURI ;
fhir:l <http://johnmoehrke.github.io/xacml-consent/CodeSystem/cs-health-sensitivity> ] ;
fhir:code [ fhir:v "ABORTION" ] ] [
fhir:system [
fhir:v "http://johnmoehrke.github.io/xacml-consent/CodeSystem/cs-health-sensitivity"^^xsd:anyURI ;
fhir:l <http://johnmoehrke.github.io/xacml-consent/CodeSystem/cs-health-sensitivity> ] ;
fhir:code [ fhir:v "GENDER_AFFIRMING_CARE" ] ] [
fhir:system [
fhir:v "http://johnmoehrke.github.io/xacml-consent/CodeSystem/cs-health-sensitivity"^^xsd:anyURI ;
fhir:l <http://johnmoehrke.github.io/xacml-consent/CodeSystem/cs-health-sensitivity> ] ;
fhir:code [ fhir:v "CONTRACEPTION" ] ] [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-Confidentiality> ] ;
fhir:code [ fhir:v "N" ] ;
fhir:display [ fhir:v "Normal" ] ] [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-Confidentiality> ] ;
fhir:code [ fhir:v "R" ] ;
fhir:display [ fhir:v "Restricted" ] ] ) ;
( fhir:purpose [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActReason> ] ;
fhir:code [ fhir:v "TREAT" ] ] [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActReason> ] ;
fhir:code [ fhir:v "HPAYMT" ] ] [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActReason> ] ;
fhir:code [ fhir:v "HOPERAT" ] ] )
] . #
IG © 2021+ John Moehrke (Moehrke Research LLC). Package johnmoehrke.xacml-consent.example#0.1.0 based on FHIR 4.0.1. Generated 2026-01-17
Links: Table of Contents |
QA Report