fixes: PromoteAsync (retry path) does not create clinical entities + Patient deduplication by exact name + DOB is fragile + Batch assignment creates inconsistent interim state

This commit is contained in:
voltsrage
2026-06-27 14:15:40 +08:00
parent 66ae95956a
commit 46c3492bb9
8 changed files with 1195 additions and 1107 deletions
@@ -1,7 +1,11 @@
public record PromotionResult(
Guid BatchId,
Guid PatientId,
string Mrn,
Guid EncounterId,
Guid[] ObservationIds,
int ObservationsPromoted,
int OutboxEventsWritten,
bool IsCorrection,
SupersessionResult? Supersession
);