Action record / #13
Duplicate patient · patient 180002
same person, confirmed on the phone or address [scripted staff responses (synthetic)]
- When
- Tuesday 10 November 12:35:00
- Call
- merge patient records ·
POST /Patient/$merge source=180002 target=115746 - 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": 17,
"dob": "1962-07-03",
"feed": "admin",
"mrn": "R13324307",
"name": "Amara Greywell",
"other_mrn": "R6778112",
"other_patient_id": 115746,
"other_registered_at": "2013-08-14 21:53:58",
"patient_id": 180002,
"patient_ids": [
180002,
115746
],
"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-10T11:38:30"
}
Arguments
{
"other_patient_id": 115746,
"patient_id": 180002
}Before and after
{
"after": {
"appointments": [],
"patients": [
{
"id": 180002,
"merged_at": "2026-11-10T12:35:00",
"merged_into": 115746
}
]
},
"before": {
"appointments": [],
"patients": [
{
"id": 180002,
"merged_at": null,
"merged_into": null
}
]
}
}