Things I’ve built / Ensemble Health Partners

A clinical appeal letter copilot

Thousands of letters a month, drafted from past letters and clinical guidelines.

Where
Ensemble Health Partners
Role
Lead, Analytics (GenAI & Agentic AI Engineering), Apr 2024 to Apr 2026
Users
100+, thousands of letters a month
Data
Clinical documents with protected health information, under HIPAA
Stack
Azure OpenAI, Azure AI Search, LlamaIndex, Azure AI Document Intelligence, Azure Functions, Blob Storage, Azure ML, Hugging Face, Azure App Service, Azure DevOps

At Ensemble Health Partners, I designed and delivered a GPT and RAG copilot on Azure for clinical appeal letters. More than 100 people used it to generate thousands of letters a month, and it cut appeal-processing costs by 25%.

The problem

When a payer denies a claim, a clinical appeal letter argues, from the patient’s records, why it should be paid. Each one means reading clinical documents and writing a specific, careful argument, and the volume runs to thousands of letters a month. The letters carry protected health information, so the work falls under HIPAA.

My part

As Lead, Analytics I designed and delivered the copilot and owned its architecture decisions, including how patient data is handled and how letter quality is checked.

What I built

Patient data

Patient data was de-identified before letter generation and restored in the final letter for clinical nurse review. The language model drafts from de-identified text; identifiers come back only in the letter the nurse reviews.

Past letters and clinical guidelines

The copilot is retrieval-augmented: for each case it draws on relevant past letters, clinical guidelines and other reference material, so each letter is specific to the case and cites the correct guidelines.

Checking quality

Quality was checked against a golden set for each letter type, built into the solution, before clinical nurses reviewed the letters. Letter types differ in what a good letter has to contain, so one overall score could hide a drop in a single type.

In production

It ran in production on Azure, with Azure DevOps CI/CD pipelines taking changes from development through testing to deployment.

How it turned out

More than 100 people used it to generate thousands of letters a month, and appeal-processing costs fell by 25%. Patient details were restored only at the end, quality was checked against a golden set for each letter type, and clinical nurses reviewed the letters.

Trade-offs

De-identifying before generation. The model never saw patient identifiers. In exchange, it drafted without those details, and every identifier had to be restored exactly, in the right place, in the final letter.

A golden set per letter type. A drop in one letter type shows up even when the average looks fine. The cost is more test sets to build and keep current as letter types change.

Nurses sign off. The copilot drafts and clinical staff decide what goes out, so review time still sets the pace.