[Dhis2-devs-core] API Versioning

2016-05-23 Thread Morten Olav Hansen
Hi everyone

I have now introduced API versioning in the web-api, for now, all our
endpoints are mapped to /, /23 and /24, which means that your clients
already can target 2.24 specifically.

I think we need a more fine tuned approach to this, and it is something
maybe we can discuss at the dev call tomorrow.

Please be aware that we are not introducing DTOs in this release, so
changes to the domain layer will affect -all- versions of the API (unless
we are using DTOs as is the case for tracker), and yes, this includes the
exported schema.

The annotation used is called @Api, and can be applied both to types and
methods, for now the controllers are type annotated with:
@Api( { Api.Version.DEFAULT, Api.Version.ALL } )

Which means all available versions + default (which is just /). In many
ways, the default could also be called legacy (we probably want people to
only target specific API versions in the future).

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
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


Re: [Dhis2-devs] [Issue] Program description does not get saved

2016-05-23 Thread Vanya Seth
Thanks Lars.

Regards
Vanya

On Mon, May 23, 2016 at 7:31 PM, Lars Helge Øverland  wrote:

> Hi Vanya,
>
> this has been fixed now in 2.22 -> trunk.
>
> regards,
>
> Lars
>
>
>
> On Fri, May 20, 2016 at 1:12 PM, Vanya Seth 
> wrote:
>
>> Hi Dhis-devs
>>
>> The program description is not getting saved for the 2.23 DHIS released
>> version. This was reported on the trunk but still exists in 2.23.
>> Can you please have a look at this?
>>
>> Regards
>> Vanya
>>
>> On Tue, Mar 29, 2016 at 11:13 AM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Hi,
>>>
>>> I am using DHIS version 2.23. Through the programs/attributes module, I
>>> have created a program, added a description to it and saved it. But, when I
>>> later click on 'Edit' program, the description is missing. The program
>>> description gets cleared out even you add one and save it/update it.
>>> However, no errors/exceptions are generated in the logs.
>>>
>>> Is this a known issue? Any thoughts on this?
>>>
>>>
>>> *Thanks*
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> 
>>>
>>
>>
>>
>> --
>> With Regards
>> ThoughtWorks Technologies
>> Hyderabad
>>
>> --Stay Hungry Stay Foolish!!
>>
>> ___
>> 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
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org 
>
>


-- 
With Regards
ThoughtWorks Technologies
Hyderabad

--Stay Hungry Stay Foolish!!
___
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] Android Tracker doesn't work with 2.23 version

2016-05-23 Thread Em Le Hong
Hi Erling,
I got the crash screen, one more thing I want to indicate you that the
program stage has custom data entry form. Does the android support custom
data entry?
[image: Inline image 1]

On Mon, May 23, 2016 at 2:17 PM, Erling Fjelstad  wrote:

> Hi Em,
> It works over here on play.dhis2.org/demo - which is running 2.23. What
> is failing on your end?
> Regards,
> Erling
>
> On Mon, May 23, 2016 at 6:08 AM, Em Le Hong 
> wrote:
>
>>
>> Hi team,
>>
>> I just tested the Android Tracker app and seems that it doesn't work with
>> DHIS2 version 2.23 revision 22889.
>>
>> Do you have any plan to update so it can work with DHIS2 version 2.23?
>> Because we are implementing it in Cambodia and they want to know so they
>> can make a plan for training.
>>
>> Thanks
>> --
>> Le Hong Em
>>   +84 126 7171 650
>>
>> ___
>> 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
>>
>>
>


-- 
Le Hong Em
  +84 126 7171 650
___
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] [Bug 1585033] [NEW] Validation rule Translation left side and right side

2016-05-23 Thread Nghia Nguyen
Public bug reported:

DHIS2 version: 2.22 Revision: 21900

We put Lao language into description (in Edit Left side and Edit Right
side). It works normally in English interface language and English
database language. But when we change into Lao interface and database
language. It's show blank when check validation rule in Data entry. We
need to use Lao interface and database language for Lao user. So I hope
dev can fix this bug soon.

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1585033

Title:
  Validation rule Translation left side and right side

Status in DHIS:
  New

Bug description:
  DHIS2 version: 2.22 Revision: 21900

  We put Lao language into description (in Edit Left side and Edit Right
  side). It works normally in English interface language and English
  database language. But when we change into Lao interface and database
  language. It's show blank when check validation rule in Data entry. We
  need to use Lao interface and database language for Lao user. So I
  hope dev can fix this bug soon.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1585033/+subscriptions

___
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] [Bug 1585018] [NEW] User details: last login isn't updated

2016-05-23 Thread Le Hong Em
Public bug reported:

DHIS2 version: 2.22 Revision: 21900

After the training, we want to know if some users are still using the
system. We go to Users maintenance module, then click on user => show
user details. But seems that the features doesn't work properly, it
isn't update the last login correctly.

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1585018

Title:
  User details: last login isn't updated

Status in DHIS:
  New

Bug description:
  DHIS2 version: 2.22 Revision: 21900

  After the training, we want to know if some users are still using the
  system. We go to Users maintenance module, then click on user => show
  user details. But seems that the features doesn't work properly, it
  isn't update the last login correctly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1585018/+subscriptions

___
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-core] Android Data Capture (Aggregated) - entered data offline doesn't show when revising same OU/ period

2016-05-23 Thread Rodolfo Melia
This has been reported before - when you capture aggregated data in the
Android app offline, if you go back to the home screen of the app, and then
into the form, none of the values that you previously entered show.

Is there any plans on changing this behaviour? Most users want to check the
data that they just captured, and they get very, very confused when they go
back to a OU/ Period and the data is gone.


*Rodolfo *
-- 
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] Android Data Capture, apk

2016-05-23 Thread Rodolfo Melia
Thanks for the clarification. The difference on behaviour that i noticed
was due to the fact that I was running offline and then online. Perhaps the
app should show on the setting what version you are running - it is
difficult to know if you have an up-to-date version in your tablet/phone or
not.

*Rodolfo*


On 24 May 2016 at 00:22, Araz Abishov  wrote:

> Hi Rodolfo,
>
> Apk file which you see on github is the one which is published on Google
> Play. The reason why you see February 1 as a release date is because GitHub
> automatically associated tag with latest commit on master branch (which was
> on 1st February), while application is being supported on legacy branch.
>
> Best regards,
>
> —
> Araz Abishov,
> Android developer, DHIS 2
> University of Oslo
> https://www.dhis2.org/
>
> On May 23, 2016 at 5:20:46 PM, Rodolfo Melia (rme...@knowming.com) wrote:
>
> Hi - I've noticed that the apk available in github for Android Data
> Capture is not the same version as the one on Google Play Store.
>
> Google Play
> : 28 April
> GitHub : Feb
> 1
>
> We normally use the apk for either demo/trainings using a simulator (which
> cannot use gPlay), or for distributing to staff tablets, as we avoid the
> gPlay version because it gets updated automatically, and we normally prefer
> to do testing and control distribution.
>
> Please let us know where to get the latest apk !
>
> Rodolfo
>
>
>
> ___
> 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-core] DHIS2 demo admin password

2016-05-23 Thread Jim Grace
Sounds reasonable to me.


On Mon, May 23, 2016 at 1:16 PM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Increasingly people change the password of the demo server.
>
> Can we put a database trigger in place to prevent this from being changed?
> It causes problems for people in general.
>
> Regards,
> Jason
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049
>
> --
> 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
>
>


-- 
Jim Grace
Core developer, DHIS 2
HISP US Inc.
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


[Dhis2-devs] Installing dhis2 on windows server 2012

2016-05-23 Thread henri claude moungui
Hi all,is it possible to run dhis2 on windows server 2012?I am trying but still 
get the error message: " HTTP ERROR: 503. Problem accessing /. Reason:  
SERVICE_UNAVAILABLE"
I have dhis2 live v2.18 with a postgresql database.
Thank you, 
Henri Moungui
Helen Keller International Yaounde - Cameroon.
 ___
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] Android Data Capture, apk

2016-05-23 Thread Araz Abishov
Hi Rodolfo,

Apk file which you see on github is the one which is published on Google
Play. The reason why you see February 1 as a release date is because GitHub
automatically associated tag with latest commit on master branch (which was
on 1st February), while application is being supported on legacy branch.

Best regards,

—
Araz Abishov,
Android developer, DHIS 2
University of Oslo
https://www.dhis2.org/

On May 23, 2016 at 5:20:46 PM, Rodolfo Melia (rme...@knowming.com) wrote:

Hi - I've noticed that the apk available in github for Android Data Capture
is not the same version as the one on Google Play Store.

Google Play :
28 April
GitHub : Feb 1

We normally use the apk for either demo/trainings using a simulator (which
cannot use gPlay), or for distributing to staff tablets, as we avoid the
gPlay version because it gets updated automatically, and we normally prefer
to do testing and control distribution.

Please let us know where to get the latest apk !

Rodolfo



___
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] No new OrganisationUnitGroupSets are being rendered in the "new Org. Unit" screen

2016-05-23 Thread Jose Garcia Muñoz
Yep, it works! Thanks Jason!

On Mon, May 23, 2016 at 7:18 PM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Pretty sure you need to enable this in the applications settings to allow
> this to happen.
>
> [image: Inline image 1]
>
>
>
> On Mon, May 23, 2016 at 7:11 PM, Jose Garcia Muñoz 
> wrote:
>
>>
>> Hi devs,
>>
>> it seems that, at least in 2.22, new org. unit group sets created are not
>> being rendered during the creation of org. units, even if they are
>> Compulsory and has the DataDimenstion field = 'Yes'. I'm not sure, but I
>> think that in the previous version, this behaviuor was also configured
>> under the 'General Settings' menu. But, in 2.22, I can not see where that
>> option is anymore.
>>
>> Any help on this?
>>
>> Many thanks
>> Jose
>>
>> ___
>> 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
>
___
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] No new OrganisationUnitGroupSets are being rendered in the "new Org. Unit" screen

2016-05-23 Thread Jason Pickering
Pretty sure you need to enable this in the applications settings to allow
this to happen.

[image: Inline image 1]



On Mon, May 23, 2016 at 7:11 PM, Jose Garcia Muñoz 
wrote:

>
> Hi devs,
>
> it seems that, at least in 2.22, new org. unit group sets created are not
> being rendered during the creation of org. units, even if they are
> Compulsory and has the DataDimenstion field = 'Yes'. I'm not sure, but I
> think that in the previous version, this behaviuor was also configured
> under the 'General Settings' menu. But, in 2.22, I can not see where that
> option is anymore.
>
> Any help on this?
>
> Many thanks
> Jose
>
> ___
> 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
___
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-core] DHIS2 demo admin password

2016-05-23 Thread Jason Pickering
Increasingly people change the password of the demo server.

Can we put a database trigger in place to prevent this from being changed?
It causes problems for people in general.

Regards,
Jason


-- 
Jason P. Pickering
email: jason.p.picker...@gmail.com
tel:+46764147049
-- 
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


[Dhis2-devs] No new OrganisationUnitGroupSets are being rendered in the "new Org. Unit" screen

2016-05-23 Thread Jose Garcia Muñoz
Hi devs,

it seems that, at least in 2.22, new org. unit group sets created are not
being rendered during the creation of org. units, even if they are
Compulsory and has the DataDimenstion field = 'Yes'. I'm not sure, but I
think that in the previous version, this behaviuor was also configured
under the 'General Settings' menu. But, in 2.22, I can not see where that
option is anymore.

Any help on this?

Many thanks
Jose
___
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] [Bug 1582637] Re: DHIS NOT DISPLAYED ON BROWSER WHEN DATA IS RESTORED TO POSTGRESQL

2016-05-23 Thread Lars Helge Øverland
Very unlikely this is a DHIS bug, marking invalid.

** Changed in: dhis2
   Status: New => Invalid

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1582637

Title:
  DHIS NOT DISPLAYED ON BROWSER WHEN DATA IS RESTORED TO POSTGRESQL

Status in DHIS:
  Invalid

Bug description:
  Hello all,

  I have tried to install DHIS in both ubuntu and windows on a local
  server,but as soon as i restore the database from our remote server to
  postgresql,the browser stops displaying the DHIS homepage.Everything
  works fine except the DHIS  which is not displayed and this only
  happens when the database is restored.

  Waiting for your help.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1582637/+subscriptions

___
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] Android Data Capture, apk

2016-05-23 Thread Rodolfo Melia
Hi - I've noticed that the apk available in github for Android Data Capture
is not the same version as the one on Google Play Store.

Google Play :
28 April
GitHub : Feb 1

We normally use the apk for either demo/trainings using a simulator (which
cannot use gPlay), or for distributing to staff tablets, as we avoid the
gPlay version because it gets updated automatically, and we normally prefer
to do testing and control distribution.

Please let us know where to get the latest apk !

Rodolfo
___
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] Program indicator groups

2016-05-23 Thread Lars Helge Øverland
On Thu, May 19, 2016 at 8:34 PM, Olav Poppe  wrote:

> Hi,
> blueprint for groups:
> https://blueprints.launchpad.net/dhis2/+spec/program-indicator-groups
>

Okay thanks. Put this up for 2.25.



>
> As for the tracker data element groups, I didn’t quite understand how that
> would work?
>
> What I was thinking of was for cases where you have for example discharge
> diagnosis or deaths, and would like to have a table with diagnosis (rows)
> and age (columns). Or, I imagine, any circumstance where you have program
> indicator that could be disaggregated by age or sex, you might want to do
> something similar (vaccine doses for each antigen vs age; ANC visits vs age
> of mother etc). Would what you describe work on those cases? The simple
> examples I mention you could get in event reports, but not the ones
> requiring a bit more logic.
>

Right. Disaggregation of program indicators becomes a bit complex. Let's
discuss this later.





>
> Olav
>
>
>
>
>
> 19. mai 2016 kl. 20.11 skrev Lars Helge Øverland :
>
> Hi Olav,
>
> yes having program indicator groups as a means of organizing a large list
> of program indicators sounds like a good and natural development. Please
> write a blueprint.
>
> Having it as a data dimension will be tricky since program indicators are
> calculated/derived values.
>
> What we have been thinking of though is to support data element groups +
> group sets for tracker data elements, which could be used as data
> dimensions. That could perhaps help with this problem as well.
>
>
> regards,
>
> Lars
>
>
>
>
>
> On Thu, May 19, 2016 at 7:47 PM, Olav Poppe  wrote:
>
>> Hi devs,
>> are there plans for program indicator groups? I didn’t find any
>> blueprints. It doesn’t take to many program indicators before it gets
>> confusing when you just have one huge list. Secondly, in cases where you
>> have data disaggregated by e.g. age and sex, it is currently quite limited
>> what you can do in the pivot table with program indicators - having program
>> indicator groups that could be used as data dimensions (like data element
>> groups) could help resolve that.
>>
>> Regards
>> Olav
>> ___
>> 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
>>
>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org 
>
>
>


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


Re: [Dhis2-devs] [Issue] Program description does not get saved

2016-05-23 Thread Lars Helge Øverland
Hi Vanya,

this has been fixed now in 2.22 -> trunk.

regards,

Lars



On Fri, May 20, 2016 at 1:12 PM, Vanya Seth  wrote:

> Hi Dhis-devs
>
> The program description is not getting saved for the 2.23 DHIS released
> version. This was reported on the trunk but still exists in 2.23.
> Can you please have a look at this?
>
> Regards
> Vanya
>
> On Tue, Mar 29, 2016 at 11:13 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi,
>>
>> I am using DHIS version 2.23. Through the programs/attributes module, I
>> have created a program, added a description to it and saved it. But, when I
>> later click on 'Edit' program, the description is missing. The program
>> description gets cleared out even you add one and save it/update it.
>> However, no errors/exceptions are generated in the logs.
>>
>> Is this a known issue? Any thoughts on this?
>>
>>
>> *Thanks*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> 
>>
>
>
>
> --
> With Regards
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>
> ___
> 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
>
>


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


Re: [Dhis2-devs] Regarding DHIS2 reporting system

2016-05-23 Thread Lars Helge Øverland
Hi Mahbubul,

you can try going to Apps > Reports > Reporting rate summary. Select
"select data set / view all" and your time period.

regards,

Lars




[image: Inline image 1]

On Sun, May 22, 2016 at 7:52 AM, Mahbubul Alam  wrote:

> Dear DHIS2 Team,
> Is there any way to create a reporting status from pivot table like this
> table on DHIS2-V2.21
>
> Please help me.
>
> *Dataset Name* *Period * * No of Org unit need to complete
> dataset*   *no of org unit reported*
> IDS 2016w1
> 493
> 420
> *Percentage*
> 80%
>
> --
> [image: http://iedcr.gov.bd/images/stories/logo_new.jpg]
> Thanks
> *Mahbubul Alam* | Data Management Personnel (NISB)
> Msc in CSE, Bsc in CSc. Associate Member of BCS.
>
> *Institute of Epidemiology Disease Control & Research (IEDCR)*
> www.iedcr.gov.bd
> Mohakhali Dhaka.
>
> ___
> 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
>
>


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


Re: [Dhis2-devs] Facility coordinates as default for event coordinates

2016-05-23 Thread Lars Helge Øverland
On Mon, May 23, 2016 at 1:20 PM, Sergio Valenzuela <
sergio.valenzu...@ehas.org> wrote:

> Hi Lars,
>
> I was about to answer Jason explaining use cases, but with your last
> message all my questions are now solved.
>
> First of all, I was wrong with the thematic layer issue, I thought you
> were basing the thematic mapping on event coordinates so I thought that in
> order to render the (for example) number of malaria diagnosis for each
> district I had to force the clerks to introduce event coordinates for each
> event they registered, otherwise the events would not count on the
> aggregation. I understand that it is the same for the Facility Layer,
> right? The program indicators appearing for each facility are aggregated
> with the facility coordinates, not the event coordinates.
>

Yes correct.



>
> And for the clustering of events It makes total sense to me the blueprint
> you just have created. This is what I was asking for in the first place. An
> example for this, is that we want to create a map with the number of deaths
> clustered at different levels (province, district, facility ...), so with
> this new option we won't need to capture coordinates for each event
> separately.
>

Sounds good.

One could say that this is what you use thematic maps for. From thematic
map layers > Event data items > Select program > Select deaths data
element, you can achieve this now by selecting the required org unit level.

In any case, having clustering based on org unit location I think will be
useful so will add that.

Thanks for the feedback.








>
> Thanks for your help,
>
>
> *Sergio Valenzuela*
> Fundación EHAS
> Telemedicina para países en desarrollo -* www.ehas.org
> *
> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
> Madrid - España
> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>
>
>
> 2016-05-23 12:44 GMT+02:00 Lars Helge Øverland :
>
>> Hi Sergio,
>>
>> thanks for raising this.
>>
>> For the GIS app, we do in fact not base the thematic mapping on event
>> coordinates at all. In later versions you can render aggregated data from
>> program-based data elements as thematic layers, however that aggregation is
>> based on the org unit (e.g. facility) of the events, not the coordinates.
>>
>>
>> [image: Inline image 1]
>>
>>
>> However, for the event layer, we do of course render events based on the
>> event coordinates. We have been thinking about supporting a an option in
>> GIS where you could base the clustering on the coordinate of the org unit
>> (facility) instead of the event itself. This makes sense and will not be
>> very hard to do. Blueprint for 2.25 here:
>>
>>
>> https://blueprints.launchpad.net/dhis2/+spec/event-analytics-clustering-based-on-org-unit-coordinates
>>
>> Note that in my mind this really only makes sense for clustering of
>> events - for rendering of non-clustered events, you will basically end up
>> with one single point hiding a large number of points at the location of
>> the facility ;)
>>
>> Let me know if this makes sense to you.
>>
>> best regards,
>>
>> Lars
>>
>>
>>
>>
>>
>>
>>
>> On Mon, May 23, 2016 at 12:18 PM, Sergio Valenzuela <
>> sergio.valenzu...@ehas.org> wrote:
>>
>>> Hi devs,
>>>
>>> Using *GIS app* you need to have coordinates on each event most of the
>>> time in order to use* Thematic Layer and/or Event Layer* on maps and in
>>> the case we consider all the events take place at the facility where the
>>> events get registered, It would be helpful for the clerks who introduce the
>>> events data into the system to not have to introduce the same coordinates
>>> over and over for each patient they register. So my question is, is there
>>> any way (maybe using custom forms??) to make the facility coordinates as a
>>> default value for the event coordinates?
>>>
>>> Any suggestion to achieve this will be appreciated.
>>>
>>> Regards.
>>>
>>>
>>> *Sergio Valenzuela*
>>> Fundación EHAS
>>> Telemedicina para países en desarrollo -* www.ehas.org
>>> *
>>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
>>> Madrid - España
>>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>>
>>>
>>>
>>> ___
>>> 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
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org 
>>
>>
>


-- 
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
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : 

Re: [Dhis2-devs] [Dhis2-users] Missing app icons when upgrading to 2.21 and 2.22

2016-05-23 Thread Morten Olav Hansen
On Mon, May 23, 2016 at 6:31 PM, Laura E. Lincks <
laura.lin...@icap.columbia.edu> wrote:

> Thanks for your responses. We did later notice that at least for the
> upgrade from 2.20 --> 2.21 our user role(s) lost an authority. We can
> easily add the authority to the appropriate roles, so problem solved.
> However, is it strange that not having that authority prevents the app icon
> from appearing but it does not prevent access to the app if the user knows
> the URL for the app? It would appear that users could access apps they
> shouldn't have access to if they can determine the URL for the app.
>
>
Hi Laura

The app authority is purely a visibility filter. Since our apps are now
using the web-api for all requests, the usage of the apps are still
secured. So while they might be able to load up the app, if they don't have
access authorities, they will not be able to use it.

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Regarding DHIS2 reporting system

2016-05-23 Thread Mahbubul Alam
Dear DHIS2 Team,
Is there any way to create a reporting status from pivot table like this
table on DHIS2-V2.21

Please help me.

*Dataset Name* *Period * * No of Org unit need to complete dataset*
  *no of org unit reported*
IDS 2016w1
493
420
*Percentage*
80%

-- 
[image: http://iedcr.gov.bd/images/stories/logo_new.jpg]
Thanks
*Mahbubul Alam* | Data Management Personnel (NISB)
Msc in CSE, Bsc in CSc. Associate Member of BCS.

*Institute of Epidemiology Disease Control & Research (IEDCR)*
www.iedcr.gov.bd
Mohakhali Dhaka.
___
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] Some clarifications for Program indicators

2016-05-23 Thread Vanya Seth
Sure. No problem.

Regards
Vanya

On Mon, May 23, 2016 at 4:16 PM, Lars Helge Øverland  wrote:

>
>
> On Mon, May 23, 2016 at 12:31 PM, Vanya Seth 
> wrote:
>
>> We would also look into some possibilities ourselves and get back if
>> there's something worth discussing.
>>
>>
> Thanks, that sounds great.
>
> One option could be to ignore time partitioning completely. Another could
> be to have an option for number of years to include for analysis. Let me
> know if you come up with any bright new ideas ;)
>
> best regards,
>
> Lars
>
>
>
>> Regards
>> Vanya
>>
>> On Mon, May 23, 2016 at 3:58 PM, Vanya Seth 
>> wrote:
>>
>>> Thanks a lot for the information Lars.
>>>
>>> Really appreciate it.
>>>
>>> Regards
>>> Vanya
>>>
>>> On Mon, May 23, 2016 at 3:19 PM, Lars Helge Øverland 
>>> wrote:
>>>
 Hi Vanya,

 thanks for raising this issue - it's a good question. Having program
 indicators based on a data element / attributes dates instead of event date
 has come up earlier and something we will have to support.

 Short story: Currently this is not possible.

 Long story: The current event analytics solution has a compromise
 between query performance and flexibility around dates. If you have a look
 at the event analytics tables (e.g. "analytics_event_2015_ebayegv0exc") you
 will see two things:

 - The tables are partitioned by year (one analytics table with events
 per year per program) based on event date. This reduces query time since
 the indexes and tables become smaller instead of growing longer infinitely
 as times goes.

 - The tables have columns for all period types based on event date.
 This makes it possible to aggregate all periods in a query through
 group-bys on those columns, instead of having to do one query per period,
 and hence improves performance a lot.

 All this is great for performance but limits the analysis to be based
 on event date. To partition data one needs a partition key and event date
 is pretty much the only suitable candidate (in addition to program).

 So to support aggregation / analytics based on any date from data
 elements/attributes of the events, one must sacrifice some of this and
 basically have one analytics table per program, and have one query per
 aggregation period. This will soon be a very popular requirement so we will
 have to support it - still pondering how to solve this in a way which
 offers required performance and flexibility.


 best regards,

 Lars











 On Tue, May 17, 2016 at 1:13 PM, Vanya Seth 
 wrote:

> Hi dhis-devs
>
> We are looking at doing some analysis for the Anonymous events. For
> which we are trying to set up some program indicators.
>
> Currently the issue that we face is that the events that DHIS2
> considers for calculations within a specific reporting period (week, 
> month)
> in event reports/visualizer, are the ones whose event date is within that
> reporting period.
>
> *Example of the problem*
>
> *Inpatient mortality rate*
>
> Relevant data elements: date of discharge, exit mode [death,
> discharged ...]
>
> *Requirement:*
>
> - Get all events where the discharge date was within the reporting
> period (all exits during period)
>
> - Get all events where the discharge date was within the reporting
> period and the exit mode was "death" (deaths during reporting period)
>
> - Divide deaths/all exits to get the mortality rate (indicator)
>
> As an example, if a patient gets admitted in April 2016 and hence the
> event date is in the April 2016 reporting period. Now say the patient gets
> discharged in May 2016. But this exit will be calculated in the April 2016
> reporting period due to considering the event date for analysis.
> There is no direct way in DHIS where in we can match the reporting
> period to a date based data elements for filtering out data or also 
> include
> them in indicators.
>
> Any thoughts about how other users have solved these kind of issues
> would be much appreciated.
>
>
> --
> With Regards
> Vanya
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


 --
 Lars Helge Øverland
 Lead developer, DHIS 2
 University of Oslo
 Skype: larshelgeoverland
 l...@dhis2.org

[Dhis2-devs] [Bug 1584016] Re: reporting date

2016-05-23 Thread Lars Helge Øverland
Hi Thuy,

thanks - issues for android apps are reported on GitHub. I have opened
one for you for now:

https://github.com/dhis2/dhis2-android-eventcapture/issues/67



** Changed in: dhis2
   Status: New => Invalid

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1584016

Title:
  reporting date

Status in DHIS:
  Invalid

Bug description:
  Reporting date label set up in web is not available in event capture android 
software.
  Picture in attached file

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1584016/+subscriptions

___
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] Missing app icons when upgrading to 2.21 and 2.22

2016-05-23 Thread Laura E. Lincks
Thanks for your responses. We did later notice that at least for the
upgrade from 2.20 --> 2.21 our user role(s) lost an authority. We can
easily add the authority to the appropriate roles, so problem solved.
However, is it strange that not having that authority prevents the app icon
from appearing but it does not prevent access to the app if the user knows
the URL for the app? It would appear that users could access apps they
shouldn't have access to if they can determine the URL for the app.

Knut, we haven't gotten to the 2.23 upgrade yet but I'll take note of the
new maintenance app when we get there.

Thanks for your help!
On May 23, 2016 6:08 AM, "Lars Helge Øverland"  wrote:

> Hi Laura,
>
> like you say, the settings, apps and data elements/indicators apps have
> all been replaced by new apps, and hence sort of expected to disappear ;)
>
> - Can you verify that your user has the needed authorities to see the new
> apps? Can you try with a user that has the ALL authority?
>
> - Can you try to really
>  clear
> the web browser cache? Is there any server-side caches that could be
> cleared? Can you try in chrome incognito mode?
>
> - If none of the above works, can you share a login privately?
>
>
> best regards,
>
> Lars
>
>
>
>
>
>
>
>
>
> On Fri, May 20, 2016 at 11:25 PM, Laura E. Lincks <
> laura.lin...@icap.columbia.edu> wrote:
>
>> We are upgrading our 2.20 instance to a 2.22 instance (and a 2.3 instance
>> as well shortly thereafter). We are doing incremental upgrades (2.20 -->
>> 2.21, then 2.21 --> 2.22, then 2.22 --> 2.23)
>>
>> We noticed that when upgrading from 2.20 to 2.21, the Settings App icon
>> disappeared. We can access the app by entering the URL directly, but cannot
>> access it via a Settings App Icon.
>>
>> Similarly, when upgrading from 2.21 to 2.22 the icons for the App
>> Management and the Data Element/Indicators apps also disappeared (although,
>> again, we can access the apps via the URL) in addition to the Settings app
>> icon missing (still).
>>
>> I know these apps are completely new "true" apps within the respective
>> DHIS versions, per the release notes, but we are stuck on how to get the
>> app icons to reappear in the menu.
>>
>> *Note*: we updated to Java 8 and updated to the latest Ubuntu distro
>> prior to upgrading from DHIS ver. 2.20 to 2.21.
>>
>> *Version details:*
>> Version:
>> ​ ​
>> 2.20
>> ​ //
>> Build revision:
>> ​ ​
>> 20001
>> ​ --> ​
>> Version:
>> ​ ​
>> 2.21
>> ​ //
>> Build revision:
>> ​ ​
>> 21094
>>
>> Thanks in advance!
>>
>> *Laura E. Lincks*
>> Database Manager/Developer
>> ICAP - Columbia University
>> Mailman School of Public Health
>> 60 Haven Ave, Floor B1
>> New York, NY 10032
>> Tel: 212 304 7132
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org 
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Facility coordinates as default for event coordinates

2016-05-23 Thread Sergio Valenzuela
Hi Lars,

I was about to answer Jason explaining use cases, but with your last
message all my questions are now solved.

First of all, I was wrong with the thematic layer issue, I thought you were
basing the thematic mapping on event coordinates so I thought that in order
to render the (for example) number of malaria diagnosis for each district I
had to force the clerks to introduce event coordinates for each event they
registered, otherwise the events would not count on the aggregation. I
understand that it is the same for the Facility Layer, right? The program
indicators appearing for each facility are aggregated with the facility
coordinates, not the event coordinates.

And for the clustering of events It makes total sense to me the blueprint
you just have created. This is what I was asking for in the first place. An
example for this, is that we want to create a map with the number of deaths
clustered at different levels (province, district, facility ...), so with
this new option we won't need to capture coordinates for each event
separately.

Thanks for your help,


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



2016-05-23 12:44 GMT+02:00 Lars Helge Øverland :

> Hi Sergio,
>
> thanks for raising this.
>
> For the GIS app, we do in fact not base the thematic mapping on event
> coordinates at all. In later versions you can render aggregated data from
> program-based data elements as thematic layers, however that aggregation is
> based on the org unit (e.g. facility) of the events, not the coordinates.
>
>
> [image: Inline image 1]
>
>
> However, for the event layer, we do of course render events based on the
> event coordinates. We have been thinking about supporting a an option in
> GIS where you could base the clustering on the coordinate of the org unit
> (facility) instead of the event itself. This makes sense and will not be
> very hard to do. Blueprint for 2.25 here:
>
>
> https://blueprints.launchpad.net/dhis2/+spec/event-analytics-clustering-based-on-org-unit-coordinates
>
> Note that in my mind this really only makes sense for clustering of events
> - for rendering of non-clustered events, you will basically end up with one
> single point hiding a large number of points at the location of the
> facility ;)
>
> Let me know if this makes sense to you.
>
> best regards,
>
> Lars
>
>
>
>
>
>
>
> On Mon, May 23, 2016 at 12:18 PM, Sergio Valenzuela <
> sergio.valenzu...@ehas.org> wrote:
>
>> Hi devs,
>>
>> Using *GIS app* you need to have coordinates on each event most of the
>> time in order to use* Thematic Layer and/or Event Layer* on maps and in
>> the case we consider all the events take place at the facility where the
>> events get registered, It would be helpful for the clerks who introduce the
>> events data into the system to not have to introduce the same coordinates
>> over and over for each patient they register. So my question is, is there
>> any way (maybe using custom forms??) to make the facility coordinates as a
>> default value for the event coordinates?
>>
>> Any suggestion to achieve this will be appreciated.
>>
>> Regards.
>>
>>
>> *Sergio Valenzuela*
>> Fundación EHAS
>> Telemedicina para países en desarrollo -* www.ehas.org
>> *
>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
>> Madrid - España
>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>
>>
>>
>> ___
>> 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
>>
>>
>
>
> --
> 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
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] issue with /api/eventReports for fetching data

2016-05-23 Thread Lars Helge Øverland
Hi there,

okay. Can I ask - are you looking to get the event report data from the
server in a tabular format (with columns, rows, etc), or do you plan to
fetch the "plain data source" (as in one column per data dimension) from
the api and then render the layout of the report in your client side app?


best regards,

Lars



On Mon, May 23, 2016 at 10:45 AM, Vanya Seth 
wrote:

> Hi Lars
>
> Can you please let us know your thoughts about this?
>
> Regards
> Vanya
>
> On Fri, May 13, 2016 at 12:57 PM, Vanya Seth 
> wrote:
>
>> Hi Lars
>>
>> Hope you are doing well.
>>
>> We need to take a decision on it very soon. This is part of our current
>> iteration. Would it be possible to let us know your thoughts about this?
>>
>> Regards
>> Vanya
>>
>> On Wed, May 11, 2016 at 7:07 PM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Hi Lars,
>>>
>>> We have a use-case for fetching event reports for a custom app that
>>> we're building. We are planning to extend the API to fetch data for event
>>> reports. The potential approach we would follow is similar to the way that
>>> pivot tables api are built i.e. /api/eventReports//data  should fetch
>>> us appropriate data. The metadata configuration can be fetched using the
>>> eventReport UID and data can be fetched by using EventAnalyticsService.
>>>
>>> Could you please let us know the complexities or the repercussions you
>>> foresee that go along with extending the API. Any thoughts on this would be
>>> valuable.
>>>
>>> *Cheers,*
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> 
>>>
>>> On Tue, May 10, 2016 at 3:00 AM, Lars Helge Øverland 
>>> wrote:
>>>
 Hi Srikanth,

 this specific feature is one we want to implement, but I cannot promise
 a delivery date - sorry. This area is quite complex and the event reports
 is still gaining new features, so this is a moving target and hard to know
 exactly when we will get time to implement the server version.

 regards,

 Lars


 On Fri, May 6, 2016 at 8:17 AM, Srikanth Katta <
 srika...@thoughtworks.com> wrote:

> Hi Lars,
>
> Could you please let us know if there is any plan of extending the *event
> reports api* for fetching data for 2.24 release. Please let us know
> your roadmap to support this functionality.
>
> Thanks,
> Srikanth
>
> On Mon, May 2, 2016 at 6:19 PM, Srikanth Katta <
> srika...@thoughtworks.com> wrote:
>
>> Thank you, Lars
>>
>> On Mon, May 2, 2016 at 6:10 PM, Lars Helge Øverland 
>> wrote:
>>
>>> Hi Srikanth,
>>>
>>> unfortunately we do not support this at the moment.
>>>
>>> You will have to use the aggregate event analytics API for now and
>>> construct the table yourself.
>>>
>>> /api/analytics/events/aggregate
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>>
>>>
>>> On Mon, May 2, 2016 at 1:28 PM, Srikanth Katta <
>>> srika...@thoughtworks.com> wrote:
>>>
 Hi,

 We are using latest version of DHIS 2.21
 We have configured reports on Event Reports module and trying to
 fetch data through the API - *.../api/eventReports//data,*
 but we get no response. We have looked up the documentation on 
 developer
 manual  for web api in *Viewing analytical resource
 representations*, but looks like no resource is provided for the
 same.

 Any help on this would be appreciated.

 Thanks,
 Srikanth

 ___
 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


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


 --
 Lars Helge Øverland
 Lead developer, DHIS 2
 University of Oslo
 Skype: larshelgeoverland
 l...@dhis2.org
 http://www.dhis2.org 


>>>
>>
>>
>> --
>> With Regards
>> ThoughtWorks Technologies
>> Hyderabad
>>
>> --Stay Hungry Stay Foolish!!
>>
>
>
>
> --
> With Regards
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>



-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org 

Re: [Dhis2-devs] [Dhis2-users] Some clarifications for Program indicators

2016-05-23 Thread Vanya Seth
Thanks a lot for the information Lars.

Really appreciate it.

Regards
Vanya

On Mon, May 23, 2016 at 3:19 PM, Lars Helge Øverland  wrote:

> Hi Vanya,
>
> thanks for raising this issue - it's a good question. Having program
> indicators based on a data element / attributes dates instead of event date
> has come up earlier and something we will have to support.
>
> Short story: Currently this is not possible.
>
> Long story: The current event analytics solution has a compromise between
> query performance and flexibility around dates. If you have a look at the
> event analytics tables (e.g. "analytics_event_2015_ebayegv0exc") you will
> see two things:
>
> - The tables are partitioned by year (one analytics table with events per
> year per program) based on event date. This reduces query time since the
> indexes and tables become smaller instead of growing longer infinitely as
> times goes.
>
> - The tables have columns for all period types based on event date. This
> makes it possible to aggregate all periods in a query through group-bys on
> those columns, instead of having to do one query per period, and hence
> improves performance a lot.
>
> All this is great for performance but limits the analysis to be based on
> event date. To partition data one needs a partition key and event date is
> pretty much the only suitable candidate (in addition to program).
>
> So to support aggregation / analytics based on any date from data
> elements/attributes of the events, one must sacrifice some of this and
> basically have one analytics table per program, and have one query per
> aggregation period. This will soon be a very popular requirement so we will
> have to support it - still pondering how to solve this in a way which
> offers required performance and flexibility.
>
>
> best regards,
>
> Lars
>
>
>
>
>
>
>
>
>
>
>
> On Tue, May 17, 2016 at 1:13 PM, Vanya Seth 
> wrote:
>
>> Hi dhis-devs
>>
>> We are looking at doing some analysis for the Anonymous events. For which
>> we are trying to set up some program indicators.
>>
>> Currently the issue that we face is that the events that DHIS2 considers
>> for calculations within a specific reporting period (week, month) in event
>> reports/visualizer, are the ones whose event date is within that reporting
>> period.
>>
>> *Example of the problem*
>>
>> *Inpatient mortality rate*
>>
>> Relevant data elements: date of discharge, exit mode [death, discharged
>> ...]
>>
>> *Requirement:*
>>
>> - Get all events where the discharge date was within the reporting period
>> (all exits during period)
>>
>> - Get all events where the discharge date was within the reporting period
>> and the exit mode was "death" (deaths during reporting period)
>>
>> - Divide deaths/all exits to get the mortality rate (indicator)
>>
>> As an example, if a patient gets admitted in April 2016 and hence the
>> event date is in the April 2016 reporting period. Now say the patient gets
>> discharged in May 2016. But this exit will be calculated in the April 2016
>> reporting period due to considering the event date for analysis.
>> There is no direct way in DHIS where in we can match the reporting period
>> to a date based data elements for filtering out data or also include them
>> in indicators.
>>
>> Any thoughts about how other users have solved these kind of issues would
>> be much appreciated.
>>
>>
>> --
>> With Regards
>> Vanya
>> ThoughtWorks Technologies
>> Hyderabad
>>
>> --Stay Hungry Stay Foolish!!
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org 
>
>


-- 
With Regards
ThoughtWorks Technologies
Hyderabad

--Stay Hungry Stay Foolish!!
___
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] Some clarifications for Program indicators

2016-05-23 Thread Lars Helge Øverland
On Mon, May 23, 2016 at 12:31 PM, Vanya Seth 
wrote:

> We would also look into some possibilities ourselves and get back if
> there's something worth discussing.
>
>
Thanks, that sounds great.

One option could be to ignore time partitioning completely. Another could
be to have an option for number of years to include for analysis. Let me
know if you come up with any bright new ideas ;)

best regards,

Lars



> Regards
> Vanya
>
> On Mon, May 23, 2016 at 3:58 PM, Vanya Seth 
> wrote:
>
>> Thanks a lot for the information Lars.
>>
>> Really appreciate it.
>>
>> Regards
>> Vanya
>>
>> On Mon, May 23, 2016 at 3:19 PM, Lars Helge Øverland 
>> wrote:
>>
>>> Hi Vanya,
>>>
>>> thanks for raising this issue - it's a good question. Having program
>>> indicators based on a data element / attributes dates instead of event date
>>> has come up earlier and something we will have to support.
>>>
>>> Short story: Currently this is not possible.
>>>
>>> Long story: The current event analytics solution has a compromise
>>> between query performance and flexibility around dates. If you have a look
>>> at the event analytics tables (e.g. "analytics_event_2015_ebayegv0exc") you
>>> will see two things:
>>>
>>> - The tables are partitioned by year (one analytics table with events
>>> per year per program) based on event date. This reduces query time since
>>> the indexes and tables become smaller instead of growing longer infinitely
>>> as times goes.
>>>
>>> - The tables have columns for all period types based on event date. This
>>> makes it possible to aggregate all periods in a query through group-bys on
>>> those columns, instead of having to do one query per period, and hence
>>> improves performance a lot.
>>>
>>> All this is great for performance but limits the analysis to be based on
>>> event date. To partition data one needs a partition key and event date is
>>> pretty much the only suitable candidate (in addition to program).
>>>
>>> So to support aggregation / analytics based on any date from data
>>> elements/attributes of the events, one must sacrifice some of this and
>>> basically have one analytics table per program, and have one query per
>>> aggregation period. This will soon be a very popular requirement so we will
>>> have to support it - still pondering how to solve this in a way which
>>> offers required performance and flexibility.
>>>
>>>
>>> best regards,
>>>
>>> Lars
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Tue, May 17, 2016 at 1:13 PM, Vanya Seth 
>>> wrote:
>>>
 Hi dhis-devs

 We are looking at doing some analysis for the Anonymous events. For
 which we are trying to set up some program indicators.

 Currently the issue that we face is that the events that DHIS2
 considers for calculations within a specific reporting period (week, month)
 in event reports/visualizer, are the ones whose event date is within that
 reporting period.

 *Example of the problem*

 *Inpatient mortality rate*

 Relevant data elements: date of discharge, exit mode [death, discharged
 ...]

 *Requirement:*

 - Get all events where the discharge date was within the reporting
 period (all exits during period)

 - Get all events where the discharge date was within the reporting
 period and the exit mode was "death" (deaths during reporting period)

 - Divide deaths/all exits to get the mortality rate (indicator)

 As an example, if a patient gets admitted in April 2016 and hence the
 event date is in the April 2016 reporting period. Now say the patient gets
 discharged in May 2016. But this exit will be calculated in the April 2016
 reporting period due to considering the event date for analysis.
 There is no direct way in DHIS where in we can match the reporting
 period to a date based data elements for filtering out data or also include
 them in indicators.

 Any thoughts about how other users have solved these kind of issues
 would be much appreciated.


 --
 With Regards
 Vanya
 ThoughtWorks Technologies
 Hyderabad

 --Stay Hungry Stay Foolish!!

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


>>>
>>>
>>> --
>>> Lars Helge Øverland
>>> Lead developer, DHIS 2
>>> University of Oslo
>>> Skype: larshelgeoverland
>>> l...@dhis2.org
>>> http://www.dhis2.org 
>>>
>>>
>>
>>
>> --
>> With Regards
>> ThoughtWorks Technologies
>> Hyderabad
>>
>> --Stay Hungry Stay Foolish!!
>>
>
>
>
> --
> With Regards
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>



-- 
Lars Helge 

Re: [Dhis2-devs] Facility coordinates as default for event coordinates

2016-05-23 Thread Lars Helge Øverland
Hi Sergio,

thanks for raising this.

For the GIS app, we do in fact not base the thematic mapping on event
coordinates at all. In later versions you can render aggregated data from
program-based data elements as thematic layers, however that aggregation is
based on the org unit (e.g. facility) of the events, not the coordinates.


[image: Inline image 1]


However, for the event layer, we do of course render events based on the
event coordinates. We have been thinking about supporting a an option in
GIS where you could base the clustering on the coordinate of the org unit
(facility) instead of the event itself. This makes sense and will not be
very hard to do. Blueprint for 2.25 here:

https://blueprints.launchpad.net/dhis2/+spec/event-analytics-clustering-based-on-org-unit-coordinates

Note that in my mind this really only makes sense for clustering of events
- for rendering of non-clustered events, you will basically end up with one
single point hiding a large number of points at the location of the
facility ;)

Let me know if this makes sense to you.

best regards,

Lars







On Mon, May 23, 2016 at 12:18 PM, Sergio Valenzuela <
sergio.valenzu...@ehas.org> wrote:

> Hi devs,
>
> Using *GIS app* you need to have coordinates on each event most of the
> time in order to use* Thematic Layer and/or Event Layer* on maps and in
> the case we consider all the events take place at the facility where the
> events get registered, It would be helpful for the clerks who introduce the
> events data into the system to not have to introduce the same coordinates
> over and over for each patient they register. So my question is, is there
> any way (maybe using custom forms??) to make the facility coordinates as a
> default value for the event coordinates?
>
> Any suggestion to achieve this will be appreciated.
>
> Regards.
>
>
> *Sergio Valenzuela*
> Fundación EHAS
> Telemedicina para países en desarrollo -* www.ehas.org
> *
> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
> Madrid - España
> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>
>
>
> ___
> 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
>
>


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


Re: [Dhis2-devs] Facility coordinates as default for event coordinates

2016-05-23 Thread Jason Pickering
Hi Sergio (again),
I guess I am missing the point of registering the coordinates at all. If
they all occur at the same place, why do you even ask the clerks to record
them? They all are considered to be at the same location, and you already
have that location from the organisation unit's coordinates.

The event layer is supposed to be used for events which occur at undefined
locations really. Using the new features of clustering, you can then
cluster these events together, but in your case, they seem to all be
considered to be occurring at the same place. You should thus be able to
achieve the same simply by using the facility's coordinates.

Maybe give a bit more information of why you chose to collect the
coordinates in the first place and how you are planning on actually using
them for analysis?

Regards,
Jason


On Mon, May 23, 2016 at 12:18 PM, Sergio Valenzuela <
sergio.valenzu...@ehas.org> wrote:

> Hi devs,
>
> Using *GIS app* you need to have coordinates on each event most of the
> time in order to use* Thematic Layer and/or Event Layer* on maps and in
> the case we consider all the events take place at the facility where the
> events get registered, It would be helpful for the clerks who introduce the
> events data into the system to not have to introduce the same coordinates
> over and over for each patient they register. So my question is, is there
> any way (maybe using custom forms??) to make the facility coordinates as a
> default value for the event coordinates?
>
> Any suggestion to achieve this will be appreciated.
>
> Regards.
>
>
> *Sergio Valenzuela*
> Fundación EHAS
> Telemedicina para países en desarrollo -* www.ehas.org
> *
> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
> Madrid - España
> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>
>
>
> ___
> 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
___
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] Some clarifications for Program indicators

2016-05-23 Thread Vanya Seth
We would also look into some possibilities ourselves and get back if
there's something worth discussing.

Regards
Vanya

On Mon, May 23, 2016 at 3:58 PM, Vanya Seth  wrote:

> Thanks a lot for the information Lars.
>
> Really appreciate it.
>
> Regards
> Vanya
>
> On Mon, May 23, 2016 at 3:19 PM, Lars Helge Øverland 
> wrote:
>
>> Hi Vanya,
>>
>> thanks for raising this issue - it's a good question. Having program
>> indicators based on a data element / attributes dates instead of event date
>> has come up earlier and something we will have to support.
>>
>> Short story: Currently this is not possible.
>>
>> Long story: The current event analytics solution has a compromise between
>> query performance and flexibility around dates. If you have a look at the
>> event analytics tables (e.g. "analytics_event_2015_ebayegv0exc") you will
>> see two things:
>>
>> - The tables are partitioned by year (one analytics table with events per
>> year per program) based on event date. This reduces query time since the
>> indexes and tables become smaller instead of growing longer infinitely as
>> times goes.
>>
>> - The tables have columns for all period types based on event date. This
>> makes it possible to aggregate all periods in a query through group-bys on
>> those columns, instead of having to do one query per period, and hence
>> improves performance a lot.
>>
>> All this is great for performance but limits the analysis to be based on
>> event date. To partition data one needs a partition key and event date is
>> pretty much the only suitable candidate (in addition to program).
>>
>> So to support aggregation / analytics based on any date from data
>> elements/attributes of the events, one must sacrifice some of this and
>> basically have one analytics table per program, and have one query per
>> aggregation period. This will soon be a very popular requirement so we will
>> have to support it - still pondering how to solve this in a way which
>> offers required performance and flexibility.
>>
>>
>> best regards,
>>
>> Lars
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Tue, May 17, 2016 at 1:13 PM, Vanya Seth 
>> wrote:
>>
>>> Hi dhis-devs
>>>
>>> We are looking at doing some analysis for the Anonymous events. For
>>> which we are trying to set up some program indicators.
>>>
>>> Currently the issue that we face is that the events that DHIS2 considers
>>> for calculations within a specific reporting period (week, month) in event
>>> reports/visualizer, are the ones whose event date is within that reporting
>>> period.
>>>
>>> *Example of the problem*
>>>
>>> *Inpatient mortality rate*
>>>
>>> Relevant data elements: date of discharge, exit mode [death, discharged
>>> ...]
>>>
>>> *Requirement:*
>>>
>>> - Get all events where the discharge date was within the reporting
>>> period (all exits during period)
>>>
>>> - Get all events where the discharge date was within the reporting
>>> period and the exit mode was "death" (deaths during reporting period)
>>>
>>> - Divide deaths/all exits to get the mortality rate (indicator)
>>>
>>> As an example, if a patient gets admitted in April 2016 and hence the
>>> event date is in the April 2016 reporting period. Now say the patient gets
>>> discharged in May 2016. But this exit will be calculated in the April 2016
>>> reporting period due to considering the event date for analysis.
>>> There is no direct way in DHIS where in we can match the reporting
>>> period to a date based data elements for filtering out data or also include
>>> them in indicators.
>>>
>>> Any thoughts about how other users have solved these kind of issues
>>> would be much appreciated.
>>>
>>>
>>> --
>>> With Regards
>>> Vanya
>>> ThoughtWorks Technologies
>>> Hyderabad
>>>
>>> --Stay Hungry Stay Foolish!!
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org 
>>
>>
>
>
> --
> With Regards
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>



-- 
With Regards
ThoughtWorks Technologies
Hyderabad

--Stay Hungry Stay Foolish!!
___
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] Facility coordinates as default for event coordinates

2016-05-23 Thread Sergio Valenzuela
Hi devs,

Using *GIS app* you need to have coordinates on each event most of the time
in order to use* Thematic Layer and/or Event Layer* on maps and in the case
we consider all the events take place at the facility where the events get
registered, It would be helpful for the clerks who introduce the events
data into the system to not have to introduce the same coordinates over and
over for each patient they register. So my question is, is there any way
(maybe using custom forms??) to make the facility coordinates as a default
value for the event coordinates?

Any suggestion to achieve this will be appreciated.

Regards.


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

2016-05-23 Thread Sergio Valenzuela
No problem. Sorry if I cause any trouble.


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



2016-05-23 12:14 GMT+02:00 Lars Helge Øverland :

>
>
> On Mon, May 23, 2016 at 11:32 AM, Sergio Valenzuela <
> sergio.valenzu...@ehas.org> wrote:
>
>> Hi Jason,
>>
>> What I am asking for is a little bit different (I don't know if this is
>> possible), I'll try to explain myself:
>>
>> Let's say we are in Sierra Leone at the Ngelehun CHC. We are capturing
>> data in the "Inpatient morbidity and mortality program".
>> Currently, every new event registration requires us to introduce the
>> coordinates of Ngelehun CHC manually, so my question is: Is there any way
>> to automatize this? (The event coordinates we have to introduce every time
>> for each event are the same as Ngelehun CHC coordinates)
>>
>> I hope my question is more clear now.
>>
>
>
> Hi Sergio,
>
> this is a good question but it's not the original question, so it would be
> great if you could start a new thread for this.
>
> best regards,
>
> Lars
>
>
>> Regards.
>>
>>
>> *Sergio Valenzuela*
>> Fundación EHAS
>> Telemedicina para países en desarrollo -* www.ehas.org
>> *
>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
>> Madrid - España
>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>
>>
>>
>> 2016-05-23 11:14 GMT+02:00 Jason Pickering :
>>
>>> Hi there,
>>> We have added a new data value type called "Coordinates". This will
>>> allow you to record coordinates just a normal data value. Is this what you
>>> are looking for?
>>>
>>> Regards,
>>> Jason
>>>
>>>
>>> On Mon, May 23, 2016 at 10:43 AM, Sergio Valenzuela <
>>> sergio.valenzu...@ehas.org> wrote:
>>>
 Hello all,

 Just to be sure and related to this topic, is there any way to capture 
 *event
 coordinates* in a default way? I mean, is it possible to assign
 coordinates from an org unit to the events which are being captured in this
 org unit in an automatic way? For the moment, we have to introduce them
 manually with each event we register on one of our programs in order to
 make these events visible on GIS app.

 I think this is not offtopic, but tell me if it is.

 Thanks!!


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



 2016-05-21 18:12 GMT+02:00 Calle Hedberg :

> Hi,
>
> Easiest method if you are talking about POINT co-ordinates (e.g.
> health facilities):
>
> 1. Create a comma-delimited list with facility name (exactly as in the
> DHIS), Latitude and Longitude. Coordinates must be ISO standard using 
> datum
> WGS-84 (the same datum used by all Global Navigation Systems like GPS, and
> used by all modern maps).
>
> 2. For point co-ordinates, DHIS supports six decimals (equivalent to
> around 10cm precision) - that is the standard number of decimal for point
> data in most systems.
>
> 3. Whether you create the comma-delimited file in Excel, a text editor
> etc does not matter - use what's convenient for you. Make sure the 
> facility
> name column is called "NAME"
>
> 4. There is no need to generalise point coordinates the same way you
> might do it for high-precision line or polygon (area) features, so when 
> you
> are ready with the file either convert it to GML format using the
> (cumbersome) method described in the DHIS2 manual, OR import it into a GIS
> package like QGIS.
>
> 5. After creating the GML file, import it. Any mis-spelled name will
> show up during the import as having failed.
>
> regards
> Calle
>
>
>
> 2016-05-20 15:35 GMT+02:00 papa alioune Sokhna :
>
>> Hi everybody,
>> how to captures coordinate in DHIS2.
>> --
>> Papa Alioune SOKHNA
>> *Informaticien *
>> Spécialité: développement d'application web, mobile et logiciels surs
>> Tel: +221 77 442 16 22
>>
>> ___
>> 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
>>
>>
>
>
> --
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>

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

2016-05-23 Thread Sergio Valenzuela
Hi Jason,

Using *GIS app* you need to have coordinates on each event most of the time
in order to use* Thematic Layer and/or Event Layer* on maps, and I
understand what you say about "the event may be registered at the facility,
but actually took place some place different, such as in the community"
case scenario, but in the case we consider all the events take place at the
facility where the events get registered, It would be helpful for the
clerks who introduce the events data into the system to not have to
introduce the same coordinates over and over for each patient they
register. That's why I'm asking if there is any way (maybe using custom
forms??) to make the facility coordinates as a default value for the event
coordinates.

Any suggestion to achieve this will be appreciated.

Regards.


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



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

> Hi Sergio,
>
> I think this is configurable.
>
> [image: Inline image 1]
>
> If you do not want to capture the coordinates of each event, you do not
> need to.
>
> So for events which always have the same coordinates as the facility, it
> would seem that you would not need this. In certain use cases (others can
> describe more I think), the event may be registered at the facility, but
> actually took place some place different, such as in the community.
>
> Regards,
> Jason
>
>
> On Mon, May 23, 2016 at 11:32 AM, Sergio Valenzuela <
> sergio.valenzu...@ehas.org> wrote:
>
>> Hi Jason,
>>
>> What I am asking for is a little bit different (I don't know if this is
>> possible), I'll try to explain myself:
>>
>> Let's say we are in Sierra Leone at the Ngelehun CHC. We are capturing
>> data in the "Inpatient morbidity and mortality program".
>> Currently, every new event registration requires us to introduce the
>> coordinates of Ngelehun CHC manually, so my question is: Is there any way
>> to automatize this? (The event coordinates we have to introduce every time
>> for each event are the same as Ngelehun CHC coordinates)
>>
>> I hope my question is more clear now.
>>
>> Regards.
>>
>>
>> *Sergio Valenzuela*
>> Fundación EHAS
>> Telemedicina para países en desarrollo -* www.ehas.org
>> *
>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
>> Madrid - España
>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>
>>
>>
>> 2016-05-23 11:14 GMT+02:00 Jason Pickering :
>>
>>> Hi there,
>>> We have added a new data value type called "Coordinates". This will
>>> allow you to record coordinates just a normal data value. Is this what you
>>> are looking for?
>>>
>>> Regards,
>>> Jason
>>>
>>>
>>> On Mon, May 23, 2016 at 10:43 AM, Sergio Valenzuela <
>>> sergio.valenzu...@ehas.org> wrote:
>>>
 Hello all,

 Just to be sure and related to this topic, is there any way to capture 
 *event
 coordinates* in a default way? I mean, is it possible to assign
 coordinates from an org unit to the events which are being captured in this
 org unit in an automatic way? For the moment, we have to introduce them
 manually with each event we register on one of our programs in order to
 make these events visible on GIS app.

 I think this is not offtopic, but tell me if it is.

 Thanks!!


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



 2016-05-21 18:12 GMT+02:00 Calle Hedberg :

> Hi,
>
> Easiest method if you are talking about POINT co-ordinates (e.g.
> health facilities):
>
> 1. Create a comma-delimited list with facility name (exactly as in the
> DHIS), Latitude and Longitude. Coordinates must be ISO standard using 
> datum
> WGS-84 (the same datum used by all Global Navigation Systems like GPS, and
> used by all modern maps).
>
> 2. For point co-ordinates, DHIS supports six decimals (equivalent to
> around 10cm precision) - that is the standard number of decimal for point
> data in most systems.
>
> 3. Whether you create the comma-delimited file in Excel, a text editor
> etc does not matter - use what's convenient for you. Make sure the 
> facility
> name column is called "NAME"
>
> 4. There is no need to generalise point coordinates the same way you
> might do it for high-precision line or polygon (area) features, so when 
> you
> are ready with the file either convert it to GML format using the
> (cumbersome) method 

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

2016-05-23 Thread Lars Helge Øverland
On Mon, May 23, 2016 at 11:32 AM, Sergio Valenzuela <
sergio.valenzu...@ehas.org> wrote:

> Hi Jason,
>
> What I am asking for is a little bit different (I don't know if this is
> possible), I'll try to explain myself:
>
> Let's say we are in Sierra Leone at the Ngelehun CHC. We are capturing
> data in the "Inpatient morbidity and mortality program".
> Currently, every new event registration requires us to introduce the
> coordinates of Ngelehun CHC manually, so my question is: Is there any way
> to automatize this? (The event coordinates we have to introduce every time
> for each event are the same as Ngelehun CHC coordinates)
>
> I hope my question is more clear now.
>


Hi Sergio,

this is a good question but it's not the original question, so it would be
great if you could start a new thread for this.

best regards,

Lars


> Regards.
>
>
> *Sergio Valenzuela*
> Fundación EHAS
> Telemedicina para países en desarrollo -* www.ehas.org
> *
> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
> Madrid - España
> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>
>
>
> 2016-05-23 11:14 GMT+02:00 Jason Pickering :
>
>> Hi there,
>> We have added a new data value type called "Coordinates". This will allow
>> you to record coordinates just a normal data value. Is this what you are
>> looking for?
>>
>> Regards,
>> Jason
>>
>>
>> On Mon, May 23, 2016 at 10:43 AM, Sergio Valenzuela <
>> sergio.valenzu...@ehas.org> wrote:
>>
>>> Hello all,
>>>
>>> Just to be sure and related to this topic, is there any way to capture 
>>> *event
>>> coordinates* in a default way? I mean, is it possible to assign
>>> coordinates from an org unit to the events which are being captured in this
>>> org unit in an automatic way? For the moment, we have to introduce them
>>> manually with each event we register on one of our programs in order to
>>> make these events visible on GIS app.
>>>
>>> I think this is not offtopic, but tell me if it is.
>>>
>>> Thanks!!
>>>
>>>
>>> *Sergio Valenzuela*
>>> Fundación EHAS
>>> Telemedicina para países en desarrollo -* www.ehas.org
>>> *
>>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
>>> Madrid - España
>>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>>
>>>
>>>
>>> 2016-05-21 18:12 GMT+02:00 Calle Hedberg :
>>>
 Hi,

 Easiest method if you are talking about POINT co-ordinates (e.g. health
 facilities):

 1. Create a comma-delimited list with facility name (exactly as in the
 DHIS), Latitude and Longitude. Coordinates must be ISO standard using datum
 WGS-84 (the same datum used by all Global Navigation Systems like GPS, and
 used by all modern maps).

 2. For point co-ordinates, DHIS supports six decimals (equivalent to
 around 10cm precision) - that is the standard number of decimal for point
 data in most systems.

 3. Whether you create the comma-delimited file in Excel, a text editor
 etc does not matter - use what's convenient for you. Make sure the facility
 name column is called "NAME"

 4. There is no need to generalise point coordinates the same way you
 might do it for high-precision line or polygon (area) features, so when you
 are ready with the file either convert it to GML format using the
 (cumbersome) method described in the DHIS2 manual, OR import it into a GIS
 package like QGIS.

 5. After creating the GML file, import it. Any mis-spelled name will
 show up during the import as having failed.

 regards
 Calle



 2016-05-20 15:35 GMT+02:00 papa alioune Sokhna :

> Hi everybody,
> how to captures coordinate in DHIS2.
> --
> Papa Alioune SOKHNA
> *Informaticien *
> Spécialité: développement d'application web, mobile et logiciels surs
> Tel: +221 77 442 16 22
>
> ___
> 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
>
>


 --

 ***

 Calle Hedberg

 46D Alma Road, 7700 Rosebank, SOUTH AFRICA

 Tel/fax (home): +27-21-685-6472

 Cell: +27-82-853-5352

 Iridium SatPhone: +8816-315-19119

 Email: calle.hedb...@gmail.com

 Skype: calle_hedberg

 ***


 ___
 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] Capture coordinates

2016-05-23 Thread Lars Helge Øverland
Hi Papa,

can you please tell us a bit more about what you are trying to do?

If you want to capture coordinates for events, you can enable that under
program -> view program stages -> check "Capture coordinates".

In Event capture, fields for latitude, longitude will then appear in the
"add new event" screen.

[image: Inline image 2]


best regards,

Lars





2016-05-20 15:35 GMT+02:00 papa alioune Sokhna :

> Hi everybody,
> how to captures coordinate in DHIS2.
> --
> Papa Alioune SOKHNA
> *Informaticien *
> Spécialité: développement d'application web, mobile et logiciels surs
> Tel: +221 77 442 16 22
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Biometric data

2016-05-23 Thread Halvdan Hoem Grelland
Hi,

This seems like a seriously over-engineered and mismatched solution to me.
What do you expect to be the advantage of biometrics over name + some ID
number?

Biometrics are only really suitable for authentication of known
individuals, not identification. Meaning biometrics is good for proving
someone is who they say they are, but not for figuring out who they are in
the first place.

There are several reasons for this:

a) Accuracy of biometric matching is never perfect. There will always be
the possibility for false positives and/or false negatives. That is, there
is a very real chance of not finding a match or matching on the wrong
individual.

b) Finding an individual in a database through biometrics would mean
attempting to match on every single record, which quickly becomes very
expensive and in some (larger) cases computationally infeasible or very,
very slow.

c) Due to the two above points and more, such systems are incredibly
expensive to implement and maintain.

There are, as you mention, very serious security and privacy concerns with
such systems. Any sane implementation would keep biometrics in a separate
system anyways. An example of such a system is the Aadhaar project in
India, which does exactly that. It is controversial in it's own right,
however, seeing that biometrics are stored in a central database. That
said, reading up on it should give an indication of the complexities
involved with designing and running such a system, not to mention enrolling
individuals in a secure and efficient manner.

The good news: there is work underway in DHIS2 to implement a generic
solution for generating unique identification numbers. These could be given
to an individual upon registration to make him/her identifiable in the
system. This is really a solution to your exact problem, and would only
require tracked individuals to know their DHIS2 ID, which should be simple
enough.


On Mon, May 23, 2016 at 7:26 AM, Seid Hussein  wrote:

> Hi all,
>
> Here in Ethiopia we have Community Health Information Systems focusing on
> "family folders" whereby health services provided to members of families
> are registered and kept collectively in "folders". Despite being paper
> based, this system seems to be working well especially in the rural setting.
>
> While the families in rural areas are set and do not move much which makes
> tracking them easier, it looks to be much more difficult in an Urban and
> Pastoralist settings where members of the community move either by changing
> rental houses or looking for new pasture lands which makes tracking the
> people to deliver health services difficult.
>
> Since Ethiopia doesn't yet have a social security system or national
> identification, identifying each person has become much more difficult.
>
> Hence it has been suggested by various people at the ministry to employ
> bio-metric identification to track these people.
>
> However, DHIS2 currently doesn't seem to support bio-metric data. Is there
> any plan to do so in the future? I understand that there are privacy and
> security issues to consider but incorporating this feature will make it
> more complete.
>
> Regards,
>
>
> Seid,
>
> ___
> 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
>
>


-- 
Halvdan Hoem Grelland
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Missing app icons when upgrading to 2.21 and 2.22

2016-05-23 Thread Lars Helge Øverland
Hi Laura,

like you say, the settings, apps and data elements/indicators apps have all
been replaced by new apps, and hence sort of expected to disappear ;)

- Can you verify that your user has the needed authorities to see the new
apps? Can you try with a user that has the ALL authority?

- Can you try to really
 clear
the web browser cache? Is there any server-side caches that could be
cleared? Can you try in chrome incognito mode?

- If none of the above works, can you share a login privately?


best regards,

Lars









On Fri, May 20, 2016 at 11:25 PM, Laura E. Lincks <
laura.lin...@icap.columbia.edu> wrote:

> We are upgrading our 2.20 instance to a 2.22 instance (and a 2.3 instance
> as well shortly thereafter). We are doing incremental upgrades (2.20 -->
> 2.21, then 2.21 --> 2.22, then 2.22 --> 2.23)
>
> We noticed that when upgrading from 2.20 to 2.21, the Settings App icon
> disappeared. We can access the app by entering the URL directly, but cannot
> access it via a Settings App Icon.
>
> Similarly, when upgrading from 2.21 to 2.22 the icons for the App
> Management and the Data Element/Indicators apps also disappeared (although,
> again, we can access the apps via the URL) in addition to the Settings app
> icon missing (still).
>
> I know these apps are completely new "true" apps within the respective
> DHIS versions, per the release notes, but we are stuck on how to get the
> app icons to reappear in the menu.
>
> *Note*: we updated to Java 8 and updated to the latest Ubuntu distro
> prior to upgrading from DHIS ver. 2.20 to 2.21.
>
> *Version details:*
> Version:
> ​ ​
> 2.20
> ​ //
> Build revision:
> ​ ​
> 20001
> ​ --> ​
> Version:
> ​ ​
> 2.21
> ​ //
> Build revision:
> ​ ​
> 21094
>
> Thanks in advance!
>
> *Laura E. Lincks*
> Database Manager/Developer
> ICAP - Columbia University
> Mailman School of Public Health
> 60 Haven Ave, Floor B1
> New York, NY 10032
> Tel: 212 304 7132
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Some clarifications for Program indicators

2016-05-23 Thread Lars Helge Øverland
On Mon, May 23, 2016 at 11:49 AM, Lars Helge Øverland 
wrote:

> Hi Vanya,
>
> thanks for raising this issue - it's a good question. Having program
> indicators based on a data element / attributes dates instead of event date
> has come up earlier and something we will have to support.
>
> Short story: Currently this is not possible.
>
> Long story: The current event analytics solution has a compromise between
> query performance and flexibility around dates. If you have a look at the
> event analytics tables (e.g. "analytics_event_2015_ebayegv0exc") you will
> see two things:
>
> - The tables are partitioned by year (one analytics table with events per
> year per program) based on event date. This reduces query time since the
> indexes and tables become smaller instead of growing longer infinitely as
> times goes.
>
> - The tables have columns for all period types based on event date. This
> makes it possible to aggregate all periods in a query through group-bys on
> those columns, instead of having to do one query per period, and hence
> improves performance a lot.
>
> All this is great for performance but limits the analysis to be based on
> event date. To partition data one needs a partition key and event date is
> pretty much the only suitable candidate (in addition to program).
>
> So to support aggregation / analytics based on any date from data
> elements/attributes of the events, one must sacrifice some of this and
> basically have one analytics table per program, and have one query per
> aggregation period. This will soon be a very popular requirement so we will
> have to support it - still pondering how to solve this in a way which
> offers required performance and flexibility.
>
>
> best regards,
>
> Lars
>
>
I have created a blueprint for this here:

https://blueprints.launchpad.net/dhis2/+spec/event-analytics-date-flexibility



Lars
___
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] Capture coordinates

2016-05-23 Thread Jason Pickering
Hi Sergio,

I think this is configurable.

[image: Inline image 1]

If you do not want to capture the coordinates of each event, you do not
need to.

So for events which always have the same coordinates as the facility, it
would seem that you would not need this. In certain use cases (others can
describe more I think), the event may be registered at the facility, but
actually took place some place different, such as in the community.

Regards,
Jason


On Mon, May 23, 2016 at 11:32 AM, Sergio Valenzuela <
sergio.valenzu...@ehas.org> wrote:

> Hi Jason,
>
> What I am asking for is a little bit different (I don't know if this is
> possible), I'll try to explain myself:
>
> Let's say we are in Sierra Leone at the Ngelehun CHC. We are capturing
> data in the "Inpatient morbidity and mortality program".
> Currently, every new event registration requires us to introduce the
> coordinates of Ngelehun CHC manually, so my question is: Is there any way
> to automatize this? (The event coordinates we have to introduce every time
> for each event are the same as Ngelehun CHC coordinates)
>
> I hope my question is more clear now.
>
> Regards.
>
>
> *Sergio Valenzuela*
> Fundación EHAS
> Telemedicina para países en desarrollo -* www.ehas.org
> *
> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
> Madrid - España
> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>
>
>
> 2016-05-23 11:14 GMT+02:00 Jason Pickering :
>
>> Hi there,
>> We have added a new data value type called "Coordinates". This will allow
>> you to record coordinates just a normal data value. Is this what you are
>> looking for?
>>
>> Regards,
>> Jason
>>
>>
>> On Mon, May 23, 2016 at 10:43 AM, Sergio Valenzuela <
>> sergio.valenzu...@ehas.org> wrote:
>>
>>> Hello all,
>>>
>>> Just to be sure and related to this topic, is there any way to capture 
>>> *event
>>> coordinates* in a default way? I mean, is it possible to assign
>>> coordinates from an org unit to the events which are being captured in this
>>> org unit in an automatic way? For the moment, we have to introduce them
>>> manually with each event we register on one of our programs in order to
>>> make these events visible on GIS app.
>>>
>>> I think this is not offtopic, but tell me if it is.
>>>
>>> Thanks!!
>>>
>>>
>>> *Sergio Valenzuela*
>>> Fundación EHAS
>>> Telemedicina para países en desarrollo -* www.ehas.org
>>> *
>>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
>>> Madrid - España
>>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>>
>>>
>>>
>>> 2016-05-21 18:12 GMT+02:00 Calle Hedberg :
>>>
 Hi,

 Easiest method if you are talking about POINT co-ordinates (e.g. health
 facilities):

 1. Create a comma-delimited list with facility name (exactly as in the
 DHIS), Latitude and Longitude. Coordinates must be ISO standard using datum
 WGS-84 (the same datum used by all Global Navigation Systems like GPS, and
 used by all modern maps).

 2. For point co-ordinates, DHIS supports six decimals (equivalent to
 around 10cm precision) - that is the standard number of decimal for point
 data in most systems.

 3. Whether you create the comma-delimited file in Excel, a text editor
 etc does not matter - use what's convenient for you. Make sure the facility
 name column is called "NAME"

 4. There is no need to generalise point coordinates the same way you
 might do it for high-precision line or polygon (area) features, so when you
 are ready with the file either convert it to GML format using the
 (cumbersome) method described in the DHIS2 manual, OR import it into a GIS
 package like QGIS.

 5. After creating the GML file, import it. Any mis-spelled name will
 show up during the import as having failed.

 regards
 Calle



 2016-05-20 15:35 GMT+02:00 papa alioune Sokhna :

> Hi everybody,
> how to captures coordinate in DHIS2.
> --
> Papa Alioune SOKHNA
> *Informaticien *
> Spécialité: développement d'application web, mobile et logiciels surs
> Tel: +221 77 442 16 22
>
> ___
> 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
>
>


 --

 ***

 Calle Hedberg

 46D Alma Road, 7700 Rosebank, SOUTH AFRICA

 Tel/fax (home): +27-21-685-6472

 Cell: +27-82-853-5352

 Iridium SatPhone: +8816-315-19119

 Email: calle.hedb...@gmail.com

 Skype: calle_hedberg

 ***


 

Re: [Dhis2-devs] [Dhis2-users] Some clarifications for Program indicators

2016-05-23 Thread Lars Helge Øverland
Hi Vanya,

thanks for raising this issue - it's a good question. Having program
indicators based on a data element / attributes dates instead of event date
has come up earlier and something we will have to support.

Short story: Currently this is not possible.

Long story: The current event analytics solution has a compromise between
query performance and flexibility around dates. If you have a look at the
event analytics tables (e.g. "analytics_event_2015_ebayegv0exc") you will
see two things:

- The tables are partitioned by year (one analytics table with events per
year per program) based on event date. This reduces query time since the
indexes and tables become smaller instead of growing longer infinitely as
times goes.

- The tables have columns for all period types based on event date. This
makes it possible to aggregate all periods in a query through group-bys on
those columns, instead of having to do one query per period, and hence
improves performance a lot.

All this is great for performance but limits the analysis to be based on
event date. To partition data one needs a partition key and event date is
pretty much the only suitable candidate (in addition to program).

So to support aggregation / analytics based on any date from data
elements/attributes of the events, one must sacrifice some of this and
basically have one analytics table per program, and have one query per
aggregation period. This will soon be a very popular requirement so we will
have to support it - still pondering how to solve this in a way which
offers required performance and flexibility.


best regards,

Lars











On Tue, May 17, 2016 at 1:13 PM, Vanya Seth  wrote:

> Hi dhis-devs
>
> We are looking at doing some analysis for the Anonymous events. For which
> we are trying to set up some program indicators.
>
> Currently the issue that we face is that the events that DHIS2 considers
> for calculations within a specific reporting period (week, month) in event
> reports/visualizer, are the ones whose event date is within that reporting
> period.
>
> *Example of the problem*
>
> *Inpatient mortality rate*
>
> Relevant data elements: date of discharge, exit mode [death, discharged
> ...]
>
> *Requirement:*
>
> - Get all events where the discharge date was within the reporting period
> (all exits during period)
>
> - Get all events where the discharge date was within the reporting period
> and the exit mode was "death" (deaths during reporting period)
>
> - Divide deaths/all exits to get the mortality rate (indicator)
>
> As an example, if a patient gets admitted in April 2016 and hence the
> event date is in the April 2016 reporting period. Now say the patient gets
> discharged in May 2016. But this exit will be calculated in the April 2016
> reporting period due to considering the event date for analysis.
> There is no direct way in DHIS where in we can match the reporting period
> to a date based data elements for filtering out data or also include them
> in indicators.
>
> Any thoughts about how other users have solved these kind of issues would
> be much appreciated.
>
>
> --
> With Regards
> Vanya
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Missing app icons when upgrading to 2.21 and 2.22

2016-05-23 Thread Knut Staring
Hi Laura, please look at the new Maintenance app for data elements and
indicators (also orgunits from 2.23)

Knut
On 20 May 2016 10:26 p.m., "Laura E. Lincks" 
wrote:

We are upgrading our 2.20 instance to a 2.22 instance (and a 2.3 instance
as well shortly thereafter). We are doing incremental upgrades (2.20 -->
2.21, then 2.21 --> 2.22, then 2.22 --> 2.23)

We noticed that when upgrading from 2.20 to 2.21, the Settings App icon
disappeared. We can access the app by entering the URL directly, but cannot
access it via a Settings App Icon.

Similarly, when upgrading from 2.21 to 2.22 the icons for the App
Management and the Data Element/Indicators apps also disappeared (although,
again, we can access the apps via the URL) in addition to the Settings app
icon missing (still).

I know these apps are completely new "true" apps within the respective DHIS
versions, per the release notes, but we are stuck on how to get the app
icons to reappear in the menu.

*Note*: we updated to Java 8 and updated to the latest Ubuntu distro prior
to upgrading from DHIS ver. 2.20 to 2.21.

*Version details:*
Version:
​ ​
2.20
​ //
Build revision:
​ ​
20001
​ --> ​
Version:
​ ​
2.21
​ //
Build revision:
​ ​
21094

Thanks in advance!

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

___
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] Capture coordinates

2016-05-23 Thread Sergio Valenzuela
Hi Jason,

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

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

I hope my question is more clear now.

Regards.


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



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

> Hi there,
> We have added a new data value type called "Coordinates". This will allow
> you to record coordinates just a normal data value. Is this what you are
> looking for?
>
> Regards,
> Jason
>
>
> On Mon, May 23, 2016 at 10:43 AM, Sergio Valenzuela <
> sergio.valenzu...@ehas.org> wrote:
>
>> Hello all,
>>
>> Just to be sure and related to this topic, is there any way to capture *event
>> coordinates* in a default way? I mean, is it possible to assign
>> coordinates from an org unit to the events which are being captured in this
>> org unit in an automatic way? For the moment, we have to introduce them
>> manually with each event we register on one of our programs in order to
>> make these events visible on GIS app.
>>
>> I think this is not offtopic, but tell me if it is.
>>
>> Thanks!!
>>
>>
>> *Sergio Valenzuela*
>> Fundación EHAS
>> Telemedicina para países en desarrollo -* www.ehas.org
>> *
>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
>> Madrid - España
>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>
>>
>>
>> 2016-05-21 18:12 GMT+02:00 Calle Hedberg :
>>
>>> Hi,
>>>
>>> Easiest method if you are talking about POINT co-ordinates (e.g. health
>>> facilities):
>>>
>>> 1. Create a comma-delimited list with facility name (exactly as in the
>>> DHIS), Latitude and Longitude. Coordinates must be ISO standard using datum
>>> WGS-84 (the same datum used by all Global Navigation Systems like GPS, and
>>> used by all modern maps).
>>>
>>> 2. For point co-ordinates, DHIS supports six decimals (equivalent to
>>> around 10cm precision) - that is the standard number of decimal for point
>>> data in most systems.
>>>
>>> 3. Whether you create the comma-delimited file in Excel, a text editor
>>> etc does not matter - use what's convenient for you. Make sure the facility
>>> name column is called "NAME"
>>>
>>> 4. There is no need to generalise point coordinates the same way you
>>> might do it for high-precision line or polygon (area) features, so when you
>>> are ready with the file either convert it to GML format using the
>>> (cumbersome) method described in the DHIS2 manual, OR import it into a GIS
>>> package like QGIS.
>>>
>>> 5. After creating the GML file, import it. Any mis-spelled name will
>>> show up during the import as having failed.
>>>
>>> regards
>>> Calle
>>>
>>>
>>>
>>> 2016-05-20 15:35 GMT+02:00 papa alioune Sokhna :
>>>
 Hi everybody,
 how to captures coordinate in DHIS2.
 --
 Papa Alioune SOKHNA
 *Informaticien *
 Spécialité: développement d'application web, mobile et logiciels surs
 Tel: +221 77 442 16 22

 ___
 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


>>>
>>>
>>> --
>>>
>>> ***
>>>
>>> Calle Hedberg
>>>
>>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>>
>>> Tel/fax (home): +27-21-685-6472
>>>
>>> Cell: +27-82-853-5352
>>>
>>> Iridium SatPhone: +8816-315-19119
>>>
>>> Email: calle.hedb...@gmail.com
>>>
>>> Skype: calle_hedberg
>>>
>>> ***
>>>
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : 

Re: [Dhis2-devs] Translation Server down

2016-05-23 Thread Sergio Valenzuela
Ok, thanks Jason!


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



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

> Hi there,
> Sorry about that. I did not put in the correct redirect. I will fix it,
> but please use
>
> https://translate.dhis2.org/
>
> Best regards,
> Jason
>
>
> On Mon, May 23, 2016 at 11:05 AM, Sergio Valenzuela <
> sergio.valenzu...@ehas.org> wrote:
>
>> Hello devs,
>>
>> I am trying to access to the translation server:
>> http://translate.dhis2.net/,but apparently is down (I attached an image
>> captured from my browser), just in case you didn't know about it.
>>
>> Regards!
>>
>>
>> *Sergio Valenzuela*
>> Fundación EHAS
>> Telemedicina para países en desarrollo -* www.ehas.org
>> *
>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
>> Madrid - España
>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>
>>
>>
>> ___
>> 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
>
___
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] Capture coordinates

2016-05-23 Thread Jason Pickering
Hi there,
We have added a new data value type called "Coordinates". This will allow
you to record coordinates just a normal data value. Is this what you are
looking for?

Regards,
Jason


On Mon, May 23, 2016 at 10:43 AM, Sergio Valenzuela <
sergio.valenzu...@ehas.org> wrote:

> Hello all,
>
> Just to be sure and related to this topic, is there any way to capture *event
> coordinates* in a default way? I mean, is it possible to assign
> coordinates from an org unit to the events which are being captured in this
> org unit in an automatic way? For the moment, we have to introduce them
> manually with each event we register on one of our programs in order to
> make these events visible on GIS app.
>
> I think this is not offtopic, but tell me if it is.
>
> Thanks!!
>
>
> *Sergio Valenzuela*
> Fundación EHAS
> Telemedicina para países en desarrollo -* www.ehas.org
> *
> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
> Madrid - España
> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>
>
>
> 2016-05-21 18:12 GMT+02:00 Calle Hedberg :
>
>> Hi,
>>
>> Easiest method if you are talking about POINT co-ordinates (e.g. health
>> facilities):
>>
>> 1. Create a comma-delimited list with facility name (exactly as in the
>> DHIS), Latitude and Longitude. Coordinates must be ISO standard using datum
>> WGS-84 (the same datum used by all Global Navigation Systems like GPS, and
>> used by all modern maps).
>>
>> 2. For point co-ordinates, DHIS supports six decimals (equivalent to
>> around 10cm precision) - that is the standard number of decimal for point
>> data in most systems.
>>
>> 3. Whether you create the comma-delimited file in Excel, a text editor
>> etc does not matter - use what's convenient for you. Make sure the facility
>> name column is called "NAME"
>>
>> 4. There is no need to generalise point coordinates the same way you
>> might do it for high-precision line or polygon (area) features, so when you
>> are ready with the file either convert it to GML format using the
>> (cumbersome) method described in the DHIS2 manual, OR import it into a GIS
>> package like QGIS.
>>
>> 5. After creating the GML file, import it. Any mis-spelled name will show
>> up during the import as having failed.
>>
>> regards
>> Calle
>>
>>
>>
>> 2016-05-20 15:35 GMT+02:00 papa alioune Sokhna :
>>
>>> Hi everybody,
>>> how to captures coordinate in DHIS2.
>>> --
>>> Papa Alioune SOKHNA
>>> *Informaticien *
>>> Spécialité: développement d'application web, mobile et logiciels surs
>>> Tel: +221 77 442 16 22
>>>
>>> ___
>>> 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
>>>
>>>
>>
>>
>> --
>>
>> ***
>>
>> Calle Hedberg
>>
>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>
>> Tel/fax (home): +27-21-685-6472
>>
>> Cell: +27-82-853-5352
>>
>> Iridium SatPhone: +8816-315-19119
>>
>> Email: calle.hedb...@gmail.com
>>
>> Skype: calle_hedberg
>>
>> ***
>>
>>
>> ___
>> 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
>
>


-- 
Jason P. Pickering
email: jason.p.picker...@gmail.com
tel:+46764147049
___
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] Translation Server down

2016-05-23 Thread Jason Pickering
Hi there,
Sorry about that. I did not put in the correct redirect. I will fix it, but
please use

https://translate.dhis2.org/

Best regards,
Jason


On Mon, May 23, 2016 at 11:05 AM, Sergio Valenzuela <
sergio.valenzu...@ehas.org> wrote:

> Hello devs,
>
> I am trying to access to the translation server:
> http://translate.dhis2.net/,but apparently is down (I attached an image
> captured from my browser), just in case you didn't know about it.
>
> Regards!
>
>
> *Sergio Valenzuela*
> Fundación EHAS
> Telemedicina para países en desarrollo -* www.ehas.org
> *
> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
> Madrid - España
> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>
>
>
> ___
> 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
___
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] Translation Server down

2016-05-23 Thread Sergio Valenzuela
Hello devs,

I am trying to access to the translation server:
http://translate.dhis2.net/,but
apparently is down (I attached an image captured from my browser), just in
case you didn't know about it.

Regards!


*Sergio Valenzuela*
Fundación EHAS
Telemedicina para países en desarrollo -* www.ehas.org
*
E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
Madrid - España
Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
___
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] Some clarifications for Program indicators

2016-05-23 Thread Vanya Seth
Hi devs and users

Would anyone with relevant experience in this, help us understand this
better?

Regards
Vanya

On Tue, May 17, 2016 at 4:43 PM, Vanya Seth  wrote:

