Quantcast
Channel: DHIS2 Community - Latest topics
Viewing all articles
Browse latest Browse all 2264

Incorrect display of option names in Line Listing for a MULTI_TEXT dataElement with optionSet

$
0
0

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_EMOPsychological/emotional violence, GBV_PSY_ADULTERYAdultery / 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.
    :small_orange_diamond: Example from my table:
Organisation GBV - Type of violence GBV - Type details
Organisation unit 1 Sexual violence Rape :white_check_mark:
Organisation unit 1 Psychological violence GBV_PSY_EMO,GBV_PSY_ADULTERY :cross_mark:

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 optionSet is fully configured with both codes and names.

Thank you very much for your support and insights :folded_hands:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 2264

Latest Images

Trending Articles



Latest Images