A new record arrives in any shape
Notes, PDFs, CSV lab sheets, FHIR files and photos come in through one intake. CSV and FHIR are read by plain code, no model; the rest goes through an extraction step, then the patient is matched.
Each new fact is judged when it is written
The new fact is compared with what is already true on the same subject and gets one verdict: new, replaces, contradicts or repeats. 'Replaces' is allowed only when the new fact clearly makes the old one untrue.
A replaced fact is dated, never deleted
The old fact gets an end date and a link to what replaced it, so you can drag the timeline back to any date and ask why something changed. In the synthetic record, lisinopril is replaced by amlodipine on 20-04-2026.
No clear winner? A person decides
When two records really disagree, both are kept, both are flagged contested and both confidences are capped at 0.5, so the record shows doubt instead of guessing.