Re: [Dhis2-users] Using the Org. Unit code to import events in DHIS2?

2014-01-25 Thread Morten Olav Hansen
Hi, I think maybe you tested with an old version... could you try again? I tested with code matching here locally now, and it worked fine.. -- Morten On Sun, Jan 26, 2014 at 3:28 AM, Jose Garcia Muñoz wrote: > > Hi Morten, Lars, > > If I introduce the code in the xml I am getting the following

Re: [Dhis2-users] Event Data Import not working properly?

2014-01-25 Thread Morten Olav Hansen
Which revision? On Jan 26, 2014 2:46 AM, "Jose Garcia Muñoz" wrote: > > Hi Morten, > > I downloaded the 2.13 war version this Saturday at 13.30 (Oslo time). > Unfortunately I´ve got the same results than before. I have also tested the > demo with same results as well. > > > On Fri, Jan 24, 2014 a

Re: [Dhis2-users] Using the Org. Unit code to import events in DHIS2?

2014-01-25 Thread Jose Garcia Muñoz
Hi Morten, Lars, If I introduce the code in the xml I am getting the following message in the console: http://dhis2.org/s chema/dxf/2.0">000ERROREvent.orgUnit does not point to a valid organisation unit.* Connection #0 to host localhost left intact My event tag in the xml is "testingcode" i

Re: [Dhis2-users] Event Data Import not working properly?

2014-01-25 Thread Jose Garcia Muñoz
Hi Morten, I downloaded the 2.13 war version this Saturday at 13.30 (Oslo time). Unfortunately I´ve got the same results than before. I have also tested the demo with same results as well. On Fri, Jan 24, 2014 at 5:48 AM, Morten Olav Hansen wrote: > Hi, > > Please give our servers a bit of time

Re: [Dhis2-users] How to calculate Potential Number of hospitalization days(Beds x days in month)

2014-01-25 Thread Ola Hodne Titlestad
Hi Andrew, The D (days) is a special parameter that will always be the number of days in the period you are calculating the indicator value for. It is meant for exactly the kind of use case you describe, e.g. available bed days to be used as denominator in bed occupancy rate. Ola -- 25. jan.

Re: [Dhis2-users] How to calculate Potential Number of hospitalization days(Beds x days in month)

2014-01-25 Thread Ouango william
Hi Andrew, I can propose you to create the month as constants and to create the indicator you want but by month. The incovenient is that you'll have 12 indicators for this. or 13 because of february.  ___ Mailing list: https://launchpad.net/~dhis2-users

Re: [Dhis2-users] Using the Org. Unit code to import events in DHIS2?

2014-01-25 Thread Morten Olav Hansen
I have now implemented this in 2.13, and 2.14. It will match in this order: uid, code, uuid, name (if size is 1). -- Morten On Fri, Jan 24, 2014 at 6:54 PM, Lars Helge Øverland wrote: > Blueprint for org unit id scheme for events here, aiming at 2.15. > > https://blueprints.launchpad.net/dhis2/

[Dhis2-users] How to calculate Potential Number of hospitalization days(Beds x days in month)

2014-01-25 Thread Muhire Andrew
Hi all, anyone with the best way of calculating this indicator Potential Number of hospitalization days(Beds x days in month)    Here the months are dynamic based on the normal reporting months(28/29 days, 30days,31days). We have been using the average of 30dyas but we want to use real numbers o