the stuff that moves patient data around
Healthcare integration
Moving clinical data between systems that were never meant to talk: HL7v2, FHIR, Mirth Connect, message queues, and consent. I've built this kind of plumbing at Bridge Connector, 1Putt Health, and MedHook. These are the articles I wish someone had handed me on day one.
start here: 3-part series
HL7 & Mirth from zero
All 29 articles
- 10 min readAI Browser Agents for Prior Authorization: API First, Portal Under SupervisionAI browser agents for prior authorization: use FHIR PAS or X12 278 first. On portal-only payers, code checks every screen and a human clicks submit.
- 10 min readLLMs Can Generate Clinical Quality Language. Don't Let Them Run It.LLMs can draft CQL. Compile it to ELM, lint it, test it on clinician-signed FHIR patients, and keep the model out of the CDS runtime.
- 11 min readAI Fax Referral Intake in Healthcare: The Model Reads, Code DecidesHow to build AI fax referral intake in healthcare: PHI-free events, page classification, field provenance, NPI checks, patient matching and per-field evals.
- 10 min readAI HEDIS Chart Abstraction: The Model Finds Evidence. It Never Decides Compliance.NCQA is retiring HEDIS hybrid by MY 2029. Use an LLM to find chart evidence with source spans, and let CQL decide compliance.
- 9 min readAI Discharge Summaries: Code the Med Changes, Let the Model Write the StoryLLM discharge summaries done safely: code diffs the medication changes, the model drafts cited narrative, and a physician signs a pended FHIR note.
- 9 min readLLM Incidental Findings Follow-Up in Radiology: The Model Finds It, Code Closes the LoopUse an LLM to extract radiology follow-up recommendations with cited spans, then track them with FHIR Tasks and a deterministic matcher.
- 10 min readAI Claim Denial Appeal Letters: The Letter Is the Easy PartAI drafts a denial appeal in seconds. What wins: parse the 835, route by reason code, quote the payer's policy, cite the chart, and let a human sign.
- 9 min readAI Patient Matching in an EMPI: The LLM Explains Uncertain Pairs, Humans MergeHow to use AI for EMPI patient matching: deterministic scoring, an LLM that only explains uncertain pairs, and reviewed, reversible FHIR links.
- 8 min readAI Agent Audit Log in FHIR: AuditEvent and Provenance That Name the AgentThrough a SMART backend client, the EHR logs a service account, not your AI agent. Build per-run AuditEvent and Provenance that name the agent, model and run.
- 10 min readLLM LOINC Mapping: Make the Model Pick, Not RememberAutomated LOINC mapping with an LLM: let it pick from real search results, check the axes in code, and ship a FHIR ConceptMap a human approves.
- 10 min readStop Polling the EHR: FHIR Subscriptions and Event-Driven AI AgentsWake healthcare AI agents on EHR event notifications: FHIR Subscriptions, webhooks or HL7v2, id-only payloads, gap detection, debounce and audit.
- 10 min readIs Text Messaging HIPAA Compliant? Only With a Gate Before send()Is texting patients HIPAA compliant? Only with no PHI or a warned patient who asks. Who needs a BAA, why carriers usually don't, and the gate before send().
- 8 min readLLM Decision Support Without Alert Fatigue: Make the Hook Say NothingLLM CDS without alert fatigue: keep the model out of the 500 ms hook path, dedup per encounter, ask for quiet cards, and cite FHIR or say nothing.
- 8 min readHow to Format FHIR for an LLM: Same Patient, Different Med ListSame patient, three renderings, three med lists. How to pick a FHIR format for an LLM by task, plus a benchmark harness for the edge cases that break it.
- 11 min readHTI-5 Drops the AI Model Card From Decision Support. Ship Your Own.HTI-5 would drop the 31 model card attributes from decision support. Ship them yourself: a versioned model card, CDS Hooks links, Provenance, local validation.
- 9 min readEpic Agent Factory Will Eat the Easy AI. Build What It Can't.Epic Agent Factory vs custom build: which healthcare AI it replaces, what stays outside it, and how to plug into Epic with CDS Hooks, SMART and FHIR.
- 10 min readDe-Identifying Clinical Notes for LLMs: Your Overall Recall Number Is LyingPHI redaction for LLMs: score recall per Safe Harbor identifier, gate MRN and SSN at 100%, and choose a date policy on purpose.
- 8 min readClaude Code for FHIR and HL7v2: The Agent Doesn't Get to Say DoneClaude Code can write FHIR and HL7v2 interface code. A verification loop decides done: FHIR Validator, replay diffs, terminology checks, PHI hooks.
- 9 min readSMART Backend Services for AI Agents: system/ Scopes Are God ModeSMART Backend Services gives an AI agent every patient the client policy allows. Borrow a clinician's token instead, and trace chart reads to a model run.
- 8 min readMirth Connect, what happened? Here's What Comes Next.Mirth democratized healthcare integration. Then NextGen acquired it, and the world moved on. What the next generation of integration tooling looks like, and why the transition was inevitable.
- 12 min readHealthcare Graph Database: Modeling FHIR Patient Data as a GraphFHIR references are graph edges. How we built a graph database from patient FHIR bundles in Memgraph for CLaiR, and why graph queries give an LLM better context than flat tables.
- 6 min read5 Reasons to Solve for Adoption Before Building Your Digital Health ToolClinicians love the idea but no one's buying. That gap is a pattern, and it almost never comes down to the technology. Five adoption problems to solve before you build the product.
- 4 min readCDS Hooks: What Nobody Tells You Before You BuildCDS Hooks look straightforward until you try to get them working in Epic. Six months of integration reality the documentation glosses over.
- 10 min readHIPAA Consent: What Engineers Actually Need to KnowHIPAA documentation runs to thousands of pages. What engineers building healthcare apps need to know, and what's compliance theater.
- 8 min readIngesting HL7v2 with ❄️ Snowflake Part 1Snowflake's flexible compute model makes it interesting for healthcare data warehousing. A walkthrough for ingesting HL7v2 messages into Snowflake: schemas, parsing, and getting clinical data into a structure you can query.
- 7 min readHL7v2 Healthcare Integrations with 🫏 MulesoftThe MuleSoft Accelerator promises a unified patient view across EHRs using FHIR and HL7v2 integrations. What that looks like in practice, where it delivers, and where you'll spend your consulting budget.
- 11 min readHow to ingest HL7v2 Messages into Google CloudHL7v2 arrives over MLLP. Google Cloud Healthcare API converts it to FHIR. A complete walkthrough for capturing healthcare messages in Google Cloud, from DICOM stores to Pub/Sub triggers.
- 5 min readMirth Connect: Part 2 - Adding 🐰RabbitMQMirth Connect handles the transform. RabbitMQ handles the delivery. Together they make healthcare integrations durable and survivable when downstream systems go down. How to wire them up.
- 6 min readMirth Connect: Part 1 - Getting Started with 🐳 DockerMirth Connect is how most healthcare orgs still move HL7v2 messages. Setup from scratch: configuring channels, parsing message types, sending and receiving messages without losing your mind.
Common questions
Should I use a browser agent or the FHIR prior authorization API?
Use FHIR PAS or X12 278 whenever the payer supports it for that transaction, confirmed by a test transaction and recorded in a capability table keyed by payer, transaction and channel. A browser agent is the fallback for portal-only plans and should only run on payer and task pairs someone has reviewed and allowlisted.
How accurate are AI computer-use agents at prior authorization?
In HealthAdminBench (arXiv v1), the best agent completed 38.3% of prior auth tasks end to end and 36.3% of full tasks overall, in simulated portals with no MFA, CAPTCHA or session timeouts. Agents did much better on individual subtasks than on whole workflows.
What prior auth work should a browser agent automate first?
Start with status checks on one payer and one workflow. They are read-only, repetitive, and include recurring loops like the Medicare Advantage concurrent-review cycle, so you can get screen maps, halts and audit trails right before automating forms that end in a submit button.
How do you detect a wrong submission by a prior auth browser agent?
After submit, the agent reads the confirmation and status pages, and code compares the values the portal echoes back against the validated payload by field label. Any mismatch is logged as a silent wrong submission, and fields the portal never echoes back are marked unverified.