dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #15590
Option sets in program indicators
-
To:
"dhis2-users@xxxxxxxxxxxxxxxxxxx" <dhis2-users@xxxxxxxxxxxxxxxxxxx>
-
From:
Natalie Tibbels <ntibbel1@xxxxxxx>
-
Date:
Tue, 10 Apr 2018 16:15:14 +0000
-
Accept-language:
en-US
-
Ironport-phdr:
9a23:pM4PoBT2jLj9uKAzX81+/emFWNpsv+yvbD5Q0YIujvd0So/mwa6yYRaN2/xhgRfzUJnB7Loc0qyK6/umATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfb1/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/mHJhMJtkKJVrhGvpx1jzIHbe4yaLuZyfqbHcN8GWWZMXMBcXDFBDIOmaIsPCvIMM/5CoInhvVQOqRq+ChexD+3xyz9HnWT50rM+0+Q6DArL2wogH84PsHvPt9r6KqMSXf2uwanKzTXDcula1ing54jVax0sp+yHU7FoccfJ1EUjCxnJgkiQpID/PD6Y0v4Bv3WH4+Z8Te6jlnIrpxtsrjWtyMogkI3Ei4APxlza6Cl0wJ45JdOmR0N4fdKpFZ5duDyHO4Z0Xs8vRntntSc6x7IbvJO2cjUFxZA5yxPacfOIaYaI7xblWe2MOzl3nmhld6i6hxuq9EigzfDzWdes3VZRqypFjsHMtncQ1xzP8sSHSuVy/kOm2TuX2A7d9+BKL08pmKTUKpEt36M8moAdsETCGC/6gl/5g7KMekUm+uio9v7rbav7qZ+BL4N0iwf+PboymsGnHOg0LhICU3Wb9Oim17Du+Vf1TKhWgvEqiqXZtYrVJcUfpq63GQ9V1YMj5g65Dze60dQXhmIII0xBeB6alIXpOVHOIO3iAfihnlusjS9nx+raMb35HpXNMn/Dna/8crZ96k5c0xQ/wclC55JPFL4BOunzV1T1tNzZFR85Lxe0z/zjCNpny4MeX36AAq+BMKzIrFCE/OQvLPeQZNxdhDGoYfQl5uW0yGIilEUGVa2oxocMLnSxA/JtI12QbTzqj8tLWTMGvgslFqn3k1CYShZXZm2uROQ47yw9A4K+BIuFQI2x1u+vxiC+S7tfemlCC13ELXbifYiAQL9Ybj6TKMVslmUsV7i8DYItyEf950fB17N7I7+MqWUjvpX52Y0t6g==
-
Thread-index:
AQHT0OcbpLvxohO+uUCAiKtDSl5PhA==
-
Thread-topic:
Option sets in program indicators
Hi all,
For program indicators, do option set codes count as number values in an expression/filter? I want to create a program indicator that captures whether ANY response was given to a particular data element in a tracker program stage (with response type text using an option set with 11 options, codes: 01, 02, 03…11). I want to sum all of the cases where the user selected ANY option for that data element.
Does this make sense?
Program expression: Enrollment count. [or TEI count?]
Program filter: {#uidofdataelement} >='01' and #{CDbxAsttXzY.mFhpwpIv7ci}<='11'
Is there a better way to do this? Am I right that d2:hasValue cannot be used if the response type is an option set?
Thanks,
Natalie
Follow ups