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…
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…
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.
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 "
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…
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) __________
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.
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) __________
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.
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…
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.
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.
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…