{
  "resourceType" : "Consent",
  "id" : "ExampleFHIRConsentXACMLreference",
  "meta" : {
    "profile" : ["http://johnmoehrke.github.io/xacml-consent/StructureDefinition/fhir-consent-xacml"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent ExampleFHIRConsentXACMLreference</b></p><a name=\"ExampleFHIRConsentXACMLreference\"> </a><a name=\"hcExampleFHIRConsentXACMLreference\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-fhir-consent-xacml.html\">FHIR Consent with XACML Policies</a></p></div><p><b>identifier</b>: oasis:names:tc:xacml:1.0:Policy/@PolicyId/consent-policy-set-12345</p><p><b>status</b>: Active</p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 59284-0}\">Consent Document with XACML Policies</span></p><p><b>subject</b>: <a href=\"Patient-ex-patient.html\">John Schmidt  Other, DoB: 1923-07-25 ( http://example.org/mrn#123456)</a></p><h3>SourceAttachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Url</b></td></tr><tr><td style=\"display: none\">*</td><td>application/xacml+xml</td><td><a href=\"http://example.org/policies/xacml-patient-consent-12345.xml\">http://example.org/policies/xacml-patient-consent-12345.xml</a></td></tr></table><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><a href=\"http://example.org/policies/xacml-overriding.xml\">http://example.org/policies/xacml-overriding.xml</a></td></tr></table></div>"
  },
  "identifier" : [{
    "type" : {
      "coding" : [{
        "code" : "oasis:names:tc:xacml:1.0:Policy/@PolicyId"
      }]
    },
    "value" : "consent-policy-set-12345"
  }],
  "status" : "active",
  "category" : [{
    "coding" : [{
      "system" : "http://loinc.org",
      "code" : "59284-0",
      "display" : "Consent Document"
    }],
    "text" : "Consent Document with XACML Policies"
  }],
  "subject" : {
    "reference" : "Patient/ex-patient"
  },
  "sourceAttachment" : [{
    "contentType" : "application/xacml+xml",
    "url" : "http://example.org/policies/xacml-patient-consent-12345.xml"
  }],
  "policyBasis" : {
    "uri" : "http://example.org/policies/xacml-overriding.xml"
  }
}