Versions Compared

Key

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

...

There is a config.json file created to configure the patient registration screen as per each deployment fields. Config file is a JSON file that stores data in key-value pairs.

-sample code:

{
"mFirstName":true,
"mMiddleName":false,
"mLastName":true

}

In the above code, the firstname and lastname fields are set to true which means only this fields would be visible to the end user of the app for that specific location. Whereas the field middlename is set to false which states that this field will be hidden for that specific location.

-Where to store the config.json file:

The config.json file has to be stored under the Android directory of our cloned app.

...

-Steps to configure the config.json file:

  1. config.json file is a deployment specific json file which contains values based on different locations.

  2. To edit → right click on config.json file → open with → notepad.

...

3. Edit the changes:

a. State the Boolean value as true for each of the required field of the patient registration form which are required.

b. State the Boolean value as false for each of the required field of the patient registration form which are not required.

...

4. Save the changes made:

Click on File → Save.