Confidential client, name withheld under NDA

We Integrated GenAI Into Clinical Data Analysis for a US Multi-specialty Outpatient Network

Quick answer: A GenAI clinical summary tool pulls a patient's notes, labs, referrals and discharge summaries from the EHR and writes a pre-visit summary. Each statement links to its source note. Bacancy Technology built this for a US outpatient network.

Outcomes deliveredDelivered January to April 2026 by a team of 6
<5 min

Pre-visit review for complex patients

Down from about 18 minutes

25%

Fewer follow-ups from missing context

Full history ready before each visit

60%

Target care team adoption in quarter 1

Physicians review every summary

Client name withheld under NDA. To honour our non-disclosure agreement and compliance obligations, we describe this client by industry and region only. The project scope, technology and outcomes are shared without details that could identify them.

About the Client

The client is a US-based multi-specialty outpatient network. Patient history was spread across visit notes, lab reports, specialist referrals and discharge summaries in different formats. Before a complex visit, physicians and care coordinators reviewed a dozen or more documents by hand.

Bacancy Technology built a generative AI system that brings each patient's longitudinal history together. It writes a pre-visit summary with citations to the source notes, and a physician reviews it before it reaches the chart. Review time fell from about 18 minutes to under 5.

Industry
Healthcare
Location
USA
Team
6 developers
Timeline
Jan 2026 to Apr 2026
Project size
Non-disclosable

Four problems slowing pre-visit preparation

Scattered records and unreliable search left physicians spending long minutes piecing together each complex patient's history.

Years of records to connect

What was happening

Care teams reviewed years of records from many specialists before each complex visit.

Business Impact: Pre-visit review took about 18 minutes per complex patient.

Records in many formats

What was happening

Notes, scanned referrals, discharge summaries and labs came from EHR modules and outside systems.

Business Impact: Combining sources needed heavy data processing and normalization.

Search missed clinical context

What was happening

Keyword search could not tell that "denies chest pain" does not mean chest pain.

Business Impact: Physicians still checked every search result by hand.

Strict rules for clinical AI

What was happening

Any AI tool had to protect PHI, stay auditable and leave decisions to physicians.

Business Impact: A tool that made clinical decisions was not an option.

Challenges & Solutions

Our team started with physicians and care coordinators, then built each layer around how they prepare for visits.

Challenge 1: Connecting years of patient history before a visit

Care teams had to link information from many points in a patient's history, not just find a single note.

Solution: Our team ran discovery sessions with physicians and care coordinators to see where time was lost. Based on the findings, we designed a tool to summarize the patient's clinical story instead of adding another search tool.

Challenge 2: Bringing records from many systems into 1 format

Clinical notes, scanned referrals, discharge summaries and lab data came from EHR modules and specialist systems.

Solution: Through our generative AI expertise, we built an ingestion pipeline that pulls structured and unstructured data from the EHR through FHIR APIs. It normalizes every record into a consistent format.

Challenge 3: Reading clinical context correctly

Keyword search could not separate a reported symptom from a denied one.

Solution: Our engineers added negation-aware clinical language processing, so denied symptoms are never read as reported ones. Our RAG development team indexed each record with encounter-aware chunking. GPT-4 then writes a grounded summary with a citation for every statement.

Challenge 4: Keeping physicians in control of clinical decisions

The AI had to protect PHI, stay auditable and support physicians instead of deciding for them.

Solution: Our team made physician review required: a physician checks and can edit every summary before it is saved to the chart. PHI access controls, encryption and audit logging run through the pipeline to support healthcare compliance requirements.

How the Platform Works

The client GenAI pre-visit summary screen

Core Features

  • AI pre-visit patient summariesBuilt from years of scattered clinical notes, labs and referrals.
  • Negation-aware language processingDenied symptoms are never read as reported symptoms.
  • Citation-linked statementsEvery AI statement links back to its exact source note.
  • Physician review and edit workflowNo summary reaches the patient chart without physician sign-off.
  • PHI protection throughoutAccess controls, encryption and audit logging across the pipeline.

The stack behind the summaries

Backend
Python
AI and LLM
GPT-4 | LangGraph
Retrieval
PostgreSQL with pgvector | Embedding search
Clinical data integration
FHIR APIs | Epic EHR integration
Validation
Rule-based clinical validation layer
Database
PostgreSQL | Redis
Cloud and DevOps
Docker | Kubernetes

Ready to start?

2500+ projects delivered by Bacancy Technology

Get access to an experienced team of developers and engineers from Bacancy Technology, handpicked to ace your goals. Kickstart within 48 hours, no-risk trial.

Book A 30 Min Call
14+Years of business experience
1458+Happy customers
30+Countries with happy customers
1050+Agile-enabled employees

More Case Studies

View All Case Studies