Re: [Dhis2-devs] [Dhis2-users] SCORE CARD 2.4 BETA 1.4

2018-06-22 Thread John Mukulu
Hello Again,
The bug have been fixed please download latest war file from continous
integration server:

https://ci.dhis2.org/job/dhis2-2.29/

On Fri, Jun 15, 2018 at 4:51 PM, John Mukulu 
wrote:

> Hello Stanley and Selemani,
>
> I recommend you vote this issue, as i see it's been moved to 2.30, meaning
> all widgets will most likely never work in 2.29.
> https://jira.dhis2.org/browse/DHIS2-4019
>
> On Thu, Jun 14, 2018 at 2:13 PM, Stanley Kalyati 
> wrote:
>
>> Thanks John,much appreciated
>>
>> On Thu, Jun 14, 2018, 11:53 John Mukulu  wrote:
>>
>>> Hello Stanley and Selemani,
>>> Sorry for taking too long to work this out.
>>>
>>> After following up, we've come to agreement it's a bug in 2.29
>>> dashboard, i've filed an issue in jira.
>>> https://jira.dhis2.org/browse/DHIS2-4019
>>>
>>> Once it gets fixed we'll let you know.
>>>
>>> On Fri, Jun 1, 2018 at 9:26 AM, Seleman Ally 
>>> wrote:
>>>
>>>> Thanks John and Stanley.
>>>>
>>>> It doesn't work for me either
>>>>
>>>> Best Regards
>>>>
>>>> Sele
>>>>
>>>> On Friday, June 1, 2018, 9:03:11 AM GMT+3, Stanley Kalyati <
>>>> skaly...@gmail.com> wrote:
>>>>
>>>>
>>>> Hi John,
>>>>
>>>> Actually i am using widget for version 2.4 and thats the one that is
>>>> not working.
>>>>
>>>> On Thu, May 31, 2018 at 11:23 PM, John Mukulu 
>>>> wrote:
>>>>
>>>> Try to download scorecard widget for version 2.4, make sure you're not
>>>> using widget for scorecard version 2.2
>>>>
>>>> You can find out version you're using in app management. Let us know if
>>>> you're still facing challenges with version 2.4 of the widget.
>>>>
>>>> John Francis Mukulu
>>>> Software Architect, HISPTZ
>>>> http://hisptanzania.org/
>>>>
>>>> On Thu, May 31, 2018, 18:38 Stanley Kalyati  wrote:
>>>>
>>>> I am using DHIS2 version 2.29 latest build.I have installed both the
>>>> app and the widget and when i create Score Cards using the app all is
>>>> well.But when i try to share the table using the widget,the widget is not
>>>> working at all.
>>>>
>>>> Has anyone experienced this? And if so what is the solution?
>>>>
>>>> Regards
>>>>
>>>> Stanley
>>>> __ _
>>>> Mailing list: https://launchpad.net/~dhis2- users
>>>> <https://launchpad.net/~dhis2-users>
>>>> Post to : dhis2-users@lists.launchpad. net
>>>> 
>>>> Unsubscribe : https://launchpad.net/~dhis2- users
>>>> <https://launchpad.net/~dhis2-users>
>>>> More help   : https://help.launchpad.net/ ListHelp
>>>> <https://help.launchpad.net/ListHelp>
>>>>
>>>>
>>>> ___
>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>> John Francis Mukulu,
>>> Software Architect, HISPTZ.
>>> https://hisptanzania.org/
>>>
>>
>
>
> --
> John Francis Mukulu,
> Software Architect, HISPTZ.
> https://hisptanzania.org/
>



-- 
John Francis Mukulu,
Software Architect, HISPTZ.
https://hisptanzania.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] [Dhis2-users] SCORE CARD 2.4 BETA 1.4

2018-06-22 Thread John Mukulu
That link has the latest builds with fixes for 2.29

On Fri, 22 Jun 2018 at 14:01, Stanley Kalyati  wrote:

> Hi John,
>
> This is great news.
>
> Since some of us our instances are managed by a third party,should we ask
> them to upgrade to the latest build or they have to specifically download
> from the site provided by you?
>
> Thanks again
>
> On Fri, Jun 22, 2018 at 1:43 PM John Mukulu 
> wrote:
>
>> Hello Again,
>> The bug have been fixed please download latest war file from continous
>> integration server:
>>
>> https://ci.dhis2.org/job/dhis2-2.29/
>>
>> On Fri, Jun 15, 2018 at 4:51 PM, John Mukulu 
>> wrote:
>>
>>> Hello Stanley and Selemani,
>>>
>>> I recommend you vote this issue, as i see it's been moved to 2.30,
>>> meaning all widgets will most likely never work in 2.29.
>>> https://jira.dhis2.org/browse/DHIS2-4019
>>>
>>> On Thu, Jun 14, 2018 at 2:13 PM, Stanley Kalyati 
>>> wrote:
>>>
>>>> Thanks John,much appreciated
>>>>
>>>> On Thu, Jun 14, 2018, 11:53 John Mukulu 
>>>> wrote:
>>>>
>>>>> Hello Stanley and Selemani,
>>>>> Sorry for taking too long to work this out.
>>>>>
>>>>> After following up, we've come to agreement it's a bug in 2.29
>>>>> dashboard, i've filed an issue in jira.
>>>>> https://jira.dhis2.org/browse/DHIS2-4019
>>>>>
>>>>> Once it gets fixed we'll let you know.
>>>>>
>>>>> On Fri, Jun 1, 2018 at 9:26 AM, Seleman Ally 
>>>>> wrote:
>>>>>
>>>>>> Thanks John and Stanley.
>>>>>>
>>>>>> It doesn't work for me either
>>>>>>
>>>>>> Best Regards
>>>>>>
>>>>>> Sele
>>>>>>
>>>>>> On Friday, June 1, 2018, 9:03:11 AM GMT+3, Stanley Kalyati <
>>>>>> skaly...@gmail.com> wrote:
>>>>>>
>>>>>>
>>>>>> Hi John,
>>>>>>
>>>>>> Actually i am using widget for version 2.4 and thats the one that is
>>>>>> not working.
>>>>>>
>>>>>> On Thu, May 31, 2018 at 11:23 PM, John Mukulu <
>>>>>> john.f.muk...@gmail.com> wrote:
>>>>>>
>>>>>> Try to download scorecard widget for version 2.4, make sure you're
>>>>>> not using widget for scorecard version 2.2
>>>>>>
>>>>>> You can find out version you're using in app management. Let us know
>>>>>> if you're still facing challenges with version 2.4 of the widget.
>>>>>>
>>>>>> John Francis Mukulu
>>>>>> Software Architect, HISPTZ
>>>>>> http://hisptanzania.org/
>>>>>>
>>>>>> On Thu, May 31, 2018, 18:38 Stanley Kalyati 
>>>>>> wrote:
>>>>>>
>>>>>> I am using DHIS2 version 2.29 latest build.I have installed both the
>>>>>> app and the widget and when i create Score Cards using the app all is
>>>>>> well.But when i try to share the table using the widget,the widget is not
>>>>>> working at all.
>>>>>>
>>>>>> Has anyone experienced this? And if so what is the solution?
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Stanley
>>>>>> __ _
>>>>>> Mailing list: https://launchpad.net/~dhis2- users
>>>>>> <https://launchpad.net/~dhis2-users>
>>>>>> Post to : dhis2-users@lists.launchpad. net
>>>>>> 
>>>>>> Unsubscribe : https://launchpad.net/~dhis2- users
>>>>>> <https://launchpad.net/~dhis2-users>
>>>>>> More help   : https://help.launchpad.net/ ListHelp
>>>>>> <https://help.launchpad.net/ListHelp>
>>>>>>
>>>>>>
>>>>>> ___
>>>>>> 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
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> John Francis Mukulu,
>>>>> Software Architect, HISPTZ.
>>>>> https://hisptanzania.org/
>>>>>
>>>>
>>>
>>>
>>> --
>>> John Francis Mukulu,
>>> Software Architect, HISPTZ.
>>> https://hisptanzania.org/
>>>
>>
>>
>>
>> --
>> John Francis Mukulu,
>> Software Architect, HISPTZ.
>> https://hisptanzania.org/
>>
> --
John Francis Mukulu,
Software Architect, HISPTZ.
https://hisptanzania.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] [Dhis2-users] SCORE CARD 2.4 BETA 1.4

2018-06-15 Thread John Mukulu
Hello Stanley and Selemani,

I recommend you vote this issue, as i see it's been moved to 2.30, meaning
all widgets will most likely never work in 2.29.
https://jira.dhis2.org/browse/DHIS2-4019

On Thu, Jun 14, 2018 at 2:13 PM, Stanley Kalyati  wrote:

> Thanks John,much appreciated
>
> On Thu, Jun 14, 2018, 11:53 John Mukulu  wrote:
>
>> Hello Stanley and Selemani,
>> Sorry for taking too long to work this out.
>>
>> After following up, we've come to agreement it's a bug in 2.29 dashboard,
>> i've filed an issue in jira.
>> https://jira.dhis2.org/browse/DHIS2-4019
>>
>> Once it gets fixed we'll let you know.
>>
>> On Fri, Jun 1, 2018 at 9:26 AM, Seleman Ally 
>> wrote:
>>
>>> Thanks John and Stanley.
>>>
>>> It doesn't work for me either
>>>
>>> Best Regards
>>>
>>> Sele
>>>
>>> On Friday, June 1, 2018, 9:03:11 AM GMT+3, Stanley Kalyati <
>>> skaly...@gmail.com> wrote:
>>>
>>>
>>> Hi John,
>>>
>>> Actually i am using widget for version 2.4 and thats the one that is not
>>> working.
>>>
>>> On Thu, May 31, 2018 at 11:23 PM, John Mukulu 
>>> wrote:
>>>
>>> Try to download scorecard widget for version 2.4, make sure you're not
>>> using widget for scorecard version 2.2
>>>
>>> You can find out version you're using in app management. Let us know if
>>> you're still facing challenges with version 2.4 of the widget.
>>>
>>> John Francis Mukulu
>>> Software Architect, HISPTZ
>>> http://hisptanzania.org/
>>>
>>> On Thu, May 31, 2018, 18:38 Stanley Kalyati  wrote:
>>>
>>> I am using DHIS2 version 2.29 latest build.I have installed both the app
>>> and the widget and when i create Score Cards using the app all is well.But
>>> when i try to share the table using the widget,the widget is not working at
>>> all.
>>>
>>> Has anyone experienced this? And if so what is the solution?
>>>
>>> Regards
>>>
>>> Stanley
>>> __ _
>>> Mailing list: https://launchpad.net/~dhis2- users
>>> <https://launchpad.net/~dhis2-users>
>>> Post to : dhis2-users@lists.launchpad. net
>>> 
>>> Unsubscribe : https://launchpad.net/~dhis2- users
>>> <https://launchpad.net/~dhis2-users>
>>> More help   : https://help.launchpad.net/ ListHelp
>>> <https://help.launchpad.net/ListHelp>
>>>
>>>
>>> ___
>>> 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
>>>
>>
>>
>>
>> --
>> John Francis Mukulu,
>> Software Architect, HISPTZ.
>> https://hisptanzania.org/
>>
>


-- 
John Francis Mukulu,
Software Architect, HISPTZ.
https://hisptanzania.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] [Dhis2-users] SCORE CARD 2.4 BETA 1.4

2018-06-14 Thread John Mukulu
Feel free to vote the issue up for it to be prioritized.

John Francis Mukulu
Software Architect, HISPTZ
http://hisptanzania.org/

On Thu, Jun 14, 2018, 13:13 Stanley Kalyati  wrote:

> Thanks John,much appreciated
>
> On Thu, Jun 14, 2018, 11:53 John Mukulu  wrote:
>
>> Hello Stanley and Selemani,
>> Sorry for taking too long to work this out.
>>
>> After following up, we've come to agreement it's a bug in 2.29 dashboard,
>> i've filed an issue in jira.
>> https://jira.dhis2.org/browse/DHIS2-4019
>>
>> Once it gets fixed we'll let you know.
>>
>> On Fri, Jun 1, 2018 at 9:26 AM, Seleman Ally 
>> wrote:
>>
>>> Thanks John and Stanley.
>>>
>>> It doesn't work for me either
>>>
>>> Best Regards
>>>
>>> Sele
>>>
>>> On Friday, June 1, 2018, 9:03:11 AM GMT+3, Stanley Kalyati <
>>> skaly...@gmail.com> wrote:
>>>
>>>
>>> Hi John,
>>>
>>> Actually i am using widget for version 2.4 and thats the one that is not
>>> working.
>>>
>>> On Thu, May 31, 2018 at 11:23 PM, John Mukulu 
>>> wrote:
>>>
>>> Try to download scorecard widget for version 2.4, make sure you're not
>>> using widget for scorecard version 2.2
>>>
>>> You can find out version you're using in app management. Let us know if
>>> you're still facing challenges with version 2.4 of the widget.
>>>
>>> John Francis Mukulu
>>> Software Architect, HISPTZ
>>> http://hisptanzania.org/
>>>
>>> On Thu, May 31, 2018, 18:38 Stanley Kalyati  wrote:
>>>
>>> I am using DHIS2 version 2.29 latest build.I have installed both the app
>>> and the widget and when i create Score Cards using the app all is well.But
>>> when i try to share the table using the widget,the widget is not working at
>>> all.
>>>
>>> Has anyone experienced this? And if so what is the solution?
>>>
>>> Regards
>>>
>>> Stanley
>>> __ _
>>> Mailing list: https://launchpad.net/~dhis2- users
>>> <https://launchpad.net/~dhis2-users>
>>> Post to : dhis2-users@lists.launchpad. net
>>> 
>>> Unsubscribe : https://launchpad.net/~dhis2- users
>>> <https://launchpad.net/~dhis2-users>
>>> More help   : https://help.launchpad.net/ ListHelp
>>> <https://help.launchpad.net/ListHelp>
>>>
>>>
>>> ___
>>> 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
>>>
>>
>>
>>
>> --
>> John Francis Mukulu,
>> Software Architect, HISPTZ.
>> https://hisptanzania.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] [Dhis2-users] SCORE CARD 2.4 BETA 1.4

2018-06-14 Thread John Mukulu
Hello Stanley and Selemani,
Sorry for taking too long to work this out.

After following up, we've come to agreement it's a bug in 2.29 dashboard,
i've filed an issue in jira.
https://jira.dhis2.org/browse/DHIS2-4019

Once it gets fixed we'll let you know.

On Fri, Jun 1, 2018 at 9:26 AM, Seleman Ally  wrote:

> Thanks John and Stanley.
>
> It doesn't work for me either
>
> Best Regards
>
> Sele
>
> On Friday, June 1, 2018, 9:03:11 AM GMT+3, Stanley Kalyati <
> skaly...@gmail.com> wrote:
>
>
> Hi John,
>
> Actually i am using widget for version 2.4 and thats the one that is not
> working.
>
> On Thu, May 31, 2018 at 11:23 PM, John Mukulu 
> wrote:
>
> Try to download scorecard widget for version 2.4, make sure you're not
> using widget for scorecard version 2.2
>
> You can find out version you're using in app management. Let us know if
> you're still facing challenges with version 2.4 of the widget.
>
> John Francis Mukulu
> Software Architect, HISPTZ
> http://hisptanzania.org/
>
> On Thu, May 31, 2018, 18:38 Stanley Kalyati  wrote:
>
> I am using DHIS2 version 2.29 latest build.I have installed both the app
> and the widget and when i create Score Cards using the app all is well.But
> when i try to share the table using the widget,the widget is not working at
> all.
>
> Has anyone experienced this? And if so what is the solution?
>
> Regards
>
> Stanley
> __ _
> Mailing list: https://launchpad.net/~dhis2- users
> <https://launchpad.net/~dhis2-users>
> Post to : dhis2-users@lists.launchpad. net
> 
> Unsubscribe : https://launchpad.net/~dhis2- users
> <https://launchpad.net/~dhis2-users>
> More help   : https://help.launchpad.net/ ListHelp
> <https://help.launchpad.net/ListHelp>
>
>
> ___
> 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
>



-- 
John Francis Mukulu,
Software Architect, HISPTZ.
https://hisptanzania.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] [Dhis2-users] SCORE CARD 2.4 BETA 1.4

2018-05-31 Thread John Mukulu
Try to download scorecard widget for version 2.4, make sure you're not
using widget for scorecard version 2.2

You can find out version you're using in app management. Let us know if
you're still facing challenges with version 2.4 of the widget.

John Francis Mukulu
Software Architect, HISPTZ
http://hisptanzania.org/

On Thu, May 31, 2018, 18:38 Stanley Kalyati  wrote:

> I am using DHIS2 version 2.29 latest build.I have installed both the app
> and the widget and when i create Score Cards using the app all is well.But
> when i try to share the table using the widget,the widget is not working at
> all.
>
> Has anyone experienced this? And if so what is the solution?
>
> Regards
>
> Stanley
> ___
> 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
>
___
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] How to perform logical operations in indicator calculations

2018-05-24 Thread John Mukulu
Hello Olaleke and Jason,
We're currently slowly working through documenting the functions
maintenance, but if you need quick intro and help on it, I have copied my
Colleague Vincent Minde who's working on it, he'll help.

Cheers.

On Wed, May 23, 2018 at 6:25 PM, Olaleke Seweje 
wrote:

> Thanks Jason, will try these options out and revert.
>
> On Wed, May 23, 2018 at 2:00 PM, Jason Pickering <
> jason.p.picker...@gmail.com> wrote:
>
>> Hi  Leke,
>>
>> This is currently not possible with aggregate data. You can have a look
>> at this app (https://play.dhis2.org/appstore/app/dXX2Fk6jwCX) which may
>> help you to implement this.
>>
>> You may also want to have a look at the documentation on analytics hooks,
>> which may help you to implement these types of indicators with custom
>> scripts.
>>
>> https://docs.dhis2.org/master/en/developer/html/webapi_analy
>> tics_table_hooks.html
>>
>> Best regards,
>> Jason
>>
>>
>> On Tue, May 22, 2018 at 4:14 PM, Olaleke Seweje 
>> wrote:
>>
>>> Hello all,
>>> Please I am looking for a way to perform logical operations in DHIS.
>>> I have an indicator calculation that has a denominator specified as
>>>
>>> org unit counts that belong to a group (e.g. Group 1) AND have reported
>>> in the past month.
>>>
>>> Any ideas on how I can set this up in DHIS will be appreciated.
>>>
>>> Thanks
>>>
>>>
>>> --
>>> Regards,
>>> Leke Seweje
>>>
>>> ___
>>> 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
>>>
>>>
>>
>>
>> --
>> Jason P. Pickering
>> email: jason.p.picker...@gmail.com
>> tel:+46764147049
>>
>
>
>
> --
> Regards,
> Leke Seweje
>
> ___
> 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
>
>


-- 
John Francis Mukulu,
Software Architect, HISPTZ.
https://hisptanzania.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


[Dhis2-devs] LAST AGGREGATION OPERATIONS

2018-04-28 Thread John Mukulu
Hello everyone,

Has anyone tried the LAST aggregation operations for data elements in 2.29?

Seems like impossible to create dataelements of such type and save them,
and if you bypass web interface with direct api posts or changing operator
directly on the database with query, analytics would complain of
unsupported aggregation operator(LAST)

Is this available in backend analytics or its just a front end feature of
pivot, I believe I'm missing something and it may not be a bug that needs
filing in JIRA.


John Francis Mukulu
Software Architect, HISPTZ
http://hisptanzania.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] DHIS2 Dashboard Apps

2018-04-28 Thread John Mukulu
These are very interesting topics,

Just weigh in on few of the issues raised.

1. Way of widgets identifying themselves, this is actually supposed to be
for all apps, to sort of have unique-app-id that'll unique like android
apps, so names and version can change but it'll stay the same, this is on
jira but not implemented yet, would help tracking and triggering of widgets
and their counterparts apps

2. Explore and going full screen limitations, at the moment, there's no
such features, explore simply opens the same widget iframe in separate
page, with scorecard we had to write widget that's actually a fully fledged
widget, so on explore we'd check if it's separate page to give you
impression of full app and impression of just a widget on small page, but
above features would definitely solve this

3. Access to global selections, at the moment iframe loaded apps have not
been provided with means of accessing anything outside, because they're
essentially brand new page running as subpage, standards could be put such
that global filters could pass selections to the iframe url of the app and
trigger reload(or abandon iframe idea all together and persue much better
one! Think web components and custom elements)

4. Rendering on native mobile apps(android & iOS), because widget are
stand-alone pages but still using utilizing same page sessions cookies and
page header contents, they are presented as a fake new page trying to
impersonate other page, this pause a security dilemma and often forces
nginx to allow such except for browser, but never torelated on native
mobile and hence never working there.

Most of these concepts are already in past jira issues awaiting priority to
be picked up, but should you have interesting in innovating there, three
major things to solve

1. Abandoning iframe in favor of web components (but keeping airframe
simplicity of integration) - solve global filters accesibility and other in
memory info, solve security for android, allow distinction of states(full
or widget)

2. Add app property in manifest for appid and make app urls use app ids
with support for accepting more parameters

3. Add property in widget for corresponding appids for widgets to allow
explore by reference to apps or prompting install when absent(app id would
guarantee this)

HISP Tanzania can help further brainstorming and potential solutions, let
me know if you're embarking on this.

And Sorry for long paragraphs!

John Francis Mukulu
Software Architect, HISPTZ
http://hisptanzania.org/


On Fri, Apr 27, 2018, 15:53 Martin Van Aken  wrote:

> Thanks for your answer - any way to specify where the "explore" link
> should lead:
>
>
> this would allow my app to show a small part as an iFrame, then be called
> in full screen on click (like the Pivot tables & chart works in the
> Dashboard right now)
>
> Martin
>
> On Fri, Apr 27, 2018 at 10:47 AM, Edoardo Sabadelli 
> wrote:
>
>> Not exactly, the content in the iframe is usable from within the box
>> in the dashboard.
>> There isn't a way of going full screen at the moment, but it can be
>> easily added.
>>
>> On Thu, Apr 26, 2018 at 5:21 PM, Martin Van Aken
>>  wrote:
>> > OK, so it will render the "main" page (as refered in the manifest) as an
>> > iframe there, with clicking on it leading to the "full page" app,
>> correct ?
>> > This being said, looks like something I could test easily.
>> >
>> > Martin
>> >
>> > On Thu, Apr 26, 2018 at 11:28 AM, Edoardo Sabadelli 
>> > wrote:
>> >>
>> >> Hi Martin,
>> >>
>> >> the dashboard widgets/apps, listed under the Apps section in the
>> >> dashboard item selector, are rendered in the same way as before.
>> >> They are loaded in an iframe in a box added to the dashboard grid.
>> >> This is also to ensure existing apps can still work in the new
>> Dashboards
>> >> app.
>> >>
>> >> As for distinguishing between a full screen and a "widget" app, there
>> >> isn't anything in place as far as I know.
>> >>
>> >> One way is to use a responsive layout in your app, to ensure the
>> >> content fits and is usable in both full screen and the small widget
>> >> box.
>> >>
>> >> I didn't work with widget apps, so hopefully someone in the community
>> >> who has done that can help.
>> >>
>> >> Cheers,
>> >>
>> >> On Thu, Apr 26, 2018 at 10:35 AM, Martin Van Aken
>> >>  wrote:
>> >> > Hi!
>> >> > We've been working with DHIS2 Apps for a while now, and found the
>> >> > general
>> >> > experience (as developers) pretty good with the d2 + React combo.
>> >> > Something
>> >> > I could not find info about is how the different kind of apps change,
>> >> > especially the DASHBOARD_WIDGET one - does that means that an app of
>> >> > this
>> >> > kind will be rendered as a box in the main view? If so, how to
>> specify
>> >> > the
>> >> > part that should go there vs for example a full sized page after once
>> >> > clicked?
>> >> >
>> 

Re: [Dhis2-devs] DHIS2 application

2018-03-18 Thread John Mukulu
I have not held of bulletin app, but Malaria program in Tanzania is having
one powered fully by interactive dashboard.

If you just want to customize it based on your dashboard you can find it in
play.dhis2.org/appstore, if you want to completely tweak it to be very
specific to your implementation, you can also find the source codes at
github.com/hisptz

There's a demo of interactive dashboard in play.dhis2.org/demo it supports
instances going all the way back to dhis version 2.3, let me know if it's
something you're looking for.

John Francis Mukulu
Software Architect, HISPTZ
http://hisptanzania.org/

On Sat, Mar 17, 2018, 19:04 gerald thomas  wrote:

> Please any help???
>
> On Sat, 17 Mar 2018 at 09:03, gerald thomas  wrote:
>
>> Dear all,
>> I am trying to down Malaria Bulletin application for DHIS2. Please anyone
>> help me.
>> --
>> Regards,
>>
>> Gerald
>>
> --
> Regards,
>
> Gerald
> ___
> 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
>
___
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] importing Indicators in DHIS2

2018-03-15 Thread John Mukulu
Hello,

Import via csv would be the best way for bulk import I hope that's the way
you found in documentation, though it won't support auto importing of
formula for numerator and denominator, that you'll have to go through web
interface and modify.

John Francis Mukulu
Software Architect, HISPTZ
http://hisptanzania.org/

On Mar 14, 2018 19:04, "Carlos Nyembwe"  wrote:

> Hi Knut,
> Thanks for interest. Now, I found a way
>
> On Wed, Mar 14, 2018 at 5:03 PM Knut Staring  wrote:
>
>> Hi Carlos,
>>
>> Are you talking about importing definitions from Excel as data elements?
>> Or something else?
>>
>> Knut
>>
>> On Wed, Mar 14, 2018 at 3:29 PM, Carlos Nyembwe 
>> wrote:
>>
>>> Hello everyone,
>>>
>>> I have to many indicators to create but, I don't have enough times for
>>> that and I don't know how to import
>>>
>>> Who can help me.
>>>
>>> Regards
>>>
>>> --
>>> *Carlos Nyembwe*
>>> *I'm just a Computer Scientist*
>>>
>>> *Skype: carloscnk1*
>>> *Cell: (+243)813166381 <+243%20813%20166%20381>*
>>> *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
>>>
>>>
>>
>>
>> --
>> Knut Staring
>>
>> Department of Information, Evidence and Research
>> World Health Organization, Geneva, Switzerland
>> Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
>> <+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
>> Skype: knutstar
>>
>
> ___
> 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
>
>
___
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] Indicators disappeared

2018-03-15 Thread John Mukulu
Hello Peter,
All create, edit and delete operations on metadata usually have logs on the
back-end, check logs in dhis2home to find our what happened. They may also
disappear if sharing settings have been changed in user groups permissions
to those objects, or they were made private by the creator.

To get to the bottom of all the above you may need access to the database
and logs in dhis2home

Goodluck.

John Francis Mukulu
Software Architect, HISPTZ
http://hisptanzania.org/

On Mar 15, 2018 00:13, "Peter D Lubambi"  wrote:

> Hi All,
> I am using DHIS2 2.27, just realized some of the indicators and their
> groups i had already created has disappeared. Any Idea what could be the
> cause?
> Is there a way I trace back, trace the operations happened within my DHIS2
> instance , in case someone deleted them?
> Regards,
>
> Peter Dotto Lubambi,
> Skype: plubambi
> Mobile: +255 786 087 087 <0786%20087%20087>
>
> ___
> 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
>
>
___
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] version 2.29 overview

2018-03-13 Thread John Mukulu
Thanks Lars,
We're taking it for a spin, we'll getting back to you with feedback.

Excellent job.

On Tue, Mar 13, 2018 at 3:24 PM, Lars Helge Øverland  wrote:

> Hi,
>
> for those looking for brief overview of the features which went into 2.29
> (and found the release notes tl;dr
> ) you can find a
> visual summary here:
>
> https://www.dhis2.org/229
>
>
> regards,
>
> Lars
>
>
>
>
>
>
>
> --
> 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-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
John Francis Mukulu,
Software Architect, HISPTZ.
https://hisptanzania.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] [Dhis2-users] dhis version 2.29 is released

2018-03-07 Thread John Mukulu
It is indeed a great look.

I was checking the interactive dashboard and the new dashboard, it's great
to see innovations such as instant switching between visualization finding
their way into the main stream.

Job well done.

https://play.dhis2.org/2.29/api/apps/Interactive-Dashboard-2/index.html

https://play.dhis2.org/2.29/dhis-web-dashboard/index.html


John Francis Mukulu
Software Architect, HISPTZ
http://hisptanzania.org/

On Mar 8, 2018 09:47, "Terence Scott" <terence.sc...@rabiesalliance.org>
wrote:

Thanks to the DHIS2 team for some fantastic new features and a great new
look too!

Terence Scott

Global Alliance for Rabies Control (GARC)
Pan-African Rabies Control Network (PARACON) Steering Committee
terence.sc...@rabiesalliance.org
https://paracon.rabiesalliance.org
Skype: tpscott1987





On Thu, Mar 8, 2018 at 6:41 AM, Ocaya Stephen <stepho...@gmail.com> wrote:

> Great work DHIS2 dev team. I see interesting features.
>
> Regards
>
> On Mar 8, 2018 5:30 AM, "channara rin" <rin.chann...@gmail.com> wrote:
>
>> Many helpful features,
>>
>> thank you all teams...
>>
>> best regards,
>> channara
>>
>> On Thu, Mar 8, 2018 at 7:55 AM, Pamod Amarakoon <pam...@gmail.com> wrote:
>>
>>> Thank you and great job !
>>>
>>> On Thu, Mar 8, 2018, 3:53 AM DJIBRIL Hakim <djib.ha...@gmail.com> wrote:
>>>
>>>> Congratulations Guys!
>>>>
>>>> 2018-03-07 21:55 GMT+00:00 John Mukulu <john.f.muk...@gmail.com>:
>>>>
>>>>> Great Job
>>>>>
>>>>> Congratulations for major milestones on this release.
>>>>>
>>>>> John Francis Mukulu
>>>>> Software Architect, HISPTZ
>>>>> http://hisptanzania.org/
>>>>>
>>>>> On Mar 8, 2018 00:40, "Lars Helge Øverland" <l...@dhis2.org> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Hi all,DHIS version 2.29 is out with many new features, apps and
>>>>>> improvements.Login with admin/district on the demo
>>>>>> <http://play.dhis2.org/2.29/> system to try it out.ANALYTICS
>>>>>> FEATURES---Dashboard app: A new dashboard app is now available which lets
>>>>>> you arrange the dashboard items in a completely flexible way. It features
>>>>>> better dashboard search, allows you to create shortcuts by marking
>>>>>> dashboards as favorites, switch between visualization types such

Re: [Dhis2-devs] dhis version 2.29 is released

2018-03-07 Thread John Mukulu
Great Job

Congratulations for major milestones on this release.

John Francis Mukulu
Software Architect, HISPTZ
http://hisptanzania.org/

On Mar 8, 2018 00:40, "Lars Helge Øverland"  wrote:

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *Hi all,DHIS version 2.29 is out with many new features, apps and
> improvements.Login with admin/district on the demo
>  system to try it out.ANALYTICS
> FEATURES---Dashboard app: A new dashboard app is now available which lets
> you arrange the dashboard items in a completely flexible way. It features
> better dashboard search, allows you to create shortcuts by marking
> dashboards as favorites, switch between visualization types such as pivot,
> chart and map and insert free-text items. Dashboards can be shared,
> translated and filtered.Screenshot 1
> 
> | 2
> 
> | Demo  | Docs
> Maps app: A new
> maps app (previously GIS) is available, offering a new, intuitive and
> user-friendly interface for creating map layers. It lets you arrange the
> order of map layers in a simple way, and view the map data in a data table.
> Any number of map layers can be added to a map, even layers of the same
> type. The contents and order of map layers can be viewed in the left side
> menu.Screenshot 1
> 
> | 2
> 
> | Demo  | Docs
> Last value
> aggregation type: A new “last value” aggregation type is available for
> aggregate and event analytics for data elements and attributes. This
> aggregation type will use the last available value or event in the time
> dimension, and either sum or average across other dimensions. This is
> useful e.g. for facility surveys to analyse data based on the last
> observation, or for “patients currently on care” type of
> analysis.Screenshot
> 
> | Demo Pivot table
> scalability: The pivot table rendering engine is now around 10x more
> scalable, and allows for very large pivot tables to be viewed in the web
> browser. This is accomplished through progressive rendering, i.e. the
> browser will only render what you currently see and not load the entire
> pivot table into the browser memory.Demo
> Event reports
> table layout download: You can now download event reports in Excel or CSV
> format in the same tabular format which was rendered in the web
> browser.Screenshot
> Configurable
> financial year in analytics: The starting month of the financial year to
> use in all analytics apps can now be configured in the settings app.
> Available options are April, July and October.Screenshot
> 
> | Demo TRACKER
> FEATURES---Data capture and data view sharing levels: The sharing solution
> has been extended with two new levels for “data capture” and “data view”
> access for users and user groups. These levels apply to programs, program
> stages, data sets and category options, and replaces the link between user
> roles and data sets/programs. This offers a simplified and more flexible
> access control solution.Screenshot
> 
> | Docs Tracker
> programs in maintenance app: You can now create and modify tracker programs
> in the maintenance app. The workflow for creating programs have been made
> more intuitive and effective, where stages, sections, data entry forms and
> notifications can be created from within the main page.Demo
> Integrated
> search and registration: The steps for searching and registering new
> tracked entities are now integrated. When registering a new tracked entity
> instance, the registration form will automatically search for possible

Re: [Dhis2-devs] [Dhis2-users] Calculation of conditional Indicators

2017-12-13 Thread John Mukulu
Hello Sam,
We haven't made a formal release of this function maintenance app yet, but
i thought i could keep you posted.
It's already in appstore you can download it here:
https://play.dhis2.org/appstore/app/dXX2Fk6jwCX

You can take it for a spin here:
https://play.hisptz.org/28/api/apps/Function-Maintenance/index.html#/functions/EViLZtpJmoZ

It's still not very user friendly, and have few bugs we're working on, but
atleast now it gets the job done.
When installed in your system it generates one function by default that
caps reporting rates to never exceed 100%,

That generated function helps to serve as an example on how function can be
written to accept selection parameters and return analytics payload.

We'll make a formal release once we have bug free, more down to earth user
interface and with basic minimum functionalities needed.

On Wed, May 10, 2017 at 2:52 PM, Sam Kasozi  wrote:

> Thanks, Ola and Prosper.
>
> The data is indeed part of the aggregate forms. And since we are importing
> the data, we might consider pre-calculating the values prior to the import
> process.
>
> regards,
>
> Sam Kasozi
> +256 788-993-565
> Skype: sam.kasoziug
>
> On Wed, May 10, 2017 at 2:56 PM, Prosper BT  wrote:
>
>> Dear Ola,
>>
>> Thanks for sharing this workaround, the two challenges may be wanting to
>> keep same data with the aggregate data in entry because most of the time
>> its within one form and may be inconveniencing switching between entry
>> screens.
>>
>> Remember we had suggested to write a script that can update single event
>> data elements  to use program indicators that can in turn be used as
>> aggregate indicators for scorecard and BNA indicators.
>>
>> From the core development team is ther as way we can use aggregate
>> indicators or both data element in aggregate and events so as to use
>> program indicators for this. Its becoming very critical for analysis of
>> logistics, HR, Scorecard and BNA indicators.
>>
>> The scorecard team is building up something John and Eric can share
>> progress.
>>
>> Regards
>>
>>
>>
>>
>>
>> Prosper Behumbiize, MPH
>> DHIS2 Implementation| HISP Uganda
>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>> prospertb
>>
>> On Wed, May 10, 2017 at 1:14 PM, Ola Hodne Titlestad 
>> wrote:
>>
>>> Hi Sam,
>>>
>>> You may consider collecting some of this data with single events
>>> (routine surveys/assessments) and then use program indicators or event
>>> data item aggregation to get the aggregate numbers you are looking
>>> for.
>>>
>>> Ola
>>> ---
>>>  >> style="border-top: 1px solid #D3D4DE;">
>>> 
>>>   >> href="https://www.avast.com/sig-email?utm_medium=email_s
>>> ource=link_campaign=sig-email_content=webmail"
>>> target="_blank">>> src="https://ipmcdn.avast.com/images/icons/icon-envelope-tic
>>> k-round-orange-animated-no-repeat-v1.gif"
>>> width="46" height="29" style="width: 46px; height: 29px;" />
>>> Virusfri. >> href="https://www.avast.com/sig-email?utm_medium=email_s
>>> ource=link_campaign=sig-email_content=webmail"
>>> target="_blank" style="color: #4453ea;">www.avast.com
>>>  
>>> 
>>> 
>>> >> height="1">
>>> --
>>> Ola Hodne Titlestad (Mr)
>>> HISP
>>> Department of Informatics
>>> University of Oslo
>>>
>>> Mobile: +47 48069736 <+47%20480%2069%20736>
>>> Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps link
>>>
>>>
>>> On 10 May 2017 at 10:01, Sam Kasozi  wrote:
>>> > What is the best approach for creating conditional indicators for
>>> routine/
>>> > aggregate data such as facilities reporting stock outs or facilities
>>> > providing a service?
>>> >
>>> > Besides creating new data element [Yes/No or (1/0)] that is assigned
>>> in the
>>> > custom form whenever the condition is found to be true, is there an
>>> > alternative?
>>> >
>>> >
>>> > regards,
>>> >
>>> > Sam Kasozi
>>> > +256 788-993-565
>>> > Skype: sam.kasoziug
>>> >
>>> > ___
>>> > 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
>>> >
>>>
>>> ___
>>> 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
>>>
>>
>>
>


-- 
John Francis Mukulu,
Lead Developer, HISPTZ,
http://hisptanzania.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] DASHBOARD: NEXT BIG THING IS HERE

2017-12-11 Thread John Mukulu
Hello Ifeanyi,
Thanks for the feedback, we will work on both,

Concerning the colors for charts, yes it's very much possible, we have
legend service currently used by maps only, but we were planning on
expanding it later for charts and tables. We'll incorporate that in next
release.

We'll keep you posted.

Don't forget to subscribe to get new updates
http://mailchi.mp/4336864f859f/dashboard-next-big-thing-is-here

John Francis Mukulu
Lead Developer, HISPTZ
University of Dar es salaam
http://hisptanzania.org/


On Dec 12, 2017 06:55, "Ifeanyi Okoye" <ifeanyiok...@yahoo.com> wrote:

Hello John,
Thanks for sharing this app with us.

I got some additional feedback:

1. The speedometer type charts do not render very well compared to the
traditional dashboard
2. Some pie charts are rendered really minutely in comparison.
3. I like the way the tables look
4. Would it be possible to change the colors in the charts instead of the
default?

Thanks again.


Warm Regards,

Ifeanyi

Read DrMaestro's Blog
www.ifeanyiokoye.com


On Monday, December 11, 2017, 1:28:56 PM GMT+1, Calle Hedberg <
calle.hedb...@gmail.com> wrote:


John,

OK, but don't overlook that strange behaviour seen when switching the first
item on the demo dashboard between various modes.

Complicated / large pivots will never be suitable for charts or maps, so
the best option here is to specify some parameters that will warn users if
they try to switch into an irrelevant mode (e.g. a map with 10 indicators
makes little sense; a chart with 600 bars makes no sense either).Users can
then first simply the pivot and then switch mode.

Regards
Calle

On 11 December 2017 at 14:17, John Mukulu <john.f.muk...@gmail.com> wrote:

Great!
Yes, we'll expand the amount of favorites

Will get back to you later to also know the combination of favorites you
have, I.e.

- More of pivot tables and charts than maps
- More of aggregate data than events

That'll really help to strain it further and identify where performance
tuning is needed most for better responsiveness.

Cheers

John Francis Mukulu
Lead Developer, HISPTZ
University of Dar es salaam
http://hisptanzania.org/

On Dec 11, 2017 15:10, "Calle Hedberg" <calle.hedb...@gmail.com> wrote:

John,

Will do

By the way, the demo site dashboards load a lot faster, presumably because
the amount of data is much smaller.

I was testing this on the current 2.27

Regards
Calle

On 11 December 2017 at 14:07, Calle Hedberg <calle.hedb...@gmail.com> wrote:

Hi

I had some other strange behaviour too, so to confirm I opened the hisptz
demo at https://play.hisptz.org/28:

Take dashboard item 1 (a multi-line chart):
- you can change to pivot OK
- if you change to map, it's different than item 2 (to be expected).
But if you then select the i view, and then go back to the map view, things
go haywire - other items are disappearing or changing.

Best regards
calle

On 11 December 2017 at 13:53, Calle Hedberg <calle.hedb...@gmail.com> wrote:

Hi

Thanks for this!

I've just installed IDv2 on an existing national staging system (i.e. large
db, with around 20 standard dashboard, each with 1-20 dashboard items. Some
questions:

1.
The interactive dashboard loads slowly - looks like it is several order of
magnitude slower than the standard dhis2 dashboards. Is that correct, in
general?

2.
I used a typical "pivot table" item with 10 columns and 600 rows (i.e. it
is not suitable for anything but a pivot), and selected the chart option -
resulting in the system grinding to a halt. I presume this means that the
app is not ASSESSING any favourite for its suitability for e.g. visualising
or mapping, it just tries to switch no matter what? (the normal
pivot/chart/gis do the same, by the way). This is likely to frustrate some
users. Have you considered to specify some parameters (e.g. no of rows,
columns) that could be used to at least warn users that a specific switch
is unlikely to be successful?

Regards
Calle

On 11 December 2017 at 00:34, HISP Tanzania <i...@hisptanzania.org> wrote:

HISP Tanzania Developers Newsletter
View this email in your browser
<http://mailchi.mp/8bc70b399a3a/dashboard-next-big-thing-is-here?e=00f93d5eb4>
[image: visualizations in Interactive Dashboard]
<https://hisptanzania.us15.list-manage.com/track/click?u=134cc08f006c3c59927323731=38929bdfb9=00f93d5eb4>
Interactive dashboard 2.0: Multi-task between table, charts and maps in the
newest most advanced, interactive dashboard in dhis2 community.
DASHBOARD: NEXT BIG THING IS HERE

*It's finally here, *
The first dashboard to beat interactive dashboard 1.0,
It supports multi-tasking between charts, tables and maps, offers advanced
analytics at full screen and lets you visualize data twice as fast, at half
your data bundle.

*Introducing, the new Interactive dashboard, 2.0!
<https://hisptanzania.us15.list-manage.com/track/click?u=134cc08f006c3c59927323731=b9649531c4=00f93d5eb4&g

Re: [Dhis2-devs] DASHBOARD: NEXT BIG THING IS HERE

2017-12-11 Thread John Mukulu
Alright thanks.
We'll look into that.

You're very right on the relevance of switching on map with 10 indicators,
we were planning on the next release to put attention on sanity checks on
visualizations to be rendered.
But certainly warning first will do the trick.

Thanks again for the feedback.

On Mon, Dec 11, 2017 at 3:28 PM, Calle Hedberg <calle.hedb...@gmail.com>
wrote:

> John,
>
> OK, but don't overlook that strange behaviour seen when switching the
> first item on the demo dashboard between various modes.
>
> Complicated / large pivots will never be suitable for charts or maps, so
> the best option here is to specify some parameters that will warn users if
> they try to switch into an irrelevant mode (e.g. a map with 10 indicators
> makes little sense; a chart with 600 bars makes no sense either).Users can
> then first simply the pivot and then switch mode.
>
> Regards
> Calle
>
> On 11 December 2017 at 14:17, John Mukulu <john.f.muk...@gmail.com> wrote:
>
>> Great!
>> Yes, we'll expand the amount of favorites
>>
>> Will get back to you later to also know the combination of favorites you
>> have, I.e.
>>
>> - More of pivot tables and charts than maps
>> - More of aggregate data than events
>>
>> That'll really help to strain it further and identify where performance
>> tuning is needed most for better responsiveness.
>>
>> Cheers
>>
>> John Francis Mukulu
>> Lead Developer, HISPTZ
>> University of Dar es salaam
>> http://hisptanzania.org/
>>
>> On Dec 11, 2017 15:10, "Calle Hedberg" <calle.hedb...@gmail.com> wrote:
>>
>> John,
>>
>> Will do
>>
>> By the way, the demo site dashboards load a lot faster, presumably
>> because the amount of data is much smaller.
>>
>> I was testing this on the current 2.27
>>
>> Regards
>> Calle
>>
>> On 11 December 2017 at 14:07, Calle Hedberg <calle.hedb...@gmail.com>
>> wrote:
>>
>>> Hi
>>>
>>> I had some other strange behaviour too, so to confirm I opened the
>>> hisptz demo at https://play.hisptz.org/28:
>>>
>>> Take dashboard item 1 (a multi-line chart):
>>> - you can change to pivot OK
>>> - if you change to map, it's different than item 2 (to be expected).
>>> But if you then select the i view, and then go back to the map view,
>>> things go haywire - other items are disappearing or changing.
>>>
>>> Best regards
>>> calle
>>>
>>> On 11 December 2017 at 13:53, Calle Hedberg <calle.hedb...@gmail.com>
>>> wrote:
>>>
>>>> Hi
>>>>
>>>> Thanks for this!
>>>>
>>>> I've just installed IDv2 on an existing national staging system (i.e.
>>>> large db, with around 20 standard dashboard, each with 1-20 dashboard
>>>> items. Some questions:
>>>>
>>>> 1.
>>>> The interactive dashboard loads slowly - looks like it is several order
>>>> of magnitude slower than the standard dhis2 dashboards. Is that correct, in
>>>> general?
>>>>
>>>> 2.
>>>> I used a typical "pivot table" item with 10 columns and 600 rows (i.e.
>>>> it is not suitable for anything but a pivot), and selected the chart option
>>>> - resulting in the system grinding to a halt. I presume this means that the
>>>> app is not ASSESSING any favourite for its suitability for e.g. visualising
>>>> or mapping, it just tries to switch no matter what? (the normal
>>>> pivot/chart/gis do the same, by the way). This is likely to frustrate some
>>>> users. Have you considered to specify some parameters (e.g. no of rows,
>>>> columns) that could be used to at least warn users that a specific switch
>>>> is unlikely to be successful?
>>>>
>>>> Regards
>>>> Calle
>>>>
>>>> On 11 December 2017 at 00:34, HISP Tanzania <i...@hisptanzania.org>
>>>> wrote:
>>>>
>>>>> HISP Tanzania Developers Newsletter
>>>>> View this email in your browser
>>>>> <http://mailchi.mp/8bc70b399a3a/dashboard-next-big-thing-is-here?e=00f93d5eb4>
>>>>> [image: visualizations in Interactive Dashboard]
>>>>> <https://hisptanzania.us15.list-manage.com/track/click?u=134cc08f006c3c59927323731=38929bdfb9=00f93d5eb4>
>>>>> Interactive dashboard 2.0: Multi-task between table, charts and maps
>>>>> in the newest most advanced, int

Re: [Dhis2-devs] DASHBOARD: NEXT BIG THING IS HERE

2017-12-11 Thread John Mukulu
Great!
Yes, we'll expand the amount of favorites

Will get back to you later to also know the combination of favorites you
have, I.e.

- More of pivot tables and charts than maps
- More of aggregate data than events

That'll really help to strain it further and identify where performance
tuning is needed most for better responsiveness.

Cheers

John Francis Mukulu
Lead Developer, HISPTZ
University of Dar es salaam
http://hisptanzania.org/

On Dec 11, 2017 15:10, "Calle Hedberg"  wrote:

John,

Will do

By the way, the demo site dashboards load a lot faster, presumably because
the amount of data is much smaller.

I was testing this on the current 2.27

Regards
Calle

On 11 December 2017 at 14:07, Calle Hedberg  wrote:

> Hi
>
> I had some other strange behaviour too, so to confirm I opened the hisptz
> demo at https://play.hisptz.org/28:
>
> Take dashboard item 1 (a multi-line chart):
> - you can change to pivot OK
> - if you change to map, it's different than item 2 (to be expected).
> But if you then select the i view, and then go back to the map view,
> things go haywire - other items are disappearing or changing.
>
> Best regards
> calle
>
> On 11 December 2017 at 13:53, Calle Hedberg 
> wrote:
>
>> Hi
>>
>> Thanks for this!
>>
>> I've just installed IDv2 on an existing national staging system (i.e.
>> large db, with around 20 standard dashboard, each with 1-20 dashboard
>> items. Some questions:
>>
>> 1.
>> The interactive dashboard loads slowly - looks like it is several order
>> of magnitude slower than the standard dhis2 dashboards. Is that correct, in
>> general?
>>
>> 2.
>> I used a typical "pivot table" item with 10 columns and 600 rows (i.e. it
>> is not suitable for anything but a pivot), and selected the chart option -
>> resulting in the system grinding to a halt. I presume this means that the
>> app is not ASSESSING any favourite for its suitability for e.g. visualising
>> or mapping, it just tries to switch no matter what? (the normal
>> pivot/chart/gis do the same, by the way). This is likely to frustrate some
>> users. Have you considered to specify some parameters (e.g. no of rows,
>> columns) that could be used to at least warn users that a specific switch
>> is unlikely to be successful?
>>
>> Regards
>> Calle
>>
>> On 11 December 2017 at 00:34, HISP Tanzania 
>> wrote:
>>
>>> HISP Tanzania Developers Newsletter
>>> View this email in your browser
>>> 
>>> [image: visualizations in Interactive Dashboard]
>>> 
>>> Interactive dashboard 2.0: Multi-task between table, charts and maps in
>>> the newest most advanced, interactive dashboard in dhis2 community.
>>> DASHBOARD: NEXT BIG THING IS HERE
>>>
>>> *It's finally here, *
>>> The first dashboard to beat interactive dashboard 1.0,
>>> It supports multi-tasking between charts, tables and maps, offers
>>> advanced analytics at full screen and lets you visualize data twice as
>>> fast, at half your data bundle.
>>>
>>> *Introducing, the new Interactive dashboard, 2.0!
>>> *
>>>
>>> We've taken what was already an amazing dashboard and made it even
>>> better.
>>> We focused on features that really mattered to dashboard users, and made
>>> huge leaps! Leaps in interaction design, performance, functionality,
>>> efficiency and more.
>>>
>>> Here's a short-listed set of awesome features that ships with the
>>> newest, most advanced interactive dashboard in the world.
>>>
>>>- *Multi-tasking, do more with less*, switch instantly between
>>>table, charts and maps visualizations without loosing context of your 
>>> data.
>>>- *Navigate through space and time*, drill in your data across
>>>organization units and periods, with fullest extent of selections 
>>> possible
>>>with filters.
>>>- *Amazing data dictionary*, caption data under visualization, with
>>>insights to data definitions, sources, reporting frequencies and more. 
>>> Put
>>>a verbal meaning to your charts, maps and table.
>>>- *Go off-line with download capabilities*, download your complete
>>>maps for off-line use with QGIS, pivot table for use with excel, and 
>>> charts
>>>for your presentations and do more off-line.
>>>- *Social experience with interpretation*, jump start conversation
>>>right beside your map, chart and table and provoke action through
>>>establishing context.
>>>- *Bookmark your most visited dashboard*, diving into your
>>>prioritized dashboard just got a whole more interesting with bookmarking
>>>your most precious dashboard.
>>>
>>> The new interactive dashboard would seem to be a complete contradiction,
>>> it's 

Re: [Dhis2-devs] DASHBOARD: NEXT BIG THING IS HERE

2017-12-11 Thread John Mukulu
Hi Calle,
Great to see you're taking it for a spin. And thanks for stress testing the
dashboard.

Certainly, we need to do further stress testing on such a scenario, and
there's plenty of room for that.

Would you mind letting us know version of dhis2 you're using. We'll setup
an environment to emulate this and we'll keep you posted as we're pushing
the limits further.

Don't forget to subscribe to the mailing list to stay posted on updates.

http://mailchi.mp/8bc70b399a3a/dashboard-next-big-thing-is-here?e=188af6419f




John Francis Mukulu
Lead Developer, HISPTZ
University of Dar es salaam
http://hisptanzania.org/


On Dec 11, 2017 14:53, "Calle Hedberg"  wrote:

Hi

Thanks for this!

I've just installed IDv2 on an existing national staging system (i.e. large
db, with around 20 standard dashboard, each with 1-20 dashboard items. Some
questions:

1.
The interactive dashboard loads slowly - looks like it is several order of
magnitude slower than the standard dhis2 dashboards. Is that correct, in
general?

2.
I used a typical "pivot table" item with 10 columns and 600 rows (i.e. it
is not suitable for anything but a pivot), and selected the chart option -
resulting in the system grinding to a halt. I presume this means that the
app is not ASSESSING any favourite for its suitability for e.g. visualising
or mapping, it just tries to switch no matter what? (the normal
pivot/chart/gis do the same, by the way). This is likely to frustrate some
users. Have you considered to specify some parameters (e.g. no of rows,
columns) that could be used to at least warn users that a specific switch
is unlikely to be successful?

Regards
Calle

On 11 December 2017 at 00:34, HISP Tanzania  wrote:

> HISP Tanzania Developers Newsletter
> View this email in your browser
> 
> [image: visualizations in Interactive Dashboard]
> 
> Interactive dashboard 2.0: Multi-task between table, charts and maps in
> the newest most advanced, interactive dashboard in dhis2 community.
> DASHBOARD: NEXT BIG THING IS HERE
>
> *It's finally here, *
> The first dashboard to beat interactive dashboard 1.0,
> It supports multi-tasking between charts, tables and maps, offers advanced
> analytics at full screen and lets you visualize data twice as fast, at half
> your data bundle.
>
> *Introducing, the new Interactive dashboard, 2.0!
> *
>
> We've taken what was already an amazing dashboard and made it even better.
> We focused on features that really mattered to dashboard users, and made
> huge leaps! Leaps in interaction design, performance, functionality,
> efficiency and more.
>
> Here's a short-listed set of awesome features that ships with the newest,
> most advanced interactive dashboard in the world.
>
>- *Multi-tasking, do more with less*, switch instantly between table,
>charts and maps visualizations without loosing context of your data.
>- *Navigate through space and time*, drill in your data across
>organization units and periods, with fullest extent of selections possible
>with filters.
>- *Amazing data dictionary*, caption data under visualization, with
>insights to data definitions, sources, reporting frequencies and more. Put
>a verbal meaning to your charts, maps and table.
>- *Go off-line with download capabilities*, download your complete
>maps for off-line use with QGIS, pivot table for use with excel, and charts
>for your presentations and do more off-line.
>- *Social experience with interpretation*, jump start conversation
>right beside your map, chart and table and provoke action through
>establishing context.
>- *Bookmark your most visited dashboard*, diving into your prioritized
>dashboard just got a whole more interesting with bookmarking your most
>precious dashboard.
>
> The new interactive dashboard would seem to be a complete contradiction,
> it's built for extreme levels of performance, at the same time, it's
> remarkably simple.
>
> Take it for a spin now
> 
> ,
> Download from appstore
> 
> and install it now! See how to install here
> 
> *Interactive dashboard for iOS & Android*
> If you thought a really powerful, interactive dashboard, was way out of
> your reach! We got news for you!
>
> Introducing interactive dashboard for iOS and Android. Get your latest
> copy from Google Play
> 

Re: [Dhis2-devs] CONTROLLING THE DIRECTION THE CURSOR-CUSTOM FORMS

2017-12-11 Thread John Mukulu
If your form is simple enough just add attribute tabindex to each input
field and increment the number in the direction of input fields you want.

Input boxes may look like this



Though the catch is If you're inserting those input boxes with html editor,
you'll need to edit those input boxes for every new entry.

That's as basic as it gets, you can make it as complex as you want with
javascript.

Basic info on tabindex is here:
https://www.w3schools.com/tags/att_global_tabindex.asp



John Francis Mukulu
Lead Developer, HISPTZ
University of Dar es salaam
http://hisptanzania.org/

On Dec 11, 2017 14:00, "Stanley Kalyati"  wrote:

> Hi All,
>
> How can someone customize the cursor to move either vertical or horizontal
> in a custom form?
>
> Thanks
>
> Stanley
>
>
> ___
> 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
>
>
___
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] TAB IN CUSTOM FORMS

2017-12-08 Thread John Mukulu
Hello Stanley,
There's a section form feature that supports tabs horizontal or vertical.

But if it doesn't suit you, you can write your html form and use jQuery tab
feature so it's rendered as custom form.

See this link
https://jqueryui.com/tabs/


John Francis Mukulu
Lead Developer, HISPTZ
University of Dar es salaam
http://hisptanzania.org/

On Dec 8, 2017 8:38 AM, "Stanley Kalyati"  wrote:

> Hi all,
>
> Anyone to share how one can create custom froms with tubs?
>
> Thanks
>
> ___
> 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
>
>
___
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] SCORECARD V4

2017-12-07 Thread John Mukulu
Hello Stanley,

That's a night build you've seen in development server, it still have
couple of issues being fixed.

It'll be uploaded to same appstore once all known issues are fixed.

App store is https://play.dhis2.org/appstore

We'll keep your posted.
Cheers.

John Francis Mukulu
Lead Developer, HISPTZ
University of Dar es salaam
http://hisptanzania.org/


On Dec 8, 2017 08:55, "Stanley Kalyati"  wrote:

Where will i download this scorecard v4? Any insights?

Thanks
___
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] Older war files

2017-07-10 Thread John Mukulu
You should be able to get as far back as 2.18 going forward with these URL

https://www.dhis2.org/download/releases/2.18/dhis.war

Just change version number in url.

Though upgrade from version to version used to have upgrade notes on bunch
of things to be done first.
https://www.dhis2.org/217-upgrade

Change url for different versions too

I would suggest(if things don't workout well) use of tomcat6 for older war
files. Before 2.23 and switch to tomcat7 after. There's compatibility
issues because of java upgrades between some of those older war files.


John Francis Mukulu
Lead Developer, HISPTZ
University of Dar es salaam
http://hisptanzania.org/

On Jul 10, 2017 09:01, "Hannan Khan"  wrote:

> Dear all
>
> I need earlier war files from 16 on ward; from where I can download?
>
> Regards
>
> Muhammad Abdul Hannan Khan
> Team Leader
> Support to the National HMIS
> MIS, Director General of Health Service
> Ministry of Health and Family Welfare
>
> T +880-2- 58816459 <+880%202-58816459>, 58816412 ext 118
> F +88 02 58813 875
> M+88 01819 239 241
> M+88 01534 312 066
> E hann...@gmail.com
> S hannan.khan.dhaka
> B hannan-tech.blogspot.com
> L https://bd.linkedin.com/in/hannankhan
>
>
>
>
> ___
> 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
>
>
___
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] HOW TO SHARE SCORECARD RESULTS ON DASHBOARD

2017-05-24 Thread John Mukulu
Hello Stanley,
If you have already installed it on your machine, you need to search and
add it from dashboard search, the same way you add other favorites.

It may also be user role related, you can check how it appears in
dashboard, here:
https://scorecard-dev.dhis2.org/demo/dhis-web-dashboard-integration/index.action

Let me know if you need further help.

On Wed, May 24, 2017 at 10:08 AM, Stanley Kalyati <skaly...@gmail.com>
wrote:

> John and team,
>
> I downloaded the app as advised but I can't see the widget anywhere.
>
> Any step by step notes on this.?
>
> Thanks
>
> Stanley
>
>
>
> On May 23, 2017 6:50 PM, "John Mukulu" <john.f.muk...@gmail.com> wrote:
>
>> Hello Stanley,
>> Are you referring to HISP Tanzania interactive scorecard? If so, you can
>> get the dashboard widget for it from hisptz appstore.
>>
>> http://appstore.hisptanzania.org/
>>
>> On Tue, May 23, 2017 at 5:21 PM, Stanley Kalyati <skaly...@gmail.com>
>> wrote:
>>
>>> How can i share the Scorecard results i have generated for all users to
>>> see on the dashboard?
>>>
>>> Assist.
>>>
>>> Stanley
>>>
>>> ___
>>> 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
>>>
>>>
>>
>>
>> --
>> John Francis Mukulu,
>> Lead Developer, HISPTZ,
>> University of Dar es salaam.
>> http://hisptanzania.org/
>>
>


-- 
John Francis Mukulu,
Lead Developer, HISPTZ,
University of Dar es salaam.
http://hisptanzania.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] [Dhis2-users] HOW TO SHARE SCORECARD RESULTS ON DASHBOARD

2017-05-23 Thread John Mukulu
Hello Stanley,
Are you referring to HISP Tanzania interactive scorecard? If so, you can
get the dashboard widget for it from hisptz appstore.

http://appstore.hisptanzania.org/

On Tue, May 23, 2017 at 5:21 PM, Stanley Kalyati  wrote:

> How can i share the Scorecard results i have generated for all users to
> see on the dashboard?
>
> Assist.
>
> Stanley
>
> ___
> 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
>
>


-- 
John Francis Mukulu,
Lead Developer, HISPTZ,
University of Dar es salaam.
http://hisptanzania.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] [Dhis2-users] Calculation of conditional Indicators

2017-05-10 Thread John Mukulu
Hello Prosper at all,

As discussed earlier, we're working on rather complete solution to this
problem, rather than work arounds, you can get a sneak peak,
https://play.dhis2.org/dev/api/apps/function-manager/index.html

The idea is you function will serve as analytics, but gives you room to
impose any sort of conditions with javascripts.
The app itself is functional but it's not yet easy enough for mere-mortals.

But it should work the same manner, like indicators in pivot, that app
above, essential, takes period, orgunit and data selections, passess them
to a function a function works with the selections, and returns results in
same format as analytics would, and the app picks the results again, and
draws it.

Plan is to have it as stand-alone solution reusable anywhere, but it will
also be standard integral part of scorecard.

Again, it's still work in progress, we'll take feedback, once it's usable
enough for rollout.
Cheers.

On Wed, May 10, 2017 at 1:26 PM, Prosper BT  wrote:

> Dear Ola,
>
> Thanks for sharing this workaround, the two challenges may be wanting to
> keep same data with the aggregate data in entry because most of the time
> its within one form and may be inconveniencing switching between entry
> screens.
>
> Remember we had suggested to write a script that can update single event
> data elements  to use program indicators that can in turn be used as
> aggregate indicators for scorecard and BNA indicators.
>
> From the core development team is ther as way we can use aggregate
> indicators or both data element in aggregate and events so as to use
> program indicators for this. Its becoming very critical for analysis of
> logistics, HR, Scorecard and BNA indicators.
>
> The scorecard team is building up something John and Eric can share
> progress.
>
> Regards
>
>
>
>
>
> Prosper Behumbiize, MPH
> DHIS2 Implementation| HISP Uganda
> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
> prospertb
>
> On Wed, May 10, 2017 at 1:14 PM, Ola Hodne Titlestad 
> wrote:
>
>> Hi Sam,
>>
>> You may consider collecting some of this data with single events
>> (routine surveys/assessments) and then use program indicators or event
>> data item aggregation to get the aggregate numbers you are looking
>> for.
>>
>> Ola
>> ---
>>  > style="border-top: 1px solid #D3D4DE;">
>> 
>>   > href="https://www.avast.com/sig-email?utm_medium=email_
>> source=link_campaign=sig-email_content=webmail"
>> target="_blank">> src="https://ipmcdn.avast.com/images/icons/icon-envelope-tic
>> k-round-orange-animated-no-repeat-v1.gif"
>> width="46" height="29" style="width: 46px; height: 29px;" />
>> Virusfri. > href="https://www.avast.com/sig-email?utm_medium=email_
>> source=link_campaign=sig-email_content=webmail"
>> target="_blank" style="color: #4453ea;">www.avast.com
>>  
>> 
>> 
>> > height="1">
>> --
>> Ola Hodne Titlestad (Mr)
>> HISP
>> Department of Informatics
>> University of Oslo
>>
>> Mobile: +47 48069736 <+47%20480%2069%20736>
>> Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps link
>>
>>
>> On 10 May 2017 at 10:01, Sam Kasozi  wrote:
>> > What is the best approach for creating conditional indicators for
>> routine/
>> > aggregate data such as facilities reporting stock outs or facilities
>> > providing a service?
>> >
>> > Besides creating new data element [Yes/No or (1/0)] that is assigned in
>> the
>> > custom form whenever the condition is found to be true, is there an
>> > alternative?
>> >
>> >
>> > regards,
>> >
>> > Sam Kasozi
>> > +256 788-993-565
>> > Skype: sam.kasoziug
>> >
>> > ___
>> > 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
>> >
>>
>> ___
>> 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
>>
>
>


-- 
John Francis Mukulu,
Lead Developer, HISPTZ,
University of Dar es salaam.
http://hisptanzania.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] [Dhis2-users] Org unit lists

2017-04-11 Thread John Mukulu
Hi everyone,
Great to see sharp interest in the centralized repository.
I'm copying Olav, Johan and Ola who have been spear heading the
architecture of the metadata repository currently in github.

HISP Tanzania and University of Oslo have had a close collaboration into
putting this together, for the entire community to benefit on different
metadata and implementation use cases. It would be excellent to get your
feedback on the application and contribution into the repository.

We're surely looking forward to hear from you.

On Tue, Apr 11, 2017 at 8:49 AM, Hannan Khan <hann...@gmail.com> wrote:

> Dear Alvin
>
> John Mukulu also shared the metadata app though which any one can browse
> through those metadata; https://play.dhis2.org/demo/api/apps/metabase2/
> index.html#/.
>
> If there is interest, me and my team can help to setup an repository for
> AeHIN.
>
> Regards
>
> Hannan
>
> On Tue, Apr 11, 2017 at 4:44 AM, Saptarshi Purkayastha <sun...@gmail.com>
> wrote:
>
>> Hi Alvin,
>> John Mukulu shared the link to metadata in his first email -
>> https://github.com/dhis2/dhis2-metadata-repo
>>
>> ---
>> Regards,
>> Saptarshi PURKAYASTHA, Ph.D.
>> Assistant Professor of Health Informatics,
>> Indiana University - Purdue University Indianapolis.
>>
>> On 9 April 2017 at 08:21, Alvin Marcelo <admarc...@up.edu.ph> wrote:
>>
>>> PLs share link to the metadata on the github thanks --
>>>
>>>
>>>
>>> On Fri, Apr 7, 2017 at 1:51 PM, John Mukulu <john.f.muk...@gmail.com>
>>> wrote:
>>>
>>>> Hello again,
>>>> Thanks for the feedback.
>>>>
>>>> Yes, the github repository is meant to be the core repository for all
>>>> publicly shared repositories. If you have metadata you would like to
>>>> contribute, you're warmly welcome to do so.
>>>>
>>>> I will get back to you soon with a fully fledged app with full detailed
>>>> import preview.
>>>>
>>>> For metadata sharing within networks, which isn't soo public, we're
>>>> also looking into supporting external repositories, but that is in the very
>>>> long term plan.
>>>>
>>>> I recommend we use the github dhis2 repository for Sharing metadata at
>>>> this point.
>>>>
>>>> Cheers.
>>>>
>>>> John Francis Mukulu
>>>> Lead Developer, HISPTZ
>>>> University of Dar es salaam
>>>> http://hisptanzania.org/
>>>>
>>>> On Apr 7, 2017 03:41, "Saptarshi Purkayastha" <sun...@gmail.com> wrote:
>>>>
>>>> Thank you John for sharing that metabase2 app. The UX is great! I
>>>> assume its getting the repository data from the github repo. What would be
>>>> nice is to "preview the system" with the imported metadata and you could
>>>> rollback to your metadata. But the dhis2-live is a better way to deploy
>>>> "previewing of system" with a different metadata.
>>>>
>>>> Alvin, thank you for sharing that there is interest in AeHIN network
>>>> countries... I had assumed with so many implementations of DHIS2 across the
>>>> globe, there would be "real" metadata, than whats in the demo or training
>>>> databases. Would be great if repository of medicines is also available, in
>>>> something like the NDF
>>>> <https://www.nlm.nih.gov/research/umls/sourcereleasedocs/current/NDFRT/index.html>
>>>> at least for a region. Even in DHIS2 metadata format would be a good place
>>>> to be.
>>>>
>>>> ---
>>>> Regards,
>>>> Saptarshi PURKAYASTHA, Ph.D.
>>>> Assistant Professor of Health Informatics,
>>>> Indiana University - Purdue University Indianapolis.
>>>>
>>>> On 6 April 2017 at 20:13, Alvin Marcelo <admarc...@up.edu.ph> wrote:
>>>>
>>>>> Hi Saptarshi,
>>>>>
>>>>> Offhand, no we dont have a repository of metadata -- but yes we
>>>>> (AeHIN) is interested if there is going to be one.
>>>>>
>>>>> There are 12 DHIS2-implementing countries in AeHIN and they have been
>>>>> meeting annually at our general meetings. I think this would be a good
>>>>> project for them to do amongst themselves.
>>>>>
>>>>> For your information, the same thing (a repository of metadata) is
>>>>> planned for medicines to be

Re: [Dhis2-devs] [Dhis2-users] Org unit lists

2017-04-06 Thread John Mukulu
Hello again,
Thanks for the feedback.

Yes, the github repository is meant to be the core repository for all
publicly shared repositories. If you have metadata you would like to
contribute, you're warmly welcome to do so.

I will get back to you soon with a fully fledged app with full detailed
import preview.

For metadata sharing within networks, which isn't soo public, we're also
looking into supporting external repositories, but that is in the very long
term plan.

I recommend we use the github dhis2 repository for Sharing metadata at this
point.

Cheers.

John Francis Mukulu
Lead Developer, HISPTZ
University of Dar es salaam
http://hisptanzania.org/

On Apr 7, 2017 03:41, "Saptarshi Purkayastha"  wrote:

Thank you John for sharing that metabase2 app. The UX is great! I assume
its getting the repository data from the github repo. What would be nice is
to "preview the system" with the imported metadata and you could rollback
to your metadata. But the dhis2-live is a better way to deploy "previewing
of system" with a different metadata.

Alvin, thank you for sharing that there is interest in AeHIN network
countries... I had assumed with so many implementations of DHIS2 across the
globe, there would be "real" metadata, than whats in the demo or training
databases. Would be great if repository of medicines is also available, in
something like the NDF

at least for a region. Even in DHIS2 metadata format would be a good place
to be.

---
Regards,
Saptarshi PURKAYASTHA, Ph.D.
Assistant Professor of Health Informatics,
Indiana University - Purdue University Indianapolis.

On 6 April 2017 at 20:13, Alvin Marcelo  wrote:

> Hi Saptarshi,
>
> Offhand, no we dont have a repository of metadata -- but yes we (AeHIN) is
> interested if there is going to be one.
>
> There are 12 DHIS2-implementing countries in AeHIN and they have been
> meeting annually at our general meetings. I think this would be a good
> project for them to do amongst themselves.
>
> For your information, the same thing (a repository of metadata) is planned
> for medicines to be led by Dr Boonchai -- perhaps we can use the same
> platform for the medicine and for the DHIS2 metadata?
>
> alvin
>
>
>
> On Fri, Apr 7, 2017 at 4:17 AM, Saptarshi Purkayastha 
> wrote:
>
>> I am assuming there is no repository, since I didnt get a response back.
>> Is there at least interest among implementers and developers, to be able to
>> share or host the metadata from different implementations?
>>
>> ---
>> Regards,
>> Saptarshi PURKAYASTHA, Ph.D.
>> Assistant Professor of Health Informatics,
>> Indiana University - Purdue University Indianapolis.
>>
>> On 28 March 2017 at 13:29, Saptarshi Purkayastha 
>> wrote:
>>
>>> Hi devs and users,
>>> Is there a metadata sharing repository, where implementers can get a
>>> list of metadata that is used by different implementers? The org units list
>>> would be a useful starting place that many implementers in a country could
>>> share. But there is probably a whole list of indicators, tracker program
>>> forms (for standardized global programs) that could also be shared.
>>>
>>> Is there a repository some place? or plan for such a repository? May be
>>> it could simply be on the mailing list and people could share the metadata
>>> export files here.
>>>
>>> ---
>>> Regards,
>>> Saptarshi PURKAYASTHA, Ph.D.
>>> Assistant Professor of Health Informatics,
>>> Indiana University - Purdue University Indianapolis.
>>>
>>
>>
>> ___
>> 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
>>
>>
>
>
> --
> Dr. Alvin B. Marcelo www.alvinmarcelo.com
> 
>
>
>
>

___
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
___
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] Org unit lists

2017-04-06 Thread John Mukulu
Hello Saptarshi,
Yes, there's a metadata repository on github with the orgunit lists,
indicators, dashboard and more.

There's also an application for browsing through the metadata and
installing., you can install the app in your instance and download the
metadata straight.

See the app here:
https://play.dhis2.org/demo/api/apps/metabase2/index.html#/

See the repository here:
https://github.com/dhis2/dhis2-metadata-repo

I can share you the most recent build of the app, we could use some
feedback to push it forward.

Looking forward to hear from you.

On Apr 6, 2017 23:36, "Saptarshi Purkayastha"  wrote:

> I am assuming there is no repository, since I didnt get a response back.
> Is there at least interest among implementers and developers, to be able to
> share or host the metadata from different implementations?
>
> ---
> Regards,
> Saptarshi PURKAYASTHA, Ph.D.
> Assistant Professor of Health Informatics,
> Indiana University - Purdue University Indianapolis.
>
> On 28 March 2017 at 13:29, Saptarshi Purkayastha  wrote:
>
>> Hi devs and users,
>> Is there a metadata sharing repository, where implementers can get a list
>> of metadata that is used by different implementers? The org units list
>> would be a useful starting place that many implementers in a country could
>> share. But there is probably a whole list of indicators, tracker program
>> forms (for standardized global programs) that could also be shared.
>>
>> Is there a repository some place? or plan for such a repository? May be
>> it could simply be on the mailing list and people could share the metadata
>> export files here.
>>
>> ---
>> Regards,
>> Saptarshi PURKAYASTHA, Ph.D.
>> Assistant Professor of Health Informatics,
>> Indiana University - Purdue University Indianapolis.
>>
>
>
> ___
> 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
>
>
___
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] Completeness above 100% and inconsistency in reporting rates

2017-03-27 Thread John Mukulu
It's a design limitation issue, it's not a bug, and addressing it has
implications on analytics, reports as well as way people will be assigning
dataset to orgunits.

So it will probably come in next releases, but unlikely to be backported to
previous system because of breaking changes that will be introduced along
with the solution.

On Mar 24, 2017 5:21 PM, "gerald thomas"  wrote:

Dear All,
We had been struggling with this issue along with other users and we
haven't received much to conclude it. Please any help to close the
subject? It is also on JIRA: https://jira.dhis2.org/browse/DHIS2-300.

Kindly note that when our instance is on 2.22 the reporting rate was
working fine. This issue occurs whenever we upgrade our system beyond
2.22.


--
Regards,

Gerald

___
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
___
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] About and Home Menu's hidden in the Pivot table

2017-02-09 Thread John Mukulu
Hello Muturi,
The quick way around that problem is by resizing (zoom in and out) until
you can see the menu.

As Jan explain, you will experience this problem in small screens display
or on a projector with lower resolutions.


On 8 Feb 2017 01:55, "Jan Henrik Øverland"  wrote:

Hi Muturi,

This is caused by a weakness in the ui framework, ExtJS 4. However it only
happens when the option window (or any other Ext window) is taller than the
whole browser window - and the option window is only about 600px tall so it
should work in most cases. But a bit annoying if you have resized the
browser window of course. We are aiming to refactor the ui some time this
year anyway.

Jan

On 7 February 2017 at 22:34, David Muturi  wrote:

> Hi Devs,
> Another UI issue is that the about and Home menu links get hidden within
> the pivot table once one clicks on options. The only solution for now is to
> reload the page. This is happening on both versions 2.25 and 2.26. I have
> attached a screenshot of the same.
> rgds
> David
>
> ___
> 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
>
>


-- 
Jan Henrik Øverland
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org 

___
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
___
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] Table for SQL query for Indicators

2017-02-05 Thread John Mukulu
Hello Raminosoa,

Analytics supports generation of query based on data, period and orgunit
selection. You can use pivot table, select your periods, orgunits and
indicators and use download option under advanced menu to download the
query.

I can't recall, but I think support for generation sql query even for
indicators was added either in 2.23, 2.24 or 2.25 so you could also try to
explore this option.

On 3 Feb 2017 11:05, "Raminosoa Rabemanantsoa, Tantely" <
tramino...@mikolo.org> wrote:

> Dear friends,
>
> I am trying to output data of a questionnaire (called DataSetName here)
> from SQL View  for the period of September 2016 from  data values using the
> following code:
>
> select dv.sourceid as organisationunitid, ou.name, ou.shortname, ou.code
> as CodeAC, de.name as intitule, pe.startdate, pe.enddate,
> coc.categoryoptioncomboname, dv.value from datavalue dv inner join
> organisationunit ou on (dv.sourceid=ou.organisationunitid) inner join
> dataelement de on (dv.dataelementid=de.dataelementid) inner join period
> pe on (pe.startdate='2016-09-01') inner join _categoryoptioncomboname coc
> on (dv.categoryoptioncomboid=coc.categoryoptioncomboid) where
> (dv.dataelementid in (select dataelementid from datasetmembers where
> datasetid in (select datasetid from dataset where name='DataSetName')));
>
> If I would like to output data from indicator tables, on which table in
> DHIS2 should I base the select query?
>
> Thank you for your support!
>
> Kind Regards,
>
> Tantely.
>
> *This message and its attachments are confidential and solely for the
> intended recipients. If received in error, please delete them and notify
> the sender via reply e-mail immediately.*
> ___
> 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
>
>
___
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-core] switching to github for server-side code on tuesday

2016-08-29 Thread John Mukulu
Thanks for the updates.
Looking forward to this.

On Sun, Aug 28, 2016 at 1:29 PM, Lars Helge Øverland  wrote:

> Hi all,
>
> we will be transitioning the core source code branches from Launchpad to
> Github on Tuesday this week (Aug 30).
>
> For developers - please do not make commits to Launchpad on Tuesday. You
> will be notified when the new Github repo is available.
>
> We will migrate the trunk repo and the three latest stable release
> branches. More info will come later.
>
> regards,
>
> Lars
>
>
>
>
> --
> 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-devs-core
> Post to : dhis2-devs-core@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs-core
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
John Francis Mukulu,
Lead Developer, HISPTZ,
University of Dar es salaam.
http://hisptanzania.org/
-- 
Mailing list: https://launchpad.net/~dhis2-devs-core
Post to : dhis2-devs-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs-core
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-devs-core] switching to github for server-side code on tuesday

2016-08-29 Thread John Mukulu
Thanks for the updates.
Looking forward to this.

On Sun, Aug 28, 2016 at 1:29 PM, Lars Helge Øverland  wrote:

> Hi all,
>
> we will be transitioning the core source code branches from Launchpad to
> Github on Tuesday this week (Aug 30).
>
> For developers - please do not make commits to Launchpad on Tuesday. You
> will be notified when the new Github repo is available.
>
> We will migrate the trunk repo and the three latest stable release
> branches. More info will come later.
>
> regards,
>
> Lars
>
>
>
>
> --
> 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-devs-core
> Post to : dhis2-devs-c...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs-core
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
John Francis Mukulu,
Lead Developer, HISPTZ,
University of Dar es salaam.
http://hisptanzania.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-core] tip of the day: gmail filter for all unread emails for primary tab only

2016-06-22 Thread John Mukulu
Thanks lars

John Francis Mukulu,
Lead Developer, HISPTZ,
University of Dar es salaam.
http://hisptanzania.org/
On Jun 22, 2016 7:00 PM, "Lars Helge Øverland"  wrote:

> is:inbox -category:(updates OR promotions OR social OR forums) is:unread
>
> Put in search box and enter. Then make a bookmark.
> ​
> --
> 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-devs-core
> Post to : dhis2-devs-core@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs-core
> More help   : https://help.launchpad.net/ListHelp
>
>
-- 
Mailing list: https://launchpad.net/~dhis2-devs-core
Post to : dhis2-devs-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs-core
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs-core] Update to like/ilike

2015-11-12 Thread John Mukulu
This is soo cool!
Thanks Morten.
On Nov 12, 2015 7:49 AM, "Morten Olav Hansen"  wrote:

> Hi everyone
>
> I just pushed some code that enables the new in-memory filter engine, in
> that I have also added a few new operators, and updated a few old ones.
>
> The new operators are documented here
> http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s07.html
>
> Please note that we now also have proper support for like and ilike, so
> you might need to update your apps to use :ilike: instead of :like: if you
> expect non case sensitive.
>
> Please let me know if you see any issues.
>
> --
> Morten
>
> --
> Mailing list: https://launchpad.net/~dhis2-devs-core
> Post to : dhis2-devs-core@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs-core
> More help   : https://help.launchpad.net/ListHelp
>
>
-- 
Mailing list: https://launchpad.net/~dhis2-devs-core
Post to : dhis2-devs-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs-core
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs-core] Change from OR to AND in object filter queries

2015-06-03 Thread John Mukulu
Hey Morten,
Why [] in the filter, why not just plain

?filter=id:in:1,2,3
?filter=name:in:John,Marie

Concerning or with two different operators, you could probably introduce OR
filter that overrides default AND logic, something like these:

*type=int OR numberType=number*
?filter=type:eq:intfilterOr=numberType:eq:number

*type=int AND numberType=number*
?filter=type:eq:intfilter=numberType:eq:number

*type=int OR numberType in (number,int)*
?filter=type:eq:intfilterOr=numberType:in:number,int

*type=int AND numberType in (number,int)*
?filter=type:eq:intfilter=numberType:in:number,int


On Wed, Jun 3, 2015 at 12:14 PM, Morten Olav Hansen morte...@gmail.com
wrote:

 Hi

 The [] syntax for now is only for the IN operator (which supports a list
 of values), I could see it working for like etc also, but then what would
 we do if we want an OR but with two different operators?

 --
 Morten

 On Wed, Jun 3, 2015 at 4:07 PM, Mark Polak mar...@ifi.uio.no wrote:

  Hey All,

  You are right Jan. It does an AND for different fields. But if you try
 to filter on the same field it will do an OR.

  This behaviour is a bit confusing, that one is OR and the other is AND.
 For that reason alone i like the new syntax of introducing a different OR
 for the same fields.

  ?filter=id:in[1,2]

  One thing that comes to mind, how would i use a LIKE when doing an OR?
  ( i don't have an immediate need for this i think though :))

  would i be able to do something like

  ?filter=name:like[John,Marie]

  Regards,

  Mark

  On 3 Jun 2015, at 10:08, Jan Henrik Øverland 
 janhenrik.overl...@gmail.com wrote:


 https://apps.dhis2.org/demo/api/dataElements.json?paging=falsefilter=dataElementGroups.id:eq:qfxEYY9xAl6filter=name:like:dose




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




-- 
*Full name: *John Francis Mukulu
*Mobile Phone:* +255717154006
*Website:* http://mukulu.tk/
*Social Coding:* http://github.com/mukulu https://bitbucket.org/mukulu
*Open source developer*
-- 
Mailing list: https://launchpad.net/~dhis2-devs-core
Post to : dhis2-devs-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs-core
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Aggregation Fails on MySQL using DHIS 2.11

2014-02-03 Thread John Mukulu
Hello Lars,
I'm troubleshooting similar problem on aggregation query builder on
test.dhis2.org for *2.14* revision 13755
I'll get back to you soon.

ERROR LOG:
* ERROR 2014-02-03 12:14:39,546 Exception occurred during processing
request: Unable to instantiate Action,
org.hisp.dhis.patient.action.caseaggregation.TestCaseAggregationConditionAction,
 defined for 'testCaseAggregationCondition' in namespace
'/dhis-web-maintenance-patient'Error creating bean with name
'org.hisp.dhis.patient.action.caseaggregation.TestCaseAggregationConditionAction'
defined in URL
[jar:file:/home/dhis/tomcat-idsr/webapps/idsr/WEB-INF/lib/dhis-web-maintenance-patient-2.14.jar!/META-INF/dhis/beans.xml]:
Error setting property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'caseAggregationConditionService' of bean class
[org.hisp.dhis.patient.action.caseaggregation.TestCaseAggregationConditionAction]:
Bean property 'caseAggregationConditionService' is not writable or has an
invalid setter method. Does the parameter type of the setter match the
return type of the getter? (CommonsLogger.java
[http-bio-127.0.0.1-8080-exec-2])
Unable to instantiate Action,
org.hisp.dhis.patient.action.caseaggregation.TestCaseAggregationConditionAction,
 defined for 'testCaseAggregationCondition' in namespace
'/dhis-web-maintenance-patient'Error creating bean with name
'org.hisp.dhis.patient.action.caseaggregation.TestCaseAggregationConditionAction'
defined in URL
[jar:file:/home/dhis/tomcat-idsr/webapps/idsr/WEB-INF/lib/dhis-web-maintenance-patient-2.14.jar!/META-INF/dhis/beans.xml]:
Error setting property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'caseAggregationConditionService' of bean class
[org.hisp.dhis.patient.action.caseaggregation.TestCaseAggregationConditionAction]:
Bean property 'caseAggregationConditionService' is not writable or has an
invalid setter method. Does the parameter type of the setter match the
return type of the getter?
at
com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:316)
at
com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:397)
at
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:194)
at
org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
at
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37)
at
com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
at
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:552)
at
org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
at
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at