-
Type:
Task
-
Resolution: Unresolved
-
Priority:
High
-
Affects Version/s: None
-
None
-
AMRIT Sprint 47, AMRIT Sprint 48, AMRIT Sprint 49, AMRIT Sprint 50, AMRIT Sprint 51
-
Platform
-
All
In the /healthID/mapHealthIDToBeneficiary flow, both healthId and healthIdNumber are being saved with the same ABHA number value (e.g., "54-4731-7334-8040").
The issue results in incorrect data in the m_benhealthidmapping table, where both fields point to the ABHA number instead of maintaining the intended distinction between ABHA number and ABHA address.
Expected Behavior:
- healthIdNumber should store the 14-digit ABHA number (e.g., 54-4731-7334-8040).
- healthId should store the ABHA address extracted from phrAddress (e.g., username@abdm).
Steps to Reproduce:
- Generate a new abha address and observe the healthId and healthIdNumber are being sent the same during healthIDRecord/mapHealthIDToBeneficiary (this must be fixed in frontend and optionally backend can provide validation)
**