Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

In Bahmni, patient identifiers are configurable. The default patient identifier prefix can be configured on the Registration page.

Steps

1. Add or Edit a Patient Identifier

To add a new patient identifier or edit an existing one, please refer to this document: Patient Identifier

2. Display the Default Identifier Prefix for Primary Identifier Type

On the Patient Registration page if you want to display a default identifier prefix for primary identifier type , please add the following configuration under config section in the registration/app.json file.

Code Block
languagejs
linenumberstrue
"defaultIdentifierPrefix”:source name of identifier/prefix

Example:

Code Block
languagejs
linenumberstrue
“config”:{
  "defaultIdentifierPrefix”:”GAN”
}

If the default identifier prefix is not provided, or if it is empty or invalid, Bahmni will pick the first patient identifier prefix after sorting the available identifier prefixes in alphabetical order, as the default identifier prefix.

Note: this configurations works only for the primary identifier type, not for the extra identifier types.

3.Restricting the user from manually entering patient id

We have Enter Id option if user wants to manually enter the patientId for the patient. By default this option is enabled.

Image Removed

 

To restrict the users from manually entering the id, add the following configuration.

Code Block
languagejs
titleHiding Enter Id option
"config":{ "showEnterID":false }

Tip
titleOn this Page

Table of Contents