How to give permission to user data wise in Azure FHIR Service?

Nancy Osalaniya 20 Reputation points
2023-06-20T07:47:26.9466667+00:00

In my Azure FHIR Service, I'm doing authentication using AAD. Default user roles provided by Azure FHIR Service to user. I've assigned these default roles to users.

  1. Suppose in these default roles if I give FHIR Data reader role to patient then patient is able to read all FHIR data resources, but I want to restrict patient to read only his/her data.
  2. Instead of using this default FHIR roles we can create custom roles for users but how can we restrict user to access particular data only?

Please let me know how can I achieve this using Azure FHIR Service?
Thanks in advance!

Azure Health Data Services
Azure Health Data Services
An Azure offering that provides a suite of purpose-built technologies for protected health information in the cloud.
150 questions
{count} votes

Accepted answer
  1. navba-MSFT 17,355 Reputation points Microsoft Employee
    2023-07-07T03:36:14.77+00:00

    @Nancy Osalaniya Apologies for the late reply. Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
    I see that your requirement is to restrict user to access particular data only in Azure FHIR service.

    We have SMART on FHIR enabled on AHDS FHIR service in integration with OSS samples. With SMART on FHIR , users’ access can be restricted to resources associated with the user.

    Sharing some features it provides:

    • Users accessing a FHIR repository with SMART on FHIR are restricted to resources associated with the user, rather than having access to all data in the repository.
    • Users have the ability to grant applications access to a limited set of their data by using SMART clinical scopes.

    Please review this documentation and let me know if you have any follow up questions. Hope this helps.

    **

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Nancy Osalaniya 20 Reputation points
    2023-08-03T05:15:29.7666667+00:00

    Hello,

    Thank you for your kind attention.

    I've diligently followed the documentation provided for deploying SMART on FHIR using AHDS Samples OSS. However, I'm encountering an issue as described in the following link: [Link to the issue on GitHub].

    We would greatly appreciate any assistance in resolving this matter or if there exists a sample application for SMART on FHIR implementation with Azure FHIR Service.

    Thank you in advance for your support.

    Sincerely,

    Nancy Osalaniya