# Azure API for FHIR

Azure API for FHIR was Microsoft’s managed Azure service for storing and exchanging healthcare data through HL7 Fast Healthcare Interoperability Resources APIs.

Cloud service · Azure. Updated 2026-11-25. Page: https://blowstack.com/tools/cloud-services-hub/azure-api-for-fhir

**RETIRED** Microsoft has ended support for Azure API for FHIR. Support ended September 30, 2026. https://azure.microsoft.com/updates/azure-api-for-fhir-retirement/

> Azure API for FHIR provided a managed FHIR endpoint and data store for clinical applications, healthcare interoperability, and research pipelines, with identity-based access control and audit logging. The service is shut down, and support ended on September 30, 2026; it must not be selected for new workloads.

## 9 key features of Azure API for FHIR

1. **Managed FHIR endpoint and storage**: The service hosted a FHIR REST API and persisted resources without requiring customers to operate the server infrastructure. Applications accessed clinical records through the FHIR API rather than directly querying the underlying database.
2. **FHIR R4 and STU3 support**: Supported versions included FHIR R4 4.0.1 and STU3 3.0.2. Client resource models, profiles, and API interactions needed to match the endpoint’s configured version.
3. **Resource operations and concurrency control**: Supported operations included create, read, update, JSON Patch, FHIRPath Patch, and history retrieval. Version-aware updates and optimistic locking helped clients detect conflicting changes instead of silently overwriting them.
4. **FHIR search and pagination**: Applications could query resources using supported FHIR search parameters and follow next-page links. Chained and reverse-chained searches had implementation limits, including errors when intermediate queries exceeded 1,000 results.
5. **Independent batch processing**: Batch bundles allowed multiple independent operations in a single request, with success or failure reported for each entry. Atomic transaction bundles were not supported, so applications needed their own reconciliation logic for partial success.
6. **Identity-based data access**: Microsoft Entra ID authenticated clients, and role assignments controlled access to FHIR data. Service-level permissions did not by themselves implement patient consent or application-specific record filtering.
7. **Audit logging**: Diagnostic audit logs recorded access and resource operations for security and operational investigations. Customers needed to configure diagnostic destinations and retention rather than assume that long-term audit storage was automatic.
8. **History and deletion controls**: Ordinary deletion retained historical resource versions, while hard deletion could remove the resource and its history. The separate history-purge capability required careful alignment with retention policies and legal obligations.
9. **Configurable scaling**: The service offered manual scaling and autoscaling capabilities at database and compute levels. Workload design still needed to account for provisioned capacity, throttling, expensive searches, and request-size limits.

## Where Azure API for FHIR is used

1. **Clinical data interoperability**: Healthcare integration teams used the service to expose normalized Patient, Encounter, and Observation resources from otherwise disconnected systems. Mapping, identifier reconciliation, and terminology normalization remained responsibilities of the integration layer.
2. **Patient and clinician applications**: Web and mobile applications used the FHIR endpoint as a managed clinical-data backend. Application services enforced user-specific access and consent requirements before exposing records to patients or care teams.
3. **Research data preparation**: Research pipelines used FHIR resources as a common representation for data collected from multiple clinical sources. Exported datasets required separate authorization, de-identification where appropriate, and governance before analysis.
4. **Longitudinal clinical records**: Organizations consolidated selected records from multiple source systems into a shared FHIR representation. Resource references and stable identifiers supported longitudinal views, while reconciliation logic handled duplicate patients and conflicting updates.
5. **Legacy integration assessment**: Engineers reviewing retired deployments can use the service’s documented behavior to identify dependencies on search limits, non-atomic batches, retained history, and identity configuration. These details help explain historical application behavior and define compatibility tests.

## How Azure API for FHIR is priced

- **Provisioned throughput and service capacity**: Historical charges reflected the capacity required to run the managed service, including provisioned database throughput and applicable service runtime charges. Capacity planning needed to consider sustained ingestion, query complexity, concurrency, and scaling configuration rather than only the number of API calls.
- **Stored data**: Persisted healthcare data incurred storage charges. Retained resource versions and soft-deleted records needed to be included in storage planning because ordinary deletion did not remove their history.

## Services Azure API for FHIR works with

Historical architectures separated clinical API access from ingestion and analytical processing. Microsoft Entra ID authenticated application identities, while FHIR data-plane roles determined which operations those identities could perform. Application backends implemented consent and patient-specific authorization that broad service roles did not provide. API Management sometimes supplied an additional gateway, but it did not remove the backend authentication requirements.

Ingestion workers running in Azure Functions translated source records into FHIR resources and submitted REST requests. Reliable implementations reconciled identifiers, avoided duplicate creation, inspected individual batch results, and retried throttled operations with backoff. They also respected the service’s request-size limit and lack of atomic transaction bundles.

Bulk-export workflows placed FHIR data in Azure Blob Storage, where Data Factory or other processing components prepared analytical datasets. Exported files formed a separate protected-data boundary requiring their own permissions, retention policies, and deletion procedures. Azure Monitor and Log Analytics supported operational investigations through configured diagnostic logs. For retired-system assessment, these surrounding services are important dependency points: application identities, gateway routes, scheduled pipelines, stored exports, and retained logs can outlive the original FHIR endpoint.

