[Dhis2-users] Issue with generating weekly/monthly reports from daily numbers

2016-06-13 Thread Serghei Luchianov
Hi

Being somewhat new to DHIS2, I am experiencing trouble when generating reports 
from the raw daily data.

I have setup all the categories and category options, as well as data elements. 
I have created a dataset based on these elements and have entered a week's 
worth sample of data. Now, whenever I try to generate anything but a daily 
report, I get nothing.


-I am operating as admin so there are no restrictions on me

-I run them against appropriate OU (the one where I entered the data)

-I have re-run Analytics update.
-I've cleaned cache and I have even restarted the test server for a good 
measure.


For example I'm generating a vaccination report.

One of my data elements is BCG, Type: Aggregate, Datatype: Integer, Aggregate 
Operator: Sum.

This is my category hierarchy:

-Category Combination: "Above/Under 1 Year"

--Category: "Above/Under 1 Year"

---Category Element: "Above 1 Year"

---Category Element: "Under 1 Year"


Once I enter the data for OU ABC, I get two options:

-BCG Above 1 Year

-BCG Under 1 Year
and that works perfectly.

Then I manually run analytics in order to get aggregate data. I also clear the 
browser and data cache.

Then I generate a daily report for OU ABC and I am able to see the data that I 
entered.
At this point if I attempt to generate a weekly report or access a pivot table, 
I get no data.

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Capture coordinates

2016-06-13 Thread Sergio Valenzuela
Thanks for your reply Prosper.
We hadn't considered the program indicator option. We will give it a try.
Anyway, we finally won't use individual coordinates for sure (we realized
we don't need them).

Regards!


*Sergio Valenzuela*
Fundación EHAS
Telemedicina para países en desarrollo -* www.ehas.org
*
E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
Madrid - España
Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62



2016-06-13 7:34 GMT+02:00 Prosper BT :

> Dear Sergio
>
> If this is for the purpose of analysing events data and all events data
> are collected and should have registering facility coordinates then I dont
> think you need to capture coordinates for each event. because even if you
> collect individual events coordinates which are the same as facility, you
> will have them all appear at facility in GIS.
>
> I think you would rather use program indicator and build aggregate report
> indicators that you can use in GIS to display how many events are at each
> facility.
>
> Regards
>
> On Mon, May 23, 2016 at 1:13 PM, Sergio Valenzuela <
> sergio.valenzu...@ehas.org> wrote:
>
>> Hi Jason,
>>
>> Using *GIS app* you need to have coordinates on each event most of the
>> time in order to use* Thematic Layer and/or Event Layer* on maps, and I
>> understand what you say about "the event may be registered at the facility,
>> but actually took place some place different, such as in the community"
>> case scenario, but in the case we consider all the events take place at the
>> facility where the events get registered, It would be helpful for the
>> clerks who introduce the events data into the system to not have to
>> introduce the same coordinates over and over for each patient they
>> register. That's why I'm asking if there is any way (maybe using custom
>> forms??) to make the facility coordinates as a default value for the event
>> coordinates.
>>
>> Any suggestion to achieve this will be appreciated.
>>
>> Regards.
>>
>>
>> *Sergio Valenzuela*
>> Fundación EHAS
>> Telemedicina para países en desarrollo -* www.ehas.org
>> *
>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
>> Madrid - España
>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>
>>
>>
>> 2016-05-23 11:53 GMT+02:00 Jason Pickering :
>>
>>> Hi Sergio,
>>>
>>> I think this is configurable.
>>>
>>> [image: Inline image 1]
>>>
>>> If you do not want to capture the coordinates of each event, you do not
>>> need to.
>>>
>>> So for events which always have the same coordinates as the facility, it
>>> would seem that you would not need this. In certain use cases (others can
>>> describe more I think), the event may be registered at the facility, but
>>> actually took place some place different, such as in the community.
>>>
>>> Regards,
>>> Jason
>>>
>>>
>>> On Mon, May 23, 2016 at 11:32 AM, Sergio Valenzuela <
>>> sergio.valenzu...@ehas.org> wrote:
>>>
 Hi Jason,

 What I am asking for is a little bit different (I don't know if this is
 possible), I'll try to explain myself:

 Let's say we are in Sierra Leone at the Ngelehun CHC. We are capturing
 data in the "Inpatient morbidity and mortality program".
 Currently, every new event registration requires us to introduce the
 coordinates of Ngelehun CHC manually, so my question is: Is there any way
 to automatize this? (The event coordinates we have to introduce every time
 for each event are the same as Ngelehun CHC coordinates)

 I hope my question is more clear now.

 Regards.


 *Sergio Valenzuela*
 Fundación EHAS
 Telemedicina para países en desarrollo -* www.ehas.org
 *
 E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
 Madrid - España
 Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62



 2016-05-23 11:14 GMT+02:00 Jason Pickering >>> >:

