Action record / #47
Duplicate patient · patient 180003
same person, confirmed on the phone or address [scripted staff responses (synthetic)]
- When
- Wednesday 11 November 15:50:00
- Call
- merge patient records ·
POST /Patient/$merge source=180003 target=45412 - Tier and status
- tier 2 approved
- Definition
- duplicate patient v1
- Decided by
- rules: Same name, birth date and sex, and postcode match.
- Controller
- Needs a person: merge_patient_records is tier 2 (ask first) in the policy. Merge a newly registered duplicate record into the older one, moving its bookings across.
- Signed off by
- Ines Wendmore (records lead, scripted)
- Undo
undo_merge_patient_recordsrestores the before-snapshot below
Evidence the detector returned
{
"bookings_affected": 0,
"bookings_on_new_record": 0,
"clinic_id": 16,
"dob": "1993-07-07",
"feed": "admin",
"mrn": "R14910063",
"name": "Finn Duncombe",
"other_mrn": "R6079301",
"other_patient_id": 45412,
"other_registered_at": "2001-11-15 14:46:51",
"patient_id": 180003,
"patient_ids": [
180003,
45412
],
"patients_affected": 1,
"phone_match": false,
"postcode_match": true,
"same_region": true,
"sex": "F",
"stake_note": "one patient split over two records",
"started_at": "2026-11-11T14:04:35"
}
Arguments
{
"other_patient_id": 45412,
"patient_id": 180003
}Before and after
{
"after": {
"appointments": [],
"patients": [
{
"id": 180003,
"merged_at": "2026-11-11T15:50:00",
"merged_into": 45412
}
]
},
"before": {
"appointments": [],
"patients": [
{
"id": 180003,
"merged_at": null,
"merged_into": null
}
]
}
}