Re: [Dhis2-users] using report date in the program rule

2018-01-05 Thread Nada Ghosn
Good evening, Thank you for your message. I have tried the following: - having specific code for each target orgunit - having a data element: de_ic_orgunit - having a program event capture (pgm_icu) where de_ic_orgunit is included in the form - having a program rule: pr_ic_orgunit_code, where no co

[Dhis2-users] Updating datavalue using API

2018-01-05 Thread Jean de Dieu Anoubissi
Dear all Best wishes for 2018. I would like to know if it is possible to update (delect or change) data value using API This is an sql request I want to perform: 1. UPDATE datavalue SET categoryOptionComboid=IDA Where CategoryOptionComboid=IDB; 2. DELET from datavalue WHERE categoryoptionComboid

Re: [Dhis2-users] using report date in the program rule

2018-01-05 Thread Markus Bekken
Hi Nada, there is a variable that you can use to get the orgunit code in program rules, but not the orgunit name. The variable is addressed with V{orgunit_code}. For tracker programs this will be the enrolling orgunit, while for single event programs this will be the event orgunit. See table

[Dhis2-users] (no subject)

2018-01-05 Thread Stanley Kalyati
Hi All Does anyone happen to have a script for collapsing a section in a form or expanding it? My form is a bit long and i want some sections to be collapsible or expandable for data input? Thank you Stanley ___ Mailing list: https://launchpad.net/~dh