> Hi there,
> We have added a new data value type called "Coordinates". This will
> allow you to record coordinates just a normal data value. Is this what you
> are looking for?
>
> Regards,
> Jason
>
>
> On Mon, May 23, 2016 at 10:43 AM, Sergio Valenzuela <
> sergio.valenzu...@ehas.org> wrote:
>
>> Hello all,
>>
>> Just to be sure and related to this topic, is there any way to
>> capture *event coordinates* in a default way? I mean, is it possible
>> to assign coordinates from an org unit to the events which are being
>> captured in this org unit in an automatic way? For the moment, we have to
>> introduce them manually with each event we register on one of our 
>> programs
>> in order to make these events visible on GIS app.
>>
>> I think this is not offtopic, but tell me if it is.
>>
>> Thanks!!
>>
>>
>> *Sergio Valenzuela*
>> Fundación EHAS
>> Telemedicina para países en desarrollo -* www.ehas.org
>

Re: [Dhis2-users] Tracker program stage reporting date

2016-06-13 Thread Sultanahamar Mohammad
Hi Lars,

Our particular use case was to use event dates from two different stages
and create a indicator. Someone from dhis already replied that this is not
part of functionality yet. Event date for each stage is not part of Data
elements, variables, attributes and constants which show up while creating
an indicator and hence the problem.

*Example*: Number of days between Admission Date(event date of stage
admission) and Discharge date (event date of stage discharge).

Regards,
Sultan Ahamar.


On Mon, Jun 13, 2016 at 1:20 PM, Lars Helge Øverland  wrote:

> 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 . 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 <
> sult...@thoughtworks.com> 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  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 <
>>> sult...@thoughtworks.com> wrote:
>>>
 adding dhis2 users in the loop.

 Regards,
 Sultan Ahamar.

 On Tue, May 31, 2016 at 3:39 PM, Sultanahamar Mohammad <
 sult...@thoughtworks.com> 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@lists.launchpad.net
 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
>>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>>> prospertb
>>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> 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
> l...@dhis2.org
> http://www.dhis2.org 
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Tracker program stage reporting date

2016-06-13 Thread Lars Helge Øverland
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 ., 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 <
sult...@thoughtworks.com> 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  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 <
>> sult...@thoughtworks.com> wrote:
>>
>>> adding dhis2 users in the loop.
>>>
>>> Regards,
>>> Sultan Ahamar.
>>>
>>> On Tue, May 31, 2016 at 3:39 PM, Sultanahamar Mohammad <
>>> sult...@thoughtworks.com> 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@lists.launchpad.net
>>> 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
>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>> prospertb
>>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> 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
l...@dhis2.org
http://www.dhis2.org 
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Registering new patient in tracker - fine on Android, error on web

2016-06-13 Thread Abyot Asalefew Gizaw
Hi Jens,

It seems you have some of the attributes not loading on the client. Can you
clear 
your browser cache and try one more time?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Jun 10, 2016 at 3:57 PM, Jens Johan Kaasbøll 
wrote:

> Hi
>
> We are running the DHIS version 2.23, Build revision: 22969, Build date:
> 2016-05-25 05:44
>
> Using Tracker capture on the Android app works fine.
>
> However, we don't succeed with the web app. After pushing
>
> Register
>
> the attached form appear without the fields for the patient details.
> Pushing Save and Continue produces the Error message
>
> Form is empty, please fill at least one.
>
> There are many fields in the Program metadata, attached screenshot.
>
> Is this a problem with the Build?
>
> Best regards from Strathmore, Nairobi,
>
> Jens Kaasbøll
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp