Warning |
---|
THIS IS AN ARCHIVED PAGE, AND AVAILABLE FOR HISTORICAL REFERENCE. FOR LATEST PAGE ON CONFIGURING PATIENT ATTRIBUTES PLEASE SEE: Configure Person Attributes |
The Registration module allows for a flexible configuration of patient attributes that will suit several implementations. The following types of fields to be captured for a patient.
...
Code Block | ||||
---|---|---|---|---|
| ||||
"patientInformation": {
"additionalPatientInformation": {
"title": "Additional Patient Information",
"attributes": [
"distanceFromCenter",
"isUrban",
"cluster"
],
"order" : 1
},
"patientFinancialInformation": {
"translationKey": "REGISTRATION_FINANCIAL_INFO_KEY",
"shortcutKey": "REGISTRATION_FINANCIAL_ACCESS_KEY",
"attributes": ["familyIncome", "debt"],
"order" : 2,
"expanded": true
},
"hidden": {
"attributes": [
"RationCard","cluster"
]
},
"defaults": {
"class" : "General",
"caste" : "Thakur",
"isUrban" : true
}
} |
...
"defaults" - This section holds the default attributes to be populated in Registration Page for the Patient Attributes . Default datatypes can be applied to any type of Patient Attributes. For example:-concept, string, integer, boolean.
Configuring mandatory patient attributes
We can configure the patient attributes as mandatory by adding the following configuration under config in registration/app.json
Code Block | ||||
---|---|---|---|---|
| ||||
"mandatoryPersonAttributes": ["isUrban", "distanceFromCenter"] |
Configuring Display Order of Sections in Registration
...
The sections will be collapsed on the registration "Create New" new patient page. If any of the sections needed to be expanded on opening the page, "expanded : true" should be specified in the section(see above config for example).