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 - XML Representation

Raw xml | Download


<Consent xmlns="http://hl7.org/fhir">
  <id value="Consent-AB352-Example"/>
  <text>
    <status value="generated"/>
    <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>category</b>: <span title="Codes:{http://loinc.org 64292-6}">Release of information consent</span></p><p><b>subject</b>: <a href="http://example.org/Patient/example">http://example.org/Patient/example</a></p><p><b>date</b>: 2025-01-15</p><p><b>grantee</b>: <a href="http://example.org/Organization/ca-hospital">Example California Hospital</a></p><p><b>regulatoryBasis</b>: <span title="Codes:{urn:ietf:rfc:3986 urn:law:us:ca:statute:AB352}">California AB 352</span></p><p><b>decision</b>: Permit</p><blockquote><p><b>provision</b></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>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></tr><tr><td style="display: none">*</td><td/></tr></table></blockquote></blockquote></div>
  </text>
  <status value="active"/>
  <category>
    <coding>
      <system value="http://loinc.org"/>
      <code value="64292-6"/>
      <display value="Release of information consent"/>
    </coding>
  </category>
  <subject>
    <reference value="http://example.org/Patient/example"/>
  </subject>
  <date value="2025-01-15"/>
  <grantee>
    <reference value="http://example.org/Organization/ca-hospital"/>
    <display value="Example California Hospital"/>
  </grantee>
  <regulatoryBasis>
    <coding>
      <system value="urn:ietf:rfc:3986"/>
      <code value="urn:law:us:ca:statute:AB352"/>
      <display value="California AB 352"/>
    </coding>
  </regulatoryBasis>
  <decision value="permit"/>
  <provision>
    <securityLabel>
      <system
              value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/>
      <code value="N"/>
      <display value="Normal"/>
    </securityLabel>
    <purpose>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="TREAT"/>
    </purpose>
    <purpose>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HPAYMT"/>
    </purpose>
    <purpose>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HOPERAT"/>
    </purpose>
    <provision>
      <securityLabel>
        <system
                value="http://johnmoehrke.github.io/xacml-consent/CodeSystem/cs-health-sensitivity"/>
        <code value="ABORTION"/>
      </securityLabel>
      <securityLabel>
        <system
                value="http://johnmoehrke.github.io/xacml-consent/CodeSystem/cs-health-sensitivity"/>
        <code value="GENDER_AFFIRMING_CARE"/>
      </securityLabel>
      <securityLabel>
        <system
                value="http://johnmoehrke.github.io/xacml-consent/CodeSystem/cs-health-sensitivity"/>
        <code value="CONTRACEPTION"/>
      </securityLabel>
      <provision>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/consent-location">
          <valueReference>🔗 
            <reference value="Location/ca-location"/>
          </valueReference>
        </extension>
      </provision>
    </provision>
  </provision>
</Consent>