[Uganda project - Technoforte team] Age-based validation does not respect child DOB when mother DOB is unknown #11687
-
TitleAge-based validation does not respect child DOB when mother DOB is unknown SummaryIn the birth declaration flow, when the mother’s exact date of birth is unknown, the system allows entering the mother’s age as a numeric value. However, the current age validation does not account for the child’s date of birth, which can result in logically invalid parent–child age relationships being accepted. Current Behavior
Example scenario
This value is currently accepted because it satisfies the AGE field’s minimum value, even though it is logically impossible for the mother to be younger than the child. Problem StatementWhen the mother’s DOB is unknown and age is entered manually, the system does not validate the entered age against the child’s date of birth. As a result, cases are accepted where:
Expected BehaviorWhen the mother’s DOB is unknown and the mother’s age is entered manually:
(child’s age at registration) + minimum age difference Example (expected)
Any value below 36 should be invalid. Why This Matters
Clarification Requested
Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
@Abhay-Dev-Gautam A ticket has been created for this. Please follow it here: #11702 |
Beta Was this translation helpful? Give feedback.
@Abhay-Dev-Gautam A ticket has been created for this. Please follow it here: #11702