[openXdata-dev] DHIS2 integration

Hi guys,

Interesting work on integrating the openxdata with DHIS2…

DHIS2 is not LDAP authentication, currently uses Spring security for the authentication. Currently, we use the database for storing the salted passwords for a username and use this for the authentication

May be if its required urgently for some implementation of DHIS2, we could do it pretty easily…

···

Regards,
Saptarshi PURKAYASTHA

My Tech Blog: http://sunnytalkstech.blogspot.com

You Live by CHOICE, Not by CHANCE

On 18 February 2011 13:41, Jørn Ivar Klungsøyr Jorn.Klungsoyr@cih.uib.no wrote:

Hi Simon,

Hi Simon,

First of all this is a very exciting project and having a good DHIS2 integration is a very good and often requested for feature.

What timeframes are we talking about – and what developer time do you have to implement this?

Meaning do you have time for some substantial changes or primarily quick solutions?

Does DHIS2 use LDAP or something custom like we have in openXdata for users and organizations?

Best

Jørn


Jorn Klungsoyr
openXdata - Centre for International Health, University of Bergen, Norway

www.openxdata.org / www.cih.uib.no / www.openrosa.org / www.open-mobile.org

Mobile: +4791365731, Office: +4755588574, Skype/GoogleTalk: jornklung Alternative email: jorn.klungsoyr@gmail.com

Post: Postboks 7800, 5020 Bergen, Visit: Årstadveien 21, 5th Floor, Bergen

                   ------¤¤¤¤------

From: openxdata-dev@googlegroups.com [mailto:openxdata-dev@googlegroups.com] On Behalf Of Simon Kelly

Sent: Friday, February 18, 2011 12:02 PM
To: openxdata-dev@googlegroups.com
Subject: [openXdata-dev] DHIS2 integration

Hello all

At Cell-Life we are integrating OpenXdata with DHIS2 for a large project(1000 users in the pilot). The forms are fairly simple and are collecting information like “Number of people tested for HIV”. Some of the forms are filled in monthly and some weekly. Each facility will have a mobile phone which they will use to capture the data (so no roaming phones).

Give this situation and the fact that there will be a lot of facilities (more than 10000) we do not want to include the facility information in the form (i.e. we assume that all data coming from a particular phone / user is associated with a particular facility). This is partly to make the forms easier to fill out and partly because I don’t think the current mobile app would be able to cope with a list of 10000 facilities). We could have different forms for different districts but that increases the management overhead significantly (there will be approximately 50 districts).

So what we need to do is map an OpenXdata user to an OrganizationUnit (DHIS speak for facility) so that when a user submits data we know which facility (org unit) it belongs to. I have some ideas of how to do this but would appreciate any ideas from the community, especially if we can figure out a way of doing it that makes sense for the long run.

I won’t tell you my ideas for now so as to not spoil your creative juices :slight_smile:

Any feedback welcome!

Simon


Simon Kelly
Technical Manager
Cell-Life
Cape Town, South Africa
+27 (0) 21 469 1111
+27 (0) 21 469 1126 (fax)

+27 (0) 72 231 0096 (mobile)
www.cell-life.org


You received this message because you are subscribed to the Google Groups “openXdata Developers” group.

To post to this group, send email to openxdata-dev@googlegroups.com.
To unsubscribe from this group, send email to openxdata-dev+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/openxdata-dev?hl=en.

You received this message because you are subscribed to the Google Groups “openXdata Developers” group.

To post to this group, send email to openxdata-dev@googlegroups.com.

To unsubscribe from this group, send email to openxdata-dev+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/openxdata-dev?hl=en.

Not to be obtuse here, but this sounds like something that the DHIS2
Web mobile client can do today. Granted, creating 10000 user names and
passwords is a creative SQL query, but it could be done.

If you just need to collect an aggregate data element for a particular
organizational unit, this is something that can be done today with the
DHIS GPRS/3G client and Web-API. Scaling could be an issue, but this
seems really to be a load-balancing issue.

