AI-enabled Enterprise Master Patient Index (EMPI) using Azure AI Foundry agent, Cosmos DB graph, and LLM-assisted matching
Healthcare organizations often struggle with duplicate and incorrect patient records across multiple EHRs and source systems, which drives large manual review queues in EMPI matching. The article describes a custom EMPI built on Azure that combines deterministic matching, probabilistic scoring, and AI-enhanced semantic similarity to improve patient identity resolution. Patient identifiers, addresses, and relationship edges are stored in Azure Cosmos DB Gremlin graph, while an Azure AI Foundry agent in a Streamlit dashboard lets data stewards search, compare, approve, and reject candidate matches.
- Organization
- Healthcare and Life Sciences Blog
- Industry
- Healthcare
- Location
- United States
- Published
- March 2026
Reported outcomes
Strategic outcomes
Why do we believe this deployment?Customer identity, provider attribution, maturity, and source checks
- Customer
- Healthcare and Life Sciences Blog
- Provider
- Microsoft
- Maturity
- Scaled Production
- Linked source
- Microsoft Tech Community
Patient identity matching must work at scale across heterogeneous source systems and FHIR data
Primary read
Use case focus
Showing 3 of 3
- 1Patient matching
- 2Decision support
- 3Workflow orchestration
- Duplicate and incorrect patient records across multiple healthcare systems.
- Traditional EMPI approaches leave a gray zone of cases that require human review.
- Patient identity matching must work at scale across heterogeneous source systems and FHIR data.
- A three-layer matching strategy is used: deterministic matching for exact identifier matches, probabilistic matching for fuzzy name, address, and date-of-birth handling, and AI-enhanced matching using text embeddings plus GPT reasoning.
- Azure Cosmos DB Gremlin stores patients, identifiers, addresses, contact points, and potential match relationships as a graph.
- Azure AI Foundry Agent Service provides a conversational agent with OpenAPI tools to search patients, compare records, list pending matches, and approve or reject matches from the dashboard.
- HL7 FHIR R4 Bundles are ingested as the source format, and Azure Container Apps hosts the FastAPI matching service.
- The article says the layered approach reduces ambiguous cases requiring human review.
- It says the combination is more accurate than any single approach alone.
- It says AI-generated reasoning helps clinicians and data stewards review matches faster.
Architecture
The solution uses Azure Cosmos DB Gremlin for graph storage and relationship traversal, Azure AI Foundry Agent Service with OpenAPI tools for conversational workflows, Azure Container Apps for the FastAPI backend, Azure Log Analytics for monitoring, and embeddings plus GPT-5.2 reasoning for ambiguous match scoring.
Sources & evidence1
- Customer explicitly identified
- Deployment status explicitly supported
- Technical implementation details available
AI-generated summary. Verify important details with the linked sources before relying on this case.
Explore related AI use cases
Was this useful?
Community
Comments
No published comments yet.