[Dhis2-devs] DASHBOARD_WIDGET app not showed up on Dashboard

2018-09-19 Thread Dung Nguyen Anh
Hi dev team,

I'm having an issue on Dashboard app. I created an DHIS2 App which will act
as a dashboard widget ( "appType": "DASHBOARD_WIDGET"), I added this to
dashboard but it was not showed up. See screenshot:
[image: screenshot.PNG]

Version: 2.29 (build date: 2018-09-19)
It's still working on 2.29 old build (Aug 2018) but not in latest build.

Thanks,
Dung
-- 
Nguyen Anh Dung - HISP Vietnam
Phone: (+084) 090 8686 274
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] 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 

Re: [Dhis2-devs] [Dhis2-users] 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-devs@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-us...@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [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-devs@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] 2.29 (partial) translation to French

2018-09-19 Thread Martin Van Aken
Bonjour DHIS2 devs!

As part as a project for a French speaking customer, we are thinking about
translating a part of the doc (at minimum the end user manual). I've seen
on the git repo: https://github.com/dhis2/dhis2-docs that it works by
generating the different format from the source.

Would this be of interest for you? If so, any advice for a PR here (ie:
anything we should know before starting the work) ?

We are still in discussion but in this case our plan would be to be able to
release the work under the DHIS2 licence (so open source).

Thanks,

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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] 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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp