Project

General

Profile

Actions

Feature #353

open
NP NP

Canteen: Patient charges -- fail open when EMR/IPD enrichment is unreachable

Feature #353: Canteen: Patient charges -- fail open when EMR/IPD enrichment is unreachable

Added by Navya P. about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
10/12/2026
Due date:
% Done:

0%

Estimated time:
Resolved By:

Description

Caught against a real local failure: EMR (the patient registry) was not running in the dev stack at all, and GET /charges 500d even though every figure on the page comes from this module own DietChargeAccrual rows -- patient name and admission number are display enrichment, not the charge. ListForDateAsync now wraps both external calls (IPatientServiceContract, IAdmissionServiceContract) in their own try/catch, logs a warning, and returns the row with a null name/number instead of failing the whole list. Two new tests, each independently verifying the OTHER lookup still succeeds when one is down.

NP Updated by Navya P. about 1 month ago Actions #1

  • Status changed from New to Resolved
  • Resolved By set to Navya P.

Done. 563 unit + 829/831 integration (2 pre-existing unrelated failures). nuvita-canteen-management@44b65b3, pushed to integration/canteen-v1.

NP Updated by Navya P. about 1 month ago Actions #2

  • Assignee set to Navya P.
Actions

Also available in: PDF Atom