Migrating an NEMT operation to a new dispatch platform
Most migrations that go badly wrong do so for a reason that was visible during planning: the old system held less than the team believed. Fields that were never captured, statuses that meant different things in different years, and fares that were recalculated by hand at month end are all normal in a system that has been running for five years. The new platform will faithfully reproduce whatever it is given, including the gaps.
Phase 1: inventory what the old system actually holds
Before mapping anything, list the entities and the fields the old system stores, and mark each one as clean, dirty or absent. The inventory is short and unglamorous:
| Entity | Fields that usually exist | Fields that usually do not |
|---|---|---|
| Trips | Date, pickup, destination, vehicle, driver, fare total | State timestamps, geofence arrival, handover evidence |
| Fares | Amount charged | Rule version, components, adjustments |
| Patients | Name, phone, address | Mobility needs, consent, standing order linkage |
| Vehicles and drivers | Plate, license number | Expiry dates per document, training records |
| Providers | Name, contact | Admission evidence, settlement terms, performance history |
The right answer to an absent field is a decision, not a default: leave it empty and document why, derive it where the source exists, or re-collect it before go-live. Migrating a blank expiry date into a credential system is worse than leaving the credential out, because a blank looks like a valid record until the first audit.
Phase 2: clean before you copy
- De-duplicate patients and addresses — the same person entered three ways becomes three histories, and the standing order attaches to the wrong one.
- Normalise statuses — "done", "closed", "completed" and "ok" in an old system usually describe the same state and occasionally describe different ones. Decide the mapping and record it.
- Reconcile fares — total amounts without components cannot be re-derived. Where the component breakdown is missing, mark the record as historical and exclude it from recompute checks rather than pretending it is auditable.
- Retire dead vehicles and departed staff — a migration is the only convenient moment to stop carrying records nobody will ever use again.
Phase 3: parallel run, read-only against real trips
Run the new platform alongside the old one for a defined period — two to four weeks is typical — and compare outputs on the same trips rather than on synthetic data. The comparison set should include a discharge run, an inter-facility transfer, a standing order, a no-show and a late cancellation, because those are the five cases where semantics differ between systems. During the parallel period the old system remains the system of record; the new one is being measured, not trusted.
Three checks make the parallel run useful:
- Fare recompute — pick 30 historical trips, recompute the fare from the migrated rule, and compare. Differences above a defined tolerance are mapping errors, not rounding.
- Credential completeness — every vehicle and driver in the new system should have the documents the old system held, with expiry dates, or be flagged as incomplete before cutover.
- Permission matrix — walk each role through the actions it needs. A dispatcher who cannot see a provider's statement, or a provider who can see another provider's trips, is a configuration error that will surface on day one.
Phase 4: cutover with a way back
The cutover window should be a period with the lowest trip volume — usually a weekend night — and it should have three properties: a freeze on master data changes before the window, a read-only copy of the old system kept available for at least a month, and a documented rollback trigger. The trigger is not "if it feels wrong"; it is a specific condition, such as more than a defined number of trips failing to dispatch within the first operating day.
After cutover, the old system should be retained read-only for the retention period the contract or regulation requires. Trips from the old system will be asked about a year later, and a decommissioned system cannot answer.
The five things teams lose in the move
- Rule history — the old fares were correct on the date they were applied, but the rules behind them were never stored. Without rule versions, historical fares cannot be defended.
- Mileage evidence — odometer photos and GPS traces stored outside the old system usually stay outside the new one.
- Handover artefacts — signatures on paper, photos in a chat group, notes in a spreadsheet.
- Exception history — the overrides, waivers and one-off approvals that explain why certain trips look unusual.
- Institutional knowledge of who decided what — the person who knew why a fare was waived left, and the reason left with them.
Each of these can be mitigated with a deliberate archive step before decommissioning. None of them can be reconstructed afterwards.
Frequently asked questions
How long does a migration take? The data work is usually longer than the software work: inventory and cleanup take weeks at any real volume, the parallel run takes two to four, and the cutover itself is a night. A single-site operator with clean records moves faster than a network with five years of accumulated exceptions.
Should we migrate historical trips at all? Migrate the records needed for billing disputes, audit and patient history; leave the rest in a read-only archive. Copying everything into a new schema multiplies the cleanup work for data nobody will query.
What is the single most useful acceptance test? Recomputing thirty historical fares from migrated rules and matching the amounts. It exercises the mapping, the rule version and the rounding at once.
Related: the implementation sequence in implementation; the fare rule model that makes recompute possible in fare rule audit; credential handling in credential expiry control.
Reference: National Health Commission — record-retention guidance relevant to patient transport operations in China.