{
  "resourceType" : "Consent",
  "id" : "Consent-AB352-Example-AllowAll",
  "text" : {
    "status" : "generated",
    "div" : "<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>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><h3>PolicyBases</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Uri</b></td></tr><tr><td style=\"display: none\">*</td><td>urn:org:hospital:policyset:AB352</td></tr></table><p><b>decision</b>: Permit</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), <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>"
  },
  "status" : "active",
  "category" : [{
    "coding" : [{
      "system" : "http://loinc.org",
      "code" : "64292-6",
      "display" : "Release of information consent"
    }]
  }],
  "subject" : {
    "reference" : "http://example.org/Patient/example"
  },
  "date" : "2025-01-15",
  "grantee" : [{
    "reference" : "http://example.org/Organization/ca-hospital",
    "display" : "Example California Hospital"
  }],
  "regulatoryBasis" : [{
    "coding" : [{
      "system" : "urn:ietf:rfc:3986",
      "code" : "urn:law:us:ca:statute:AB352",
      "display" : "California AB 352"
    }]
  }],
  "policyBasis" : {
    "uri" : "urn:org:hospital:policyset:AB352"
  },
  "decision" : "permit",
  "provision" : [{
    "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"
    },
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
      "code" : "N",
      "display" : "Normal"
    },
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
      "code" : "R",
      "display" : "Restricted"
    }],
    "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"
    }]
  }]
}