How to get user based patient data access from FHIR API ?

Ravi Agheda 1 Reputation point

Microsoft Azure Active Directory can contain more than one user. so for FHIR API, we can create patients from any of these users. So
How can i get a patient from a particular user?

For example.
User A creates Patient X, Patient Y, Patient Z.
User B creates Patients P, Patient Q, Patient R.

So if I want to get all patients from User A only. How can we do that?

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.
151 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,175 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VipulSparsh-MSFT 16,251 Reputation points Microsoft Employee

    @Ravi Agheda Thanks for reaching out.

    Have you tried the Patient-Everything API, which allows you to fetch the record of every patient with a request like this :
    GET {FHIRURL}/Patient/{ID}/$everything

    The $patient-everything operation is used to provide a patient with access to their entire record or for a provider or other user to perform a bulk data download. This operation is used to return all the information related to one or more patients described in the resource or context on which this operation is invoked.

    Read more here with some examples :


    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    0 comments No comments