> Hi dhis-devs
>
> We are looking at doing some analysis for the Anonymous events. For which
> we are trying to set up some program indicators.
>
> Currently the issue that we face is that the events that DHIS2 considers
> for calculations within a specific reporting period (week, month) in event
> reports/visualizer, are the ones whose event date is within that reporting
> period.
>
> *Example of the problem*
>
> *Inpatient mortality rate*
>
> Relevant data elements: date of discharge, exit mode [death, discharged
> ...]
>
> *Requirement:*
>
> - Get all events where the discharge date was within the reporting period
> (all exits during period)
>
> - Get all events where the discharge date was within the reporting period
> and the exit mode was "death" (deaths during reporting period)
>
> - Divide deaths/all exits to get the mortality rate (indicator)
>
> As an example, if a patient gets admitted in April 2016 and hence the
> event date is in the April 2016 reporting period. Now say the patient gets
> discharged in May 2016. But this exit will be calculated in the April 2016
> reporting period due to considering the event date for analysis.
> There is no direct way in DHIS where in we can match the reporting period
> to a date based data elements for filtering out data or also include them
> in indicators.
>
> Any thoughts about how other users have solved these kind of issues would
> be much appreciated.
>
>
> --
> With Regards
> Vanya
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>



-- 
With Regards
ThoughtWorks Technologies
Hyderabad

--Stay Hungry Stay Foolish!!
___
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] issue with /api/eventReports for fetching data

2016-05-23 Thread Vanya Seth
Hi Lars

Can you please let us know your thoughts about this?

Regards
Vanya

On Fri, May 13, 2016 at 12:57 PM, Vanya Seth 
wrote:

> Hi Lars
>
> Hope you are doing well.
>
> We need to take a decision on it very soon. This is part of our current
> iteration. Would it be possible to let us know your thoughts about this?
>
> Regards
> Vanya
>
> On Wed, May 11, 2016 at 7:07 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi Lars,
>>
>> We have a use-case for fetching event reports for a custom app that we're
>> building. We are planning to extend the API to fetch data for event
>> reports. The potential approach we would follow is similar to the way that
>> pivot tables api are built i.e. /api/eventReports//data  should fetch
>> us appropriate data. The metadata configuration can be fetched using the
>> eventReport UID and data can be fetched by using EventAnalyticsService.
>>
>> Could you please let us know the complexities or the repercussions you
>> foresee that go along with extending the API. Any thoughts on this would be
>> valuable.
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> 
>>
>> On Tue, May 10, 2016 at 3:00 AM, Lars Helge Øverland 
>> wrote:
>>
>>> Hi Srikanth,
>>>
>>> this specific feature is one we want to implement, but I cannot promise
>>> a delivery date - sorry. This area is quite complex and the event reports
>>> is still gaining new features, so this is a moving target and hard to know
>>> exactly when we will get time to implement the server version.
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>> On Fri, May 6, 2016 at 8:17 AM, Srikanth Katta <
>>> srika...@thoughtworks.com> wrote:
>>>
 Hi Lars,

 Could you please let us know if there is any plan of extending the *event
 reports api* for fetching data for 2.24 release. Please let us know
 your roadmap to support this functionality.

 Thanks,
 Srikanth

 On Mon, May 2, 2016 at 6:19 PM, Srikanth Katta <
 srika...@thoughtworks.com> wrote:

> Thank you, Lars
>
> On Mon, May 2, 2016 at 6:10 PM, Lars Helge Øverland 
> wrote:
>
>> Hi Srikanth,
>>
>> unfortunately we do not support this at the moment.
>>
>> You will have to use the aggregate event analytics API for now and
>> construct the table yourself.
>>
>> /api/analytics/events/aggregate
>>
>> regards,
>>
>> Lars
>>
>>
>>
>>
>> On Mon, May 2, 2016 at 1:28 PM, Srikanth Katta <
>> srika...@thoughtworks.com> wrote:
>>
>>> Hi,
>>>
>>> We are using latest version of DHIS 2.21
>>> We have configured reports on Event Reports module and trying to
>>> fetch data through the API - *.../api/eventReports//data,*  but
>>> we get no response. We have looked up the documentation on developer 
>>> manual
>>>  for web api in *Viewing analytical resource representations*, but
>>> looks like no resource is provided for the same.
>>>
>>> Any help on this would be appreciated.
>>>
>>> Thanks,
>>> Srikanth
>>>
>>> ___
>>> 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
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> http://www.dhis2.org 
>>
>>
>

>>>
>>>
>>> --
>>> Lars Helge Øverland
>>> Lead developer, DHIS 2
>>> University of Oslo
>>> Skype: larshelgeoverland
>>> l...@dhis2.org
>>> http://www.dhis2.org 
>>>
>>>
>>
>
>
> --
> With Regards
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>



-- 
With Regards
ThoughtWorks Technologies
Hyderabad

--Stay Hungry Stay Foolish!!
___
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] Capture coordinates

2016-05-23 Thread Sergio Valenzuela
Hello all,

Just to be sure and related to this topic, is there any way to capture *event
coordinates* in a default way? I mean, is it possible to assign coordinates
from an org unit to the events which are being captured in this org unit in
an automatic way? For the moment, we have to introduce them manually with
each event we register on one of our programs in order to make these events
visible on GIS app.

I think this is not offtopic, but tell me if it is.

Thanks!!


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



2016-05-21 18:12 GMT+02:00 Calle Hedberg :

> Hi,
>
> Easiest method if you are talking about POINT co-ordinates (e.g. health
> facilities):
>
> 1. Create a comma-delimited list with facility name (exactly as in the
> DHIS), Latitude and Longitude. Coordinates must be ISO standard using datum
> WGS-84 (the same datum used by all Global Navigation Systems like GPS, and
> used by all modern maps).
>
> 2. For point co-ordinates, DHIS supports six decimals (equivalent to
> around 10cm precision) - that is the standard number of decimal for point
> data in most systems.
>
> 3. Whether you create the comma-delimited file in Excel, a text editor etc
> does not matter - use what's convenient for you. Make sure the facility
> name column is called "NAME"
>
> 4. There is no need to generalise point coordinates the same way you might
> do it for high-precision line or polygon (area) features, so when you are
> ready with the file either convert it to GML format using the (cumbersome)
> method described in the DHIS2 manual, OR import it into a GIS package like
> QGIS.
>
> 5. After creating the GML file, import it. Any mis-spelled name will show
> up during the import as having failed.
>
> regards
> Calle
>
>
>
> 2016-05-20 15:35 GMT+02:00 papa alioune Sokhna :
>
>> Hi everybody,
>> how to captures coordinate in DHIS2.
>> --
>> Papa Alioune SOKHNA
>> *Informaticien *
>> Spécialité: développement d'application web, mobile et logiciels surs
>> Tel: +221 77 442 16 22
>>
>> ___
>> 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
>>
>>
>
>
> --
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>
> ___
> 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] Android Tracker doesn't work with 2.23 version

2016-05-23 Thread Erling Fjelstad
Hi Em,
It works over here on play.dhis2.org/demo - which is running 2.23. What is
failing on your end?
Regards,
Erling

On Mon, May 23, 2016 at 6:08 AM, Em Le Hong 
wrote:

>
> Hi team,
>
> I just tested the Android Tracker app and seems that it doesn't work with
> DHIS2 version 2.23 revision 22889.
>
> Do you have any plan to update so it can work with DHIS2 version 2.23?
> Because we are implementing it in Cambodia and they want to know so they
> can make a plan for training.
>
> Thanks
> --
> Le Hong Em
>   +84 126 7171 650
>
> ___
> 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] openid configuration for MS Azure AD

2016-05-23 Thread Chameera Mirihella
Yes please, it is good to have OpenID Connect support.

Thanks,
Chameera.

On Mon, May 23, 2016 at 11:52 AM Morten Olav Hansen 
wrote:

> I have added a blueprint for OpenID Connect support [1], but this will not
> be in 2.24, hopefully 2.25 if time allows it.
>
> [1] https://blueprints.launchpad.net/dhis2/+spec/security-openid-connect
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Mon, May 23, 2016 at 1:17 PM, Chameera Mirihella <
> chameera9...@gmail.com> wrote:
>
>> Hi Morten,
>>
>> Thanks, I spent plenty of time for this. yes you are right, It seems MS
>> Azure does support only OpenID Connect.
>> I include Ray to this mail thread who is actually request this.
>>
>> Hi Ray,
>>
>> please read the forwarded message from Morten.
>>
>> Thanks,
>> Chameera.
>>
>> On Mon, May 23, 2016 at 10:53 AM Morten Olav Hansen 
>> wrote:
>>
>>> Hi
>>>
>>> We don't support OpenID Connect, only OpenID. Not sure if your software
>>> supports that?
>>>
>>> We also have LDAP support, did you look into that?
>>>
>>> http://dhis2.github.io/dhis2-docs/master/en/implementer/html/ch08s05.html
>>>
>>> --
>>> Morten Olav Hansen
>>> Senior Engineer, DHIS 2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Mon, May 23, 2016 at 12:15 PM, Chameera Mirihella <
>>> chameera9...@gmail.com> wrote:
>>>
 Hi Team,

 if anyone has experience, pls reply.

 one of our dhis2 instance needs to configure its openid against *Microsoft
 Azure AD.*

 I read this article but it doesn't provide much info.
 http://dhis2.github.io/dhis2-docs/2.23/en/user/html/ch07.html#d0e2575

 is it possible to use MS Azure AD as authenticator for dhis2..?
 any clue, how to figure out openid provider url of MS Azure AD for
 dhis..?

 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


>>>
>
___
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] openid configuration for MS Azure AD

2016-05-23 Thread Morten Olav Hansen
I have added a blueprint for OpenID Connect support [1], but this will not
be in 2.24, hopefully 2.25 if time allows it.

[1] https://blueprints.launchpad.net/dhis2/+spec/security-openid-connect

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Mon, May 23, 2016 at 1:17 PM, Chameera Mirihella 
wrote:

> Hi Morten,
>
> Thanks, I spent plenty of time for this. yes you are right, It seems MS
> Azure does support only OpenID Connect.
> I include Ray to this mail thread who is actually request this.
>
> Hi Ray,
>
> please read the forwarded message from Morten.
>
> Thanks,
> Chameera.
>
> On Mon, May 23, 2016 at 10:53 AM Morten Olav Hansen 
> wrote:
>
>> Hi
>>
>> We don't support OpenID Connect, only OpenID. Not sure if your software
>> supports that?
>>
>> We also have LDAP support, did you look into that?
>>
>> http://dhis2.github.io/dhis2-docs/master/en/implementer/html/ch08s05.html
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Mon, May 23, 2016 at 12:15 PM, Chameera Mirihella <
>> chameera9...@gmail.com> wrote:
>>
>>> Hi Team,
>>>
>>> if anyone has experience, pls reply.
>>>
>>> one of our dhis2 instance needs to configure its openid against *Microsoft
>>> Azure AD.*
>>>
>>> I read this article but it doesn't provide much info.
>>> http://dhis2.github.io/dhis2-docs/2.23/en/user/html/ch07.html#d0e2575
>>>
>>> is it possible to use MS Azure AD as authenticator for dhis2..?
>>> any clue, how to figure out openid provider url of MS Azure AD for
>>> dhis..?
>>>
>>> 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
>>>
>>>
>>
___
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] openid configuration for MS Azure AD

2016-05-23 Thread Chameera Mirihella
Hi Morten,

Thanks, I spent plenty of time for this. yes you are right, It seems MS
Azure does support only OpenID Connect.
I include Ray to this mail thread who is actually request this.

Hi Ray,

please read the forwarded message from Morten.

Thanks,
Chameera.

On Mon, May 23, 2016 at 10:53 AM Morten Olav Hansen 
wrote:

> Hi
>
> We don't support OpenID Connect, only OpenID. Not sure if your software
> supports that?
>
> We also have LDAP support, did you look into that?
>
> http://dhis2.github.io/dhis2-docs/master/en/implementer/html/ch08s05.html
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Mon, May 23, 2016 at 12:15 PM, Chameera Mirihella <
> chameera9...@gmail.com> wrote:
>
>> Hi Team,
>>
>> if anyone has experience, pls reply.
>>
>> one of our dhis2 instance needs to configure its openid against *Microsoft
>> Azure AD.*
>>
>> I read this article but it doesn't provide much info.
>> http://dhis2.github.io/dhis2-docs/2.23/en/user/html/ch07.html#d0e2575
>>
>> is it possible to use MS Azure AD as authenticator for dhis2..?
>> any clue, how to figure out openid provider url of MS Azure AD for dhis..?
>>
>> 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
>>
>>
>
___
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