Hi ,
Thanks for reaching out to Microsoft Q&A.
azure does not natively provide a managed service to directly pull data from external EHR FHIR APIs like Athena’s. You have three practical options:
- Use Azure API Management + Logic Apps or adf: Configure API Management to securely store your client_id, secret, and handle OAuth2. Then use Logic Apps or Data Factory REST connectors to periodically pull FHIR data into ADLS or Azure Health Data Services (FHIR). This is the most production ready approach.
- Use your Python FHIR client within Microsoft Fabric: Run your existing notebook in a Fabric Notebook or Data Pipeline (notebook activity). Store credentials securely in Keyvault and mount them in the notebook. Save the extracted data to a Fabric Lakehouse for further analysis.
- Stage in Azure FHIR Service: If you prefer Azure native FHIR handling, first pull via your Python or API workflow, then load it into Azure FHIR Service, letting Azure manage FHIR validation and downstream processing.
For automation, option 1 (Logic Apps + Keyvault + Health Data Services) is most maintainable and secure.
Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.