Availing Option set - otpions in building a Program Rule - Traker

Hi Markus,

Thanks for the great progress.

When building the program rules, is it possible to avail the options for a given data element or attribute.

Right now if you have a data element say Folic Acid given (Yes/No/Out of stock) you need to know the exact option and rigth spelling before you can use it for a given rule

Hide Number of Folic Acid if Given Folic Acid = ‘No’

Regards

···

Prosper Behumbiize, MPH
Global HISP| University Of Oslo/HISP Uganda
+256 752 751 776 | +256 776 139 139

ptb3000@gmail.com | prosper@dhis2.org | Skype: prospertb

Thank you Prosper.

It is great to see the functionality being picked up and to get feedback.

+1 to your point - We are working on functionality for inserting options into the expression. Using the name is also probably not the best way - what do you think about using the option code instead of name?

Best regards,

Markus

···

Prosper Behumbiize, MPH
Global HISP| University Of Oslo/HISP Uganda
+256 752 751 776 | +256 776 139 139

ptb3000@gmail.com | prosper@dhis2.org | Skype: prospertb

Thanks Markus,

Its the actual name is okay provided its picked from the dropdown list like the case below in Aggregate query builder

The code my be hard for when other users need to edit the rule.

BTW I added a bug to 2.20 the error messages and warning dont popup when using a tracker capture.

Regards

···

On Tue, Jul 7, 2015 at 11:19 AM, Markus Bekken markus.bekken@gmail.com wrote:

Thank you Prosper.

It is great to see the functionality being picked up and to get feedback.

+1 to your point - We are working on functionality for inserting options into the expression. Using the name is also probably not the best way - what do you think about using the option code instead of name?

Best regards,

Markus

  1. jul. 2015 kl. 20.18 skrev Prosper BT ptb3000@gmail.com:

Hi Markus,

Thanks for the great progress.

When building the program rules, is it possible to avail the options for a given data element or attribute.

Right now if you have a data element say Folic Acid given (Yes/No/Out of stock) you need to know the exact option and rigth spelling before you can use it for a given rule

Hide Number of Folic Acid if Given Folic Acid = ‘No’

Regards


Prosper Behumbiize, MPH
Global HISP| University Of Oslo/HISP Uganda
+256 752 751 776 | +256 776 139 139

ptb3000@gmail.com | prosper@dhis2.org | Skype: prospertb

Prosper Behumbiize, MPH
Global HISP| University Of Oslo/HISP Uganda
+256 752 751 776 | +256 776 139 139

ptb3000@gmail.com | prosper@dhis2.org | Skype: prospertb

Yes, thank you. The errors and warnings is generated in the model, but the ui for showing them is not finished.

Markus

···

On Tue, Jul 7, 2015 at 11:19 AM, Markus Bekken markus.bekken@gmail.com wrote:

Thank you Prosper.

It is great to see the functionality being picked up and to get feedback.

+1 to your point - We are working on functionality for inserting options into the expression. Using the name is also probably not the best way - what do you think about using the option code instead of name?

Best regards,

Markus

  1. jul. 2015 kl. 20.18 skrev Prosper BT ptb3000@gmail.com:

Hi Markus,

Thanks for the great progress.

When building the program rules, is it possible to avail the options for a given data element or attribute.

Right now if you have a data element say Folic Acid given (Yes/No/Out of stock) you need to know the exact option and rigth spelling before you can use it for a given rule

Hide Number of Folic Acid if Given Folic Acid = ‘No’

Regards


Prosper Behumbiize, MPH
Global HISP| University Of Oslo/HISP Uganda
+256 752 751 776 | +256 776 139 139

ptb3000@gmail.com | prosper@dhis2.org | Skype: prospertb

Prosper Behumbiize, MPH
Global HISP| University Of Oslo/HISP Uganda
+256 752 751 776 | +256 776 139 139

ptb3000@gmail.com | prosper@dhis2.org | Skype: prospertb