Associate an org. unit at the event level (and not at the tracked entity lavel)

Hi Yoann
Great question.

We would like to do this in West Africa with suspected Ebola patients.

Kind Regards

Gavin

···

On Fri, Feb 6, 2015 at 9:20 AM, Yoann Mira ym@novel-t.ch wrote:

Hello,

I have a multiple event with Registration program.

Is-it possible to associate an org. unit at the event level (instead of the patient level)?

For example, I would like to enroll a Patient in a Program at the City level. But then I would like to specify for each event, the location of this event (at a clinic level).

I need this because the patients are not fixed: they can be vaccinated in different clinics, but in my report I want to aggregate data at a clinic or a city level (a city can contain several clinics).

Can I do something like this? Right now, I can’t find a way to specify the place of vaccination when I create an event for my patient…

Kind regards.

**Novel-**T Sàrl

Yoann MIRA


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

Hi Yoann and Gavin,

A custom form or an app may achieve that for you. You need to use the Api,SQL views,some jquery/angularJS. In this way, the location of the event (clinic level) can be just an attribute/dataelement which can be written back to the database through api.

HISPUG implemented something similar for Rwanda for handling outbreaks and alerts.

Alex

···

On Fri, Feb 6, 2015 at 9:20 AM, Yoann Mira ym@novel-t.ch wrote:

Hello,

I have a multiple event with Registration program.

Is-it possible to associate an org. unit at the event level (instead of the patient level)?

For example, I would like to enroll a Patient in a Program at the City level. But then I would like to specify for each event, the location of this event (at a clinic level).

I need this because the patients are not fixed: they can be vaccinated in different clinics, but in my report I want to aggregate data at a clinic or a city level (a city can contain several clinics).

Can I do something like this? Right now, I can’t find a way to specify the place of vaccination when I create an event for my patient…

Kind regards.

**Novel-**T Sàrl

Yoann MIRA


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

Hi,

Yes that is possible. Events have their own orgunit. So, the thing you wanted to do is possible at the meta-data level. The problem is we don’t have a nice UI to support this.

We are hoping to support this with the next release.

···

On Sun, Feb 8, 2015 at 9:38 AM, Alex Tumwesigye atumwesigye@gmail.com wrote:

Hi Yoann and Gavin,
A custom form or an app may achieve that for you. You need to use the Api,SQL views,some jquery/angularJS. In this way, the location of the event (clinic level) can be just an attribute/dataelement which can be written back to the database through api.

HISPUG implemented something similar for Rwanda for handling outbreaks and alerts.

Alex

On Friday, February 6, 2015, Gavin Macgregor-Skinner gum13@psu.edu wrote:

Hi Yoann
Great question.

We would like to do this in West Africa with suspected Ebola patients.

Kind Regards

Gavin


Alex Tumwesigye

Technical Advisor - DHIS2,
Ministry of Health/AFENET

Kampala

Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems - DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don’t want to be anything other than what I have been - one tree hill "


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


Thank you,

Abyot.

On Fri, Feb 6, 2015 at 9:20 AM, Yoann Mira ym@novel-t.ch wrote:

Hello,

I have a multiple event with Registration program.

Is-it possible to associate an org. unit at the event level (instead of the patient level)?

For example, I would like to enroll a Patient in a Program at the City level. But then I would like to specify for each event, the location of this event (at a clinic level).

I need this because the patients are not fixed: they can be vaccinated in different clinics, but in my report I want to aggregate data at a clinic or a city level (a city can contain several clinics).

Can I do something like this? Right now, I can’t find a way to specify the place of vaccination when I create an event for my patient…

Kind regards.

**Novel-**T Sàrl

Yoann MIRA


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

Any idea how to reference org units in a drop down from a program stage. For example when referring or transferring a patient to or from some org unit it makes sense to use existing org units at certain levels or types.

Regards

Simon Muyambo

__________ Information from ESET NOD32 Antivirus, version of virus signature database 11143 (20150208) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

Hi Simon,

In one instance I helped out with, I created a script to populate the
optionvalue table directly with SQL. with data from the
organisationunit table. Not really that "standard", as the API could
be used. I was not sure if the API would support the optionset
property the "sort" attribute, which in this case was really important
in this case. However, it might work to use the API in your case. But
populating the optionvalue table directly with organisationunits with
the same UID as in the organisationunit table worked fine for us.

However, I think this may not be what you need. There was a message
just a few days ago about how TEIs can be associated with orgunits,
which might fit what you need better
(https://www.mail-archive.com/dhis2-users@lists.launchpad.net/msg05849.html\)

Best regards,
Jason

···

On Sun, Feb 8, 2015 at 11:55 PM, Simon Muyambo <smmuyambo@gmail.com> wrote:

Any idea how to reference org units in a drop down from a program stage. For
example when referring or transferring a patient to or from some org unit it
makes sense to use existing org units at certain levels or types.

Regards

Simon Muyambo

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 11143 (20150208) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

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

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

Thanks a lot.

I made it worked using the web API.

You just need to add the event through web API and then you can use built-in event report to create the report out of it.

Thanks for your help.

**Novel-**T Sàrl

Yoann MIRA - Solutions Engineer

···

From: Dhis2-users [mailto:dhis2-users-bounces+ym=novel-t.ch@lists.launchpad.net] On Behalf Of Abyot Gizaw
Sent: dimanche 8 février 2015 09:56
To: Alex Tumwesigye
Cc: dhis2-users@lists.launchpad.net
Subject: Re: [Dhis2-users] Associate an org. unit at the event level (and not at the tracked entity lavel)

Hi,

Yes that is possible. Events have their own orgunit. So, the thing you wanted to do is possible at the meta-data level. The problem is we don’t have a nice UI to support this.

We are hoping to support this with the next release.


Thank you,
Abyot.


Thank you,

Abyot.

On Sun, Feb 8, 2015 at 9:38 AM, Alex Tumwesigye atumwesigye@gmail.com wrote:

Hi Yoann and Gavin,

A custom form or an app may achieve that for you. You need to use the Api,SQL views,some jquery/angularJS. In this way, the location of the event (clinic level) can be just an attribute/dataelement which can be written back to the database through api.

HISPUG implemented something similar for Rwanda for handling outbreaks and alerts.

Alex

On Friday, February 6, 2015, Gavin Macgregor-Skinner gum13@psu.edu wrote:

Hi Yoann

Great question.

We would like to do this in West Africa with suspected Ebola patients.

Kind Regards

Gavin

On Fri, Feb 6, 2015 at 9:20 AM, Yoann Mira ym@novel-t.ch wrote:

Hello,

I have a multiple event with Registration program.

Is-it possible to associate an org. unit at the event level (instead of the patient level)?

For example, I would like to enroll a Patient in a Program at the City level. But then I would like to specify for each event, the location of this event (at a clinic level).

I need this because the patients are not fixed: they can be vaccinated in different clinics, but in my report I want to aggregate data at a clinic or a city level (a city can contain several clinics).

Can I do something like this? Right now, I can’t find a way to specify the place of vaccination when I create an event for my patient…

Kind regards.

**Novel-**T Sàrl

Yoann MIRA


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

Alex Tumwesigye

Technical Advisor - DHIS2,
Ministry of Health/AFENET

Kampala

Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems - DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don’t want to be anything other than what I have been - one tree hill "


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

Yoann,

That’s good. I am glad to hear that it worked. The web API is a very powerful tool when it comes to custom functionality that has not been implemented yet.

Thanks to DHIS2 Dev team for your efforts to make it even better.

Alex

···

On Mon, Feb 9, 2015 at 12:21 PM, Yoann Mira ym@novel-t.ch wrote:

Thanks a lot.

I made it worked using the web API.

You just need to add the event through web API and then you can use built-in event report to create the report out of it.

Thanks for your help.

**Novel-**T Sàrl

Yoann MIRA - Solutions Engineer

From: Dhis2-users [mailto:dhis2-users-bounces+ym=novel-t.ch@lists.launchpad.net] On Behalf Of Abyot Gizaw
Sent: dimanche 8 février 2015 09:56
To: Alex Tumwesigye
Cc: dhis2-users@lists.launchpad.net
Subject: Re: [Dhis2-users] Associate an org. unit at the event level (and not at the tracked entity lavel)

Hi,

Yes that is possible. Events have their own orgunit. So, the thing you wanted to do is possible at the meta-data level. The problem is we don’t have a nice UI to support this.

We are hoping to support this with the next release.


Thank you,
Abyot.


Thank you,

Abyot.

On Sun, Feb 8, 2015 at 9:38 AM, Alex Tumwesigye atumwesigye@gmail.com wrote:

Hi Yoann and Gavin,

A custom form or an app may achieve that for you. You need to use the Api,SQL views,some jquery/angularJS. In this way, the location of the event (clinic level) can be just an attribute/dataelement which can be written back to the database through api.

HISPUG implemented something similar for Rwanda for handling outbreaks and alerts.

Alex

On Friday, February 6, 2015, Gavin Macgregor-Skinner gum13@psu.edu wrote:

Hi Yoann

Great question.

We would like to do this in West Africa with suspected Ebola patients.

Kind Regards

Gavin

On Fri, Feb 6, 2015 at 9:20 AM, Yoann Mira ym@novel-t.ch wrote:

Hello,

I have a multiple event with Registration program.

Is-it possible to associate an org. unit at the event level (instead of the patient level)?

For example, I would like to enroll a Patient in a Program at the City level. But then I would like to specify for each event, the location of this event (at a clinic level).

I need this because the patients are not fixed: they can be vaccinated in different clinics, but in my report I want to aggregate data at a clinic or a city level (a city can contain several clinics).

Can I do something like this? Right now, I can’t find a way to specify the place of vaccination when I create an event for my patient…

Kind regards.

**Novel-**T Sàrl

Yoann MIRA


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

Alex Tumwesigye

Technical Advisor - DHIS2,
Ministry of Health/AFENET

Kampala

Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems - DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don’t want to be anything other than what I have been - one tree hill "


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

Alex Tumwesigye

Technical Advisor - DHIS2,
Ministry of Health/AFENET

Kampala

Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems - DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don’t want to be anything other than what I have been - one tree hill "