Birth and Death - UI Tech Documentation (Mono UI)

Objective:

  1. Register the Birth and death information of the citizen into the system.

  2. To Correct any wrong information which is captured earlier.

  3. To enable citizens to search and download their respective certificates.

Technical Details

Birth Certificate - New Registration

Both Birth and Death Forms will mostly be similar.

MDMS Used:

For Hospitals:

Hospitals are being configured at the city level

{ "tenantId": "pb.amritsar", "moduleDetails": [ { "moduleName": "birth-death-service", "masterDetails": [ { "name": "hospitalList" } ] } ] }

 

File Name:

Birth Registration:

frontend/mono-ui/web/rainmaker/dev-packages/egov-bnd-dev/src/ui-config/screens/specs/birth-employee/newRegistration.js

Death Registration:

frontend/mono-ui/web/rainmaker/dev-packages/egov-bnd-dev/src/ui-config/screens/specs/death-employee/newRegistration.js

Filename :

newRegistrationFooter.js

It will have all the logic related to the validation of the form, submission, and API call details.

APIs being used,

Birth - Create and Update API

  • birth-death-services/common/saveBirthImport

  • birth-death-services/common/updateBirthImport

Death - Create and Update API

  • birth-death-services/common/saveDeathImport

 

Search Certificate:


Search certificate is the same for both employee and citizen.

But the employee has only one view option,

Whereas citizens get Download for the first time and Pay & Download for the next downloads.

 

BIRTH_APPLICATION_CREATOR & DEATH_APPLICATION_CREATOR Roles will get the Birth Registration Button enabled in the search screen.

 

Citizen View

API Details

File Details,

frontend/mono-ui/web/rainmaker/dev-packages/egov-bnd-dev/src/ui-config/screens/specs/birth-common/getCertificate.js
frontend/mono-ui/web/rainmaker/dev-packages/egov-bnd-dev/src/ui-config/screens/specs/death-common/getCertificate.js


On Click of Pay and download :
It Generates demand for making a payment and after completing payment it downloads the certificate automatically.

Auto Download is configured in the following file,

postPaymentSuccess method enables the auto-download.

On Click of Download,

It searches for the filestore id and downloads the file.


My Applications

  • Citizen

Citizens will be able to download certificates and receipts from this My Applications screen.

Download receipt MDMS configuration to get the Birth and death in business service dropdown,

https://github.com/egovernments/egov-mdms-data/commit/bc9efec16a8c61e341e24be6a387939e36937675

 

How It Works Section

In the How It works section it just shows only the configured pdf to help citizens to download certificates.

Similarly in other environments, the same file has to be added to the Asset folder.

Also in Global config file
https://qa.digit.org/egov-qa-assets/globalConfigs.js
var assetS3Bucket = 'egov-qa-assets';
egov-qa-assets/BDUserManual_Citizen.pdf

should be added so it will be referred for downloading the file.

Localisation Module:

rainmaker-bnd

ROLE ACTION MAPPING

API

ROLES

ACTION ID

API

ROLES

ACTION ID

1

egov-mdms-service/v1/_search

 

954

2

birth-death-services/death/_search

BND_CEMP, CITIZEN,DEATH_APPLICATION_VIEWER,DEATH_APPLICATION_EDITOR

 

3

birth-death-services/birth/_search

BND_CEMP, CITIZEN,BIRTH_APPLICATION_VIEWER,BIRTH_APPLICATION_EDITOR

 

4

birth-death-services/birth/_getfilestoreid

BND_CEMP, CITIZEN

 

5

birth-death-services/death/_getfilestoreid

BND_CEMP, CITIZEN

 

6

birth-death-services/common/saveDeathImport

BND_CEMP,DEATH_APPLICATION_CREATOR

 

7

birth-death-services/common/updateDeathImport

BND_CEMP,DEATH_APPLICATION_EDITOR

 

8

birth-death-services/common/saveBirthImport

BND_CEMP,BIRTH_APPLICATION_CREATOR

 

9

birth-death-services/common/updateBirthImport

BND_CEMP,BIRTH_APPLICATION_EDITOR