mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 14:16:12 +00:00
fix(records): show a deleted practitioner on the live visits that name it
The web record and the doctor report named the practitioner of a live visit after the address-book entry was deleted; the MCP read, the search and the appointment reminder did not. All of them now name it, the entry stays out of the address book and the pickers, and a portable backup carries it as a tombstone instead of dropping the visit's reference.
This commit is contained in:
1 parent
ec2c067e60
commit
a275a5bb65
11 files changed
+159
-47
No files matched your search
@@ -16369,8 +16369,9 @@ paths:
|
||||
tags:
|
||||
- Records
|
||||
summary: Soft-delete a practitioner
|
||||
description: Stamps `deletedAt`. Every visit that named this entry survives with no practice attached, because the
|
||||
reference nulls rather than cascades. Idempotent. Audits as `practitioner.contact.delete`.
|
||||
description: Stamps `deletedAt`. The entry leaves the address book and the pickers; every live visit and vaccination
|
||||
that named it keeps showing it, and the tombstone is kept while one does. Idempotent. Audits as
|
||||
`practitioner.contact.delete`.
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
|
||||
Reference in new issue
Block a user