dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #28834
Co-relation with two or more but mutually exclusive different data elements
Hello Devs,
I need a help to know little more about is there any functionality in DHIS with the help of which user can
co-relate two or more but mutually exclusive different data elements ( including option-set, or category-options-combos) ?
For example, there are three data elements in "Cause of Death" data set that associated with four data elements
given below
1. Gender
Option Set - Male, Female
2. How did injury occurred !
Option Set - Alleged Accident, Alleged Suicide, Alleged Homicide
3. Was the death associated with pregnancy !
Option Set - Yes, No
4. If Yes, was there a delivery !
Option Set - Yes, No
Use Case / Scenario :
While doing data entry in "Cause of Death" data set, for third data element ( ie. Was the death associated with pregnancy !) should be co-related with first data element ( ie. Gender ) with certain predefined occurrence of events like enable/disable.
For example,
a. ) If option set "Male" selected for first data element ie. "Gender" than third data element ie. "Was the death associated with pregnancy !" should be disabled in data entry screen. Similarly, if option set "Female" selected for first data element ie. "Gender" than third data element "Was the death associated with pregnancy !" should be disabled in data entry screen.
b.) If option set "No" selected for third data element ie. "Was the death associated with pregnancy !" than
fourth data element ie. "If Yes, was there a delivery !" should be disabled in data entry screen. Similarly, if option set "Yes" selected for third data element ie. "Was the death associated with pregnancy !" than fourth data element "If Yes, was there a delivery !" should be enabled in data entry screen.
Regards
Brajesh Murari
Follow ups