← Back to team overview

dhis2-users team mailing list archive

Re: Tracker program stage reporting date

 

Hi Sultan,

I agree it would be useful to have a "special" variable for counting events
per program stage.

Just to sure we are answering your question, could you please tell us
exactly which indicator expression you are trying to create?

Assuming you simply want to count the number of admission, i.e. events in
the admission stage, there is a workaround:

- Identify a data element which is compulsory and always collected for that
stage.

- Set up a program indicator with the that data element only as expression.
Note that data elements are defined as <program stage>.<data element>, so
that will return events for that program stage only.

- Set aggregation type to count.

> This will give the count of events (again, assuming there are values for
this element for each stage).


Indicator example:

https://play.dhis2.org/demo/dhis-web-maintenance-program/showUpdateProgramIndicator.action?id=858938

Pivot example:

https://play.dhis2.org/demo/dhis-web-pivot/index.html?id=kdUcGUwGEil



Let us know a bit more and we can think of how to make this easier.

regards,

Lars





On Mon, Jun 13, 2016 at 7:32 AM, Sultanahamar Mohammad <
sultanm@xxxxxxxxxxxxxxxx> wrote:

> Hi Prosper BT,
>
> we are able to aggregate the events but we are not able to use the event
> date itself in indicators. We have different event dates for different
> stages. But they are not coming up while creating indicators.
>
> Regards,
> Sultan Ahamar
>
> On Mon, Jun 13, 2016 at 10:40 AM, Prosper BT <ptb3000@xxxxxxxxx> wrote:
>
>> Dear Mohammad,
>>
>> Its the "event date", when you line list it will appear and when you
>> aggregate event its what is used for aggregation for a given period.
>>
>> Regards
>>
>> On Wed, Jun 1, 2016 at 10:40 AM, Sultanahamar Mohammad <
>> sultanm@xxxxxxxxxxxxxxxx> wrote:
>>
>>> adding dhis2 users in the loop.
>>>
>>> Regards,
>>> Sultan Ahamar.
>>>
>>> On Tue, May 31, 2016 at 3:39 PM, Sultanahamar Mohammad <
>>> sultanm@xxxxxxxxxxxxxxxx> wrote:
>>>
>>>> Hi All,
>>>>
>>>> Reporting date in every stage of tracker is not visible while creating
>>>> program indicators and also in event visualizer. Is there anything that we
>>>> are missing.
>>>>
>>>> We have created a program with two stages
>>>> 1. Admission (Reporting date -> admission date)
>>>> 2. Discharge  (Reporting date -> discharge date)
>>>>
>>>> Now, to understand on number of people admitted in a month, I want to
>>>> use reporting date of admission stage. But, I am not able to create this
>>>> indicator as reporting date is not present in the list of data elements or
>>>> variables. Could you please help us in this.
>>>>
>>>> Regards,
>>>> Sultan Ahamar.
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Prosper Behumbiize, MPH
>> Global DHIS2 Implementation| HISP Uganda/University Of Oslo
>> +256 752 751 776 | +256 776 139 139
>> prosper@xxxxxxxxxxxxxx <ptb3000@xxxxxxxxx> | prosper@xxxxxxxxx | Skype:
>> prospertb
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@xxxxxxxxx
http://www.dhis2.org <https://www.dhis2.org/>

Follow ups

References