Guide · Migration
How to prepare a patient migration.
A data move goes well when it is rehearsed before loading. This guide lays out what is worth preparing.
Updated December 5, 2026 The MedikoQ team
1. Ask for the right export
Ask the previous system for its data in FHIR (a Bundle file in JSON or several NDJSON files, one per type of data) or in Excel or CSV. With Excel, a workbook with a patients sheet and, if they exist, others for allergies, medications, diagnoses, visits, results, insurance and attachments is easiest to import.
Ask separately for a ZIP with the attachments: PDFs and images. And, if they are CSV, ask for them in UTF-8 so accents and special characters arrive intact.
2. Review what usually fails
Before the first trial run, look at what makes a row fail to import: incomplete ID documents, impossible or future dates of birth, patients without a name and repeated documents within the same package.
Confirm how dates written with slashes come: day/month/year or month/day/year. It is chosen in the mapping, and a wrong choice changes every date.
3. Run trials as many times as needed
The trial run reads everything and writes nothing to patients or records. It tells you how many patients are new, how many already exist and how many resemble an existing one; the errors per row; the warnings, such as an allergy with no severity, which is recorded as “unspecified” so a physician can review it; insurers that are not in the catalog, with a suggestion; and missing attachments.
Fix, run again and save the mapping as a template: the next package from the same system reuses it even if the column order changes.
4. Decide how to handle repeats
If the ID document matches an existing chart, the clinical data and insurance are added to that chart and its personal data does not change. If you prefer to decide one by one, choose that in the mapping.
If only name and date of birth match, MedikoQ never merges on its own: the case goes to “Duplicates to review”, with the two charts side by side, to merge, create a new chart or discard with a reason.
5. Split the work between two people
Whoever prepares the import requests the final load; another person approves it or returns it with the reason. Whoever requested it cannot approve it.
Whoever approves needs, at that location, permissions to register patients, edit insurance and the clinical summary, and view visits: the load writes on their behalf.
6. Close the move
The load runs in batches and, if interrupted, resumes where it stopped. When it finishes, download the report in Excel or CSV: imported, added to existing charts, to review, skipped with their reason and with errors.
If something does not look right, the import can be undone as long as nobody has worked on that data. When everything is right, purge the package's files: what was imported stays on the charts with its provenance.
Short list: an export in FHIR or Excel/CSV in UTF-8, a ZIP of attachments, documents and dates reviewed, the date format decided, insurers matched, two people with their permissions and a clean trial run before requesting the load.
What does not fit a field is not lost: it stays under “Data from the previous system”, on each patient's chart.