FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.dap
Resource TypePermission
IdPermission-example-exclude.json
FHIR VersionR6

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: Permission example-exclude

Language: en

Security Label: test health data (Details: ActReason code HTEST = 'test health data')

status: Active

asserter: Organization nowhere

date: 2023-11-22

combining: Deny-unless-permit

rule

type: Permit

activity

action: Create, Read, Update, Delete, Execute

purpose: directory, health system administration

rule

type: Permit

activity

action: Read, Execute

purpose: treatment, healthcare payment, healthcare operations

Limits

-Tag
*ActCode: LOCIS (location information sensitivity)

rule

type: Permit

data

Expressions

-DescriptionLanguageExpression
*select all Practitioner resources where the Practitioner has a PractitionerRole with code of doctorapplication/x-fhir-queryPractitioner?_has:PractitionerRole:practitioner:role=http://terminology.hl7.org/CodeSystem/practitioner-role|doctor

activity

action: Read, Execute

purpose: patient requested

Limits

-Tag
*ActCode: LOCIS (location information sensitivity)

Source1

{
  "resourceType": "Permission",
  "resourceDefinition": "http://hl7.org/fhir/StructureDefinition/Permission|1.0.0-current",
  "id": "example-exclude",
  "meta": {
    "security": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST"
      }
    ]
  },
  "language": "en",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "status": "active",
  "asserter": {
    "reference": "Organization/ex-organization"
  },
  "date": [
    "2023-11-22"
  ],
  "combining": "deny-unless-permit",
  "rule": [
    {
      "type": "permit",
      "activity": [
        {
          "action": [
            {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/audit-event-action",
                  "code": "C"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/audit-event-action",
                  "code": "R"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/audit-event-action",
                  "code": "U"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/audit-event-action",
                  "code": "D"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/audit-event-action",
                  "code": "E"
                }
              ]
            }
          ],
          "purpose": [
            {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
                  "code": "HDIRECT"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
                  "code": "HSYSADMIN"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "type": "permit",
      "activity": [
        {
          "action": [
            {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/audit-event-action",
                  "code": "R"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/audit-event-action",
                  "code": "E"
                }
              ]
            }
          ],
          "purpose": [
            {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
                  "code": "TREAT"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
                  "code": "HPAYMT"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
                  "code": "HOPERAT"
                }
              ]
            }
          ]
        }
      ],
      "limit": [
        {
          "tag": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
              "code": "LOCIS"
            }
          ]
        }
      ]
    },
    {
      "type": "permit",
      "data": [
        {
          "expression": {
            "description": "select all Practitioner resources where the Practitioner has a PractitionerRole with code of doctor",
            "language": "application/x-fhir-query",
            "expression": "Practitioner?_has:PractitionerRole:practitioner:role=http://terminology.hl7.org/CodeSystem/practitioner-role|doctor"
          }
        }
      ],
      "activity": [
        {
          "action": [
            {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/audit-event-action",
                  "code": "R"
                }
              ]
            },
            {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/audit-event-action",
                  "code": "E"
                }
              ]
            }
          ],
          "purpose": [
            {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
                  "code": "PATRQT"
                }
              ]
            }
          ]
        }
      ],
      "limit": [
        {
          "tag": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
              "code": "LOCIS"
            }
          ]
        }
      ]
    }
  ]
}