- **[Microsoft Entra ID (formerly Azure AD)](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-id-(formerly-azure-ad))**: Microsoft Entra ID supplied OAuth 2.0 access tokens for FHIR clients, with role assignments controlling data access. For example, a background ingestion application authenticated as its own service principal and received only the permissions required to write clinical resources. Troubleshooting required checking the token audience, tenant, and data-plane role assignments independently of Azure management access.
- **[Azure Blob Storage](https://blowstack.com/tools/cloud-services-hub/azure-blob-storage)**: Bulk-export workflows used Azure Blob Storage as a destination for exported FHIR data. For example, a research extraction job could write newline-delimited JSON files to a restricted container for later processing. Storage permissions, network access, retention, and protection of the exported PHI needed separate configuration.
- **[Azure Monitor](https://blowstack.com/tools/cloud-services-hub/azure-monitor)**: Diagnostic settings routed supported audit logs to monitoring destinations such as a Log Analytics workspace. For example, an operations team could correlate authorization failures and unusual resource-access patterns with an application incident. Log access and retention needed controls appropriate for potentially sensitive identifiers and request metadata.
- **[Azure Functions](https://blowstack.com/tools/cloud-services-hub/azure-functions)**: Function-based integration workers could transform source payloads and call the FHIR REST API using an authorized identity. For example, a worker could map a laboratory result into an Observation linked to an existing Patient. The implementation needed duplicate prevention, bounded retries, and explicit handling of throttling and partial batch failures.
- **[API Management](https://blowstack.com/tools/cloud-services-hub/api-management)**: API Management could act as an application-facing gateway for routing, rate limits, and additional API policies. For example, a gateway could expose a restricted clinical API while an application backend applied patient-specific authorization before accessing FHIR resources. Gateway authentication did not replace the FHIR endpoint’s own authentication and authorization requirements.
- **[Azure Data Factory](https://blowstack.com/tools/cloud-services-hub/azure-data-factory)**: Data Factory could orchestrate extraction and transformation workflows using exported files, HTTP activities, and custom processing components. For example, a scheduled pipeline could process FHIR export files from Blob Storage into curated analytical tables. This required explicit handling of nested resources and references rather than assuming a direct relational copy preserved FHIR semantics.

## What is Azure API for FHIR

Azure API for FHIR was a platform-as-a-service offering that hosted Microsoft’s FHIR server implementation and persisted healthcare data in FHIR resource format. It provided a REST endpoint for applications working with resources such as Patient, Encounter, Observation, and MedicationRequest. Microsoft operated the underlying service infrastructure, while customers remained responsible for identity configuration, application behavior, data quality, and appropriate handling of protected health information.

The service supported FHIR R4 version 4.0.1 and the earlier STU3 version 3.0.2. Its API included resource creation, reads, updates, patches, deletion, version-specific reads, and history retrieval. Support was not equivalent to implementing every part of the FHIR specification. Engineers maintaining legacy client code need to account for the configured FHIR version, the endpoint’s CapabilityStatement, and operation-specific limitations.

Search supported common resource queries and selected advanced capabilities, including chained and reverse-chained searches. Those chained searches used an implementation that could fail when an intermediate query returned more than 1,000 results. Clients needed to follow server-provided pagination links rather than construct page offsets. Narrow search criteria and bounded extraction jobs helped avoid expensive queries and excessive response processing.

Batch bundles grouped independent requests into one HTTP exchange, but the service did not support atomic FHIR transaction bundles. A successful batch response did not mean that every entry succeeded; applications needed to inspect individual entry results. The documented request-body limit was 2 MB. Integrations therefore needed explicit payload sizing, partial-failure handling, and retry logic that avoided creating duplicate resources.

Microsoft Entra ID supplied OAuth 2.0 authentication, and role-based access control governed data-plane access. Management permissions and clinical-data permissions were separate concerns. Application authorization also needed to address requirements such as patient consent and record-level access; broad FHIR access roles were not a substitute for those controls. Diagnostic audit logs supported investigations into access and resource operations, but customers needed to configure collection, retention, and downstream access appropriately.

Resource history was important for both concurrency and retention. Optimistic locking helped prevent one application from overwriting another application’s changes. Ordinary deletion removed a resource from normal reads and searches but retained historical versions unless explicitly purged. Hard deletion and history-purge operations therefore required separate governance, especially where retention obligations or legal holds applied.

Typical deployments placed application services or integration workers in front of the FHIR endpoint and used separate storage and analytics systems for downstream processing. Source-system mapping, identifier reconciliation, terminology alignment, and duplicate detection remained integration responsibilities. A managed FHIR repository did not automatically convert arbitrary clinical messages into semantically consistent records or make an entire application compliant.

Lifecycle stage: Azure API for FHIR is shut down. New deployments were blocked starting April 1, 2025, and the service retired and support ended on September 30, 2026. See [Microsoft’s migration guide](https://azure.microsoft.com/updates/azure-api-for-fhir-retirement/) for migration guidance.
