Case study · legacy medical recordsWe did this for one practice: 23 years and three legacy systems, turned into one searchable, verifiable patient history. Next, with the practice: a de-identified OMOP research dataset. We’d love your take on where else it could help, from rural Alaska to New Mexico.
As anyone who has led an EHR implementation knows.
We agree, and we think the hardest part is the one nobody budgets for: the old records.
A multi-system family practice (Maryland, ~8,200 patients), moving to a new EHR. Real totals, mid-October 2026. A best case: its lead physician adopted an EHR early and documented meticulously. Why that matters

web EHR (CyCHART) · 2012–2026
ProtoChart / Charting Plus · 2004–2012
ProtoMed billing (FoxPro) · 2001–2019
Illustrative mock-ups of the legacy systems and the portal’s synthetic demo patient. No real patient data. Product names are trademarks of their owners.
Same families, same clinic, decades. Clinically precious, scientifically rare, and often the first thing an EHR transition drops.
Could legacy records be a common resource for rural transitions, in Alaska, New Mexico and beyond?
The funds are temporary and capped (provider payments at most 15% of an award), and arrive alongside large projected Medicaid reductions, which favours one-off investments with lasting value.












| Source value | Standard code | OMOP concept |
|---|---|---|
| ICD-9 250.00 “DM w/o complication” | ICD-10-CM E11.9 → SNOMED 44054006 | 201826 · Type 2 diabetes mellitus |
| ICD-9 401.9 “Unspec. essential HTN” | ICD-10-CM I10 → SNOMED 59621000 | 320128 · Essential hypertension |
| Lab “HGB A1C” (Quest / LabCorp / CCR variants) | LOINC 4548-4 | 3004410 · HbA1c in Blood |
| Lab “LDL Chol Calc (NIH)” | LOINC 13457-7 | 3028288 · LDL, calculated |
| Rx “Lisinopril 10mg tab” (free text) | RxNorm 314076 | 19080128 · lisinopril 10 MG Oral Tablet |
| Vaccine “Flu shot 2014” + CPT billing line | CVX 150 | 40213146 · Influenza, quadrivalent |
| Vital “BP 132/84 sitting” | LOINC 8480-6 / 8462-4 | 3004249 · Systolic BP (+ diastolic, paired) |
| Patients | 8,077 |
| Encounters | 117,093 |
| Documents | 619,761 |
| Storage | 232 GB |
| Audit-log events | 388,062 |
| Source tables | 113 |
| ProtoChart notes | 157,104 |
| ProtoChart documents | 104,947 |
| ProtoMed charges | 903,596 |
| ProtoMed DB rows | 4.16M |
| Patient statements | 61,622 |
| Eligibility checks | 6,158 |
| Patients (one identity) | 8,203 |
| In all three systems | 6,575 |
| Problems · medications | 256k · 200k |
| Labs · vitals | 354k · 479k |
| History facts (PMH/PSH/FH) | 69,840 |
| Database tables | 510 |
Aggregate totals from the live database, 14 Oct 2026. 251,064 legacy files (103 GB) inventoried, each with exactly one status.
| Option | What it takes |
|---|---|
| Archive + link recommended | Portal launched from the EHR (SSO / SMART on FHIR). No conversion risk. Weeks. |
| C-CDA documents | A per-patient summary document, imported by the EHR. Standard, but lossy for history. |
| HL7 v2 (ORU, MDM) | Results and documents through the vendor’s interface engine (Cerner Open Interface). Needs vendor interface work. |
| FHIR R4 writes | Where Millennium supports create, e.g. DocumentReference, AllergyIntolerance, Immunization. |
| Vendor conversion | We supply clean, coded flat files; the EHR vendor’s conversion team loads them. |
Exactly the transition this work was built for. athena imports only active patients (last 3 years) by default, so our archive keeps the other two decades, linked and searchable.
We may be talking with both the practice and Privia soon about where this goes next.

| Access pathway | What we learned | Next time |
|---|---|---|
| Live web EHR (screen + REST harvest) | Pacing, write-guard, session limits; outages happen | −2–3 wks |
| Live Sybase / ASA database | Tiny worker pools; bounded, key-ordered queries only | −1 wk |
| FoxPro / DBF billing | Soft-deleted rows hold history; keep them, flagged | −1 wk |
| Loose files (EDI, HL7, XML, XLS) | Inventory every file first; “mostly empty” is often wrong | −1 wk |
| Scans & faxes | Tiered OCR + registry checks before any AI | −tokens |
The lead physician adopted an EHR early (electronic notes from 2004) and kept clear, consistent notes for two decades: 157,104 structured notes, coded visits and documents filed by type.
Most practices with legacy systems won’t look like this: thinner records, and more paper charts that were never kept up.
The whole stack already runs on one on-premises virtualisation host. Placing it in the facility’s own server room gives the simplest legal framing: records never leave the building.
We’d value your view: where is the line for a critical-access hospital?
Live full-length captures, 14 Oct 2026; each scrolls on its own, click to enlarge. Live log lines and anything resembling patient details are redacted.



| Service | URL | Role |
|---|---|---|
| History portal | host-1.lan:8096 | Read-only patient history, real data, staff sign-in |
| Portal demo | cfm-historyportal-demo.pages.dev | Same app on synthetic patients, public |
| Harvest Monitor | host-1.lan:8090 | Live harvest and load status (A18) |
| Fess search | host-2.lan:8080 | Full-text search over every document and OCR text |
| Fess admin | host-2.lan:8080/admin | Crawlers and index |
| pgAdmin | host-1.lan:5050 | Postgres: 510 tables, facts, OMOP vocabularies |
| MinIO console | host-1.lan:9001 | Object store: 232 GB of documents, by content hash |
| Service | URL | Role |
|---|---|---|
| Sairo | host-1.lan:8000 | Browse the object store |
| noVNC / VNC | host-1.lan:6080 · :5900 | Watch or drive the harvest browser |
| Samba share | smb://host-1.lan/share | Hand-over of legacy files and exports |
| Gitea | gitea.entuura.com (private) | All code, docs and decision log (10 repos) |
| Proxmox | hypervisor.lan:8006 | The on-site host running both containers |
| Legacy DB server | XP VM · ASA 9 :2638 | Original ProtoChart database, read live |
| This deck | ent-legacy-records.pages.dev | Cloudflare Pages |
