[Dhis2-users] Entering data using Mobile (Smartphone) module

2017-08-22 Thread Mike Johnson
I am having trouble configuring the Smartphone (Mobile) module in Chrome or 
Firefox.
[cid:image003.jpg@01D31B53.B907D490]
I am configuring a system for data collection at hospital wards, so they are at 
level 4 in the Org Unit Hierarchy. The dataset is also set at Level 4, and the 
User is set at Level 4. Unfortunately when the user logs in, they see a message 
"No organisation units available for data entry." The server is logging a 
java.lang.NullPointerException.

I have received some great feedback from other users, and I tried on the Demo 
DHIS2 platform. First, I got the same error - No organization units are 
available... but the page instantly redirected back to the /mobile/index page, 
and I clicked on "Aggregate Reports" again, and this time it worked.

Can anyone advise me on the specific user permissions that a user needs in 
order to enter data using the Smartphone Module on a tablet? Thank you!

Mike

(Jira Bug Report: 
https://jira.dhis2.org/browse/DHIS2-2013)


Mike Johnson, MSc
Senior Analyst | Monitoring, Evaluation, and Quality Improvement
Partners In Health
Skype: mjohn...@pih.org | Phone: 857.206.5246



From: Dhis2-users 
[mailto:dhis2-users-bounces+mjohnson=pih@lists.launchpad.net] On Behalf Of 
Mike Johnson
Sent: Monday, August 07, 2017 5:26 PM
To: dhis2-users@lists.launchpad.net; dhis2-d...@lists.launchpad.net
Subject: [Dhis2-users] Entering data using Mobile (Smartphone) module


Is anyone able to help me troubleshoot a problem with the browser-based mobile 
client (smartphone) in Chrome and Firefox.



When entering data using the URL: /dhis/mobile/data-entry, I am receiving this 
error: "No organisation units available for data entry." The server is logging 
a java.lang.NullPointerException

If I try to enter data in a dataset at Level 1 or Level 2, there is no error. 
If the dataset is at Level 3 or 4 in the hierarchy, the error is flagged. In an 
Incognito Browser window, the browser redirects to /dhis/mobile/index 
automatically and the error disappears.

I have tested this with multiple users, brand new users, and different user 
roles, including superuser role. If a superuser has access to datasets for Org 
Units at Level 1 and Level 2, then other users who sign in on the same browser 
will also have access to enter data at these levels until the cache is cleared. 
Then the error message about organization units will be shown.

I entered a bug report 
(https://jira.dhis2.org/browse/DHIS2-2013
 ) in case this is something others are experiencing.

Thank you for your assistance!

Mike Johnson, MSc
Senior Analyst | Monitoring, Evaluation, and Quality Improvement
Partners In Health
Skype: mjohn...@pih.org | Phone: 857.206.5246

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


[Dhis2-users] Users app - invitation action

2017-08-22 Thread Vladimer Shioshvili
Was action dropdown (with option to select "email invitation to create
account") removed from the add new user screen? It's listed in User manual,
but when moving from 2.24 to 2.27, i no longer have it.

[image: image.png]

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


[Dhis2-users] Need to use check box or yes/no type for data capture in a routine data entry form.

2017-08-22 Thread vunda limbe
Hi community,

We want to integrate qualitative data capture in a routine data entry not
in tracker, and those type of data are checkbox or yes/no  in the data
collection tool. how to implement to have  checkbox or yes/no data element
checked yes or no as number and not as boolean?

Your help is welcome.

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


Re: [Dhis2-users] Issues with Tracked Entity Attributes and Program Rules when using Relationships

2017-08-22 Thread Immaculate Ayebazibwe
Hi Markus,
Any ideas?
Should I create a Jira issue for this?

On Aug 19, 2017 9:01 AM, "Immaculate Ayebazibwe"  wrote:

> Hi All,
> I have 2 programs one parent (A) another child (B),
>
> I have set some attributes to inherit however
> When I create a relationship between A and B, and go to register client in
> B, the Date of Enrollment allows future dates but this is not the case when
> I directly register a client in B. Could this be a bug? (I have tested this
> on demo)
>
> Also Program rules are not working in B when accessing B from Relationship
> link in A but they work with direct registration. Is this also another bug?
> Should I create a Jira issue?
> ​I am running
> Version:2.27Build revision:688e9c9Build date:
> 2017-08-15 12:02​
>
> ​Highly appreciate your help​
>
> Thank you and Kind Regards
> *Immarcqulate. A (Emma Kassy) *
>
> *"You miss 100% of the shots you don't take."*
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] DHIS2 to DHIS2 integration cases

2017-08-22 Thread Martin Van Aken
Hi Michael,
Thanks for your answer. The architecture you explain looks sound to me - my
problem is that it would mean that I would reproduce something you (and
probably a lot of people) did already, so I'm wondering if someone did a
sort of "generic-ish" solution to this.

Should I have to build it, yes, this helps!

Martin

On Tue, Aug 22, 2017 at 3:19 PM, Michael Mwebaze 
wrote:

> Hi Martin,
>
> what I have done in the past to achieve this is to build a 3rd party
> utility say in Python and sync any number of dhis2 instances through their
> web apis. I then went on to create cron jobs which run the utility
> periodically. The major assumption I made was that the changes only
> happened on the master and never on the slaves. The slaves just got updates
> from the master. I hope this helps.
>
> Michael
>
> On 21 August 2017 at 12:13, Martin Van Aken 
> wrote:
>
>> Hi DHIS2 community!
>> We start having a number of cases for "DHIS2 to DHIS2" integration.
>> Typically, we have a DHIS2 at the HMIS level and one or more dedicated to
>> vertical programs. In this situation:
>>
>> - the vertical program need the health pyramid from the HMIS
>> - the HMIS may be interested to get back a part of the data element &
>> values generated by the vertical program
>>
>> Examples:
>>
>> - every time an org unit is created or updated in the HMIS we want to
>> create/update in the vertical program system
>> - every time an data element is created or updated in a given group in
>> the vertical program system we want to create/update it in the HMIS
>> - every period (week/month/quarter) we want to push back the data from
>> the vertical program to the HMIS for a given set of data element
>>
>> While all the individual elements are there for this to works (can use
>> export/import and/or the API), is there any "advised way" to make this run
>> on an automated basis? Missing this, any case/experience to share?
>>
>> Thanks & regards,
>>
>> Martin
>>
>> --
>> *Martin Van Aken - **Freelance Enthusiast Developer*
>>
>> Mobile : +32 486 899 652
>>
>> Follow me on Twitter : @martinvanaken 
>> Call me on Skype : vanakenm
>> Hang out with me : mar...@joyouscoding.com
>> Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
>> Company website : www.joyouscoding.com
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>


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

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken 
Call me on Skype : vanakenm
Hang out with me : mar...@joyouscoding.com
Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
Company website : www.joyouscoding.com
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] DHIS2 to DHIS2 integration cases

