Re: [Dhis2-users] [Dhis2-devs] Indicator totals count is incorrect

2018-09-19 Thread Nayeem Al Mifthah
Hi Calle
Hope you doing well.

You are correct in a sense of different analytics type may required for
indicator aggregation :-)

There are better and easy way to calculate. If you minutely look at my
earlier mail, probably you identify that, I have written to perform
aggregation according to aggregation type of the particular data element,
which might be sum, average, average (sum in organisation unit hierarchy
etc.). After that the indicator calculation should done.

Probably my earlier mail have difficulties to understand due to only one
example. Let me give another example as well-

Probably there is a data element for number of doctors posted in an health
facility with aggregation type average (sum in organisation unit hierarchy)
and another data element for number of patient visited with aggregation
type sum.

Now you might have the below data table-

Hospital A, January, Doctor posted- 6
Hospital A, February, Doctor posted- 4
Hospital A, March, Doctor posted- 6

Hospital A, January, Patient visited- 3000
Hospital A, February, Patient visited- 4000
Hospital A, March, Patient visited- 6000

Hospital B, January, Doctor posted- 40
Hospital B, February, Doctor posted- 50
Hospital B, March, Doctor posted- 80

Hospital B, January, Patient visited- 4
Hospital B, February, Patient visited- 3
Hospital B, March, Patient visited- 4

___
If you want to calculate average number of patient seen by one doctor, you
can find-
Hospital A in January- 500
Hospital A in February- 1000
Hospital A in March- 1000

Now if you want to make the same indicator for first quarter there is no
way to calculate from 500, 1000, and 1000. There average is 833 which is
not actually expected result, even the sum 2500 is not also expected value.

The best way is to make sum of patient as per the aggregation type of the
data element which gives (3000+4000+6000)= 13000 and make average number of
doctor posted for the period (6+4+6)/3= 5.33. Now if we done the
calculation for the indicator we found 13000/5.33= 2439 patient has been
seen averagely by one doctor in first quarter.
___

Again, if you want to calculate the same indicator for-
Hospital A in January- 500
Hospital B in January- 1000

Now, if you want to calculate for Hospital A and B together, there is no
way to find desired value from 500 and 1000. The average is 750 and sum is
1500 which are not expected.

The desired output should be (Patient visited hospital A in January, 3000 +
Patient visited hospital B in January, 4) / (Doctor posted in Hospital A,
6 + Doctor posted in hospital B, 40).
Result 43000/46 = 934 patient per doctor.
___

The same way of calculation is also applicable for indicators which build
in combination of organization unit, program indicators and others.

Sorry for the long mail, but hope it clarifies. :-)

Regards-
*Nayeem Al Mifthah*
*Health Information Systems Specialist*
Support to the National HMIS
MIS, Directorate General of Health Services
Ministry of Health and Family Welfare, Bangladesh
Telephone: +880-2-58816459|Fax: +880-2-58813875
Mobile:  +88-01914 030 574|Email: n.mift...@gmail.com
Skype: nayeem.a.m|   LinkedIn:  linkedin.com/in/nayeemam


On Wed, Sep 19, 2018 at 2:22 AM Calle Hedberg 
wrote:

> Folks,
>
> This has been repeated ad nauseam - as you say, most health indicators
> should in general be calculated as sum(numerator)/sum(denominator), whether
> it's aggregated in the time or in the geographic dimension. That is because
> most aggregated data elements used to calculate indicators are counts of
> many discrete events.
>
> Yes, we need some alternative processing for
> - "number only" indicators (aka "Calculated data elements") and certain
> indicators
> - indicators that include data elements representing "levels" (e.g.
> hospital beds, or staff numbers - those can be summed up geographically but
> must be averaged over time).
>
> Most of the underlying meta-concepts are in the DHIS already (data types,
> aggregation types), but implementing it fully requires quite a bit of
> re-engineering analytics - which hopefully will be done for 2.31 :-)
>
> Regards
> Calle
>
> On Tue, 18 Sep 2018 at 19:03, Nayeem Al Mifthah 
> wrote:
>
>> Might be same behavior desires for totals as well.
>>
>> Regards,
>> Nayeem Al Mifthah
>> Kindly ignore typos.
>>
>> On Tue, 18 Sep 2018, 22:35 Nayeem Al Mifthah, 
>> wrote:
>>
>>> Hi Lars and others
>>> I have commented on an old issue DHIS2-575 about the desired behaviour
>>> ...
>>>
>>> I think expected behavior should calculate the element aggregation as
>>> per aggregation type of that perticular data elements first and later
>>> calculate the indicator. Example:
>>>
>>> If number of patient visited OPD in January is 200 and number of
>>> admission in January is 40. In that case, comparison of admission to OPD is
>>> 20%.
>>>
>>> And in February, number of OPD visit in February is 

[Dhis2-users] (no subject)

2018-09-19 Thread Romain OLEKHNOVITCH
Dear all,

