<Consent xmlns="http://hl7.org/fhir">
  <id value="Healthcare-Worker-Consent-AllowableActions-Example" />
  <status value="active" />
  <scope>
    <coding>
      <system value="https://fhir.nhs.uk/England/CodeSystem/England-ConsentScope" />
      <code value="rbac" />
      <display value="RBAC" />
    </coding>
  </scope>
  <category>
    <coding>
      <system value="https://fhir.nhs.uk/England/CodeSystem/England-ConsentCategory" />
      <code value="allowable-actions" />
      <display value="Allowable Actions" />
    </coding>
  </category>
  <policy>
    <uri value="https://digital.nhs.uk/services/care-identity-service/registration-authority-users/registration-authority-help/registration-authority-key-documents-and-forms" />
  </policy>
  <provision>
    <type value="permit" />
    <actor>
      <role>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/v3-RoleClass" />
          <code value="EMP" />
          <display value="employee" />
        </coding>
      </role>
      <reference>
        <reference value="https://directoryservice.example.nhs.uk/FHIR/R4/PractitionerRole/454567759542" />
        <identifier>
          <system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
          <value value="454567759542" />
        </identifier>
      </reference>
    </actor>
    <action>
      <coding>
        <system value="https://fhir.nhs.uk/England/CodeSystem/England-SDSActivityCode" />
        <code value="D8001:C8004:B0820" />
        <display value="View Patient Demographics" />
      </coding>
    </action>
  </provision>
</Consent>