2017-08-22 Thread Michael Mwebaze
Hi Martin,

what I have done in the past to achieve this is to build a 3rd party
utility say in Python and sync any number of dhis2 instances through their
web apis. I then went on to create cron jobs which run the utility
periodically. The major assumption I made was that the changes only
happened on the master and never on the slaves. The slaves just got updates
from the master. I hope this helps.

Michael

On 21 August 2017 at 12:13, Martin Van Aken  wrote:

> Hi DHIS2 community!
> We start having a number of cases for "DHIS2 to DHIS2" integration.
> Typically, we have a DHIS2 at the HMIS level and one or more dedicated to
> vertical programs. In this situation:
>
> - the vertical program need the health pyramid from the HMIS
> - the HMIS may be interested to get back a part of the data element &
> values generated by the vertical program
>
> Examples:
>
> - every time an org unit is created or updated in the HMIS we want to
> create/update in the vertical program system
> - every time an data element is created or updated in a given group in the
> vertical program system we want to create/update it in the HMIS
> - every period (week/month/quarter) we want to push back the data from the
> vertical program to the HMIS for a given set of data element
>
> While all the individual elements are there for this to works (can use
> export/import and/or the API), is there any "advised way" to make this run
> on an automated basis? Missing this, any case/experience to share?
>
> Thanks & regards,
>
> Martin
>
> --
> *Martin Van Aken - **Freelance Enthusiast Developer*
>
> Mobile : +32 486 899 652
>
> Follow me on Twitter : @martinvanaken 
> Call me on Skype : vanakenm
> Hang out with me : mar...@joyouscoding.com
> Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
> Company website : www.joyouscoding.com
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp