[Dhis2-devs] Calculation of conditional Indicators

2017-05-10 Thread Sam Kasozi
What is the best approach for creating conditional indicators for routine/ aggregate data such as facilities reporting stock outs or facilities providing a service? Besides creating new data element [Yes/No or (1/0)] that is assigned in the custom form whenever the condition is found to be true, i

Re: [Dhis2-devs] Calculation of conditional Indicators

2017-05-10 Thread Ola Hodne Titlestad
Hi Sam, You may consider collecting some of this data with single events (routine surveys/assessments) and then use program indicators or event data item aggregation to get the aggregate numbers you are looking for. Ola --- https://www.avast.com/sig-email?utm_medium=email&utm

Re: [Dhis2-devs] [Dhis2-users] Calculation of conditional Indicators

2017-05-10 Thread Prosper BT
Dear Ola, Thanks for sharing this workaround, the two challenges may be wanting to keep same data with the aggregate data in entry because most of the time its within one form and may be inconveniencing switching between entry screens. Remember we had suggested to write a script that can update s

Re: [Dhis2-devs] Event data values are stored with option code which is not unique

2017-05-10 Thread David Siang Fong Oh
Hi all, Yes Olav is correct; our concern is that it is possible to assign duplicate codes to *multiple options within an optionSet*. It presents a data integrity issue when displaying an event because you are not able to determine the specific option selected as the value for a data element. It al

Re: [Dhis2-devs] [Dhis2-users] Calculation of conditional Indicators

2017-05-10 Thread John Mukulu
Hello Prosper at all, As discussed earlier, we're working on rather complete solution to this problem, rather than work arounds, you can get a sneak peak, https://play.dhis2.org/dev/api/apps/function-manager/index.html The idea is you function will serve as analytics, but gives you room to impose

Re: [Dhis2-devs] [Dhis2-users] Calculation of conditional Indicators

2017-05-10 Thread Sam Kasozi
Thanks, Ola and Prosper. The data is indeed part of the aggregate forms. And since we are importing the data, we might consider pre-calculating the values prior to the import process. regards, Sam Kasozi +256 788-993-565 Skype: sam.kasoziug On Wed, May 10, 2017 at 2:56 PM, Prosper BT wrote: >

Re: [Dhis2-devs] [Dhis2-users] Importing data for trackedentityattributes

2017-05-10 Thread Morten Olav Hansen
Hi Have you had a look at our tracker docs? [1][2] [1] https://docs.dhis2.org/master/en/developer/html/webapi_events.html [2] https://docs.dhis2.org/master/en/developer/html/webapi_tracked_entity_instance_management.html -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://ww