I am facing issues with data entry when logging in as a user with limited
rights (data entry module and dashboard): I always get the message "You are
offline, data will be stored locally" (even with a good wifi access).

This does not happen when the same user is given superuser rights, so it
seems that is related to user rights.

Does anyone has an idea to solve this problem?

(I'm using a DHIS2 2.28)

Thanks,


-- 

Romain OLEKHNOVITCH

Project Manager & Data Lead

t: +32 2 319 47 99

m: +32 487 47 19 39
s: romain.olekhnovitch

www.bluesquarehub.com
[image: twitter.png]  [image: facebook.png]
 [image: linkedin.png]

___
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] Calculation indicator for some organisation unit in the formula

2018-09-19 Thread Lars Helge Øverland
Hi Carlos,

this has now been fixed in latest build of 2.28, 2.29 and 2.30.

Thanks for reporting.

best,

Lars


On Wed, 19 Sep 2018 at 15:06, Stéphan Mestach 
wrote:

> Looks similar to what I've reported :
> http://dhis-developers-list.1563109.n2.nabble.com/Indicator-that-counts-the-number-of-orgunits-within-a-group-by-region-td7613915.html
>
> No news since then. Currently I don't have access to the logs of the dhis2
> server (hosted by a third party).
> May be a having a stacktrace might help them identify the issue.
>
> Stéphan
>
> On Wed, Sep 19, 2018 at 12:58 PM, Carlos Nyembwe 
> wrote:
>
>> Hi dev,
>>
>> Since version 2.26, we have noticed in the analysis of our indicators
>> containing the number of organizational units in the formula, and when we
>> want to display the PivotTable by placing the organizational units either
>> in columns or online , the process is only turning and not results, but
>> with the previous versions, we had tables that were displayed and now they
>> are not displayed anymore.
>>
>> We submitted the problem not as a result.
>>
>> So, how can I solve this problem?
>>
>> Thank you
>>
>> On Fri, Oct 21, 2016 at 12:44 PM Carlos Nyembwe 
>> wrote:
>>
>>> Hi everyone,
>>>
>>> I have a problem in my system, I need to use an indicator just for some
>>> organisation unit, now it's big problem in my mind, I can't to solve it.
>>>
>>> who can help me?
>>>
>>> Thanks
>>>
>>> --
>>> *Carlos Nyembwe*
>>> *I'm just a Computer Scientist*
>>>
>>> *Skype: carloscnk1*
>>> *Cell: (+243)813166381*
>>> *Find me in: | Google Plus  | 
>>> **Linkedin
>>>  | Facebook
>>>  | Twitter
>>>  |*
>>>
>>
>>
>> --
>> *Carlos Nyembwe*
>> *I'm just a Computer Scientist*
>>
>> *Skype: carloscnk1*
>> *Cell: (+243)813166381*
>> *Find me in: | Google Plus  | 
>> **Linkedin
>>  | Facebook
>>  | Twitter
>>  |*
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
>
> Stéphan Mestach
>
> Developer
>
>
> www.bluesquarehub.com
> [image: twitter.png]  [image: facebook.png]
>  [image: linkedin.png]
> 
> ___
> 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
Technical lead, DHIS 2
University of Oslo
l...@dhis2.org
https://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


[Dhis2-users] Metadata audit for user class

2018-09-19 Thread Martin Van Aken
Hello,
Can the Metadata audit feature work for modification to Users? Ie, is User
a metadata in this case? We have situations where rights where
added/removed and we are asked to check who did the modification for
auditing purposes.

Martin

-- 
*Martin Van Aken - **Freelance Enthusiast Developer*

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken 
Call me on Skype : vanakenm
Hang out with me : mar...@joyouscoding.com
Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
Company website : www.joyouscoding.com
___
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] Calculation indicator for some organisation unit in the formula

2018-09-19 Thread Stéphan Mestach
Looks similar to what I've reported :
http://dhis-developers-list.1563109.n2.nabble.com/Indicator-that-counts-the-number-of-orgunits-within-a-group-by-region-td7613915.html

No news since then. Currently I don't have access to the logs of the dhis2
server (hosted by a third party).
May be a having a stacktrace might help them identify the issue.

Stéphan

On Wed, Sep 19, 2018 at 12:58 PM, Carlos Nyembwe  wrote:

> Hi dev,
>
> Since version 2.26, we have noticed in the analysis of our indicators
> containing the number of organizational units in the formula, and when we
> want to display the PivotTable by placing the organizational units either
> in columns or online , the process is only turning and not results, but
> with the previous versions, we had tables that were displayed and now they
> are not displayed anymore.
>
> We submitted the problem not as a result.
>
> So, how can I solve this problem?
>
> Thank you
>
> On Fri, Oct 21, 2016 at 12:44 PM Carlos Nyembwe  wrote:
>
>> Hi everyone,
>>
>> I have a problem in my system, I need to use an indicator just for some
>> organisation unit, now it's big problem in my mind, I can't to solve it.
>>
>> who can help me?
>>
>> Thanks
>>
>> --
>> *Carlos Nyembwe*
>> *I'm just a Computer Scientist*
>>
>> *Skype: carloscnk1*
>> *Cell: (+243)813166381*
>> *Find me in: | Google Plus  | 
>> **Linkedin
>>  | Facebook
>>  | Twitter
>>  |*
>>
>
>
> --
> *Carlos Nyembwe*
> *I'm just a Computer Scientist*
>
> *Skype: carloscnk1*
> *Cell: (+243)813166381*
> *Find me in: | Google Plus  | 
> **Linkedin
>  | Facebook
>  | Twitter
>  |*
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Stéphan Mestach

Developer


www.bluesquarehub.com
[image: twitter.png]  [image: facebook.png]
 [image: linkedin.png]

___
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 Android SMS gateway

2018-09-19 Thread Bernard Sadaka (IM Advisor)
Thank you!

But is there an official place where we can find the APK published? I don’t 
really trust third party providers.

 

All the best,

Bernard

 




Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail:   lib@pu-ami.org 

Cell: +961 71 004 881 (208)

Skype: imapuami

Website:   https://www.pu-ami.org

 

 

From: Derek Kahongo Mukenge [mailto:derek.eli...@gmail.com] 
Sent: Wednesday, September 19, 2018 02:39 PM
To: lib@pu-ami.org
Cc: dhis2-users 
Subject: Re: [Dhis2-users] DHIS2 Android SMS gateway

 

Hi Sadaka,

 

You can use its. The one that was in google play was deprecated.

 

Thanks

 

On Fri, Sep 14, 2018 at 12:21 PM Bernard Sadaka (IM Advisor) 
mailto:lib@pu-ami.org> > wrote:

Hello All,

Is the apk for the android application that works as SMS gateway still 
available somewhere?

I found this one, but I’m not sure I can trust this source: 
https://apkpure.com/sms-gateway-for-dhis-2/org.dhis2.androidsms 

Thank you in advance for the help.

All the best,

Bernard

 




Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail:   lib@pu-ami.org 

Cell: +961 71 004 881 (208)

Skype: imapuami

Website:   https://www.pu-ami.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




 

-- 

Derek Kahongo Mukenge

___
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 Android SMS gateway

2018-09-19 Thread Derek Kahongo Mukenge
Hi Sadaka,

You can use its. The one that was in google play was deprecated.

Thanks

On Fri, Sep 14, 2018 at 12:21 PM Bernard Sadaka (IM Advisor) <
lib@pu-ami.org> wrote:

> Hello All,
>
> Is the apk for the android application that works as SMS gateway still
> available somewhere?
>
> I found this one, but I’m not sure I can trust this source:
> https://apkpure.com/sms-gateway-for-dhis-2/org.dhis2.androidsms
>
> Thank you in advance for the help.
>
> All the best,
>
> Bernard
>
>
>
> [image: cid:image002.png@01D36F50.572585A0]
>
> *Bernard Sadaka*
>
> *Information Management Advisor*
>
> Première Urgence - Aide Médicale Internationale
>
> Nehmeh Building, Sanine Street, Chiyah, 3rd Floor
>
> Ain el Remmaneh, Beirut, Lebanon
>
> *E-mail:* lib@pu-ami.org
>
> *Cell:* +961 71 004 881 (208)
>
> *Skype:* imapuami
>
> *Website:* https://www.pu-ami.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
>


-- 
*Derek Kahongo Mukenge*
___
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] Calculation indicator for some organisation unit in the formula

2018-09-19 Thread Carlos Nyembwe
Hi dev,

Since version 2.26, we have noticed in the analysis of our indicators
containing the number of organizational units in the formula, and when we
want to display the PivotTable by placing the organizational units either
in columns or online , the process is only turning and not results, but
with the previous versions, we had tables that were displayed and now they
are not displayed anymore.

We submitted the problem not as a result.

So, how can I solve this problem?

Thank you

On Fri, Oct 21, 2016 at 12:44 PM Carlos Nyembwe  wrote:

> Hi everyone,
>
> I have a problem in my system, I need to use an indicator just for some
> organisation unit, now it's big problem in my mind, I can't to solve it.
>
> who can help me?
>
> Thanks
>
> --
> *Carlos Nyembwe*
> *I'm just a Computer Scientist*
>
> *Skype: carloscnk1*
> *Cell: (+243)813166381*
> *Find me in: | Google Plus  | 
> **Linkedin
>  | Facebook
>  | Twitter
>  |*
>


-- 
*Carlos Nyembwe*
*I'm just a Computer Scientist*

*Skype: carloscnk1*
*Cell: (+243)813166381*
*Find me in: | Google Plus  |
**Linkedin
 | Facebook
 | Twitter
 |*
___
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