Re: [Dhis2-users] Program Indicator with Period as Condition

2017-06-07 Thread Markus Bekken
Hey Stanley, currently thats not possible to do exactly as defined below. When using the enrollment analytics type, the repeated events is "flattened", so you can only query the newest data value for each data element within each program stage. You would have to model your data for the purpose i

Re: [Dhis2-users] Program Indicator with Period as Condition

2017-06-06 Thread Stanley Kalyati
Hi Markus and All thank you for your help with regards to program indicators evaluation between period.i.e Finding all patients that is negative and with more than 120 days since the last service can be done in 2.26 and later with the following program indicator: Analytic type: Enrollment Aggreag

Re: [Dhis2-users] Program Indicator with Period as Condition

2017-06-01 Thread Immaculate Ayebazibwe
Thank you Markus, Will get back to you. Thank you and Kind Regards *Immarcqulate. A (Emma Kassy) * *"You miss 100% of the shots you don't take."* On Thu, Jun 1, 2017 at 1:04 PM, Markus Bekken wrote: > Hi there Stanley and Emma, > sorry for the delay. > > For Emmas Question - To count wether

Re: [Dhis2-users] Program Indicator with Period as Condition

2017-06-01 Thread Markus Bekken
Hi there Stanley and Emma, sorry for the delay. For Emmas Question - To count wether someone has received services or not - but avoid counting them twice - you can make the following indicator: Analytic type: Event Aggregation operator: Count Expression: V{tei_count} Filter: V{program_stage_uid}

Re: [Dhis2-users] Program Indicator with Period as Condition

2017-06-01 Thread Stanley Kalyati
Any update on this? Eagerly waiting for ideas. Stanley On Wed, May 31, 2017 at 2:08 PM, Stanley Kalyati wrote: > This another good observation.Let me also benefit from this. > > Stanley > > On Wed, May 31, 2017 at 1:26 PM, Immaculate Ayebazibwe > wrote: > >> Hi Markus, >> >> Stanley, I hope I

Re: [Dhis2-users] Program Indicator with Period as Condition

2017-05-31 Thread Stanley Kalyati
This another good observation.Let me also benefit from this. Stanley On Wed, May 31, 2017 at 1:26 PM, Immaculate Ayebazibwe wrote: > Hi Markus, > > Stanley, I hope I am not hijacking the conversation. > > Is it possible to just count that some one received the HTC services in a > given period a

Re: [Dhis2-users] Program Indicator with Period as Condition

2017-05-31 Thread Immaculate Ayebazibwe
Hi Markus, Stanley, I hope I am not hijacking the conversation. Is it possible to just count that some one received the HTC services in a given period and not how many times they received this service. Like Stanley said, this is a service offered on a daily/weekly basis and in order to avoid doub

Re: [Dhis2-users] Program Indicator with Period as Condition

2017-05-31 Thread Stanley Kalyati
Markus, You have just hit the nail on the head.All those conditions are what am looking for. Please guide. Thanks Stanley On May 31, 2017 9:50 AM, "Markus Bekken" wrote: > Hey again, > Do you want to evaluate the interval _between_ the visits in the HTC stage > for negative patients, and cla

Re: [Dhis2-users] Program Indicator with Period as Condition

2017-05-31 Thread Markus Bekken
Hey again, Do you want to evaluate the interval _between_ the visits in the HTC stage for negative patients, and classify them depending on wether it was more or less than 120 days since the last visit? Or did you mean that you want to count patients currently negative, and where the last HTC v

Re: [Dhis2-users] Program Indicator with Period as Condition

2017-05-30 Thread Stanley Kalyati
Markus, Thanks for coming through. I have a program with 3 stages.HTC,ART,Viral Load. HTC is set for daily since clients come for testing each day.And we also do analysis with regards to those that came to access HTC services per week.Now those that turn negative are supposed to return for a ret

Re: [Dhis2-users] Program Indicator with Period as Condition

2017-05-30 Thread Markus Bekken
Hi Stanley, It would be great if you can give some more specifics on your use case. Which program stages do you have, and what dates/intervals are you interested in within these - or within the tracked entity attributes? Best regards Markus > 30. mai 2017 kl. 21.37 skrev Stanley Kalyati : > >

[Dhis2-users] Program Indicator with Period as Condition

2017-05-30 Thread Stanley Kalyati
How can I configure an indicator that will first look at the period taken for one to access a service and then count the second visit and service and second or repeat test. I.e I want to identify people that got tested for a soecif period of time.And one is within this group then the system will c