Configurations Details
Overview
This guide details the configuration updates required in MOSIP to enable CRVS-initiated birth and death registration requests. It covers ID schema changes to add key fields, updates to authentication policies, property files, and identity mapping, along with new Camel routes and workflow settings. These changes ensure the proper handling and processing of vital events within the MOSIP ecosystem.
ID Schema Update for Initiating Infant Birth Requests
Before initiating an infant birth registration request from the CRVS system, updating the ID schema in MOSIP to include the necessary fields required for capturing introducer information is essential.
The following fields should be added to support the processing of infant birth registration requests:
introducerInfoToken (Optional)
Description: A user information token representing the individual reporting the infant's birth to CRVS.
ID Schema Update for Initiating Death Requests
Before initiating a death registration request from the CRVS system, updating the ID schema in MOSIP to include the necessary fields required for capturing information related to the deceased and informant is essential.
The following fields should be added to support the processing of death registration requests:
deceasedDeclarationDate (Optional)
Description: The date on which the individual was declared deceased.
declaredAsDeceased (Mandatory)
Description: A flag indicating that the individual has been officially declared deceased.
typeOfDeath (Optional)
Description: Specifies the nature of the death, such as natural or jurisdictional.
deceasedInformer (Optional)
Description: A user information token representing the individual reporting the death to CRVS.
Configuring mosip-auth-policy
After updating the ID schema with the necessary fields for birth/death registration, corresponding changes must be applied to the default authentication policy. This step ensures that the new fields are correctly reflected in the ID authentication module particularly required when the authentication process involves the national ID of a deceased individual.
To include the new attributes in the authentication policy:
Update the existing
policy_file_id
by appending the newly added fields.Execute the upgrade script to apply the changes.
Below is a sample SQL script for updating default-authpolicy
to include the field declaredAsDeceased
:
Properties Added
The following property files have been updated with the mentioned properties to support the new functionality:
application-default.properties:
mosip.kernel.idobjectvalidator.mandatory-attributes.reg-processor.crvs_new
Mandatory attributes for infant birth registration flow.mosip.kernel.idobjectvalidator.mandatory-attributes.reg-processor.crvs_death
Mandatory attributes for death registration flow.provider.packetreader.crvs1
Packet reader for the source with the name CRVS1. This property should be updated if the source name is changed.provider.packetwriter.crvs1
Packet writer for the source with the name CRVS1. This property should be updated if the source name is changed.
Fields Added to identity-mapping JSON:
deceasedDeclarationDate
declaredAsDeceased
typeOfDeath
New Camel Routes:
registration-processor-camel-routes-crvs_death-default.xml New Camel route for death registration packet processing.
registration-processor-camel-routes-infant-crvs_new-default.xml New Camel route for infant birth registration packet processing.
registration-processor-default.properties:
registration.processor.additional-process.category-mapping
Mapping of the additional process to the internal process.registration.processor.vid-support-for-update
Enables VID support for updates.mosip.regproc.workflow-manager.instance.api-id
Unique ID for the workflow instance API.mosip.regproc.workflow-manager.instance.version
A version of the workflow instance API.registration.processor.notification.additional-process.category-mapping
Mapping of the additional process to the internal process for notification.
Last updated
Was this helpful?