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", etcas defined in OpenMRS. Each section can will 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, which are a subset of the patient attributes defined in OpenMRS, that should not be shown. 

So, The "Other Information" attributes are attributes that are not present in any section minus attributes specified in the hidden section.

...