Dear DHIS2 community,
I’m currently facing an issue with how values are displayed in the Line Listing app (DHIS2 version 2.42.0), and I would like to know if this is a known limitation or a misconfiguration on my part.
I’m implementing a Tracker program for gender-based violence (GBV) case management . As part of this, I have created a dataElement with the following configuration:
Name: GBV - Type details (incident)
Value type: MULTI_TEXT
Associated optionSet
The optionSet contains 15 options with defined codes and names (e.g. GBV_PSY_EMO → Psychological/emotional violence, GBV_PSY_ADULTERY → Adultery / forced polygamy).
Users can select multiple types of violence for a single incident.
Problem observed in Line Listing
When I visualize this field in the Line Listing app, I see the following behavior:
- When only one option is selected, the option name is correctly displayed (e.g. Rape).
- But when multiple options are selected, the app displays only the codes (e.g.
GBV_PSY_EMO,GBV_PSY_ADULTERY), not their human-readable names.
Example from my table:
| Organisation | GBV - Type of violence | GBV - Type details |
|---|---|---|
| Organisation unit 1 | Sexual violence | Rape |
| Organisation unit 1 | Psychological violence | GBV_PSY_EMO,GBV_PSY_ADULTERY |
My questions
- Is this the expected behavior or a bug?
- Is there something I misconfigured (e.g.
optionSetValue, other parameters)? Or are there best practices for handling this scenario?
Additional information
- DHIS2 version:
2.42.0 - Application:
Line Listing - The
optionSetis fully configured with bothcodesandnames.
Thank you very much for your support and insights ![]()
