As a system user completing a declaration I want to pre-populate the form from the QR code (offline) in order to ensure integrity of data across CR + ID #7939
Reusable component that can be used throughout (any vital event) declaration (or other) form
If no ID card, the user can complete the form manually
If ID card presented, user scans the QR code of the card using mobile/tablet (requires QR code reader ancillary if desktop)
OpenCRVS checks the authenticity of the digitally signed QR code - presents “valid” / “invalid” to the user
If VID is “valid”, personal biographic data from QR code are used to pre-populate form (mapping of biographic data from the QR code to OpenCRVS fields)
Pre-populated data is editable, in which case the authenticity status of the digitally signed QR code (“valid”) is removed
It should be possible to make fields / supporting documents conditional based on the QR code authenticity status
Once form is submitted and being reviewed the QR code authenticity status is viewable. As above, edits to pre-populated data are possible, meaning the authenticity status of the digitally signed QR code is removed.
Description
Design
Acceptance criteria