For physicians, understanding a complex patient’s history can mean going through years of clinical information before a single appointment. Mediora Clinical Partners, a US-based multi-specialty outpatient network, faced exactly this challenge. Patient information was spread across visit notes, lab reports, specialist referrals, and discharge summaries, often stored in different formats and written by different clinicians. Before a complex patient visit, physicians and care coordinators had to manually review a dozen or more documents to connect this information and understand the patient’s complete clinical history. This took valuable time and made it harder to quickly identify relevant details. Bacancy Technology addressed this challenge by building a generative AI-powered clinical data analysis solution that brings a patient’s longitudinal medical history together and generates a citation-linked pre-visit summary.
AI-generated pre-visit summaries built from a patient's full longitudinal clinical history
Negation-aware clinical language processing to avoid misreading patient history
Every AI-generated statement links back to its exact source note for physician verification
Physician review and edit workflow before any summary is saved to the patient chart
Before a complex visit, care teams had to manually review years of records across multiple specialists. The challenge was not simply finding a particular note. It was connecting information from different points in a patient's medical history to understand the complete picture.
Patient information came from multiple EHR modules and external specialist systems. Records included clinical notes, scanned referral letters, discharge summaries, and laboratory data. Bringing these sources together required significant data processing and normalization.
Traditional keyword search could find symptom mentions but could not reliably understand the clinical context. For example, “denies chest pain” should not be interpreted as evidence of chest pain. This meant physicians still had to manually verify search results.
Any AI solution handling clinical data had to meet strict requirements for PHI protection, auditability, and healthcare compliance. More importantly, the system had to support physicians rather than make clinical decisions on their behalf.
Bacancy Technology’s team began with discovery sessions involving physicians and care coordinators to understand where the most time was being spent. The main challenge was connecting information from multiple sources to understand the patient’s overall history. Based on this finding, the team designed the solution to synthesize the patient’s clinical story rather than provide another document search tool.
Through our generative AI expertise we built an ingestion pipeline that collects structured and unstructured clinical data, including visit notes, lab PDFs, referral letters, and discharge summaries, directly from the EHR. The pipeline normalizes this information into a consistent format and applies clinical language processing to handle negation correctly. This ensures denied symptoms are not treated as reported symptoms.
Our RAG development team indexed each patient’s longitudinal record using encounter-aware chunking instead of arbitrary text splitting. The retrieval layer then identifies the most relevant clinical history based on the specific visit. The retrieved information is passed to a grounded language model, which generates a pre-visit summary with citations linking each statement back to the original clinical documentation.
The system does not make clinical decisions. Each AI-generated summary includes citations to the source documentation so physicians can verify the information. Before the summary is added to the patient chart, a physician must review and can edit it. PHI access controls, encryption, and audit logging are applied throughout the pipeline to support healthcare compliance requirements.
AI-generated pre-visit patient summaries pulling from years of scattered clinical notes
Negation-aware clinical language processing to avoid misreading patient history
Citation-linked summaries so every AI-generated statement traces back to its source note
Physician review and edit workflow required before any summary reaches the patient chart
06
Jan 2026 - Apr 2026
Pre-visit chart review time dropped from roughly 18 minutes to under 5 minutes for complex patients.
Physicians reported catching previously overlooked history details in a meaningfully higher share of complex cases.
Physician adoption reached most of the target care team within the first quarter after rollout.
Follow-up questions between visits caused by missing context dropped noticeably across the care team.
Care coordinators redirected the reclaimed time toward outreach for higher-need patients instead of manual chart review.
Care coordinators redirected the reclaimed time toward higher-priority patient follow-ups instead of manual chart review.
| Programming Language | Python |
| Workflow Orchestration | LangGraph |
| Language Model | GPT-4 |
| Retrieval | PostgreSQLEmbedding Search |
| Clinical Data Integration | FHIR APIsEpic EHR Integration |
| Validation | Rule-Based Clinical Validation Layer |
| Database | PostgreSQLRedis |
| Deployment | DockerKubernetes |
Get access to an experienced team of developers and engineers from Bacancy, handpicked to ace your goals. Kickstart within 48 hours, no-risk trial.
Years of Business Experience
Happy Customers
Countries with Happy Customers
Agile Enabled Employees