Bug description:
If child's age <= 10 years, NID should be created for birth events. But currently all birth records have NID in certificates regardless of the defined logic.
Steps to reproduce:
- Register a birth event with
- Child's DOB more than 10 years ago
- Mother doesn't have verified/ authenticated ID.
- Father doesn't have verified/ authenticated ID.
- Observe the certificate after registering.
Actual result:
NID is being created for all birth declarations regardless of the defined logic.
Expected result:
NID should be created for the birth events that checks all the defined criteria.
- child's age <= 10 years
- mother/ father has verified ID
Recording:
Tested on:
https://register.v19-beta-prod.opencrvs.dev/