Versions Compared

Key

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

...

 

Code Block
"patientInformation": {
        "additionalPatientInformation": {
            "title": "Additional Patient Information",
            "attributes": [
                "distanceFromCenter",
                "isUrban",
                "cluster"
            ]
        },
        "patientFinancialInformation": {
            "translationKey": "REGISTRATION_FINANCIAL_INFO_KEY",
            "shortcutKey": "REGISTRATION_FINANCIAL_ACCESS_KEY",
            "attributes": ["familyIncome", "debt"]
        },
        "hidden": {
            "attributes": [
                "RationCard","cluster"
            ]
        },
        "defaults":  {
            "class" : "General",
            "caste" : "Thakur",
            "isUrban" : true
        }
    }

There can be multiple sections like "additionalPatientInformation", "patientFinancialInformation", etc. Each section can have the related patient attributes like - "familyIncome", "debt", etc; and title and/or translation key and a shortcut/access key.  "hidden" is a special section which holds the patient attributes that should not be shown. 

So, "Other Information"

...

"Other Information" attributes = Attributes attributes are attributes that are not present in any of the section minus attributes specified in the hidden section.

...