...
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.
The form to be printed is showing the header1 as Patient Management Plan and the header2 as [Project Name] as it has been predefined in the config.json file in that manner so.
...
location 1:
middle name value is set to true. Therefore it is displayed in the patient registration form.
...
country is set to India therefore, it is shown as India in the country spinner.
Location 2:
middle name value is set to false. Therefore it is not displayed in the patient registration form.
...
Country is set to India therefore, it is shown as India in the country field spinner.
...
-Where to store the config.json file:
...