@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 : https://learn.microsoft.com/en-us/azure/healthcare-apis/fhir/patient-everything
-----------------------------------------------------------------------------------------------------------------
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.