Perhaps I am missing something?

Regards,
Jason

···

On Fri, Feb 18, 2011 at 8:02 PM, Saptarshi Purkayutastha <sunbiz@gmail.com> wrote:

Hi guys,
Interesting work on integrating the openxdata with DHIS2...
DHIS2 is not LDAP authentication, currently uses Spring security for the
authentication. Currently, we use the database for storing the salted
passwords for a username and use this for the authentication
May be if its required urgently for some implementation of DHIS2, we could
do it pretty easily...

---
Regards,
Saptarshi PURKAYASTHA

My Tech Blog: http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE

On 18 February 2011 13:41, Jørn Ivar Klungsøyr <Jorn.Klungsoyr@cih.uib.no> > wrote:

Hi Simon,

Hi Simon,

First of all this is a very exciting project and having a good DHIS2
integration is a very good and often requested for feature.

What timeframes are we talking about – and what developer time do you have
to implement this?

Meaning do you have time for some substantial changes or primarily quick
solutions?

Does DHIS2 use LDAP or something custom like we have in openXdata for
users and organizations?

Best

Jørn

____________________________________________________________________________
Jorn Klungsoyr
openXdata - Centre for International Health, University of Bergen, Norway
www.openxdata.org / www.cih.uib.no / www.openrosa.org /
www.open-mobile.org
Mobile: +4791365731, Office: +4755588574, Skype/GoogleTalk: jornklung
Alternative email: jorn.klungsoyr@gmail.com
Post: Postboks 7800, 5020 Bergen, Visit: Årstadveien 21, 5th Floor, Bergen
------¤¤¤¤------

From: openxdata-dev@googlegroups.com
[mailto:openxdata-dev@googlegroups.com] On Behalf Of Simon Kelly
Sent: Friday, February 18, 2011 12:02 PM
To: openxdata-dev@googlegroups.com
Subject: [openXdata-dev] DHIS2 integration

Hello all

At Cell-Life we are integrating OpenXdata with DHIS2 for a large
project(1000 users in the pilot). The forms are fairly simple and are
collecting information like "Number of people tested for HIV". Some of the
forms are filled in monthly and some weekly. Each facility will have a
mobile phone which they will use to capture the data (so no roaming
phones).

Give this situation and the fact that there will be a lot of facilities
(more than 10000) we do not want to include the facility information in the
form (i.e. we assume that all data coming from a particular phone / user is
associated with a particular facility). This is partly to make the forms
easier to fill out and partly because I don't think the current mobile app
would be able to cope with a list of 10000 facilities). We could have
different forms for different districts but that increases the management
overhead significantly (there will be approximately 50 districts).

So what we need to do is map an OpenXdata user to an OrganizationUnit
(DHIS speak for facility) so that when a user submits data we know which
facility (org unit) it belongs to. I have some ideas of how to do this but
would appreciate any ideas from the community, especially if we can figure
out a way of doing it that makes sense for the long run.

I won't tell you my ideas for now so as to not spoil your creative juices
:slight_smile:

Any feedback welcome!

Simon

--
Simon Kelly
Technical Manager
Cell-Life
Cape Town, South Africa
+27 (0) 21 469 1111
+27 (0) 21 469 1126 (fax)
+27 (0) 72 231 0096 (mobile)
www.cell-life.org

--
You received this message because you are subscribed to the Google Groups
"openXdata Developers" group.
To post to this group, send email to openxdata-dev@googlegroups.com.
To unsubscribe from this group, send email to
openxdata-dev+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/openxdata-dev?hl=en\.

--
You received this message because you are subscribed to the Google Groups
"openXdata Developers" group.
To post to this group, send email to openxdata-dev@googlegroups.com.
To unsubscribe from this group, send email to
openxdata-dev+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/openxdata-dev?hl=en\.

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

--
Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+260974901293

Hi,

···

Den 19. feb. 2011 kl. 00.29 skrev Jason Pickering:

Not to be obtuse here, but this sounds like something that the DHIS2
Web mobile client can do today. Granted, creating 10000 user names and
passwords is a creative SQL query, but it could be done.

If you just need to collect an aggregate data element for a particular
organizational unit, this is something that can be done today with the
DHIS GPRS/3G client and Web-API. Scaling could be an issue, but this
seems really to be a load-balancing issue.

Perhaps I am missing something?

I would think our own client(s) could support this use case pretty much out of the box (no complex forms requirements or anything like that), so I don't think you're missing much.
I guess It's more a case of different contexts, timings, approaches. I guess our client didn't even exist when this project was initiated..

Jo

Hi Simon,

  • Are the ‘forms’ pre-compiled into the app or can they be downloaded / updated on the fly?

For the GPRS/3G client, the forms are pulled from the server.

  • Does the app support user authentication?

Yes. Attached to a single organisational unit
.

  • Is there a demo / screenshots somewhere that I could look at?

Please refer to the latest documentation available from [1].
Latest client available here [2]
Source for the client available here [3]

[1]http://dhis.uio.no/ci/job/Dhis2%20documentation/lastSuccessfulBuild/artifact/target/docbkx/pdf/dhis2_user_manual_en.pdf

[2] http://dhis.uio.no/ci/job/dhis-mobile-client/
[3]https://code.launchpad.net/dhis-mobile

Regards,

Jason

···

Simon


Simon Kelly
Technical Manager
Cell-Life
Cape Town, South Africa
+27 (0) 21 469 1111
+27 (0) 21 469 1126 (fax)

+27 (0) 72 231 0096 (mobile)

www.cell-life.org

On Sun, Feb 20, 2011 at 8:27 PM, Jo Størset storset@gmail.com wrote:

Hi,

Den 19. feb. 2011 kl. 00.29 skrev Jason Pickering:

Not to be obtuse here, but this sounds like something that the DHIS2

Web mobile client can do today. Granted, creating 10000 user names and

passwords is a creative SQL query, but it could be done.

If you just need to collect an aggregate data element for a particular

organizational unit, this is something that can be done today with the

DHIS GPRS/3G client and Web-API. Scaling could be an issue, but this

seems really to be a load-balancing issue.

Perhaps I am missing something?

I would think our own client(s) could support this use case pretty much out of the box (no complex forms requirements or anything like that), so I don’t think you’re missing much.

I guess It’s more a case of different contexts, timings, approaches. I guess our client didn’t even exist when this project was initiated…

Jo

You received this message because you are subscribed to the Google Groups “openXdata Developers” group.

To post to this group, send email to openxdata-dev@googlegroups.com.

To unsubscribe from this group, send email to openxdata-dev+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/openxdata-dev?hl=en.


Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+260974901293

Hi,

···

Den 21. feb. 2011 kl. 13.51 skrev Jason Pickering:

Please refer to the latest documentation available from [1].
Latest client available here [2]
Source for the client available here [3]

[1]http://dhis.uio.no/ci/job/Dhis2%20documentation/lastSuccessfulBuild/artifact/target/docbkx/pdf/dhis2_user_manual_en.pdf

[2] http://dhis.uio.no/ci/job/dhis-mobile-client/
[3]https://code.launchpad.net/dhis-mobile

Just to add to that, demos (can’t guarantee stability :slight_smile: can be found on [4]. Currently, I haven’t been able to get a decent demo database for the community/activity reporting functionality set up, but for facility reporting it should give you the basic idea. And, an easier accessed html version of the (work-in-progress) documentation can be found at [5].

Btw, I have also made a first cut for posting data values to DHIS2. You can can take a look at [6] (but stability not guaranteed there, either, I’m afraid). User/pass admin/district.

Jo

[4] http://dhis.uio.no/mobile/

[5] http://dhis2.org/doc/snapshot/en/html/ch18.html

[6] https://dhis.uio.no/dev/api

Forgot trailing /

···

Den 22. feb. 2011 kl. 13.17 skrev Jo Størset:

[6] https://dhis.uio.no/dev/api/