John Moehrke XACML Consent Example
0.1.0 - ci-build International flag

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

: AB352 Organizational Privacy Consent - depth - JSON Representation

Raw json | Download

{
  "resourceType" : "Consent",
  "id" : "Consent-AB352-Example",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent Consent-AB352-Example</b></p><a name=\"Consent-AB352-Example\"> </a><a name=\"hcConsent-AB352-Example\"> </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><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=\"http://terminology.hl7.org/7.0.1/CodeSystem-v3-Confidentiality.html#v3-Confidentiality-N\">Confidentiality: N</a> (Normal)</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><p><b>provision</b></p><p><b>type</b>: Opt Out</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)</p><h3>Provisions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Extension</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td/><td>Opt In</td></tr></table></blockquote></blockquote></div>"
  },
  "status" : "active",
  "scope" : {
    "coding" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
        "code" : "patient-privacy",
        "display" : "Privacy Consent"
      }
    ]
  },
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://loinc.org",
          "code" : "64292-6",
          "display" : "Release of information consent"
        }
      ]
    }
  ],
  "patient" : {
    "reference" : "http://example.org/Patient/example"
  },
  "dateTime" : "2025-01-15T12:00:00Z",
  "organization" : [
    {
      "reference" : "http://example.org/Organization/ca-hospital",
      "display" : "Example California Hospital"
    }
  ],
  "policyRule" : {
    "coding" : [
      {
        "system" : "urn:ietf:rfc:3986",
        "code" : "urn:law:us:ca:statute:AB352",
        "display" : "California AB 352"
      }
    ]
  },
  "provision" : {
    "type" : "permit",
    "securityLabel" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
        "code" : "N",
        "display" : "Normal"
      }
    ],
    "purpose" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code" : "TREAT"
      },
      {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code" : "HPAYMT"
      },
      {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code" : "HOPERAT"
      }
    ],
    "provision" : [
      {
        "type" : "deny",
        "securityLabel" : [
          {
            "system" : "http://johnmoehrke.github.io/xacml-consent/CodeSystem/cs-health-sensitivity",
            "code" : "ABORTION"
          },
          {
            "system" : "http://johnmoehrke.github.io/xacml-consent/CodeSystem/cs-health-sensitivity",
            "code" : "GENDER_AFFIRMING_CARE"
          },
          {
            "system" : "http://johnmoehrke.github.io/xacml-consent/CodeSystem/cs-health-sensitivity",
            "code" : "CONTRACEPTION"
          }
        ],
        "provision" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/consent-location",
                "valueReference" : {
                  🔗 "reference" : "Location/ca-location"
                }
              }
            ],
            "type" : "permit"
          }
        ]
      }
    ]
  }
}