{
  "resourceType" : "Permission",
  "resourceDefinition" : "http://hl7.org/fhir/StructureDefinition/Permission|0.1.0",
  "id" : "example-composite",
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Permission example-composite</b></p><a name=\"example-composite\"> </a><a name=\"hcexample-composite\"> </a><p><b>status</b>: Active</p><p><b>asserter</b>: <a href=\"Organization-ex-organization.html\">nowhere</a></p><p><b>date</b>: 2018-12-24</p><p><b>combining</b>: Permit-overrides</p><blockquote><p><b>rule</b></p><p><b>import</b>: <a href=\"Permission-example-base.html\">Permission: status = active; date = 2018-12-24; combining = deny-overrides</a></p></blockquote><blockquote><p><b>rule</b></p><p><b>type</b>: Permit</p><h3>Data</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Security</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://terminology.hl7.org/7.4.0/CodeSystem-v3-ActCode.html#v3-ActCode-SUD\">ActCode: SUD</a> (substance use disorder information sensitivity)</td></tr></table><blockquote><p><b>activity</b></p><h3>Actors</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Organization-ex-organization.html\">nowhere</a></td></tr></table><p><b>action</b>: <span title=\"Codes:{http://hl7.org/fhir/restful-interaction read}\">read</span></p><p><b>purpose</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActReason TREAT}\">treatment</span></p></blockquote><blockquote><p><b>activity</b></p><h3>Actors</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Organization-ex-organization.html\">nowhere</a></td></tr></table><p><b>action</b>: <span title=\"Codes:{http://hl7.org/fhir/restful-interaction search-type}\">search-type</span></p><p><b>purpose</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActReason TREAT}\">treatment</span></p></blockquote></blockquote></div>"
  },
  "status" : "active",
  "asserter" : {
    "reference" : "Organization/ex-organization"
  },
  "date" : ["2018-12-24"],
  "combining" : "permit-overrides",
  "rule" : [{
    "import" : {
      "reference" : "Permission/example-base"
    }
  },
  {
    "type" : "permit",
    "data" : [{
      "security" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "SUD"
      }]
    }],
    "activity" : [{
      "actor" : [{
        "reference" : {
          "reference" : "Organization/ex-organization"
        }
      }],
      "action" : [{
        "coding" : [{
          "system" : "http://hl7.org/fhir/restful-interaction",
          "code" : "read"
        }]
      }],
      "purpose" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
          "code" : "TREAT"
        }]
      }]
    },
    {
      "actor" : [{
        "reference" : {
          "reference" : "Organization/ex-organization"
        }
      }],
      "action" : [{
        "coding" : [{
          "system" : "http://hl7.org/fhir/restful-interaction",
          "code" : "search-type"
        }]
      }],
      "purpose" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
          "code" : "TREAT"
        }]
      }]
    }]
  }]
}