40,218Patient forms processed
4Days to complete
97.3%Extraction accuracy
€0HIPAA violations

When Dr. Diane Moreau contacted OnyorAI in September 2024, her Brussels-based medical practice, Clinique Moreau, was facing a problem she described as "two decades of organised chaos." Since opening in 2004, the clinic had accumulated over 40,000 patient intake forms β€” handwritten, typed, or partially completed β€” stored in floor-to-ceiling filing cabinets across two rooms.

The forms contained everything: patient history, allergies, medications, emergency contacts, insurance details, and consent signatures. None of it was searchable. None of it was connected to their modern EMR system. And as the clinic prepared for a digital transformation audit, the scale of the problem became impossible to ignore.

We knew the data existed β€” it was just buried. When a patient calls and says they filled in an allergy form in 2011, my receptionist has to physically walk to a cabinet and search. That's not healthcare in 2024. That's a liability.

DM

Dr. Diane Moreau

Medical Director, Clinique Moreau β€” Brussels, Belgium

The Challenge: Handwriting, HIPAA, and Scale

Medical document digitization is one of the most demanding categories of document processing work. Three factors make it uniquely difficult:

Standard OCR tools fail on handwritten medical documents at unacceptable rates β€” typically 70–80% accuracy. For a medical practice, a 20–30% error rate is not an option. It means patients with wrong allergy records, incorrect medication histories, or missing contact information.

πŸ”’ HIPAA & GDPR Compliance First

Before any file was transferred, OnyorAI and Clinique Moreau executed a Business Associate Agreement (BAA) and a GDPR Data Processing Agreement. All data was processed exclusively on EU-based encrypted servers. No PHI left EU jurisdiction at any point during processing.

Our Approach: AI Vision Over Traditional OCR

For this project, we deployed a multi-model pipeline specifically tuned for handwritten medical forms. Standard OCR was used as a first pass, with GPT-4 Vision handling the fields where OCR confidence scored below our 95% threshold.

The Processing Pipeline

Each form went through five distinct stages before being written to the final database:

01

Stage 1 β€” Form Classification

Template Detection & Version Matching

AI identified which of the 6 form versions each document belonged to, applying the correct field schema for extraction. Forms from 2004–2010 used a 3-page layout; 2011–2018 used a 2-page version; 2019–present used the current digital-print form.

02

Stage 2 β€” Primary OCR Pass

Printed Text & Typed Fields

Adobe Acrobat AI and Nanonets handled all printed and typed content β€” patient names, dates of birth, insurance numbers, checkboxes, and typed doctor notes β€” achieving 99.6% accuracy on these fields.

03

Stage 3 β€” AI Vision Pass

Handwritten Content

GPT-4 Vision processed all handwritten fields: medication lists, allergy descriptions, symptom notes, and free-text sections. Context-aware processing helped interpret ambiguous handwriting β€” for example, distinguishing "Penicillin" from "Penicillamine" based on surrounding medical context.

04

Stage 4 β€” Medical Terminology Validation

Drug Name & Condition Normalisation

A custom validation layer cross-referenced extracted medication names and conditions against standard medical databases, flagging any extraction that didn't match a known drug name or medical term for human review.

05

Stage 5 β€” Human QA Review

Spot-Check & Flagged Record Review

A specialist reviewer checked all 2,847 records flagged during processing (7.1% of total) and manually corrected or escalated any ambiguous fields. Final human sign-off before delivery.

HIPAA & GDPR Compliance: What We Did

For medical document processing, compliance is not a checkbox β€” it's a prerequisite. Here is every measure we implemented for this project:

πŸ“‹

Business Associate Agreement

Full BAA executed before any data transfer. OnyorAI acts as a HIPAA Business Associate for all medical clients.

πŸ‡ͺπŸ‡Ί

GDPR Data Processing Agreement

EU DPA signed covering data subject rights, retention schedules, and sub-processor obligations.

πŸ”’

EU-Only Processing

All patient data processed exclusively on AWS Frankfurt servers. No data left EU jurisdiction at any stage.

πŸ—‘οΈ

72-Hour Auto-Deletion

All source files and processing copies permanently deleted 72 hours after delivery. Confirmed in writing.

πŸ”

AES-256 Encryption

All files encrypted at rest (AES-256) and in transit (TLS 1.3). Zero plaintext storage at any point.

πŸ“

Access Audit Log

Full timestamped log of every access event maintained for 12 months, available to client on request.

The Results: Day by Day

The project ran over four working days. Here's how the timeline broke down:

πŸ“Š Final Accuracy Breakdown by Field Type

Patient name & DOB: 99.8% Β· Insurance numbers: 99.4% Β· Medication lists: 97.1% Β· Allergy fields: 96.8% Β· Handwritten notes: 95.3% Β· Overall weighted average: 97.3%

What the Clinic Received

OnyorAI delivered a structured Excel workbook and an Airtable base β€” the client's choice for their ongoing workflow. The deliverable included:

I expected it to take weeks and cost far more. Four days and the data was cleaner than we imagined. We immediately flagged 17 patients with allergy records we weren't aware of in our current system. That alone could prevent a serious incident.

DM

Dr. Diane Moreau

Medical Director, Clinique Moreau β€” Brussels, Belgium

Is Your Medical Practice Ready to Digitize?

If your clinic, hospital, or healthcare practice has a backlog of paper patient records, intake forms, referral letters, or lab reports, OnyorAI can process them with full HIPAA and GDPR compliance. We have processed medical documents in 9 countries and our BAA is available for signature immediately upon request.

Every medical project includes: BAA + DPA execution, EU-only processing, 72-hour data deletion, full audit logging, and a human QA review on every flagged record.

Ready to Digitize Your Patient Records?

Free project assessment for healthcare clients. We'll review your document types, estimate accuracy, and provide a fixed-price quote before you commit.

Get a Quote β†’