Re: [Dhis2-devs] Unique tracked entity attributes are now compulsory?

2016-06-14 Thread Rodolfo Melia
Thanks Abyot ! - will test and get back to you if we have any problems.

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On 12 June 2016 at 13:09, Abyot Asalefew Gizaw  wrote:

> Hi,
>
> A fix is committed for this. Rev. 22063 and above should work...
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Jun 10, 2016 at 1:44 PM, Rodolfo Melia 
> wrote:
>
>> Look forward to check the next 2.22 build with the updated feature.
>> Please let us know from what 2.22 build we can start testing.
>>
>> *Rodolfo Meliá*
>> *Principal  |  *rme...@knowming.com
>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>> www.knowming.com
>>
>> On 10 June 2016 at 07:56, Lars Helge Øverland  wrote:
>>
>>> Hi there,
>>>
>>> seems we agree, just wanted to add that we should always trim blank
>>> values to null before storing, and nulls are not in conflict with
>>> uniqueness.
>>>
>>> Lars
>>>
>>>
>>> On Fri, Jun 10, 2016 at 7:29 AM, Abyot Asalefew Gizaw 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I think I missed that it was not required from the server side api ...
>>>> it is easy to fix from the client side.
>>>>
>>>> --
>>>> Abyot A. Gizaw.
>>>> Senior Engineer, DHIS2
>>>> University of Oslo
>>>> http://www.dhis2.org
>>>>
>>>> On Fri, Jun 10, 2016 at 4:59 AM, Jose Garcia Muñoz 
>>>> wrote:
>>>>
>>>>>
>>>>> Hi guys,
>>>>>
>>>>> any agreements on this? :)
>>>>>
>>>>>  I would like to know if I need to change the configuration of some
>>>>> programs (unique attributes are always compulsory)  or not (unique
>>>>> attributes can be optional). I would prefer if we can keep them blank as
>>>>> well (so they are optional).
>>>>>
>>>>> Thanks
>>>>> Jose
>>>>>
>>>>> On Wed, Jun 8, 2016 at 10:52 AM, Rodolfo Melia 
>>>>> wrote:
>>>>>
>>>>>> I just want to support the idea that blanks should be accepted and
>>>>>> not checked for uniqueness. I'm glad to hear that the API already 
>>>>>> supports
>>>>>> this, so it will be great if the UI follows that logic.
>>>>>>
>>>>>> *Rodolfo *
>>>>>>
>>>>>>
>>>>>> On 8 June 2016 at 10:49, Juan Manuel Alcantara Acosta <
>>>>>> jmalcanta...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Markus
>>>>>>> I had a short email exchange with Abyot last week and he said the
>>>>>>> same "So many blanks can not be unique” but for a value to be unique 
>>>>>>> there
>>>>>>> must be a value. If the database and the API do not have this 
>>>>>>> requirement,
>>>>>>> the interface should follow the program’s configuration.
>>>>>>> Best regards,
>>>>>>> JM
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> El 08/06/2016, a las 8:35 a.m., Markus Bekken <
>>>>>>> markus.bek...@gmail.com> escribió:
>>>>>>>
>>>>>>> Hi guys!
>>>>>>> Chiming in - I think Abyot is on leave today.
>>>>>>> This seems to be a discrepancy that we should just resolve one way
>>>>>>> or the other. You might say that a blank value is not unique, but I have
>>>>>>> also recently encountered a use case where we needed a non-compulsory
>>>>>>> unique attribute like you Jose.
>>>>>>>
>>>>>>> Hiding the field with program rules was a workaround in our case,
>>>>>>> but I think it makes sense to allow blank values in non-compulsory 
>>>>>>> unique
>>>>>>> attributes.
>>>>>>>
>>>>>>> Unless there is any disagreements we can implement the client to
>>>>>>> conform to the API.
>>>>>>>
>>>>>>> Markus
>>>>>>>
>>&

Re: [Dhis2-devs] Unique tracked entity attributes are now compulsory?

2016-06-10 Thread Rodolfo Melia
Look forward to check the next 2.22 build with the updated feature. Please
let us know from what 2.22 build we can start testing.

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On 10 June 2016 at 07:56, Lars Helge Øverland  wrote:

> Hi there,
>
> seems we agree, just wanted to add that we should always trim blank values
> to null before storing, and nulls are not in conflict with uniqueness.
>
> Lars
>
>
> On Fri, Jun 10, 2016 at 7:29 AM, Abyot Asalefew Gizaw 
> wrote:
>
>> Hi,
>>
>> I think I missed that it was not required from the server side api ... it
>> is easy to fix from the client side.
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Fri, Jun 10, 2016 at 4:59 AM, Jose Garcia Muñoz 
>> wrote:
>>
>>>
>>> Hi guys,
>>>
>>> any agreements on this? :)
>>>
>>>  I would like to know if I need to change the configuration of some
>>> programs (unique attributes are always compulsory)  or not (unique
>>> attributes can be optional). I would prefer if we can keep them blank as
>>> well (so they are optional).
>>>
>>> Thanks
>>> Jose
>>>
>>> On Wed, Jun 8, 2016 at 10:52 AM, Rodolfo Melia 
>>> wrote:
>>>
>>>> I just want to support the idea that blanks should be accepted and not
>>>> checked for uniqueness. I'm glad to hear that the API already supports
>>>> this, so it will be great if the UI follows that logic.
>>>>
>>>> *Rodolfo *
>>>>
>>>>
>>>> On 8 June 2016 at 10:49, Juan Manuel Alcantara Acosta <
>>>> jmalcanta...@gmail.com> wrote:
>>>>
>>>>> Hi Markus
>>>>> I had a short email exchange with Abyot last week and he said the same
>>>>> "So many blanks can not be unique” but for a value to be unique there must
>>>>> be a value. If the database and the API do not have this requirement, the
>>>>> interface should follow the program’s configuration.
>>>>> Best regards,
>>>>> JM
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> El 08/06/2016, a las 8:35 a.m., Markus Bekken 
>>>>> escribió:
>>>>>
>>>>> Hi guys!
>>>>> Chiming in - I think Abyot is on leave today.
>>>>> This seems to be a discrepancy that we should just resolve one way or
>>>>> the other. You might say that a blank value is not unique, but I have also
>>>>> recently encountered a use case where we needed a non-compulsory unique
>>>>> attribute like you Jose.
>>>>>
>>>>> Hiding the field with program rules was a workaround in our case, but
>>>>> I think it makes sense to allow blank values in non-compulsory unique
>>>>> attributes.
>>>>>
>>>>> Unless there is any disagreements we can implement the client to
>>>>> conform to the API.
>>>>>
>>>>> Markus
>>>>>
>>>>> 8. jun. 2016 kl. 09.15 skrev Morten Olav Hansen :
>>>>>
>>>>> Hi
>>>>>
>>>>> Sorry for late reply, but I have been looking into this, and from the
>>>>> backend this is not required. I'm adding in Abyot, hopefully he can answer
>>>>> why it is required in the UI part (I see it's marked with red star, and it
>>>>> will not allow it without a value)
>>>>>
>>>>> --
>>>>> Morten Olav Hansen
>>>>> Senior Engineer, DHIS 2
>>>>> University of Oslo
>>>>> http://www.dhis2.org
>>>>>
>>>>> On Mon, Jun 6, 2016 at 12:02 PM, Jose Garcia Muñoz >>>> > wrote:
>>>>>
>>>>>>
>>>>>> Dear devs,
>>>>>>
>>>>>> we realized that tracked attributes are always compulsory even if
>>>>>> they are not marked like that in the program definition? so it is not
>>>>>> possible at all to keep them blank using the Tracker Capture.
>>>>>>
>>>>>> In PSI (and I guess is the same for many different countries), we
>>>>>> need to define unique patient's IDs, although several times it is not
>>>>>>

Re: [Dhis2-devs] Unique tracked entity attributes are now compulsory?

2016-06-08 Thread Rodolfo Melia
I just want to support the idea that blanks should be accepted and not
checked for uniqueness. I'm glad to hear that the API already supports
this, so it will be great if the UI follows that logic.

*Rodolfo *


On 8 June 2016 at 10:49, Juan Manuel Alcantara Acosta <
jmalcanta...@gmail.com> wrote:

> Hi Markus
> I had a short email exchange with Abyot last week and he said the same "So
> many blanks can not be unique” but for a value to be unique there must be a
> value. If the database and the API do not have this requirement, the
> interface should follow the program’s configuration.
> Best regards,
> JM
>
>
>
>
> El 08/06/2016, a las 8:35 a.m., Markus Bekken 
> escribió:
>
> Hi guys!
> Chiming in - I think Abyot is on leave today.
> This seems to be a discrepancy that we should just resolve one way or the
> other. You might say that a blank value is not unique, but I have also
> recently encountered a use case where we needed a non-compulsory unique
> attribute like you Jose.
>
> Hiding the field with program rules was a workaround in our case, but I
> think it makes sense to allow blank values in non-compulsory unique
> attributes.
>
> Unless there is any disagreements we can implement the client to conform
> to the API.
>
> Markus
>
> 8. jun. 2016 kl. 09.15 skrev Morten Olav Hansen :
>
> Hi
>
> Sorry for late reply, but I have been looking into this, and from the
> backend this is not required. I'm adding in Abyot, hopefully he can answer
> why it is required in the UI part (I see it's marked with red star, and it
> will not allow it without a value)
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Mon, Jun 6, 2016 at 12:02 PM, Jose Garcia Muñoz 
> wrote:
>
>>
>> Dear devs,
>>
>> we realized that tracked attributes are always compulsory even if they
>> are not marked like that in the program definition? so it is not possible
>> at all to keep them blank using the Tracker Capture.
>>
>> In PSI (and I guess is the same for many different countries), we need to
>> define unique patient's IDs, although several times it is not possible to
>> collect them for many reasons, but now the system is not giving us the
>> option of keeping the IDs blank
>>
>> Is this something that can be changed? Unique attributes can be
>> compulsory just marking the attribute as compulsory in the program
>> definition...
>>
>> Please, let us know, as we may need to reconsider some re-configuration
>> for our programs.
>>
>> Many Thanks
>> Jose
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Hiding a category in a pulldown list

2016-06-08 Thread Rodolfo Melia
Category options also have star/ end date

On Tuesday, 7 June 2016, Laura E. Lincks 
wrote:

> Great idea, Busoye. I will give it a try! Thank you!
>
> *Laura E. Lincks*
> Database Manager/Developer
> ICAP - Columbia University
> Mailman School of Public Health
> 60 Haven Ave, Floor B1
> New York, NY 10032
> Tel: 212 304 7132
>
> On Tue, Jun 7, 2016 at 6:53 AM, Busoye Anifalaje  > wrote:
>
>> Hi Laura,
>>
>> To limit access to the category option for data entry, one option would
>> be to achieve this through sharing. You can
>>
>> 1) Go to the category option sharing
>> 2) Set public to none
>>
>> For reporting purposes, you can create a category option group and
>> category option group set. These can either be public (view only would be
>> fine) or share with relevant user groups if relevant.
>>
>> I am assuming that you are referring to data set category options. So,
>> Categories with Attribute Data Dimension Type.
>>
>> Hope this helps.
>>
>> Best regards,
>>
>> Busoye
>>
>> On 7 Jun 2016, at 11:44, Laura E. Lincks > > wrote:
>>
>> Version:2.21
>> Build revision:21018
>>
>> ​(We'll be upgrading to 2.23 soon)
>>
>> We wish to import historical data into a Category at the dataset level.
>> This option need only exist for historical purposes... no new data will be
>> entered into this category going forward. We would like to prevent users
>> from accessing this category option when performing data entry  (but still
>> have access to the other options in this same category) going forward. Is
>> there a way to hide this one option from the data entry screen but enable
>> it for reporting historical data along with current data?
>>
>> *Laura E. Lincks*
>> Database Manager/Developer
>> ICAP - Columbia University
>> Mailman School of Public Health
>> 60 Haven Ave, Floor B1
>> New York, NY 10032
>> Tel: 212 304 7132
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> 
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>

-- 
*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Android Dashboard App

2016-05-24 Thread Rodolfo Melia
Hi Araz - below the results of our testing so far for the Dashboard App


Device

Type

Android Version

Resolution

Result

Comments

Samsung Tab A 8”

Real/ Tablet

5.0.1

1,024x768

Ok

Samsung Tab 4 8”

Real/ Tablet

4.4.2

800x1280

Ok

Charts in dashboard are cut

Samsung Tab 3 7”

Real/ Tablet

4.4.2

1,024 x 600

X
chart doesn't render

Htc one phone M7

Real/ Phone

5.0.2

1920x1080

Ok

Custom Phone

Virtual/ Phone

5.1.0

768x1280

X
chart doesn't render

Custom Tablet

Virtual/Tablet

4.4.4

2560x1600

Ok

Custom Phone

Virtual/ Phone

4.2.2

720x1280

X

The app crashes


*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On 24 May 2016 at 16:25, Rodolfo Melia  wrote:

> Hi Araz - we have tried in different devices, different resolutions,
> different versions of Android.
>
> Right now we have about 3 devices working, 6 not working, and we are still
> trying to establish a pattern (all using the same server/user).
> We will report back later.
>
> *Rodolfo *
>
>
> On 24 May 2016 at 13:48, Araz Abishov  wrote:
>
>> Hi Rodolfo,
>>
>> I have tried it now against demo server and it works as expected.
>> Could you please try it one more time?
>>
>> Best regards,
>>
>> —
>> Araz Abishov,
>> Android developer, DHIS 2
>> University of Oslo
>> https://www.dhis2.org/
>>
>> On May 24, 2016 at 9:07:45 AM, Rodolfo Melia (rme...@knowming.com) wrote:
>>
>> Hi - we are trying to use the Dashboard Android app
>> <https://play.google.com/store/apps/details?id=org.hisp.dhis.android.dashboard>.
>> I tried login into various severs, including play.dhis2.org/demo - the
>> dashboard layout loads, but all the charts/ map are empty - see attached
>> image.
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Android Dashboard App

2016-05-24 Thread Rodolfo Melia
Hi Araz - we have tried in different devices, different resolutions,
different versions of Android.

Right now we have about 3 devices working, 6 not working, and we are still
trying to establish a pattern (all using the same server/user).
We will report back later.

*Rodolfo *


On 24 May 2016 at 13:48, Araz Abishov  wrote:

> Hi Rodolfo,
>
> I have tried it now against demo server and it works as expected.
> Could you please try it one more time?
>
> Best regards,
>
> —
> Araz Abishov,
> Android developer, DHIS 2
> University of Oslo
> https://www.dhis2.org/
>
> On May 24, 2016 at 9:07:45 AM, Rodolfo Melia (rme...@knowming.com) wrote:
>
> Hi - we are trying to use the Dashboard Android app
> <https://play.google.com/store/apps/details?id=org.hisp.dhis.android.dashboard>.
> I tried login into various severs, including play.dhis2.org/demo - the
> dashboard layout loads, but all the charts/ map are empty - see attached
> image.
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Android Dashboard App

2016-05-24 Thread Rodolfo Melia
Hi - we are trying to use the Dashboard Android app
.
I tried login into various severs, including play.dhis2.org/demo - the
dashboard layout loads, but all the charts/ map are empty - see attached
image.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Android Data Capture, apk

2016-05-23 Thread Rodolfo Melia
Thanks for the clarification. The difference on behaviour that i noticed
was due to the fact that I was running offline and then online. Perhaps the
app should show on the setting what version you are running - it is
difficult to know if you have an up-to-date version in your tablet/phone or
not.

*Rodolfo*


On 24 May 2016 at 00:22, Araz Abishov  wrote:

> Hi Rodolfo,
>
> Apk file which you see on github is the one which is published on Google
> Play. The reason why you see February 1 as a release date is because GitHub
> automatically associated tag with latest commit on master branch (which was
> on 1st February), while application is being supported on legacy branch.
>
> Best regards,
>
> —
> Araz Abishov,
> Android developer, DHIS 2
> University of Oslo
> https://www.dhis2.org/
>
> On May 23, 2016 at 5:20:46 PM, Rodolfo Melia (rme...@knowming.com) wrote:
>
> Hi - I've noticed that the apk available in github for Android Data
> Capture is not the same version as the one on Google Play Store.
>
> Google Play
> <https://play.google.com/store/apps/details?id=org.dhis2.mobile>: 28 April
> GitHub <https://github.com/dhis2/dhis2-android-datacapture/releases>: Feb
> 1
>
> We normally use the apk for either demo/trainings using a simulator (which
> cannot use gPlay), or for distributing to staff tablets, as we avoid the
> gPlay version because it gets updated automatically, and we normally prefer
> to do testing and control distribution.
>
> Please let us know where to get the latest apk !
>
> Rodolfo
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Android Data Capture, apk

2016-05-23 Thread Rodolfo Melia
Hi - I've noticed that the apk available in github for Android Data Capture
is not the same version as the one on Google Play Store.

Google Play :
28 April
GitHub : Feb 1

We normally use the apk for either demo/trainings using a simulator (which
cannot use gPlay), or for distributing to staff tablets, as we avoid the
gPlay version because it gets updated automatically, and we normally prefer
to do testing and control distribution.

Please let us know where to get the latest apk !

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


Re: [Dhis2-devs] Fwd: Program Indicators: Legend Sets Association not rendering in Event Report

2016-05-12 Thread Rodolfo Melia
Hi Lars - this is a Program indicator that it is using the value on a TEI
attribute.

All we want to do is for the Program Indicator to show the legend on the
analytical app. The legend got set on the Program Indicator, but then it
doesn't show on the analytical app. We are looking for this in 2.22 !

*R*


On 12 May 2016 at 22:46, Lars Helge Øverland  wrote:

> Hi Busoye,
>
> is this for "aggregated values" or "individual event overview" ?
>
> regards,
>
> Lars
>
> On Thu, May 12, 2016 at 10:18 PM, Adebusoye Anifalaje <
> bus...@baosystems.com> wrote:
>
>> Hi devs,
>> Just bumping this problem. Any help forthcoming?
>>
>>
>> Thanks
>>
>> Busoye
>>
>> -- Forwarded message --
>> From: Busoye Anifalaje 
>> Date: Fri, May 6, 2016 at 12:34 PM
>> Subject: Program Indicators: Legend Sets Association not rendering in
>> Event Report
>> To: DHIS 2 developers 
>> Cc: Rodolfo Melia , JM Alcantara <
>> jmalcanta...@gmail.com>, Esunly Medina 
>>
>>
>> Hi devs,
>>
>> I associated a legend set to a Program Indicator but this does not render
>> in event reports. Is this supported? If not, are their plans to support
>> this functionality. It is quite critical to one of our implementation
>> projects.
>>
>> To replicate on the demo server
>>
>> 1) Add a legend set to Average weight (Child Health) program indicator
>>
>> 2) Go to event report
>>
>> 3) Select Average Weight indicator from Child Health -> “No Range Set”
>>
>> Tried with Apgar Score Data Element and this works. See attached file for
>> comparison.
>>
>> Thanks
>>
>>
>> This affects
>>
>> Version 2.22 (22016)
>> Version 2.23 (22905)
>>
>>
>> --
>>
>>
>> *Busoye Anifalaje (PhD)*
>> Director of Services (Principal), BAO Systems
>> +44 7901-740-757 | bus...@baosystems.com | http://www.baosystems.com |
>> Skype: busoye | 2900 K Street, Suite 404, Washington D.C. 20007
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Enforcing Data Types for system attributes (2.22)

2016-05-12 Thread Rodolfo Melia
Hi - in some of the implementations that I work, we use system attributes
across Programs, Data Elements, Org Units, etc. Enforcing the data type of
a system attribute has been present in DHIS from went I started working in
DHIS - 2.10, I think. During the revamp of the DataElement manager app,
those checks disappeared (2.22), but apparently got re-implemented for
2.23. (see comparison below)

Is it possible to back-port this to 2.22? I cannot upgrade to 2.23, and no
having the data type checks is a big lost of functionality for some of the
setups that we have. We will really appreciate if this can be back-ported
to 2.22.

Thanks !

2.20 – (and since 2.??)

Enforcement was in place

2.22 r22027

no enforment present

2.23

enforcement is back

[image: /Users/Rod/Desktop/Screen Shot 2016-05-12 at 15.44.14.png]

[image: /Users/Rod/Desktop/Screen Shot 2016-05-12 at 15.43.56.png]



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


Re: [Dhis2-devs] Null pointer exception calling .../api/me/programs

2016-05-09 Thread Rodolfo Melia
Noted - we look forward to get a resolution to the setting of CatCombo to
'default' in 2.22 soon - we import hundred of new data elements to our
servers every week, and many of the templates out there have that column
null. This was not a problem in 2.20.

*R*


On 9 May 2016 at 09:24, Lars Helge Øverland  wrote:

>
>
> On Mon, May 9, 2016 at 10:23 AM, Rodolfo Melia 
> wrote:
>
>> Hi - I just want to confirm that I'm getting my facts right.
>>
>> The fix for ensuring that a imported DEs with CatCombo=null are set to
>> default is only available in 2.23, latest build.
>>
>>
> Any 2.23 build, but yes.
>
>
>> The only workaround available right now for 2.22, that avoids
>> re-starting tomcat (which makes the necessary correction at start-up) is to
>> make sure that when importing DEs, we set the CatCombo to default in the
>> XML/ CSV.
>>
>>
> Correct.
>
>
> Lars
>
>
>> R
>>
>> *Rodolfo Meliá*
>> *Principal  |  *rme...@knowming.com
>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>> www.knowming.com
>>
>> On 9 May 2016 at 08:19, Morten Olav Hansen  wrote:
>>
>>> And yes, we don't allow null in the categoryCombo field from 2.23 and
>>> upwards
>>>
>>> --
>>> Morten Olav Hansen
>>> Senior Engineer, DHIS 2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Mon, May 9, 2016 at 2:15 PM, Morten Olav Hansen 
>>> wrote:
>>>
>>>>
>>>> On Mon, May 9, 2016 at 1:47 PM, Lars Helge Øverland 
>>>> wrote:
>>>>
>>>>> *Morten* do you think you could comment?
>>>>>
>>>>
>>>> Hi, these kinds of issues are fixed in our new importer (available in
>>>> 2.23), for now I would include the default category combo. When you say
>>>> Import, are you creating this payload yourself, or is it coming from
>>>> another system?
>>>>
>>>> --
>>>> Morten Olav Hansen
>>>> Senior Engineer, DHIS 2
>>>> University of Oslo
>>>> http://www.dhis2.org
>>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Null pointer exception calling .../api/me/programs

2016-05-09 Thread Rodolfo Melia
Hi - I just want to confirm that I'm getting my facts right.

The fix for ensuring that a imported DEs with CatCombo=null are set to
default is only available in 2.23, latest build.

The only workaround available right now for 2.22, that avoids re-starting
tomcat (which makes the necessary correction at start-up) is to make sure
that when importing DEs, we set the CatCombo to default in the XML/ CSV.

R

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On 9 May 2016 at 08:19, Morten Olav Hansen  wrote:

> And yes, we don't allow null in the categoryCombo field from 2.23 and
> upwards
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Mon, May 9, 2016 at 2:15 PM, Morten Olav Hansen 
> wrote:
>
>>
>> On Mon, May 9, 2016 at 1:47 PM, Lars Helge Øverland 
>> wrote:
>>
>>> *Morten* do you think you could comment?
>>>
>>
>> Hi, these kinds of issues are fixed in our new importer (available in
>> 2.23), for now I would include the default category combo. When you say
>> Import, are you creating this payload yourself, or is it coming from
>> another system?
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] "All" authority no longer granting access to programs?

2016-04-13 Thread Rodolfo Melia
Hi - I learned to live with this odd situation since at least 2.20, which I
have in multiple boxes. It doesn't make sense that you have access to all
data sets, but not to the programs. I really would like to see the 'All'
authority having access to all programs, for consistency sake.

*R*


On 13 April 2016 at 21:32, Jim Grace  wrote:

> Thank you all. I'm with Tim. I don't know if this is still up for
> reconsideration or reversal, but it seems to me a bad idea to ship with a
> "Superuser" role, and an "ALL" authority, neither of which gives access to
> all authorities.
>
> *For installations that do not use tracker for personal data that needs
> protection* (like DATIM, which uses tracker for site surveys), this is
> just confusing. User interface design is all about predictability, and
> words like "all" and "superuser" have unquestioned meanings in many of our
> heads. I know this wasted a bit of Tim's time, and it would have done the
> same for me. It would never occur to me that we would intentionally design
> software to use words like these and not have them mean the obvious things.
> For users who are just getting to know the product, either they don't know
> about these exceptions in which case they misunderstand the software and
> could be in for a surprise of unpredictable behavior, or they know about
> them in which case they will have the feeling that this is
> strangely-designed software that doesn't always live up to expectations.
> The more unpredictable or inconsistent our software is, the lower will be
> our users' opinion of it.
>
> *For installations that use tracker for personal data that needs
> protection*, they need to be serious about protecting the data. If they
> hand out too many superuser roles with the "ALL" authority, they will have
> a problem in any event, as Tim points out, since these users could assign
> themselves the tracker authority. A much better solution, and one we should
> recommend, is to not assign either the "ALL" authority or the tracker
> authorities except to users who really need them. It's better to have a
> well-planned security system than to have the illusion that they are
> protected when they are not really. This feature could actually reduce
> security by giving the illusion that it is there.
>
> In short, I think the benefits of having Superuser and ALL not include the
> tracker are at best questionable and at worst misleading into a false sense
> of security, while the costs are real and negative.
>
> My humble opinion.
>
> Cheers,
> Jim
>
>
> On Fri, Apr 8, 2016 at 11:44 AM, Timothy Harding 
> wrote:
>
>> Thanks Morten, Jim, Abyot,
>>
>> Abyot:
>> Is the point of restricting a super user moot though since the super user
>> has the *ability* to assign themselves to whatever they like? It feels
>> like an extra step that shouldn't be needed for a superuser.
>>
>> But, if there is indeed a need for the functionality to be this way, my
>> follow up questions are still out there: *Will datasets eventually act
>> this way as well*? If not, why the discrepancy?
>>
>>
>>
>> *I admit though I am a bit bias having spent more time that I care to
>> admit to yesterday trying to figure out why my program would not appear in
>> a vanilla instance.*
>>
>>
>>
>>
>> *Timothy Harding*
>> Sr. Systems Analyst, BAO Systems
>> +1 202-536-1541 | thard...@baosystems.com | http://www.baosystems.com | 
>> Skype:
>> hardi...@gmail.com | 2900 K Street, Suite 404, Washington D.C. 20007
>>
>> On Fri, Apr 8, 2016 at 7:53 AM, Abyot Asalefew Gizaw 
>> wrote:
>>
>>> Hi,
>>>
>>> It was like that before  I think I changed it because at some point
>>> there was a discussion saying we have to be careful on granting blanket
>>> access in tracker.
>>>
>>> One could be a superuser, but does this really mean this user will have
>>> access to clinical data, names and everything implicitly?
>>>
>>> By forcing users to explicitly go and assign a program, they know the
>>> consequence of doing that...
>>>
>>> We am open for suggestions and discussions.
>>>
>>> --
>>> Abyot A. Gizaw.
>>> Senior Engineer, DHIS2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Fri, Apr 8, 2016 at 4:34 PM, Jim Grace  wrote:
>>>
 Perhaps it was just an oversight in the code, forgetting to check for
 the "ALL" authority in addition to the particular authority?

 I would certainly expect "ALL" to grant the same access as all
 authorities. It would surprise me if there is any good rationale to make it
 otherwise.


 On Thu, Apr 7, 2016 at 11:19 PM, Morten Olav Hansen 
 wrote:

> Yes, that is correct. I'm not sure when it was decided so, but you
> need to give the userrole access to that program.
>
> Maybe Abyot remember exactly why?
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Apr 8, 2016 at 9:51 AM, Timothy Harding <
> thard...@baosystems.co

Re: [Dhis2-devs] [Bug 1561338] [NEW] Android app Event Capture can't send data to server

2016-03-24 Thread Rodolfo Melia
Hi - I want to confirm that I observed the same problem during the Latin
America Academy last week - the event gets created, but no data is
submitted.

I tried using both, the Google Play app, as well as downloading from GitHub
an apk marked as 2.22


*Rodolfo *


On 24 March 2016 at 05:03, Le Hong Em  wrote:

> Public bug reported:
>
> We are using the Event Capture android app to create an event with DHIS2
> server version 2.22 (R.21932).
>
> We got a bug with the app:
> Event Capture android app can create an event and send it to
> server, but the server can't receive any value. In the server, we can see
> the event created by Android app, but there's no data, the only we can see
> is the "incident_date".
>
> I'm sorry if this's not a right place to report an android bug.
>
> ** Affects: dhis2
>  Importance: Undecided
>  Status: New
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1561338
>
> Title:
>   Android app Event Capture can't send data to server
>
> Status in DHIS:
>   New
>
> Bug description:
>   We are using the Event Capture android app to create an event with
>   DHIS2 server version 2.22 (R.21932).
>
>   We got a bug with the app:
>   Event Capture android app can create an event and send it to
> server, but the server can't receive any value. In the server, we can see
> the event created by Android app, but there's no data, the only we can see
> is the "incident_date".
>
>   I'm sorry if this's not a right place to report an android bug.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1561338/+subscriptions
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread Rodolfo Melia
Yes, sdk - just waking up.

On Wednesday, 10 February 2016, Jose Garcia Muñoz 
wrote:

>
> I think Rodolfo is referring to the SDK... Yes... with the form names and
> option names translated we are ok...
>
> On Wed, Feb 10, 2016 at 8:37 AM, Rodolfo Melia  > wrote:
>
>> Hi Morton - thanks for the clarification. Now that we know that we have
>> what i think are the two critical translations in the API, how difficult
>> would it be to add the concept of multilingual to the APK ?
>>
>>
>> On Wednesday, 10 February 2016, Morten Olav Hansen > > wrote:
>>
>>> Hi
>>>
>>> Translated form names have been available under "displayFormName" for a
>>> long time, I have added code to 2.22 and trunk to also translate options
>>> when requesting a optionset (by id or collection). we can't do this for all
>>> objects, as its a quite heavy operation, normally we only translate a
>>> single object or a collection of objects
>>>
>>> --
>>> Morten
>>>
>>> On Tue, Feb 9, 2016 at 11:48 PM, Rodolfo Melia 
>>> wrote:
>>>
>>>> It will be great if we can prioritise the metadata to be multilingual
>>>> in the API. We already know how to translate the Android UI, by generating
>>>> our own build.
>>>>
>>>> I'm copying Morton to see if he can give us an idea of when the API
>>>> would be able to return the Form Name and Options in multilingual format.
>>>> It is critical for many of the implementations that we have in the pipeline
>>>> in Asia - we need the analytics in English, but the data collection, using
>>>> android, in the local language.
>>>>
>>>> *Rodolfo Meliá*
>>>>
>>>>
>>>> On 9 February 2016 at 14:42, Araz Abishov  wrote:
>>>>
>>>>> Unfortunately, translation of metadata/data is not completely
>>>>> supported in API due to some implementation complexities in the core, so 
>>>>> we
>>>>> still don’t know when exactly we will be able to implement multilingual
>>>>> support for android apps.
>>>>>
>>>>> What we can do is additional setting for choosing language in
>>>>> application preferences (but it will work only for UI prompts). In 
>>>>> feature,
>>>>> when API will be completely supporting translations, we will be able
>>>>> seamlessly integrate support for it in android apps.
>>>>>
>>>>> Best Regards,
>>>>> Araz Abishov
>>>>>
>>>>> On February 9, 2016 at 3:21:00 PM, Jose Garcia Muñoz (
>>>>> josem...@gmail.com) wrote:
>>>>>
>>>>>
>>>>> Hi Araz,
>>>>>
>>>>> I am talking about metadata (dataelements, optionsets, etc...). We
>>>>> don't have problems with the user interface...
>>>>>
>>>>> Thanks Araz
>>>>>
>>>>> On Tue, Feb 9, 2016 at 3:15 PM, Araz Abishov  wrote:
>>>>>
>>>>>> Hi Jose and David,
>>>>>>
>>>>>> I just have a few questions to understand problem better:
>>>>>>
>>>>>>  - Are we talking about translation of application prompts or
>>>>>> translation of metadata/data?
>>>>>>  - Do you want user to be able to switch languages in user interface?
>>>>>> (a setting which allows to do that)
>>>>>>
>>>>>> Best Regards,
>>>>>> Araz Abishov
>>>>>>
>>>>>> On February 9, 2016 at 1:48:51 PM, David Hagan (
>>>>>> david.ha...@sagehagan.com) wrote:
>>>>>>
>>>>>> Afternoon Jose,
>>>>>>
>>>>>> I second the question!
>>>>>>
>>>>>> Actually, I’ve had this conversation on another thread over the
>>>>>> new-year break as we have a similar requirement (English, Russian,
>>>>>> Ukrainian) … we’re making do with one language at the moment, but the 
>>>>>> next
>>>>>> iteration cycle of the App really needs the user to be able to switch
>>>>>> languages.
>>>>>>
>>>>>> David
>>>>>>
>>>>>> On 9 February 2016 at 13:32, Jose Garcia Muñoz 
>>>>>> wrote:
>>&g

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread Rodolfo Melia
Hi Morton - thanks for the clarification. Now that we know that we have
what i think are the two critical translations in the API, how difficult
would it be to add the concept of multilingual to the APK ?

On Wednesday, 10 February 2016, Morten Olav Hansen 
wrote:

> Hi
>
> Translated form names have been available under "displayFormName" for a
> long time, I have added code to 2.22 and trunk to also translate options
> when requesting a optionset (by id or collection). we can't do this for all
> objects, as its a quite heavy operation, normally we only translate a
> single object or a collection of objects
>
> --
> Morten
>
> On Tue, Feb 9, 2016 at 11:48 PM, Rodolfo Melia  > wrote:
>
>> It will be great if we can prioritise the metadata to be multilingual in
>> the API. We already know how to translate the Android UI, by generating our
>> own build.
>>
>> I'm copying Morton to see if he can give us an idea of when the API would
>> be able to return the Form Name and Options in multilingual format. It is
>> critical for many of the implementations that we have in the pipeline in
>> Asia - we need the analytics in English, but the data collection, using
>> android, in the local language.
>>
>> *Rodolfo Meliá*
>>
>>
>> On 9 February 2016 at 14:42, Araz Abishov > > wrote:
>>
>>> Unfortunately, translation of metadata/data is not completely supported
>>> in API due to some implementation complexities in the core, so we still
>>> don’t know when exactly we will be able to implement multilingual support
>>> for android apps.
>>>
>>> What we can do is additional setting for choosing language in
>>> application preferences (but it will work only for UI prompts). In feature,
>>> when API will be completely supporting translations, we will be able
>>> seamlessly integrate support for it in android apps.
>>>
>>> Best Regards,
>>> Araz Abishov
>>>
>>> On February 9, 2016 at 3:21:00 PM, Jose Garcia Muñoz (josem...@gmail.com
>>> ) wrote:
>>>
>>>
>>> Hi Araz,
>>>
>>> I am talking about metadata (dataelements, optionsets, etc...). We don't
>>> have problems with the user interface...
>>>
>>> Thanks Araz
>>>
>>> On Tue, Feb 9, 2016 at 3:15 PM, Araz Abishov >> > wrote:
>>>
>>>> Hi Jose and David,
>>>>
>>>> I just have a few questions to understand problem better:
>>>>
>>>>  - Are we talking about translation of application prompts or
>>>> translation of metadata/data?
>>>>  - Do you want user to be able to switch languages in user interface?
>>>> (a setting which allows to do that)
>>>>
>>>> Best Regards,
>>>> Araz Abishov
>>>>
>>>> On February 9, 2016 at 1:48:51 PM, David Hagan (
>>>> david.ha...@sagehagan.com
>>>> ) wrote:
>>>>
>>>> Afternoon Jose,
>>>>
>>>> I second the question!
>>>>
>>>> Actually, I’ve had this conversation on another thread over the
>>>> new-year break as we have a similar requirement (English, Russian,
>>>> Ukrainian) … we’re making do with one language at the moment, but the next
>>>> iteration cycle of the App really needs the user to be able to switch
>>>> languages.
>>>>
>>>> David
>>>>
>>>> On 9 February 2016 at 13:32, Jose Garcia Muñoz >>> > wrote:
>>>>
>>>>>
>>>>> Dear Simen, devs,
>>>>>
>>>>> some months ago we started a conversation with you to know if the
>>>>> DHIS2-SDK is supporting multilingual or not? The answer was:
>>>>>
>>>>> "unfortunately there isn't very good support for multilingual in the
>>>>> SDK yet. It's actually not that much work we just haven't prioritized it
>>>>> yet so it could be made available without too much trouble... There
>>>>> is a bit of work that has do be done on the server side to update the web
>>>>> API. Unfortunately I would have to say that it likely would come in 2016,
>>>>> but when is unknown"
>>>>>
>>>>> Do you have any updates? was the DHIS2 web API updated? If not, when
>>>>> can we expect that? 2.23?
>>>>>
>>>>> It is becaming some kind of urgent now because we plan to roll-out
>>>>> dif

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread Rodolfo Melia
It will be great if we can prioritise the metadata to be multilingual in
the API. We already know how to translate the Android UI, by generating our
own build.

I'm copying Morton to see if he can give us an idea of when the API would
be able to return the Form Name and Options in multilingual format. It is
critical for many of the implementations that we have in the pipeline in
Asia - we need the analytics in English, but the data collection, using
android, in the local language.

*Rodolfo Meliá*


On 9 February 2016 at 14:42, Araz Abishov  wrote:

> Unfortunately, translation of metadata/data is not completely supported in
> API due to some implementation complexities in the core, so we still don’t
> know when exactly we will be able to implement multilingual support for
> android apps.
>
> What we can do is additional setting for choosing language in application
> preferences (but it will work only for UI prompts). In feature, when API
> will be completely supporting translations, we will be able seamlessly
> integrate support for it in android apps.
>
> Best Regards,
> Araz Abishov
>
> On February 9, 2016 at 3:21:00 PM, Jose Garcia Muñoz (josem...@gmail.com)
> wrote:
>
>
> Hi Araz,
>
> I am talking about metadata (dataelements, optionsets, etc...). We don't
> have problems with the user interface...
>
> Thanks Araz
>
> On Tue, Feb 9, 2016 at 3:15 PM, Araz Abishov  wrote:
>
>> Hi Jose and David,
>>
>> I just have a few questions to understand problem better:
>>
>>  - Are we talking about translation of application prompts or translation
>> of metadata/data?
>>  - Do you want user to be able to switch languages in user interface? (a
>> setting which allows to do that)
>>
>> Best Regards,
>> Araz Abishov
>>
>> On February 9, 2016 at 1:48:51 PM, David Hagan (david.ha...@sagehagan.com)
>> wrote:
>>
>> Afternoon Jose,
>>
>> I second the question!
>>
>> Actually, I’ve had this conversation on another thread over the new-year
>> break as we have a similar requirement (English, Russian, Ukrainian) …
>> we’re making do with one language at the moment, but the next iteration
>> cycle of the App really needs the user to be able to switch languages.
>>
>> David
>>
>> On 9 February 2016 at 13:32, Jose Garcia Muñoz 
>> wrote:
>>
>>>
>>> Dear Simen, devs,
>>>
>>> some months ago we started a conversation with you to know if the
>>> DHIS2-SDK is supporting multilingual or not? The answer was:
>>>
>>> "unfortunately there isn't very good support for multilingual in the
>>> SDK yet. It's actually not that much work we just haven't prioritized it
>>> yet so it could be made available without too much trouble... There is
>>> a bit of work that has do be done on the server side to update the web API.
>>> Unfortunately I would have to say that it likely would come in 2016, but
>>> when is unknown"
>>>
>>> Do you have any updates? was the DHIS2 web API updated? If not, when can
>>> we expect that? 2.23?
>>>
>>> It is becaming some kind of urgent now because we plan to roll-out
>>> different android apps in different countries (speaking French, English,
>>> Spanish, Portuguese)..
>>>
>>> Please, let us know if you have some more information to share.
>>>
>>> Thanks
>>> Jose
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS2 and Tableau

2016-01-30 Thread Rodolfo Melia
We are probably going to develop one connector to test this. I will write
back.

On Saturday, 30 January 2016, Morten Olav Hansen  wrote:

> The ideal situation will be that any report_table in DHIS is ready to be
>> consumed by tableau. Currently, tableau sees the data returned by the DHIS
>> report_tables (see 40s video
>> <https://www.youtube.com/watch?v=A84KZY5yUTU>), but cannot complete the
>> connection.
>>
>
> Yeah, as far as I know.. this is something being worked on, but Lars will
> have to give the details.. I don't think you will see tableau compatible
> data coming out of DHIS 2, but rather a specialised connector from their
> side.
>
>
>> The link that you sent, if I understand correctly, will allow to develop
>> individual connections for specific report tables. So if an organization
>> wants to connect 10 tables representing 10 data collections, we need to
>> create 10 connectors - am I correct?
>>
>
> Well, yes.. it would require a XHR request for every data source you want
> to pull in, but that's the case anyways.. even with a specialised
> connector. The only way to remedy something like that would be to bundle
> multiple resource tables together.
>
> --
> Morten
>
>
>> Ideally we want that the api can return data formatted is such a way that
>> Tableau can consume it - imagine something like this:
>> - server-url.org/api/tableau/aA5kJPtPf3p/data.json
>>
>> *R*
>>
>>
>> On 28 January 2016 at 05:14, Morten Olav Hansen > > wrote:
>>
>>> HI Rodolfo
>>>
>>> Did you have a look at the example JSON connector?
>>>
>>> https://github.com/tableau/webdataconnector/blob/gh-pages/Examples/jsonConnector.html
>>>
>>> It seems pretty simple to connect to any kind of JSON source.. as long
>>> as you understand the data you are pulling in (analytics, etc) it should be
>>> a simple task to then map it to headers, columns etc..
>>>
>>> --
>>> Morten
>>>
>>> On Wed, Jan 27, 2016 at 11:24 PM, Rodolfo Melia >> > wrote:
>>>
>>>> Somehow, some organizations have used and want to continue using
>>>> Tableau. I understand 2.23 will offer a new vizualization engine. That will
>>>> be interesting, i will help taking them in that direccion.
>>>>
>>>>
>>>> On Wednesday, 27 January 2016, Morten Olav Hansen >>> > wrote:
>>>>
>>>>> It would also be interesting to know why they want to connect
>>>>> to Tableau, I thought our philosophy would point us to a more open source
>>>>> direction? Tableau is a hyper commercial company? no?
>>>>>
>>>>> While just a prototype, we in HISP Vietnam are also creating
>>>>> dashboards:
>>>>> http://dhis2.io (esc, or click hamburger to see menu)
>>>>>
>>>>> Tableau wanting to connect to us, should be seen both as a success..
>>>>> and something to be wary about (if you care about code, and you have seen
>>>>> the output from a Tableau dashboard, you know how shitty it is)
>>>>>
>>>>> --
>>>>> Morten
>>>>>
>>>>> On Wed, Jan 27, 2016 at 10:21 PM, Knut Staring 
>>>>> wrote:
>>>>>
>>>>>> Copying this to Sundeep also, since HISP India is also interested in
>>>>>> this linkage, as are the WHO SEARO, WPRO and PAHO regional offices.
>>>>>>
>>>>>>
>>>>>> On Wed, Jan 27, 2016 at 4:17 PM, Morten Olav Hansen <
>>>>>> morte...@gmail.com> wrote:
>>>>>>
>>>>>>> Ok, Lars will know more about that.. I know they have reached out to
>>>>>>> us.. Not sure if they will do the work or us, but I don't think the 
>>>>>>> amount
>>>>>>> of work would be much.. at least our analytical json should be easy to
>>>>>>> read, I have already make connectors for the dashboards I have been
>>>>>>> creating for Lao and Indoensia
>>>>>>>
>>>>>>> --
>>>>>>> Morten
>>>>>>>
>>>>>>> On Wed, Jan 27, 2016 at 10:14 PM, Rodolfo Melia >>>>>> > wrote:
>>>>>>>
>>>>>>>> only for the connector...
>>>>>>>>
>>>>>>>>
>>>>>>>> On 27 January 2016 at 15:10, 

Re: [Dhis2-devs] Program Attribute for Event Capture

2016-01-29 Thread Rodolfo Melia
Great to know. Two questions:
1. Where can we see that roadmap?
2. When you say new SDK, what does that mean? Are you abandoning the
current one and developing a new one?

R

On Friday, 29 January 2016, Erling Fjelstad  wrote:

> Hi Rodolfo,
> We're planning to implement the concept of categories in the new version
> of the Event Capture where we utilize our new SDK. It is on the roadmap of
> being finished before end of February.
>
> ---
> Erling - DHIS 2 Android team
>
> On 2016-01-27 16:13, Rodolfo Melia wrote:
>
>> Hi - 2.21 introduced the concept of _Event __Combination of
>> categories_. This is very useful to capture a 'fourth' dimension, like
>> funding source or other concepts. This works as long as you use the
>> web UI to capture your information (Event Capture).
>>
>> Is there an estimation of when this feature will be incorporated into
>> the Android Event Capture APP? currently is not in the app or the SDK.
>>
>> Rodolfo
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>

-- 
*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS2 and Tableau

2016-01-28 Thread Rodolfo Melia
The ideal situation will be that any report_table in DHIS is ready to be
consumed by tableau. Currently, tableau sees the data returned by the DHIS
report_tables (see 40s video <https://www.youtube.com/watch?v=A84KZY5yUTU>),
but cannot complete the connection.

The link that you sent, if I understand correctly, will allow to develop
individual connections for specific report tables. So if an organization
wants to connect 10 tables representing 10 data collections, we need to
create 10 connectors - am I correct?
Ideally we want that the api can return data formatted is such a way that
Tableau can consume it - imagine something like this:
- server-url.org/api/tableau/aA5kJPtPf3p/data.json

*R*


On 28 January 2016 at 05:14, Morten Olav Hansen  wrote:

> HI Rodolfo
>
> Did you have a look at the example JSON connector?
>
> https://github.com/tableau/webdataconnector/blob/gh-pages/Examples/jsonConnector.html
>
> It seems pretty simple to connect to any kind of JSON source.. as long as
> you understand the data you are pulling in (analytics, etc) it should be a
> simple task to then map it to headers, columns etc..
>
> --
> Morten
>
> On Wed, Jan 27, 2016 at 11:24 PM, Rodolfo Melia 
> wrote:
>
>> Somehow, some organizations have used and want to continue using Tableau.
>> I understand 2.23 will offer a new vizualization engine. That will be
>> interesting, i will help taking them in that direccion.
>>
>>
>> On Wednesday, 27 January 2016, Morten Olav Hansen 
>> wrote:
>>
>>> It would also be interesting to know why they want to connect
>>> to Tableau, I thought our philosophy would point us to a more open source
>>> direction? Tableau is a hyper commercial company? no?
>>>
>>> While just a prototype, we in HISP Vietnam are also creating dashboards:
>>> http://dhis2.io (esc, or click hamburger to see menu)
>>>
>>> Tableau wanting to connect to us, should be seen both as a success.. and
>>> something to be wary about (if you care about code, and you have seen the
>>> output from a Tableau dashboard, you know how shitty it is)
>>>
>>> --
>>> Morten
>>>
>>> On Wed, Jan 27, 2016 at 10:21 PM, Knut Staring  wrote:
>>>
>>>> Copying this to Sundeep also, since HISP India is also interested in
>>>> this linkage, as are the WHO SEARO, WPRO and PAHO regional offices.
>>>>
>>>>
>>>> On Wed, Jan 27, 2016 at 4:17 PM, Morten Olav Hansen >>> > wrote:
>>>>
>>>>> Ok, Lars will know more about that.. I know they have reached out to
>>>>> us.. Not sure if they will do the work or us, but I don't think the amount
>>>>> of work would be much.. at least our analytical json should be easy to
>>>>> read, I have already make connectors for the dashboards I have been
>>>>> creating for Lao and Indoensia
>>>>>
>>>>> --
>>>>> Morten
>>>>>
>>>>> On Wed, Jan 27, 2016 at 10:14 PM, Rodolfo Melia 
>>>>> wrote:
>>>>>
>>>>>> only for the connector...
>>>>>>
>>>>>>
>>>>>> On 27 January 2016 at 15:10, Morten Olav Hansen 
>>>>>> wrote:
>>>>>>
>>>>>>> Sure, are they planning to release an open source version then?
>>>>>>>
>>>>>>> --
>>>>>>> Morten
>>>>>>>
>>>>>>> On Wed, Jan 27, 2016 at 10:05 PM, Juan Manuel Alcantara Acosta <
>>>>>>> jmalcanta...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Nicola recently told me someone form Tableau will be attending the
>>>>>>>> symposium. That could be a good opportunity to talk to them.
>>>>>>>> JM
>>>>>>>>
>>>>>>>>
>>>>>>>> El 27/01/2016, a las 9:02 a.m., Rodolfo Melia 
>>>>>>>> escribió:
>>>>>>>>
>>>>>>>> Hi Knut - that's interesting. Look forward to hear more about that
>>>>>>>> conversation with the Tableau foundation.
>>>>>>>>
>>>>>>>> I think that somehow we need DHIS to expose the data in a XML/Json
>>>>>>>> following Tableau conventions.
>>>>>>>>
>>>>>>>> *Rodolfo Meliá*
>>>>>>>> *Principal  |  *rme...@knowming.com
>>>>>>>> 

[Dhis2-devs] Program Attribute for Event Capture

2016-01-27 Thread Rodolfo Melia
Hi - 2.21 introduced the concept of *Event **Combination of categories*.
This is very useful to capture a 'fourth' dimension, like funding source or
other concepts. This works as long as you use the web UI to capture your
information (Event Capture).

Is there an estimation of when this feature will be incorporated into the
Android Event Capture APP? currently is not in the app or the SDK.

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


Re: [Dhis2-devs] DHIS2 and Tableau

2016-01-27 Thread Rodolfo Melia
Hi Morten - we have successfully exported data in csv, and imported it into
Tableau - that works fine.
What we are trying to do is to have a LIVE feed from DHIS, so the Tableau
dashboard are refreshed as the data changes in DHIS. The idea is to expose
a DHIS data table via the API, and connect the resulting json into Tableau.
It looks like the json needs an specific format for Tableau. They have an
SDK for developing such connectors.
http://onlinehelp.tableau.com/current/api/wdc/en-us/help.htm


*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On 27 January 2016 at 13:45, Morten Olav Hansen  wrote:

> Hi Rodolfo
>
> I don't know anything about Tableau, but maybe you would have better luck
> importing CSV data? its a bit more manageable than JSON (which can have any
> format)
>
> --
> Morten
>
> On Wed, Jan 27, 2016 at 6:31 PM, Rodolfo Melia 
> wrote:
>
>> Hi everyone - the latest version of Tableau (9.1) has a new 'web
>> connector' that allows to read html/ json sources. As you can see from the
>> image below, I have successfully got to the point of DHIS returning data to
>> Tableau, but I cannot get to the final step to start doing the charts in
>> tableau.
>>
>> Have anyone successfully connected DHIS to tableau using the new web
>> connector in 9.X?
>> I have the impression that there is the need to modify the json that DHIS
>> returns, based on Tableau specs. Have anyone tried to do that?
>>
>>
>>
>> [image: Inline images 1]
>>
>> *R*
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS2 and Tableau

2016-01-27 Thread Rodolfo Melia
Hi everyone - the latest version of Tableau (9.1) has a new 'web connector'
that allows to read html/ json sources. As you can see from the image
below, I have successfully got to the point of DHIS returning data to
Tableau, but I cannot get to the final step to start doing the charts in
tableau.

Have anyone successfully connected DHIS to tableau using the new web
connector in 9.X?
I have the impression that there is the need to modify the json that DHIS
returns, based on Tableau specs. Have anyone tried to do that?



[image: Inline images 1]

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


[Dhis2-devs] [Bug 1527640] [NEW] Multilingual analytics - DE Group Sets panels show in English

2015-12-18 Thread Rodolfo Melia
Public bug reported:

In Analytics, DE Group Set Panel Title shows in English, but content (DE
Groups) show in targeted language - see attached screen

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: "DEGS translation.png"
   
https://bugs.launchpad.net/bugs/1527640/+attachment/4536892/+files/DEGS%20translation.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1527640

Title:
  Multilingual analytics - DE Group Sets panels show in English

Status in DHIS:
  New

Bug description:
  In Analytics, DE Group Set Panel Title shows in English, but content
  (DE Groups) show in targeted language - see attached screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1527640/+subscriptions

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


[Dhis2-devs] [Bug 1527207] Re: Multilingual analytics - mixing Indicators and Data Elements: only first set returns in correct language

2015-12-18 Thread Rodolfo Melia
Hi - tested in 2.21: legend is showing fine, but the Data Panel still
show data items in English - see attachment.

** Attachment added: "Data panel still in English.png"
   
https://bugs.launchpad.net/dhis2/+bug/1527207/+attachment/4536781/+files/Data%20panel%20still%20in%20English.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1527207

Title:
  Multilingual analytics - mixing Indicators and Data Elements: only
  first set returns in correct language

Status in DHIS:
  Fix Committed

Bug description:
  Multilingual analytics - mixing Indicators and Data Elements: only
  first set returns in correct language

  2.21 recently got a fix to get the analytics returning in the user
  selected language. This is working as long as your chart or pivot only
  contains one type of data item. As soon as you mix data elements +
  indicators, only the first set gets returned in the correct language.
  See attached example, taken from IPPF, who is using the system in four
  languages. You will also notice that the Data Item shows all items in
  English Only.

  IUD (English) = IntraUterine Device
  DIU (Spanish) = Dispositivo IntraUterino

  (Do not confuse with DHIS' UID !)
  Version: 2.21
  Build revision: 20912
  Build date: 2015-11-20 03:59

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1527207/+subscriptions

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


[Dhis2-devs] [Bug 1527207] Re: Multilingual analytics - mixing Indicators and Data Elements: only first set returns in correct language

2015-12-18 Thread Rodolfo Melia
Hi - tested in 2.21: legend is showing fine, but the Data Panel still
show data items in English - see attachment.

** Attachment added: "Data panel still in English.png"
   
https://bugs.launchpad.net/dhis2/+bug/1527207/+attachment/4536780/+files/Data%20panel%20still%20in%20English.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1527207

Title:
  Multilingual analytics - mixing Indicators and Data Elements: only
  first set returns in correct language

Status in DHIS:
  Fix Committed

Bug description:
  Multilingual analytics - mixing Indicators and Data Elements: only
  first set returns in correct language

  2.21 recently got a fix to get the analytics returning in the user
  selected language. This is working as long as your chart or pivot only
  contains one type of data item. As soon as you mix data elements +
  indicators, only the first set gets returned in the correct language.
  See attached example, taken from IPPF, who is using the system in four
  languages. You will also notice that the Data Item shows all items in
  English Only.

  IUD (English) = IntraUterine Device
  DIU (Spanish) = Dispositivo IntraUterino

  (Do not confuse with DHIS' UID !)
  Version: 2.21
  Build revision: 20912
  Build date: 2015-11-20 03:59

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1527207/+subscriptions

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


[Dhis2-devs] [Bug 1527207] [NEW] Multilingual analytics - mixing Indicators and Data Elements: only first set returns in correct language

2015-12-17 Thread Rodolfo Melia
Public bug reported:

Multilingual analytics - mixing Indicators and Data Elements: only first
set returns in correct language

2.21 recently got a fix to get the analytics returning in the user
selected language. This is working as long as your chart or pivot only
contains one type of data item. As soon as you mix data elements +
indicators, only the first set gets returned in the correct language.
See attached example, taken from IPPF, who is using the system in four
languages. You will also notice that the Data Item shows all items in
English Only.

IUD (English) = IntraUterine Device
DIU (Spanish) = Dispositivo IntraUterino

(Do not confuse with DHIS' UID !)
Version: 2.21
Build revision: 20912
Build date: 2015-11-20 03:59

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: "IPPF Ind+DE multilingual issue.png"
   
https://bugs.launchpad.net/bugs/1527207/+attachment/4536246/+files/IPPF%20Ind%2BDE%20multilingual%20issue.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1527207

Title:
  Multilingual analytics - mixing Indicators and Data Elements: only
  first set returns in correct language

Status in DHIS:
  New

Bug description:
  Multilingual analytics - mixing Indicators and Data Elements: only
  first set returns in correct language

  2.21 recently got a fix to get the analytics returning in the user
  selected language. This is working as long as your chart or pivot only
  contains one type of data item. As soon as you mix data elements +
  indicators, only the first set gets returned in the correct language.
  See attached example, taken from IPPF, who is using the system in four
  languages. You will also notice that the Data Item shows all items in
  English Only.

  IUD (English) = IntraUterine Device
  DIU (Spanish) = Dispositivo IntraUterino

  (Do not confuse with DHIS' UID !)
  Version: 2.21
  Build revision: 20912
  Build date: 2015-11-20 03:59

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1527207/+subscriptions

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


[Dhis2-devs] [Bug 1526402] [NEW] multi organisation unit form - form name doesn't render

2015-12-15 Thread Rodolfo Melia
Public bug reported:

On a multi organisation form,  form names are not rendering. This can be
reproduced in 2.21 demo site, by setting a Form Name to a data element -
see attached image.

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: "Multi Org Unit forms - Form name not rendering.png"
   
https://bugs.launchpad.net/bugs/1526402/+attachment/4535145/+files/Multi%20Org%20Unit%20forms%20-%20Form%20name%20not%20rendering.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1526402

Title:
  multi organisation unit form - form name doesn't render

Status in DHIS:
  New

Bug description:
  On a multi organisation form,  form names are not rendering. This can
  be reproduced in 2.21 demo site, by setting a Form Name to a data
  element - see attached image.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1526402/+subscriptions

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


Re: [Dhis2-devs] [Bug 1370486] Re: orgunit-merge-problem-report-tables

2015-09-25 Thread Rodolfo Melia
Hi Jason - losing this functionality is a shame. Wouldn't be better trying
to get it fixed?

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Thu, Sep 24, 2015 at 5:47 PM, jason.p.pickering <
1370...@bugs.launchpad.net> wrote:

> OU merge functionality has been removed and will be replaced with
> administrative SQL scripts due to various implementation scenarios.
>
> ** Changed in: dhis2
>Status: New => Fix Committed
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1370486
>
> Title:
>   orgunit-merge-problem-report-tables
>
> Status in DHIS:
>   Fix Committed
>
> Bug description:
>   Version:
>   2.15
>   Build revision:
>   15196
>
>   When orgunits which are part of a report table are attempted to be
>   merged with another orgunit, the following error results.
>
>   DELETE FROM reporttable_organisationunits where organisationunitid =
>   76018;
>
>   followed by clearing the cache is a workaround.
>
>   * INFO  2014-09-17 08:15:05,583 DELETE FROM datavalue_audit WHERE
> sourceid=76018; (JdbcDataMergeStore.java [http-bio-8080-exec-81])
>   * INFO  2014-09-17 08:15:05,584 DELETE FROM datavalue WHERE
> sourceid=76018; (JdbcDataMergeStore.java [http-bio-8080-exec-81])
>   * INFO  2014-09-17 08:15:05,815 DELETE FROM completedatasetregistration
> WHERE sourceid=76018; (JdbcDataMergeStore.java [http-bio-8080-exec-81])
>   * ERROR 2014-09-17 08:15:05,848 Error while executing action
> (ExceptionInterceptor.java [http-bio-8080-exec-81])
>   org.hisp.dhis.common.DeleteNotAllowedException: ReportTable
>   at
> org.hisp.dhis.system.deletion.DefaultDeletionManager.execute(DefaultDeletionManager.java:102)
>   at
> org.hisp.dhis.system.deletion.DeletionInterceptor.intercept(DeletionInterceptor.java:54)
>   at sun.reflect.GeneratedMethodAccessor2549.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:606)
>   at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>   at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:603)
>   at
> org.springframework.aop.aspectj.AspectJMethodBeforeAdvice.before(AspectJMethodBeforeAdvice.java:39)
>   at
> org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
>   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>   at
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>   at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>   at com.sun.proxy.$Proxy54.deleteOrganisationUnit(Unknown Source)
>   at
> org.hisp.dhis.datamerge.DefaultDataMergeService.mergeOrganisationUnits(DefaultDataMergeService.java:129)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:606)
>   at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>   at
> org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
>   at
> org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
>   at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
>   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>   at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>   at com.sun.proxy.$Proxy118.mergeOrganisationUnits(Unknown Source)
>   at
> org.hisp.dhis.dataadmin.action.organisationunitmerge.MergeOrganisationUnitsAction.execute(MergeOrganisationUnitsAction.java:95)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>

Re: [Dhis2-devs] Data statistics for Tracker?

2015-09-25 Thread Rodolfo Melia
Hi knut. We have done this on PSI's data dict. We submitted to the app
store, but in never made it. We will resubmit.

On Thursday, 24 September 2015, Knut Staring  wrote:

> In the nice-to-have department:
>
> I imagine it would not be a huge task to extend the Data Statistics
> feature to include some basic numbers on Tracker?
>
> E.g. we should break up data elements by domain, and list the number of
> attributes and TEI in the db.
>
> Blueprint?
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>


-- 
*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Indicators or Validations when using Combination of categories on DataSet

2015-09-16 Thread Rodolfo Melia
I don't think there is. At the end, I had to create 2 sets of Data Elements
(200 Data Elements x2=400 Data Elements), as if I used the DataSet
Attribute I couldn't look at an specific one when doing a indicator or
validation. I do think that DHIS needs to expose the DataSet Attribute as
part of the Indicator/ Quality modules at some point soon - having it on
the analytics is not enough. I could be as easier as extending the current
notation DataElementUID.CatComboUID by adding a third .DataSetAttributeIUD.

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Wed, Sep 16, 2015 at 12:49 PM, Adebusoye Anifalaje 
wrote:

> Hi Rodolfo,
>
> Do you know if there’s been any update on this question? I am particularly
> interesting in creating indicators that combine data elements from
> different data set categories.
>
> Please let me know.
>
> Thanks.
>
> Busoye
>
>
> On 31 Mar 2015, at 18:13, Rodolfo Melia  wrote:
>
> Hi Alex - that will work, but we are looking at using Validation Rules, so
> they can be used for both, data entry and data import. Also, there are some
> indicators that I need to calculate that only use as numerator a specific
> DataValue that belong to one of the DataSetAttributes.
>
> I may need to reverse the decision of using the Dataset Attributes, and
> instead do it the classic way: just Data Elements and CatCambos.
>
> R
>
>
> On Tue, Mar 31, 2015 at 2:21 PM, Alex Tumwesigye 
> wrote:
>
>> Dear Rodolfo,
>>
>> How about using a custom form with some jquery enforcing whatever you
>> need?
>>
>>
>> Alex
>>
>> On Tue, Mar 31, 2015 at 11:23 AM, Rodolfo Melia 
>> wrote:
>>
>>> Continuation of my question:
>>>
>>> Is it possible to write Indicator/ Validation expressions using a syntax
>>> that can refer to the DataSet Attribute, even if the UI doesn't expose it?
>>>
>>> Can I refer to a particular DataValue as [DataElement UID].[CatCombo
>>> UID].[DataSetAttribute] ?
>>>
>>> Otherwise I cannot use DataSetAttributes in my design: they are visible
>>> on analytics, but there are not exposed on Validations or Indicators,
>>> making them difficult (sometimes impossible) to use.
>>>
>>> R
>>>
>>> *Rodolfo Meliá*
>>> *Principal  |  *rme...@knowming.com
>>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>>> www.knowming.com
>>>
>>> On Mon, Mar 30, 2015 at 5:50 PM, Rodolfo Melia 
>>> wrote:
>>>
>>>> When using a combination of Categories on a Data Set - how can I write
>>>> a validation rule that compares values between the categories used by the
>>>> DataSet, rather than the total?
>>>>
>>>> Similarly, how can I define an Indicator that uses for the numerator
>>>> one Combination of Category of the data set, and then a different one for
>>>> the denominator?
>>>>
>>>> In neither case the category combination is exposed on the User
>>>> Interface: only the DataElements and related CatCombos are exposed.
>>>>
>>>>
>>>> Rodolfo
>>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Alex Tumwesigye
>>
>> Technical Advisor - DHIS2 (Consultant),
>> 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-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS Analytics Schedule

2015-07-31 Thread Rodolfo Melia
Jason - this is great. The load can be significantly reduced by skipping
the resource tables, and only regenerating the last year of data. Thanks so
much !

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Fri, Jul 31, 2015 at 9:57 AM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Hi Rodolfo,
> You can just use a cron job to start the analytics. You can ready about it
> here
>
> https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s29.html
>
> Most any scripting language (bash, python, NodeJS, R) to do fancy stuff or
> just plain call to curl should work fine.
>
> Regards,
> Jason
>
>
> On Fri, Jul 31, 2015 at 10:43 AM, Rodolfo Melia 
> wrote:
>
>> Hi - by default, once you schedule the analytics in DHIS, they run at
>> midnight every night.
>>
>> The project that I'm working on has 10 years of data, and it takes about
>> 60secs to run. The users would like to schedule the analtyics every 60min -
>> how can I set the server to run hourly? The UI doesn't allow this setting,
>> but there must be a way of hacking the associated task. Have anyone do it?
>>
>> R
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS Analytics Schedule

2015-07-31 Thread Rodolfo Melia
Hi - by default, once you schedule the analytics in DHIS, they run at
midnight every night.

The project that I'm working on has 10 years of data, and it takes about
60secs to run. The users would like to schedule the analtyics every 60min -
how can I set the server to run hourly? The UI doesn't allow this setting,
but there must be a way of hacking the associated task. Have anyone do it?

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


Re: [Dhis2-devs] [Dhis2-users] Fwd: Issue on Data approval

2015-04-30 Thread Rodolfo Melia
Great new - we will test and get back to you

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Thu, Apr 30, 2015 at 2:21 AM, Jim Grace  wrote:

> Please try the latest 2.18 now. I was able to reproduce and fix this on my
> system. (Also fixed in the latest trunk.)
>
>
> On Wed, Apr 29, 2015 at 2:38 PM, Lars Helge Øverland 
> wrote:
>
>> Hi Salimoe and Rodolfo,
>>
>> we have confirmed that approval locking does not work for org units below
>> the org unit where data was approved - working on a fix.
>>
>> regards,
>>
>> Lars
>>
>>
>>
>> On Tue, Apr 21, 2015 at 4:50 PM, Rodolfo Melia 
>> wrote:
>>
>>> Hi - reopening an old conversation.
>>>
>>> I'm using 2.18, April 18 release: I'm having the same issue: all dataset
>>> are open, although they are marked as approved.
>>> Is this a bug? Is there a new setting?
>>>
>>> What's is the best way to test this in the Sierra Leone demo? What
>>> datasets have approval?
>>>
>>> *Rodolfo Meliá*
>>> *Principal  |  *rme...@knowming.com
>>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>>> www.knowming.com
>>>
>>> On Wed, Feb 4, 2015 at 3:03 PM, Salimone Domingos Nhancume <
>>> snhanc...@gmail.com> wrote:
>>>
>>>>
>>>> Dear, i am also having problem in Approving Data, I followed all the
>>>>  steps described hire
>>>> <https://www.dhis2.org/doc/snapshot/en/user/html/ch19.html>,but only
>>>> the users defined as super user have the option approve, and depending to
>>>> the org unit evel they does not change approved data.
>>>>
>>>> For other users, they can still modify approved data
>>>>
>>>> Please can someone help me.
>>>>
>>>> Salimone
>>>>
>>>>
>>>> -- Forwarded message --
>>>> From: nsanzumuhire venuste 
>>>> Date: 2015-01-30 8:39 GMT+02:00
>>>> Subject: Re: [Dhis2-users] Issue on Data approval
>>>> To: DHIS 2 developers , "
>>>> dhis2-us...@lists.launchpad.net" 
>>>>
>>>>
>>>> Any Help on the issue of approval data in version 2.17?All data set
>>>> have been unloked after upgrading from 2.16 to 2.17.I have tried to lock
>>>> again but it did not work.users can modify what ever they want.
>>>>
>>>> Any Help will be appreciated.
>>>>
>>>> regards.
>>>>
>>>>   --
>>>>  *De :* nsanzumuhire venuste 
>>>> *À :* DHIS 2 developers ; "
>>>> dhis2-us...@lists.launchpad.net" 
>>>> *Envoyé le :* Jeudi 29 janvier 2015 15h53
>>>> *Objet :* Issue on Data approval
>>>>
>>>> Dear all,
>>>>
>>>> I'm having issue where i had approved data set on previews periods,and
>>>> now when users go to data entry,all data sets are unloked where now users
>>>> can modify the data what ever they want.
>>>>
>>>> When i'm checking in report>data approval,i can see all data sets
>>>> are approved,I even went through the data set and approval data is Yes,But
>>>> when users try to access the data entry they find the data set are not
>>>> locked.
>>>>
>>>> I'm using version 2.17 but on version 2.16 approval was ok.
>>>>
>>>> Can some one help on this issue?
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to : dhis2-us...@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-us...@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-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Fwd: Issue on Data approval

2015-04-21 Thread Rodolfo Melia
Hi - reopening an old conversation.

I'm using 2.18, April 18 release: I'm having the same issue: all dataset
are open, although they are marked as approved.
Is this a bug? Is there a new setting?

What's is the best way to test this in the Sierra Leone demo? What datasets
have approval?

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Wed, Feb 4, 2015 at 3:03 PM, Salimone Domingos Nhancume <
snhanc...@gmail.com> wrote:

>
> Dear, i am also having problem in Approving Data, I followed all the
>  steps described hire
> ,but only the
> users defined as super user have the option approve, and depending to the
> org unit evel they does not change approved data.
>
> For other users, they can still modify approved data
>
> Please can someone help me.
>
> Salimone
>
>
> -- Forwarded message --
> From: nsanzumuhire venuste 
> Date: 2015-01-30 8:39 GMT+02:00
> Subject: Re: [Dhis2-users] Issue on Data approval
> To: DHIS 2 developers , "
> dhis2-us...@lists.launchpad.net" 
>
>
> Any Help on the issue of approval data in version 2.17?All data set have
> been unloked after upgrading from 2.16 to 2.17.I have tried to lock again
> but it did not work.users can modify what ever they want.
>
> Any Help will be appreciated.
>
> regards.
>
>   --
>  *De :* nsanzumuhire venuste 
> *À :* DHIS 2 developers ; "
> dhis2-us...@lists.launchpad.net" 
> *Envoyé le :* Jeudi 29 janvier 2015 15h53
> *Objet :* Issue on Data approval
>
> Dear all,
>
> I'm having issue where i had approved data set on previews periods,and now
> when users go to data entry,all data sets are unloked where now users can
> modify the data what ever they want.
>
> When i'm checking in report>data approval,i can see all data sets are
> approved,I even went through the data set and approval data is Yes,But when
> users try to access the data entry they find the data set are not locked.
>
> I'm using version 2.17 but on version 2.16 approval was ok.
>
> Can some one help on this issue?
>
> Thanks
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@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-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Generating Min/ Max

2015-04-20 Thread Rodolfo Melia
Is the attribute likely to be added to the mix?
- the logic that IPPF uses for setting the maximum value is different for
Attribute 1 and Attribute 2 of a data value.

R

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Mon, Apr 20, 2015 at 4:48 PM, Lars Helge Øverland 
wrote:

> The minmax dataelement values are set by:
>
> - data element
> - org unit
> - category option combo
>
> -
>
>
>
> Lars
>
>
> On Mon, Apr 20, 2015 at 5:27 PM, Rodolfo Melia 
> wrote:
>
>> Thanks everyone. It is good to understand how the max/min is calculated
>> in DHIS (the documentation should be updated with the content of this
>> email). We definitely need other ways to set min/ max values - my case has
>> a specific logic, which needs to be implemented via SQL, until there is a
>> way to push these values via the API.
>>
>> Can I confirm that the Min/ Max are set by
>> - Data Element
>> - Org Unit
>> - Cat Combo
>> - Attribute Combo?
>>
>>
>> R
>>
>> *Rodolfo Meliá*
>> *Principal  |  *rme...@knowming.com
>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>> www.knowming.com
>>
>> On Mon, Apr 20, 2015 at 4:02 PM, Calle Hedberg 
>> wrote:
>>
>>> Hi
>>>
>>> "Calle is right here - we do average, then calculate std dev and set
>>> the upper and lower bounds for each value. We use data from ALL
>>> available time periods to calculate this (period org unit, data element,
>>> option combo)."
>>>
>>> Here and there and back again :-)
>>>
>>> So I wasn't off the reservation, then. We have used the normal
>>> distribution like this in DHIS 1.x for around 17 years, and it fits the
>>> majority of data elements. In general, this distribution model handles
>>> random outbreaks and disruptions reasonably well, since the impact of such
>>> outliers are dampened. Data elements representing conditions or services
>>> with strong seasonal variation do not fit so well, and some very particular
>>> issues like "Male condoms distributed" tend to vary so much that the
>>> min/max is generally disregarded (outliers here also matter a lot less -
>>> when you distribute 1-2 billion condoms annually, an error of a few
>>> thousand does not matter). In DHIS 1.4 there is also a function for setting
>>> absolute min-max values - most typically used for data elements where e.g.
>>> only 0 and 1 are valid values. For such cases, statistically calculating
>>> min-max is obviously irrelevant.
>>>
>>> I don't like the use of ALL available time periods, though, since a
>>> large number of health facilities will see significant changes in their
>>> patient mix and patient numbers over let us say a 10 year period. We have
>>> found that 12-18 months provide a good compromise.
>>>
>>> So there are still some room for improvement.
>>>
>>> Regards
>>> Calle
>>>
>>> On 20 April 2015 at 16:15, Jason Pickering 
>>> wrote:
>>>
>>>> Good. I probably should have known that already, thus why I had to do
>>>> some statistical analysis outside of DHIS2 to actually calculate reasonable
>>>> min max. A quick check of the validity of a normal distribution, can be
>>>> with the skewness and kurtosis , which provide a idea of how "tilted"  a
>>>> given distribution is.
>>>>
>>>> https://www.dhis2.org/doc/snapshot/en/developer/html/apas06.html
>>>>
>>>> Anyway, support for import via the API would be good.
>>>>
>>>> Regards,
>>>> Jason
>>>>
>>>> On Mon, Apr 20, 2015, 16:06 Lars Helge Øverland 
>>>> wrote:
>>>>
>>>>> Hi there,
>>>>>
>>>>> Calle is right here - we do average, then calculate std dev and set
>>>>> the upper and lower bounds for each value.
>>>>>
>>>>> We use data from ALL available time periods to calculate this (period
>>>>> org unit, data element, option combo)
>>>>>
>>>>> Mind you we should not really debate whether to use standard
>>>>> deviations or not, rather if we should support additional _distributions_
>>>>> to better handle different kinds of data. We currently use the normal
>>>>> distribution <http://en.wikipedia.org/wiki/Normal_distribution>.
>

Re: [Dhis2-devs] [Dhis2-users] Generating Min/ Max

2015-04-20 Thread Rodolfo Melia
Thanks everyone. It is good to understand how the max/min is calculated in
DHIS (the documentation should be updated with the content of this email).
We definitely need other ways to set min/ max values - my case has a
specific logic, which needs to be implemented via SQL, until there is a way
to push these values via the API.

Can I confirm that the Min/ Max are set by
- Data Element
- Org Unit
- Cat Combo
- Attribute Combo?


R

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Mon, Apr 20, 2015 at 4:02 PM, Calle Hedberg 
wrote:

> Hi
>
> "Calle is right here - we do average, then calculate std dev and set the
> upper and lower bounds for each value. We use data from ALL available
> time periods to calculate this (period org unit, data element, option
> combo)."
>
> Here and there and back again :-)
>
> So I wasn't off the reservation, then. We have used the normal
> distribution like this in DHIS 1.x for around 17 years, and it fits the
> majority of data elements. In general, this distribution model handles
> random outbreaks and disruptions reasonably well, since the impact of such
> outliers are dampened. Data elements representing conditions or services
> with strong seasonal variation do not fit so well, and some very particular
> issues like "Male condoms distributed" tend to vary so much that the
> min/max is generally disregarded (outliers here also matter a lot less -
> when you distribute 1-2 billion condoms annually, an error of a few
> thousand does not matter). In DHIS 1.4 there is also a function for setting
> absolute min-max values - most typically used for data elements where e.g.
> only 0 and 1 are valid values. For such cases, statistically calculating
> min-max is obviously irrelevant.
>
> I don't like the use of ALL available time periods, though, since a large
> number of health facilities will see significant changes in their patient
> mix and patient numbers over let us say a 10 year period. We have found
> that 12-18 months provide a good compromise.
>
> So there are still some room for improvement.
>
> Regards
> Calle
>
> On 20 April 2015 at 16:15, Jason Pickering 
> wrote:
>
>> Good. I probably should have known that already, thus why I had to do
>> some statistical analysis outside of DHIS2 to actually calculate reasonable
>> min max. A quick check of the validity of a normal distribution, can be
>> with the skewness and kurtosis , which provide a idea of how "tilted"  a
>> given distribution is.
>>
>> https://www.dhis2.org/doc/snapshot/en/developer/html/apas06.html
>>
>> Anyway, support for import via the API would be good.
>>
>> Regards,
>> Jason
>>
>> On Mon, Apr 20, 2015, 16:06 Lars Helge Øverland 
>> wrote:
>>
>>> Hi there,
>>>
>>> Calle is right here - we do average, then calculate std dev and set the
>>> upper and lower bounds for each value.
>>>
>>> We use data from ALL available time periods to calculate this (period
>>> org unit, data element, option combo)
>>>
>>> Mind you we should not really debate whether to use standard deviations
>>> or not, rather if we should support additional _distributions_ to better
>>> handle different kinds of data. We currently use the normal distribution
>>> .
>>>
>>> Rodolfo - supporting min-max in the Web API is a good idea to allow for
>>> third-party tools - feel free to write a blueprint.
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>>
>>>
>>>
>>>
>
>
> --
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19274
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Generating Min/ Max

2015-04-20 Thread Rodolfo Melia
my test also shows that only the min/max across all values of an org unit
is use for setting mix/max. As this is unlikely to change any soon, I just
want to understand if I can set the min/max values based on my own logic,
and then inject it via the API.

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Mon, Apr 20, 2015 at 2:14 PM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> HI,
>
> I think as Prosper says, it is simply the overall max and min, and this
> can be set by the user, or calculated externally.
>
> Calle, use of standard deviation is problematic for several reasons
> however, mostly because it makes an assumption that the data is actually
> normally distributed, which is not really always the case. This may be
> appropriate for some data elements, but in many cases, it is not an
> appropriate statistical assumption, and results which we have seen after
> often zero inflated or follow something more like a logistical distribution
> (as opposed to a normal distribution).  So applying something like  a
> standard deviation may (and does in the case of DHIS2)  result in many
> negative min values. So, although I think the method of DHIS 1.4 may be
> somewhat better, it still is not really always appropriate, as the
> assumption of a normal distribution is simply not always warranted.
>
> Regards,
> Jason
>
>
>
> On Mon, Apr 20, 2015 at 3:02 PM Calle Hedberg 
> wrote:
>
>> Hi,
>>
>> Sorry, but if the automatic min-max calculation is simply retrieving the
>> historical minimum and maximum values, then that makes little sense and
>> would have no real value.
>>
>> I don't have time to verify it right now, but my assumption has always
>> been that DHIS2 is using a method similar to the one in DHIS 1.4:
>>
>> 1.
>> The user specify a period to be used for the min/max analysis - typically
>> 12-18 months (longer is better in a stable health establishment
>> environment, but a shorter period might be optimal in areas where patient
>> numbers are changing rapidly)
>>
>> 2.
>> The average and standard deviation is calculated for each
>> OrganisationUnit and DataElement combination
>>
>> 3.
>> The min is set to the average minus stdev x constant, max is set to
>> average plus stdev x constant. Typically constants are 1.5 - 2.0  (There is
>> an "Data analysis std dev factor" specified under General Settings - by
>> default set to 2.0. System might be using that).
>>
>> Best regards
>> Calle
>>
>>
>> On 20 April 2015 at 14:49, Rodolfo Melia  wrote:
>>
>>> Thanks Prosper - that makes sense.
>>> I guess that the only way to set a different rule (e.g., Max should be
>>> 150% than previous period) the max will need to be set via an app.
>>>
>>> Are Max/ Min of a Data Element/ Org Unit exposed in the API ?
>>>
>>> R
>>>
>>> *Rodolfo Meliá*
>>> *Principal  |  *rme...@knowming.com
>>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>>> www.knowming.com
>>>
>>> On Mon, Apr 20, 2015 at 1:29 PM, Prosper BT  wrote:
>>>
>>>> Hi Rodolfo,
>>>>
>>>> Used its before and according to the results we got, it takes the ever
>>>> max and min entered in the selected period for a given dataset.
>>>>
>>>> Regards
>>>>
>>>> On Mon, Apr 20, 2015 at 3:24 PM, Rodolfo Melia 
>>>> wrote:
>>>>
>>>>> I'm trying to understand how does DHIS generates the Min/ Max values
>>>>> for a given Data Element/ Period. The documentation
>>>>> <https://www.dhis2.org/doc/snapshot/en/user/html/ch12s03.html> only
>>>>> makes reference to the fact that Max/Min can be set manually or
>>>>> automatically calculated. When automatically calculated: does anyone knows
>>>>> what is the logic used for setting the values? Twice the average of
>>>>> previous periods?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>> Post to : dhis2-us...@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Prosper Behumbiize, M

Re: [Dhis2-devs] [Dhis2-users] Generating Min/ Max

2015-04-20 Thread Rodolfo Melia
Thanks Prosper - that makes sense.
I guess that the only way to set a different rule (e.g., Max should be 150%
than previous period) the max will need to be set via an app.

Are Max/ Min of a Data Element/ Org Unit exposed in the API ?

R

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Mon, Apr 20, 2015 at 1:29 PM, Prosper BT  wrote:

> Hi Rodolfo,
>
> Used its before and according to the results we got, it takes the ever max
> and min entered in the selected period for a given dataset.
>
> Regards
>
> On Mon, Apr 20, 2015 at 3:24 PM, Rodolfo Melia 
> wrote:
>
>> I'm trying to understand how does DHIS generates the Min/ Max values for
>> a given Data Element/ Period. The documentation
>> <https://www.dhis2.org/doc/snapshot/en/user/html/ch12s03.html> only
>> makes reference to the fact that Max/Min can be set manually or
>> automatically calculated. When automatically calculated: does anyone knows
>> what is the logic used for setting the values? Twice the average of
>> previous periods?
>>
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Prosper Behumbiize, MPH
> Phone:+256 414 320076
> Cell: +256 772 139037
>  +256 752 751776
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Generating Min/ Max

2015-04-20 Thread Rodolfo Melia
I'm trying to understand how does DHIS generates the Min/ Max values for a
given Data Element/ Period. The documentation
 only makes
reference to the fact that Max/Min can be set manually or automatically
calculated. When automatically calculated: does anyone knows what is the
logic used for setting the values? Twice the average of previous periods?
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Validation rule field translation request for v2.19

2015-04-03 Thread Rodolfo Melia
2.17 is unlikely to be updated with this feature. Perhaps future versions. 
Currently there is no blueprint for this.

Graham: remember that we can always use the psi Data dict app to download a 
group of data elements, with their UIDs, then we can upload the translations 
via SQL. From 2.19 the API will support that process as well


Rodolfo Meliá
+44 777 576 4090 | +1 708 872-7636

Please ignore any typos on this email sent from my mobile, probably written 
while I was at the park with the kids, at the airport walking to the gate, or 
sleepless (although exhausted). Grammatical faults? I'm sorry- I do my best

> On 2 Apr 2015, at 19:30, Graham T. Smith  wrote:
> 
> Hello again, 
> 
> I am following up on another translation related question. I was wondering if 
> there were any plans to update DHIS2 v2.17 with the ability to import data 
> element translations, including the locale and translated name, short name, 
> description etc. 
> 
> Please let me know if this is being considered. 
> 
> Thank you, 
> 
> Graham
> ​
> From: Graham T. Smith
> Sent: Monday, March 30, 2015 6:27 PM
> To: dhis2-devs@lists.launchpad.net
> Cc: rmelia; JM Alcantara
> Subject: Validation rule field translation request for v2.19
>  
> Hello, 
> 
> I would like to request that validation rule description and instruction 
> fields become available for translation in DHIS2 v2.19. Neither of these 
> fields appear to be available in the latest trunk version of the application 
> (screenshot below). 
> 
> 
> 
> I am implementing a number of validation rules for PSI's global data 
> reporting module, which will be rolled out to Spanish and French speaking 
> countries in the near future. I will be unable to incorporate validation 
> rules until ES and FR speaking end users are able to view translated 
> instructions for addressing a violated rule. ​
> 
> Will it be possible to incorporate this feature in v2.19? Thank you in 
> advance for your thoughts. 
> 
> Best, 
> 
> Graham 
> --
> Graham Smith
> ​​MIS Consultant
> ​​Population Services International
> ​​Skype: gtrsmith
> ​​ 
> ​​40 Years of Delivering Healthy Lives and Measurable Results
> ​psi.org :: Twitter :: Facebook :: YouTube :: psiimpact.com​
> 
> 
> 
> 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Indicators or Validations when using Combination of categories on DataSet

2015-03-31 Thread Rodolfo Melia
Hi Alex - that will work, but we are looking at using Validation Rules, so
they can be used for both, data entry and data import. Also, there are some
indicators that I need to calculate that only use as numerator a specific
DataValue that belong to one of the DataSetAttributes.

I may need to reverse the decision of using the Dataset Attributes, and
instead do it the classic way: just Data Elements and CatCambos.

R


On Tue, Mar 31, 2015 at 2:21 PM, Alex Tumwesigye 
wrote:

> Dear Rodolfo,
>
> How about using a custom form with some jquery enforcing whatever you need?
>
>
> Alex
>
> On Tue, Mar 31, 2015 at 11:23 AM, Rodolfo Melia 
> wrote:
>
>> Continuation of my question:
>>
>> Is it possible to write Indicator/ Validation expressions using a syntax
>> that can refer to the DataSet Attribute, even if the UI doesn't expose it?
>>
>> Can I refer to a particular DataValue as [DataElement UID].[CatCombo
>> UID].[DataSetAttribute] ?
>>
>> Otherwise I cannot use DataSetAttributes in my design: they are visible
>> on analytics, but there are not exposed on Validations or Indicators,
>> making them difficult (sometimes impossible) to use.
>>
>> R
>>
>> *Rodolfo Meliá*
>> *Principal  |  *rme...@knowming.com
>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>> www.knowming.com
>>
>> On Mon, Mar 30, 2015 at 5:50 PM, Rodolfo Melia 
>> wrote:
>>
>>> When using a combination of Categories on a Data Set - how can I write a
>>> validation rule that compares values between the categories used by the
>>> DataSet, rather than the total?
>>>
>>> Similarly, how can I define an Indicator that uses for the numerator one
>>> Combination of Category of the data set, and then a different one for the
>>> denominator?
>>>
>>> In neither case the category combination is exposed on the User
>>> Interface: only the DataElements and related CatCombos are exposed.
>>>
>>>
>>> Rodolfo
>>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Alex Tumwesigye
>
> Technical Advisor - DHIS2 (Consultant),
> 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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] pepfar dashboard

2015-03-27 Thread Rodolfo Melia
Hi Lars - is the new URL for pepfar dashbaords http://data.pepfar.net/ ? or
is that something different?

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Sun, Jul 20, 2014 at 9:41 AM, Lars Helge Øverland 
wrote:

>
> Hi,
>
> just a heads-up: PEPFAR
> 's
> new dashboard solution went public yesterday, showing key indicators about
> expenditure and performance through maps and charts:
>
> https://dashboard.pepfarii.net
>
> The data source is a DHIS 2 instance and all data is being pulled directly
> from the Analytics Web API resource.
>
> This is a cool example of how public web portals can be developed on top
> of DHIS 2 - something to consider for countries and organisations.
>
> regards,
>
> Lars
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Validation rules in Single Event without Registration

2015-03-16 Thread Rodolfo Melia
I like the idea of having an option to either validate during data entry,
or once the record is completed - each program will have different
requirements.

Regarding stopping the completion of an event: this should probably also be
an option. In some cases a warning is enough, in others you don't want the
entry to proceed/ complete.



*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Mon, Mar 16, 2015 at 9:43 AM, Markus Bekken 
wrote:

> Dear Prosper,
> dabbling with ways to run validation rules, we might discuss where it is
> best to run the rules and show the error messages. One option could be to
> run the validations while the user types data, and show an error message
> next to the field with an error immediately after the value is entered.
> Another would be to run validations at a fixed time, for example when
> completing the event, and show a summary of errors. Any opinions on this?
> Perhaps we need both?
>
> Markus
>
> 16. mar. 2015 kl. 10.31 skrev Abyot Gizaw :
>
> Hi Prosper,
>
> Applying validation rules is not yet ready for both event and tracker
> capture apps - we are working on it.
>
>
> ---
> Thank you,
> Abyot.
>
> On Mon, Mar 16, 2015 at 8:36 AM, Prosper BT  wrote:
>
>> Dear Team,
>>
>> Much as we ca set validation rules for single event without registration,
>> we have not means of running them.
>>
>> Also you provide for validation criteria which is based on attributes and
>> yet we dont have attributes in single event without registration.
>>
>> Regards
>>
>> --
>> Prosper Behumbiize, MPH
>> Phone:+256 414 320076
>> Cell: +256 772 139037
>>  +256 752 751776
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Bug when using ==NULL (is null ) in aggregate query builder

2014-10-14 Thread Rodolfo Melia
Thanks - we updated the servers yesterday night, so the fix should be
deployed.

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Sat, Oct 11, 2014 at 4:01 PM, Tran Chau (HISP Vietnam) <
tran.hispviet...@gmail.com> wrote:

> Hi Prosper,
>
> It is fixed on trunk with revision 17060 and 2.16 version with revision
> 16512.
>
> Please update your code and take a look at it.
> Thank you.
>
> 
>
> Best regards,
> Tran
>
> On Sat, Oct 11, 2014 at 9:12 PM, Tran Chau (HISP Vietnam) <
> tran.hispviet...@gmail.com> wrote:
>
>> Thanks for the snapshot, Prosper.
>>
>> I saw the bug now. I am working on it. Will inform you when I finish.
>>
>> On Sat, Oct 11, 2014 at 8:59 PM, Prosper BT  wrote:
>>
>>> Hi Tran,
>>>
>>> Am running it both on the demo and dev servers, on testing the
>>> expressions it fails see snap shot below and attached pdf
>>>
>>> [image: Inline image 1]
>>>
>>> On Sat, Oct 11, 2014 at 4:48 PM, Tran Chau (HISP Vietnam) <
>>> tran.hispviet...@gmail.com> wrote:
>>>
>>>> Hi Prosper,
>>>>
>>>> *[DE:1.2.3] is null *works fine.
>>>>
>>>> On Sat, Oct 11, 2014 at 8:24 PM, Prosper BT  wrote:
>>>>
>>>>> Thanks Tran
>>>>>
>>>>> the one that doesnt work is *[DE:1.2.3] is null*
>>>>>
>>>>> On Sat, Oct 11, 2014 at 2:29 PM, Tran Chau (HISP Vietnam) <
>>>>> tran.hispviet...@gmail.com> wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> This one *[DE:1.2.3] != null *doesn't work .
>>>>>> Aggregate functionality works with formula  *[DE:1.2.3] is not null*.
>>>>>>
>>>>>> Best regard,
>>>>>>
>>>>>> Tran
>>>>>>
>>>>>> On Sat, Oct 11, 2014 at 5:06 PM, Rodolfo Melia 
>>>>>> wrote:
>>>>>>
>>>>>>> Adding Juan and Jose, who has dealt with similar situations.
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Oct 10, 2014 at 7:10 PM, Prosper BT 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Using 2.16 demo server, build not specified, there is an error
>>>>>>>>> when dealing with data elements and trying to aggregate when data 
>>>>>>>>> elements
>>>>>>>>> are null.
>>>>>>>>>
>>>>>>>>> ([DE:2005727.*.2005735]  is null )
>>>>>>>>>
>>>>>>>>> Can you check it works for !=NULL
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>> --
>>>>>>>>> Prosper Behumbiize, MPH
>>>>>>>>> Phone:+256 414 320076
>>>>>>>>> Cell: +256 772 139037
>>>>>>>>>  +256 752 751776
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Prosper Behumbiize, MPH
>>>>> Phone:+256 414 320076
>>>>> Cell: +256 772 139037
>>>>>  +256 752 751776
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Prosper Behumbiize, MPH
>>> Phone:+256 414 320076
>>> Cell: +256 772 139037
>>>  +256 752 751776
>>>
>>>
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Bug when using ==NULL (is null ) in aggregate query builder

2014-10-11 Thread Rodolfo Melia
Adding Juan and Jose, who has dealt with similar situations.

>
>
> On Fri, Oct 10, 2014 at 7:10 PM, Prosper BT  wrote:
>
>> Using 2.16 demo server, build not specified, there is an error when
>> dealing with data elements and trying to aggregate when data elements are
>> null.
>>
>> ([DE:2005727.*.2005735]  is null )
>>
>> Can you check it works for !=NULL
>>
>> Regards
>> --
>> Prosper Behumbiize, MPH
>> Phone:+256 414 320076
>> Cell: +256 772 139037
>>  +256 752 751776
>>
>>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Bug when using ==NULL (is null ) in aggregate query builder

2014-10-11 Thread Rodolfo Melia
Adding Juan and Jose, who has dealt with similar situations.

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Fri, Oct 10, 2014 at 7:10 PM, Prosper BT  wrote:

> Using 2.16 demo server, build not specified, there is an error when
> dealing with data elements and trying to aggregate when data elements are
> null.
>
> ([DE:2005727.*.2005735]  is null )
>
> Can you check it works for !=NULL
>
> Regards
> --
> Prosper Behumbiize, MPH
> Phone:+256 414 320076
> Cell: +256 772 139037
>  +256 752 751776
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Analytics: This Week, This Month, Future Periods

2014-09-24 Thread Rodolfo Melia
Hi Jan - I'm confused. We wanted for options This Week/ Month to show the
data for this week/ month. Your email says that This month shows data for
Last month

*R*

On Wed, Sep 24, 2014 at 4:49 PM, Jan Henrik Øverland <
janhenrik.overl...@gmail.com> wrote:

> Hi, a quick update:
>
> - A bug in *event* analytics where "last month" were showing the current
> month is now fixed in trunk and 2.16.
>
> - Bram, I agree that "last quarter" and "last six-month" could be a bit
> confusing. However, the deal is that when you are in the first month of the
> current period the previous period is shown. When you enter the second
> month of the current period the current period is shown instead. As long as
> we don't have this/last for all relative period types most users seem to
> want it that way.
>
> The ultimate goal is of course to let the user select any number of any
> relative periods, but that requires heavy changes to the back end. We could
> take the time to implement this/last for all relative periods before that,
> but that will in turn eliminate the compromise solution we have now..
>
> On Tue, Sep 2, 2014 at 5:39 PM, Rodolfo Melia  wrote:
>
>> Thanks Jan - PSI servers should be in 2.16 later this month.
>>
>> *Rodolfo Meliá*
>> *Principal  |  *rme...@knowming.com
>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>> www.knowming.com
>>
>>
>> On Tue, Sep 2, 2014 at 4:37 PM, Jan Henrik Øverland <
>> janhenrik.overl...@gmail.com> wrote:
>>
>>> Future periods are now in trunk and backported to 2.16. Relative periods
>>> will take some more time.
>>>
>>>
>>> On Mon, Sep 1, 2014 at 10:28 PM, Rodolfo Melia 
>>> wrote:
>>>
>>>> Thanks Jan - we will try to plan for an update.
>>>>
>>>> *Rodolfo Meliá*
>>>> *Principal  |  *rme...@knowming.com
>>>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>>>> www.knowming.com
>>>>
>>>>
>>>> On Mon, Sep 1, 2014 at 7:00 PM, Jan Henrik Øverland <
>>>> janhenrik.overl...@gmail.com> wrote:
>>>>
>>>>> I am sure we can add those as well. Bram, you are right, that should
>>>>> be fixed too. Will try to find some time for it this week.
>>>>>
>>>>>
>>>>> On Mon, Sep 1, 2014 at 6:23 PM, Rodolfo Melia 
>>>>> wrote:
>>>>>
>>>>>> Hi Jan - we should be updating our servers soon, so I will look for
>>>>>> the fix on the next couple of days.
>>>>>>
>>>>>> About This Week/ This Month/ This Bi Month/ This Quarter - you didn't
>>>>>> reply to that piece. Is that being added?
>>>>>> Again, we have some programs/ datasets with near-real time data, so
>>>>>> we need dashboard favourites  for this week/ this month.
>>>>>>
>>>>>> R
>>>>>>
>>>>>> *Rodolfo Meliá*
>>>>>> *Principal  |  *rme...@knowming.com
>>>>>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>>>>>> www.knowming.com
>>>>>>
>>>>>>
>>>>>> On Mon, Sep 1, 2014 at 11:48 AM, Jan Henrik Øverland <
>>>>>> janhenrik.overl...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Rodolfo,
>>>>>>>
>>>>>>> On Wed, Aug 27, 2014 at 11:33 PM, Rodolfo Melia >>>>>> > wrote:
>>>>>>>
>>>>>>>> Hi - we are developing dashboards that incorporates near real-time
>>>>>>>> data (e.g. daily data, with 24hrs delay for it to get to the data 
>>>>>>>> values
>>>>>>>> table). We need the dashboards to show some charts with the values for 
>>>>>>>> THIS
>>>>>>>> WEEK and THIS MONTH - these options are not available on the analytics.
>>>>>>>> Would it be possible to incorporate them?
>>>>>>>>
>>>>>>>> On a separate exercise, we have performance targets that are set
>>>>>>>> until the end of 2014 or 2015. We also have projections that are based 
>>>>>>>> on
>>>>>>>> those numbers. At the moment, YOU CANNOT select a period beyond the 
>>>>>>>> CURRENT
>>>>>>>> month/ year (see below). Would it be possible to open the analytics 
>>>>>>>> engine
>>>>>>>> with the possibility of selecting periods beyond the current month?
>>>>>>>>
>>>>>>>
>>>>>>> Agree that future periods should be available. I suggest the
>>>>>>> following changes:
>>>>>>>
>>>>>>> - Show all periods in the current year by default when a period type
>>>>>>> is selected
>>>>>>> - Allow the next year button to get periods from future years
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> [image: Inline image 1]
>>>>>>>>
>>>>>>>> These applies to both, 2.15 and 2.16 (I checked on both)
>>>>>>>>
>>>>>>>>
>>>>>>>> Rodolfo
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>>>> Post to : dhis2-devs@lists.launchpad.net
>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] DHIS2 - Averaging over orgunits

2014-09-24 Thread Rodolfo Melia
The problem with that approach is that the function is not available on
Pivot Tables or Event Visualizer, where people need it.. Anyway, nice to
know that you can call it via the SQL views.

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Wed, Sep 24, 2014 at 11:03 AM, Bob Jolliffe 
wrote:

> You could install the function into the database through the postgres
> backend.
>
> Then you can include the function into select statements.  For example:
>
> select organisationunit.name, getLatestPopulation(
> organisationunit.organisationunitid).value from organisationunit;
>
> On 24 September 2014 10:22, Adebusoye Anifalaje  wrote:
>
>> Hi Bob,
>>
>> I do not suppose you could use this statement in the sqlview since that’s
>> limited to Select statements. I recall Jason mentioned that the only way
>> they are able to manage a WASH Program needing just the last current value
>> is to dump the data and post updates though the web api. This seems to be
>> way too much maintenance and would be better if one could use an sql
>> statement like yours instead.
>>
>> Thanks
>>
>> Regards,
>> Busoye
>> On 24 Sep 2014, at 10:16, Bob Jolliffe  wrote:
>>
>> For what its worth the following is the sql I used to extract the latest
>> value of a population dataelement.  I am sure it could be generalized and
>> maybe implemented as a getLastValue method on a dataelement.
>>
>>  ---
>> -- function returns most recent population estimate (and year) for
>> -- an orgunitid
>> ---
>> CREATE OR REPLACE FUNCTION getLatestPopulation(orgunitid int, out value,
>> out year)
>> AS $$
>> BEGIN
>>   SELECT DISTINCT ON (sourceid)
>> value as population,
>> extract(year from startdate)
>>   INTO
>> value, year
>>   FROM datavalue
>> join period on period.periodid=datavalue.periodid
>> join organisationunit on
>> organisationunit.organisationunitid=datavalue.sourceid
>> join dataelement on dataelement.dataelementid=datavalue.dataelementid
>>   WHERE
>> organisationunit.organisationunitid = orgunitid AND
>> -- better to use domething like dataelement.code='POP'
>> -- better still to parameterize it
>> dataelement.name ='Population Total' AND
>> extract(year from startdate) <= extract('year' from current_timestamp)
>>   ORDER BY sourceid,startdate DESC;
>> END
>>
>> On 24 September 2014 09:55, Rodolfo Melia  wrote:
>>
>>> Hi Lars - I had a quick look in trunk. When editing a Data Element, I
>>> still only see one Aggregation Operator. I was expecting to find two: one
>>> for controlling the operator of aggregations across time, a second selector
>>> for the aggregator across Org Units...
>>>
>>> In terms of priorities, below my list:
>>> 1. Sum + Avg
>>> 2. Count (You could have two type of counts: Different to 0 or Null, 2.
>>> Different to Null
>>> 3. LAST (across time only)
>>> 4. Std Deviation
>>> 5. everything else
>>>
>>> *Rodolfo Meliá*
>>> *Principal  |  *rme...@knowming.com
>>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>>> www.knowming.com
>>>
>>> On Wed, Sep 24, 2014 at 8:47 AM, Lars Helge Øverland <
>>> larshe...@gmail.com> wrote:
>>>
>>>> Hi there,
>>>>
>>>> we have implemented support for a "true" average aggregation operator
>>>> in trunk now, which will average across both time and org unit dimensions.
>>>>
>>>> The existing average operator has been renamed to "Average (sum in
>>>> organisation unit hierarchy)" in the UI.
>>>>
>>>> This will be part of 2.17.
>>>>
>>>> regards,
>>>>
>>>> Lars
>>>>
>>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] DHIS2 - Averaging over orgunits

2014-09-24 Thread Rodolfo Melia
Or have it as part of the aggregator operators... That's the dream


Rodolfo Meliá
+44 777 576 4090 | +1 708 872-7636

Please ignore any typos on this email sent from my mobile, probably written 
while I was at the park with the kids, at the airport walking to the gate, or 
sleepless (although exhausted). Grammatical faults? I'm sorry- I do my best

> On 24 Sep 2014, at 10:22, Adebusoye Anifalaje  wrote:
> 
> Hi Bob,
> 
> I do not suppose you could use this statement in the sqlview since that’s 
> limited to Select statements. I recall Jason mentioned that the only way they 
> are able to manage a WASH Program needing just the last current value is to 
> dump the data and post updates though the web api. This seems to be way too 
> much maintenance and would be better if one could use an sql statement like 
> yours instead.
> 
> Thanks
> 
> Regards,
> Busoye
>> On 24 Sep 2014, at 10:16, Bob Jolliffe  wrote:
>> 
>> For what its worth the following is the sql I used to extract the latest 
>> value of a population dataelement.  I am sure it could be generalized and 
>> maybe implemented as a getLastValue method on a dataelement.
>> 
>>  ---
>> -- function returns most recent population estimate (and year) for
>> -- an orgunitid
>> ---
>> CREATE OR REPLACE FUNCTION getLatestPopulation(orgunitid int, out value, out 
>> year)
>> AS $$
>> BEGIN
>>   SELECT DISTINCT ON (sourceid)
>> value as population,
>> extract(year from startdate)
>>   INTO
>> value, year
>>   FROM datavalue
>> join period on period.periodid=datavalue.periodid
>> join organisationunit on 
>> organisationunit.organisationunitid=datavalue.sourceid
>> join dataelement on dataelement.dataelementid=datavalue.dataelementid
>>   WHERE
>> organisationunit.organisationunitid = orgunitid AND
>> -- better to use domething like dataelement.code='POP'
>> -- better still to parameterize it
>> dataelement.name ='Population Total' AND
>> extract(year from startdate) <= extract('year' from current_timestamp)
>>   ORDER BY sourceid,startdate DESC;
>> END
>> 
>>> On 24 September 2014 09:55, Rodolfo Melia  wrote:
>>> Hi Lars - I had a quick look in trunk. When editing a Data Element, I still 
>>> only see one Aggregation Operator. I was expecting to find two: one for 
>>> controlling the operator of aggregations across time, a second selector for 
>>> the aggregator across Org Units...
>>> 
>>> In terms of priorities, below my list:
>>> 1. Sum + Avg
>>> 2. Count (You could have two type of counts: Different to 0 or Null, 2. 
>>> Different to Null
>>> 3. LAST (across time only)
>>> 4. Std Deviation
>>> 5. everything else
>>> 
>>> Rodolfo Meliá
>>> Principal  |  rme...@knowming.com
>>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>>> www.knowming.com
>>> 
>>>> On Wed, Sep 24, 2014 at 8:47 AM, Lars Helge Øverland  
>>>> wrote:
>>>> Hi there,
>>>> 
>>>> we have implemented support for a "true" average aggregation operator in 
>>>> trunk now, which will average across both time and org unit dimensions.
>>>> 
>>>> The existing average operator has been renamed to "Average (sum in 
>>>> organisation unit hierarchy)" in the UI.
>>>> 
>>>> This will be part of 2.17.
>>>> 
>>>> regards,
>>>> 
>>>> Lars
>>> 
>>> 
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>> 
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
> 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS2 - Averaging over orgunits

2014-09-24 Thread Rodolfo Melia
Hi Lars - I had a quick look in trunk. When editing a Data Element, I still
only see one Aggregation Operator. I was expecting to find two: one for
controlling the operator of aggregations across time, a second selector for
the aggregator across Org Units...

In terms of priorities, below my list:
1. Sum + Avg
2. Count (You could have two type of counts: Different to 0 or Null, 2.
Different to Null
3. LAST (across time only)
4. Std Deviation
5. everything else

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Wed, Sep 24, 2014 at 8:47 AM, Lars Helge Øverland 
wrote:

> Hi there,
>
> we have implemented support for a "true" average aggregation operator in
> trunk now, which will average across both time and org unit dimensions.
>
> The existing average operator has been renamed to "Average (sum in
> organisation unit hierarchy)" in the UI.
>
> This will be part of 2.17.
>
> regards,
>
> Lars
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1373147] [NEW] Pivot Table: data elements panel doesn't populate when details is selected

2014-09-23 Thread Rodolfo Melia
Public bug reported:

See attached image

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: "Screen Shot 2014-09-23 at 22.52.50.png"
   
https://bugs.launchpad.net/bugs/1373147/+attachment/4212877/+files/Screen%20Shot%202014-09-23%20at%2022.52.50.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1373147

Title:
  Pivot Table: data elements panel doesn't populate when details is
  selected

Status in DHIS 2:
  New

Bug description:
  See attached image

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1373147/+subscriptions

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


Re: [Dhis2-devs] DHIS2 - Averaging over orgunits

2014-09-06 Thread Rodolfo Melia
Hi - i just want to add support to the importance of splitting the aggregator 
operator across time and org units. I'm planning around its availability for 
2.17

Rodolfo Meliá


> On 5 Sep 2014, at 17:26, Robin Martens  wrote:
> 
> Hi Lars,
>  
> Thank you. I thought so but couldn't find the reference.
>  
> In the blueprint it is assigned to release 2.17, is this still being 
> maintained?
>  
> Regards,
>  
> Robin
>  
> From: Lars Helge Øverland [mailto:larshe...@gmail.com] 
> Sent: 05 September 2014 18:24
> To: Robin Martens
> Cc: dhis2-users; dhis2-devs@lists.launchpad.net
> Subject: Re: DHIS2 - Averaging over orgunits
>  
> Hi Robin,
>  
> I get your point. This has actually been raised before and we plan to support 
> individual aggregation operators for the org unit and time dimensions. 
> Blueprint here:
>  
> https://blueprints.launchpad.net/dhis2/+spec/orgunit-hierarchy-aggregation-operator
>  
> regards,
> 
> Lars
>  
>  
>  
>  
>  
> 
> On Thu, Sep 4, 2014 at 12:49 PM, Robin Martens  wrote:
> Hi there,
>  
> As per the manual, the "average" option when defining data elements 
> aggregates by average over periods but sum over orgunits. This limits 
> severely the reporting possibilities, for instance when calculating the 
> average person age over multiple districts but I can think of many other 
> examples (prices, age, education grades,...). Is there any way to configure 
> DHIS2 to average over orgunits?
>  
> Thank you,
>  
> Robin
>  
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Analytics: This Week, This Month, Future Periods

2014-09-02 Thread Rodolfo Melia
Thanks Jan - PSI servers should be in 2.16 later this month.

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Tue, Sep 2, 2014 at 4:37 PM, Jan Henrik Øverland <
janhenrik.overl...@gmail.com> wrote:

> Future periods are now in trunk and backported to 2.16. Relative periods
> will take some more time.
>
>
> On Mon, Sep 1, 2014 at 10:28 PM, Rodolfo Melia 
> wrote:
>
>> Thanks Jan - we will try to plan for an update.
>>
>> *Rodolfo Meliá*
>> *Principal  |  *rme...@knowming.com
>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>> www.knowming.com
>>
>>
>> On Mon, Sep 1, 2014 at 7:00 PM, Jan Henrik Øverland <
>> janhenrik.overl...@gmail.com> wrote:
>>
>>> I am sure we can add those as well. Bram, you are right, that should be
>>> fixed too. Will try to find some time for it this week.
>>>
>>>
>>> On Mon, Sep 1, 2014 at 6:23 PM, Rodolfo Melia 
>>> wrote:
>>>
>>>> Hi Jan - we should be updating our servers soon, so I will look for the
>>>> fix on the next couple of days.
>>>>
>>>> About This Week/ This Month/ This Bi Month/ This Quarter - you didn't
>>>> reply to that piece. Is that being added?
>>>> Again, we have some programs/ datasets with near-real time data, so we
>>>> need dashboard favourites  for this week/ this month.
>>>>
>>>> R
>>>>
>>>> *Rodolfo Meliá*
>>>> *Principal  |  *rme...@knowming.com
>>>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>>>> www.knowming.com
>>>>
>>>>
>>>> On Mon, Sep 1, 2014 at 11:48 AM, Jan Henrik Øverland <
>>>> janhenrik.overl...@gmail.com> wrote:
>>>>
>>>>> Hi Rodolfo,
>>>>>
>>>>> On Wed, Aug 27, 2014 at 11:33 PM, Rodolfo Melia 
>>>>> wrote:
>>>>>
>>>>>> Hi - we are developing dashboards that incorporates near real-time
>>>>>> data (e.g. daily data, with 24hrs delay for it to get to the data values
>>>>>> table). We need the dashboards to show some charts with the values for 
>>>>>> THIS
>>>>>> WEEK and THIS MONTH - these options are not available on the analytics.
>>>>>> Would it be possible to incorporate them?
>>>>>>
>>>>>> On a separate exercise, we have performance targets that are set
>>>>>> until the end of 2014 or 2015. We also have projections that are based on
>>>>>> those numbers. At the moment, YOU CANNOT select a period beyond the 
>>>>>> CURRENT
>>>>>> month/ year (see below). Would it be possible to open the analytics 
>>>>>> engine
>>>>>> with the possibility of selecting periods beyond the current month?
>>>>>>
>>>>>
>>>>> Agree that future periods should be available. I suggest the following
>>>>> changes:
>>>>>
>>>>> - Show all periods in the current year by default when a period type
>>>>> is selected
>>>>> - Allow the next year button to get periods from future years
>>>>>
>>>>>
>>>>>>
>>>>>> [image: Inline image 1]
>>>>>>
>>>>>> These applies to both, 2.15 and 2.16 (I checked on both)
>>>>>>
>>>>>>
>>>>>> Rodolfo
>>>>>>
>>>>>> ___
>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>> Post to : dhis2-devs@lists.launchpad.net
>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Analytics: This Week, This Month, Future Periods

2014-09-01 Thread Rodolfo Melia
Thanks Jan - we will try to plan for an update.

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Mon, Sep 1, 2014 at 7:00 PM, Jan Henrik Øverland <
janhenrik.overl...@gmail.com> wrote:

> I am sure we can add those as well. Bram, you are right, that should be
> fixed too. Will try to find some time for it this week.
>
>
> On Mon, Sep 1, 2014 at 6:23 PM, Rodolfo Melia  wrote:
>
>> Hi Jan - we should be updating our servers soon, so I will look for the
>> fix on the next couple of days.
>>
>> About This Week/ This Month/ This Bi Month/ This Quarter - you didn't
>> reply to that piece. Is that being added?
>> Again, we have some programs/ datasets with near-real time data, so we
>> need dashboard favourites  for this week/ this month.
>>
>> R
>>
>> *Rodolfo Meliá*
>> *Principal  |  *rme...@knowming.com
>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>> www.knowming.com
>>
>>
>> On Mon, Sep 1, 2014 at 11:48 AM, Jan Henrik Øverland <
>> janhenrik.overl...@gmail.com> wrote:
>>
>>> Hi Rodolfo,
>>>
>>> On Wed, Aug 27, 2014 at 11:33 PM, Rodolfo Melia 
>>> wrote:
>>>
>>>> Hi - we are developing dashboards that incorporates near real-time data
>>>> (e.g. daily data, with 24hrs delay for it to get to the data values table).
>>>> We need the dashboards to show some charts with the values for THIS WEEK
>>>> and THIS MONTH - these options are not available on the analytics. Would it
>>>> be possible to incorporate them?
>>>>
>>>> On a separate exercise, we have performance targets that are set until
>>>> the end of 2014 or 2015. We also have projections that are based on those
>>>> numbers. At the moment, YOU CANNOT select a period beyond the CURRENT
>>>> month/ year (see below). Would it be possible to open the analytics engine
>>>> with the possibility of selecting periods beyond the current month?
>>>>
>>>
>>> Agree that future periods should be available. I suggest the following
>>> changes:
>>>
>>> - Show all periods in the current year by default when a period type is
>>> selected
>>> - Allow the next year button to get periods from future years
>>>
>>>
>>>>
>>>> [image: Inline image 1]
>>>>
>>>> These applies to both, 2.15 and 2.16 (I checked on both)
>>>>
>>>>
>>>> Rodolfo
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Analytics: This Week, This Month, Future Periods

2014-09-01 Thread Rodolfo Melia
Hi Jan - we should be updating our servers soon, so I will look for the fix
on the next couple of days.

About This Week/ This Month/ This Bi Month/ This Quarter - you didn't reply
to that piece. Is that being added?
Again, we have some programs/ datasets with near-real time data, so we need
dashboard favourites  for this week/ this month.

R

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Mon, Sep 1, 2014 at 11:48 AM, Jan Henrik Øverland <
janhenrik.overl...@gmail.com> wrote:

> Hi Rodolfo,
>
> On Wed, Aug 27, 2014 at 11:33 PM, Rodolfo Melia 
> wrote:
>
>> Hi - we are developing dashboards that incorporates near real-time data
>> (e.g. daily data, with 24hrs delay for it to get to the data values table).
>> We need the dashboards to show some charts with the values for THIS WEEK
>> and THIS MONTH - these options are not available on the analytics. Would it
>> be possible to incorporate them?
>>
>> On a separate exercise, we have performance targets that are set until
>> the end of 2014 or 2015. We also have projections that are based on those
>> numbers. At the moment, YOU CANNOT select a period beyond the CURRENT
>> month/ year (see below). Would it be possible to open the analytics engine
>> with the possibility of selecting periods beyond the current month?
>>
>
> Agree that future periods should be available. I suggest the following
> changes:
>
> - Show all periods in the current year by default when a period type is
> selected
> - Allow the next year button to get periods from future years
>
>
>>
>> [image: Inline image 1]
>>
>> These applies to both, 2.15 and 2.16 (I checked on both)
>>
>>
>> Rodolfo
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Relative Periods in Pivot Tables & reports

2014-08-30 Thread Rodolfo Melia
Hi - I like the flexibility of the original idea by Maheed - "last X
months". In the projects that I'm involved, I always get a request for last
6 months... perhaps weeks, months and quarters could have a drop down from
1 to 24... You may be save some space on the screen.

On the same topic, I recently wrote about the need for 'This Week / Month/
Quarter'- we need an option to include the current period. After all, we
already have 'This Year'.

Last, beside 'This Year', there is also the need of YTD (year to date).
This is useful for Data Elements that store target information, entered in
advanced. They are used as denominators on indicators, and sometime we need
to calculate up to the current week/month/ quarter. Example: I have target
info for Jan-Dec. "YTD" should used the info up-to Aug; "This year" should
continue using up to Dec.

In terms of scheduling, a drastic change like a drop down with values for
the number of previous month/weeks/quarters that you may want to include,
may have to wait until 2.17. But I will really appreciate if "This
Month/Week/Quarter" makes it to the 2.16

Regards,

Rodolfo



*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Fri, Aug 29, 2014 at 5:03 PM, Lars Helge Øverland 
wrote:

>
> Hi Maheed,
>
> yes I think we can improve on this.
>
> A minor note, if you want data dynamically starting at month x, then is a
> relative period option "last x months" what you need to keep it dynamic?
> Wouldn't it rather be "months since x" ?
>
> What if we simply made a new relative period "last 24 months", would that
> be good enough?
>
> best regards,
>
> Lars
>
>
>
>
>
> On Fri, Aug 29, 2014 at 1:38 PM, Maheed Ramadan 
> wrote:
>
>>  Dear All,
>>
>>
>>
>> As I see in pivot tables and almost all reporting modules that if we need
>> to use relative periods, the maximum months we can view backwards is 12
>> Months (relative to the reporting period).
>>
>>
>>
>> I have a requirement that I need to show monthly data for more than 12
>> months backwards. For example, I need to dynamically show data starting at
>> month X year Y up till the current reporting month. Is there a possibility
>> that we can have an option like “Last X months” and specify the value of
>> X.?
>>
>>
>>
>> I think this is very important feature to have because it allows us to
>> show relative data that spans more than 12 month of time in a single report.
>>
>> At our organization, we have data based on projects spanning more than a
>> year, so if we want to show an indicator history over the time of the
>> project, we need to show the data from the start of the project up till
>> current month.
>>
>>
>>
>> Awaiting your feedback.
>>
>>
>>
>> Thank you
>>
>>
>>
>> Maheed.
>>
>>
>>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Analytics: This Week, This Month, Future Periods

2014-08-27 Thread Rodolfo Melia
Hi - we are developing dashboards that incorporates near real-time data
(e.g. daily data, with 24hrs delay for it to get to the data values table).
We need the dashboards to show some charts with the values for THIS WEEK
and THIS MONTH - these options are not available on the analytics. Would it
be possible to incorporate them?

On a separate exercise, we have performance targets that are set until the
end of 2014 or 2015. We also have projections that are based on those
numbers. At the moment, YOU CANNOT select a period beyond the CURRENT
month/ year (see below). Would it be possible to open the analytics engine
with the possibility of selecting periods beyond the current month?

[image: Inline image 1]

These applies to both, 2.15 and 2.16 (I checked on both)


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


Re: [Dhis2-devs] 2.16 Event Capture app

2014-08-21 Thread Rodolfo Melia
About the form name: in the previous version, and similar to the behaviour
of Data Sets on the aggregated side, if a Data Element has a value on the
field 'Form Name', that's the label that it is rendered on the data-entry
screen. At the moment the Data Element name (which I referred on my email
as full name) is the one that it is showing, ignoring the 'Form Name'
value. - sorry for any confusion.



*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Thu, Aug 21, 2014 at 11:54 AM, Abyot Gizaw  wrote:

> Since these are quite a number of features, hence a bit of work, fixing
> them in trunk/2.17 is easier. but if you insist for 2.16 as well, I will
> try to replicate.
>
> just a question on the form name part - what do you mean "instead it uses
> the full name"? I know the form name is not displayed, so you want that to
> be displayed?
>
>
> On Thu, Aug 21, 2014 at 12:30 PM, Rodolfo Melia 
> wrote:
>
>> Hi Abyot - that's great news. I guess that we are talking about 2.17? or
>> are they likely to make it to 2.16?
>>
>> R
>>
>> *Rodolfo Meliá*
>> *Principal  |  *rme...@knowming.com
>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>> www.knowming.com
>>
>>
>> On Thu, Aug 21, 2014 at 7:56 AM, Abyot Gizaw  wrote:
>>
>>> Hi Rodolfo,
>>>
>>> Thank you for the feedback. Yes those features are missing, will try to
>>> implement them.
>>>
>>> Abyot.
>>>
>>>
>>>  On Thu, Aug 21, 2014 at 12:35 AM, Rodolfo Melia 
>>> wrote:
>>>
>>>>  Hi - we have been working with the latest 2.16 (Aug 20), and we
>>>> noticed a couple of omissions (or bugs?) on the event capture app:
>>>>
>>>>- Listing page: date is not displayed as a column – we think it
>>>>will be nice to have it there as a column - otherwise you need to edit 
>>>> the
>>>>event to figure out the actual date.
>>>>- Radio buttons at Data Entry Time: the option to render controls
>>>>as radio buttons doesn’t seem to work - they always display as drop 
>>>> downs
>>>>- Form names don’t render on the form - instead it uses the full
>>>>name
>>>>- Form section don't render
>>>>
>>>> if possible, let us know if they are likely to be fixed now, or if they
>>>> will be part of future (2.17) version.
>>>>
>>>> Rodolfo & EH
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Missing DataValues when we add 'Categories' dimenssion in the layout

2014-08-21 Thread Rodolfo Melia
Jan - thanks so much.
I've tested with latest 2.16 and details columns now render data.

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Wed, Aug 20, 2014 at 2:22 PM, Jan Henrik Øverland <
janhenrik.overl...@gmail.com> wrote:

> I have also added load masks on the "available" panel for indicators, data
> elements etc.
>
>
> On Wed, Aug 20, 2014 at 12:17 PM, Jan Henrik Øverland <
> janhenrik.overl...@gmail.com> wrote:
>
>> Hi, this is now fixed in the affected versions.
>>
>>
>> On Tue, Aug 19, 2014 at 3:47 PM, Juan Manuel Alcantara Acosta <
>> jmalcanta...@gmail.com> wrote:
>>
>>> Ah! I see what you mean. I was able to get a result using the data
>>> element (total) and assigned categories in columns but selecting a specific
>>> data element with cat combination in details doesn’t render the data, yes
>>> this is new.
>>> Best regards,
>>> JM
>>>
>>> El 19/08/2014, a las 04:13, Rodolfo Melia 
>>> escribió:
>>>
>>> Hi - I just tested again.
>>> It does take a while to load (6-10secs) But the issue that I'm reporting
>>> is that that the pivot table doesn't populate with data. See images below
>>>
>>>  
>>>
>>> 
>>>
>>> *Rodolfo Meliá*
>>> *Principal  |  *rme...@knowming.com
>>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>>> www.knowming.com
>>>
>>>
>>> On Tue, Aug 19, 2014 at 4:31 AM, Juan Manuel Alcantara Acosta <
>>> jmalcanta...@gmail.com> wrote:
>>>
>>>> Hi Rodolfo
>>>> I tested this in https://apps.dhis2.org/demo/
>>>> <https://apps.dhis2.org/demo/dhis-web-pivot/app/index.html> and it
>>>> works but it takes around 15 seconds to load the list of data elements when
>>>> you select details, it certainly gives the impression that it doesn’t work.
>>>> By the way, the update of www and dev2 is still pending, we should be
>>>> running build #130 dated August 13, 2014
>>>> Best regards,
>>>> JM
>>>> El 18/08/2014, a las 19:13, Rodolfo Melia 
>>>> escribió:
>>>>
>>>> Hi this problem got sorted for 2.15 (at least I know it works for Build
>>>> revision: 15196  /   2014-07-25 02:06), but seems to be back on 2.16.  I
>>>> just tested at https://apps.dhis2.org/demo/
>>>> <https://apps.dhis2.org/demo/dhis-web-pivot/app/index.html> and
>>>> observed the same problem that Jose originally reported - the details don't
>>>> show.
>>>> I'm having this problem in the following servers
>>>> - PSI staging: v2.16: Build revision: 16320  /  2014-08-16 02:04
>>>> - EH: v2.16 Build revision: 16320 / 2014-08-16 02:04
>>>>
>>>> *Rodolfo Meliá*
>>>> *Principal  |  *rme...@knowming.com
>>>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>>>> www.knowming.com
>>>>
>>>>
>>>> On Thu, Jul 31, 2014 at 10:54 AM, Jose Garcia Muñoz >>> > wrote:
>>>>
>>>>>
>>>>> Hi guys,
>>>>>
>>>>> any feedback on this?
>>>>>
>>>>> Regards
>>>>> Jose
>>>>>
>>>>>
>>>>> On Sat, Jul 12, 2014 at 12:36 PM, Jose Garcia Muñoz <
>>>>> josem...@gmail.com> wrote:
>>>>>
>>>>>>
>>>>>> Dear all,
>>>>>>
>>>>>> in pivot tables when we add the 'Categories' dimenssion to the
>>>>>> layouts, the values are not showed. I have tested it in Sierra Leone 
>>>>>> Demo.
>>>>>>
>>>>>>
>>>>>> Without categories
>>>>>>
>>>>>> 
>>>>>>
>>>>>> With categories
>>>>>>
>>>>>> 
>>>>>>
>>>>>> Am I missing something? or do we have a bug here?
>>>>>>
>>>>>> Thanks
>>>>>> Jose
>>>>>>
>>>>>
>>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>>
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] 2.16 Event Capture app

2014-08-21 Thread Rodolfo Melia
Hi Abyot - that's great news. I guess that we are talking about 2.17? or
are they likely to make it to 2.16?

R

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Thu, Aug 21, 2014 at 7:56 AM, Abyot Gizaw  wrote:

> Hi Rodolfo,
>
> Thank you for the feedback. Yes those features are missing, will try to
> implement them.
>
> Abyot.
>
>
>  On Thu, Aug 21, 2014 at 12:35 AM, Rodolfo Melia 
> wrote:
>
>>  Hi - we have been working with the latest 2.16 (Aug 20), and we noticed
>> a couple of omissions (or bugs?) on the event capture app:
>>
>>- Listing page: date is not displayed as a column – we think it will
>>be nice to have it there as a column - otherwise you need to edit the 
>> event
>>to figure out the actual date.
>>- Radio buttons at Data Entry Time: the option to render controls as
>>radio buttons doesn’t seem to work - they always display as drop downs
>>- Form names don’t render on the form - instead it uses the full name
>>- Form section don't render
>>
>> if possible, let us know if they are likely to be fixed now, or if they
>> will be part of future (2.17) version.
>>
>> Rodolfo & EH
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] 2.16 Event Capture app

2014-08-20 Thread Rodolfo Melia
Hi - we have been working with the latest 2.16 (Aug 20), and we noticed a
couple of omissions (or bugs?) on the event capture app:

   - Listing page: date is not displayed as a column – we think it will be
   nice to have it there as a column - otherwise you need to edit the event to
   figure out the actual date.
   - Radio buttons at Data Entry Time: the option to render controls as
   radio buttons doesn’t seem to work - they always display as drop downs
   - Form names don’t render on the form - instead it uses the full name
   - Form section don't render

if possible, let us know if they are likely to be fixed now, or if they
will be part of future (2.17) version.

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


Re: [Dhis2-devs] Missing DataValues when we add 'Categories' dimenssion in the layout

2014-08-18 Thread Rodolfo Melia
Hi this problem got sorted for 2.15 (at least I know it works for Build
revision: 15196  /   2014-07-25 02:06), but seems to be back on 2.16.  I
just tested at https://apps.dhis2.org/demo/
 and observed
the same problem that Jose originally reported - the details don't show.
I'm having this problem in the following servers
- PSI staging: v2.16: Build revision: 16320  /  2014-08-16 02:04
- EH: v2.16 Build revision: 16320 / 2014-08-16 02:04

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Thu, Jul 31, 2014 at 10:54 AM, Jose Garcia Muñoz 
wrote:

>
> Hi guys,
>
> any feedback on this?
>
> Regards
> Jose
>
>
> On Sat, Jul 12, 2014 at 12:36 PM, Jose Garcia Muñoz 
> wrote:
>
>>
>> Dear all,
>>
>> in pivot tables when we add the 'Categories' dimenssion to the layouts,
>> the values are not showed. I have tested it in Sierra Leone Demo.
>>
>>
>> Without categories
>>
>> [image: Inline image 1]
>>
>> With categories
>>
>> [image: Inline image 2]
>>
>> Am I missing something? or do we have a bug here?
>>
>> Thanks
>> Jose
>>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS - arabic translation

2014-06-06 Thread Rodolfo Melia
Great - didn't know that there was online translation. Thanks!

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Fri, Jun 6, 2014 at 7:04 PM, Jason Pickering  wrote:

> Hi Rodolfo,
> You can have a look here
>
> http://translate.dhis2.net/ar/
>
> Regards,
> Jason
>
>
>
> On Fri, Jun 6, 2014 at 7:54 PM, Rodolfo Melia  wrote:
>
>> Hi - quick question: how many words need to be translated in the system?
>>
>>
>> *Rodolfo Meliá*
>> *Principal  |  *rme...@knowming.com
>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>> www.knowming.com
>>
>>
>> On Thu, Jun 5, 2014 at 10:11 PM, Knut Staring  wrote:
>>
>>> Arabic translation has begun at our online translation  server.  It
>>> would  be great  to  have more help.
>>> On 5 Jun 2014 22:29, "Rodolfo Melia"  wrote:
>>>
>>>> Thanks Lars for the prompt answer. There is an NGO that may be able to
>>>> help with the translation part, as part of the collaboration.
>>>>
>>>> Rodolfo Meliá
>>>> +44 777 576 4090 | +1 708 872-7636 <+1%20708%20872-7636>
>>>>
>>>> Please ignore any typos on this email sent from my mobile, probably
>>>> written while I was at the park with the kids, at the airport walking to
>>>> the gate, or sleepless (although exhausted). Grammatical faults? I'm sorry-
>>>> I do my best
>>>>
>>>> On 5 Jun 2014, at 21:00, Lars Helge Øverland 
>>>> wrote:
>>>>
>>>> Hi Rodolfo,
>>>>
>>>> this requirement came up from WHO EMRO not long ago. It is something we
>>>> would like to implement in not too distant future but had no time for it
>>>> yet.
>>>>
>>>> This will require that we
>>>>
>>>> - create a new DHIS 2 "style", where we flip sides of menus etc. Text
>>>> direction <http://www.w3schools.com/cssref/pr_text_direction.asp> is
>>>> supported in css.
>>>> - translate all strings to arabic
>>>>
>>>> regards,
>>>>
>>>> Lars
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, Jun 5, 2014 at 9:46 PM, Rodolfo Melia 
>>>> wrote:
>>>>
>>>>> Hi - as far as I know DHIS is not in arabic at the moment.
>>>>>
>>>>> Would DHIS support the rendering on the arabic character set,
>>>>> including right/ left flow of the text on screen and data entry, as well 
>>>>> as
>>>>> the rendering of the sub-menu to render on the right?
>>>>>
>>>>> Rodolfo
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to : dhis2-devs@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS - arabic translation

2014-06-06 Thread Rodolfo Melia
Hi - quick question: how many words need to be translated in the system?


*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Thu, Jun 5, 2014 at 10:11 PM, Knut Staring  wrote:

> Arabic translation has begun at our online translation  server.  It would
> be great  to  have more help.
> On 5 Jun 2014 22:29, "Rodolfo Melia"  wrote:
>
>> Thanks Lars for the prompt answer. There is an NGO that may be able to
>> help with the translation part, as part of the collaboration.
>>
>> Rodolfo Meliá
>> +44 777 576 4090 | +1 708 872-7636 <+1%20708%20872-7636>
>>
>> Please ignore any typos on this email sent from my mobile, probably
>> written while I was at the park with the kids, at the airport walking to
>> the gate, or sleepless (although exhausted). Grammatical faults? I'm sorry-
>> I do my best
>>
>> On 5 Jun 2014, at 21:00, Lars Helge Øverland  wrote:
>>
>> Hi Rodolfo,
>>
>> this requirement came up from WHO EMRO not long ago. It is something we
>> would like to implement in not too distant future but had no time for it
>> yet.
>>
>> This will require that we
>>
>> - create a new DHIS 2 "style", where we flip sides of menus etc. Text
>> direction <http://www.w3schools.com/cssref/pr_text_direction.asp> is
>> supported in css.
>> - translate all strings to arabic
>>
>> regards,
>>
>> Lars
>>
>>
>>
>>
>> On Thu, Jun 5, 2014 at 9:46 PM, Rodolfo Melia 
>> wrote:
>>
>>> Hi - as far as I know DHIS is not in arabic at the moment.
>>>
>>> Would DHIS support the rendering on the arabic character set, including
>>> right/ left flow of the text on screen and data entry, as well as the
>>> rendering of the sub-menu to render on the right?
>>>
>>> Rodolfo
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS - arabic translation

2014-06-05 Thread Rodolfo Melia
Thanks Lars for the prompt answer. There is an NGO that may be able to help 
with the translation part, as part of the collaboration. 

Rodolfo Meliá
+44 777 576 4090 | +1 708 872-7636

Please ignore any typos on this email sent from my mobile, probably written 
while I was at the park with the kids, at the airport walking to the gate, or 
sleepless (although exhausted). Grammatical faults? I'm sorry- I do my best

> On 5 Jun 2014, at 21:00, Lars Helge Øverland  wrote:
> 
> Hi Rodolfo,
> 
> this requirement came up from WHO EMRO not long ago. It is something we would 
> like to implement in not too distant future but had no time for it yet.
> 
> This will require that we 
> 
> - create a new DHIS 2 "style", where we flip sides of menus etc. Text 
> direction is supported in css.
> - translate all strings to arabic
> 
> regards,
> 
> Lars
> 
> 
> 
> 
>> On Thu, Jun 5, 2014 at 9:46 PM, Rodolfo Melia  wrote:
>> Hi - as far as I know DHIS is not in arabic at the moment.
>> 
>> Would DHIS support the rendering on the arabic character set, including 
>> right/ left flow of the text on screen and data entry, as well as the 
>> rendering of the sub-menu to render on the right?
>> 
>> Rodolfo
>> 
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
> 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS - arabic translation

2014-06-05 Thread Rodolfo Melia
Hi - as far as I know DHIS is not in arabic at the moment.

Would DHIS support the rendering on the arabic character set, including
right/ left flow of the text on screen and data entry, as well as the
rendering of the sub-menu to render on the right?

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


Re: [Dhis2-devs] [Bug 1323339] [NEW] Group Sharing - search doesn't return any matches

2014-05-26 Thread Rodolfo Melia
Thanks Morten
Steffen - i'm not sure about the auto-update for the upgraded www server. We 
need this fix.


Rodolfo Meliá
+44 777 576 4090 | +1 708 872-7636

Please ignore any typos on this email sent from my mobile, probably
written while I was at the park with the kids, at the airport walking to
the gate, or sleepless (although exhausted). Grammatical faults? I'm
sorry- I do my best

> On 26 May 2014, at 22:40, Morten Olav Hansen <1323...@bugs.launchpad.net> 
> wrote:
> 
> This have now been fixed in latest trunk, and backportet into 2.15
> 
> --
> Morten
> 
> 
> On Mon, May 26, 2014 at 5:37 PM, Morten Olav Hansen wrote:
> 
>> Hm, I see the same issue on our demo server. We will look into it.
>> 
>> --
>> Morten
>> 
>> 
>> On Mon, May 26, 2014 at 5:34 PM, Morten Olav Hansen 
>> wrote:
>> 
>>> Have you tried with the latest 2.15? There was a bug related to upgraded
>>> jquery ui.. Which have been fixed
>>>> On May 26, 2014 5:30 PM, "Rodolfo Melia"  wrote:
>>>> 
>>>> Public bug reported:
>>>> 
>>>> When doing Sharing Mangement from any object, no group is returned. Even
>>>> if you write the full name, you are not allowed to add the group. This
>>>> is happening on all 2.15 servers, including DHIS demo - see attachment
>>>> 
>>>> ** Affects: dhis2
>>>> Importance: Undecided
>>>> Status: New
>>>> 
>>>> ** Attachment added: "Bug Groups.png"
>>>> 
>>>> https://bugs.launchpad.net/bugs/1323339/+attachment/4119908/+files/Bug%20Groups.png
>>>> 
>>>> --
>>>> You received this bug notification because you are subscribed to DHIS.
>>>> https://bugs.launchpad.net/bugs/1323339
>>>> 
>>>> Title:
>>>>  Group Sharing - search doesn't return any matches
>>>> 
>>>> Status in DHIS 2:
>>>>  New
>>>> 
>>>> Bug description:
>>>>  When doing Sharing Mangement from any object, no group is returned.
>>>>  Even if you write the full name, you are not allowed to add the group.
>>>>  This is happening on all 2.15 servers, including DHIS demo - see
>>>>  attachment
>>>> 
>>>> To manage notifications about this bug go to:
>>>> https://bugs.launchpad.net/dhis2/+bug/1323339/+subscriptions
> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1323339
> 
> Title:
>  Group Sharing - search doesn't return any matches
> 
> Status in DHIS 2:
>  New
> 
> Bug description:
>  When doing Sharing Mangement from any object, no group is returned.
>  Even if you write the full name, you are not allowed to add the group.
>  This is happening on all 2.15 servers, including DHIS demo - see
>  attachment
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1323339/+subscriptions

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1323339

Title:
  Group Sharing - search doesn't return any matches

Status in DHIS 2:
  New

Bug description:
  When doing Sharing Mangement from any object, no group is returned.
  Even if you write the full name, you are not allowed to add the group.
  This is happening on all 2.15 servers, including DHIS demo - see
  attachment

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1323339/+subscriptions

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


[Dhis2-devs] [Bug 1323339] [NEW] Group Sharing - search doesn't return any matches

2014-05-26 Thread Rodolfo Melia
Public bug reported:

When doing Sharing Mangement from any object, no group is returned. Even
if you write the full name, you are not allowed to add the group. This
is happening on all 2.15 servers, including DHIS demo - see attachment

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: "Bug Groups.png"
   
https://bugs.launchpad.net/bugs/1323339/+attachment/4119908/+files/Bug%20Groups.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1323339

Title:
  Group Sharing - search doesn't return any matches

Status in DHIS 2:
  New

Bug description:
  When doing Sharing Mangement from any object, no group is returned.
  Even if you write the full name, you are not allowed to add the group.
  This is happening on all 2.15 servers, including DHIS demo - see
  attachment

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1323339/+subscriptions

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


Re: [Dhis2-devs] 'Average' Aggregation does 'Sum' instead

2014-05-19 Thread Rodolfo Melia
This sounds great ! I like the idea of separating the operators to use
across Org Units or across Time.  It sounds like we will gain this feature
just in time for Christmas...

I noticed the new Org Unit count feature on the indicators- this will
address many other needs, but not this one in particular, as I need to use
the number of submitted forms - I will get this through a different data
element, in which to store 1 or 0, so I can divide by the correct number of
answers.

Thanks again - looking forward for 2.17...

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Mon, May 19, 2014 at 8:09 PM, Lars Helge Øverland wrote:

> Hi Rodolfo,
>
> now I understand what you mean. The solution I think would be to introduce
> another aggregation operator: one for the time dimension, and another for
> the org unit hierarchy dimension. Then you could set the org unit hierarchy
> aggregation operator to avg to get your desired results. This has actually
> been discussed before and would be a natural and good feature, see
> blueprint from Jason 
> here<https://blueprints.launchpad.net/dhis2/+spec/aggregation-operators>.
> I have put it up for 2.17 for now.
>
> One feature that was introduced in 2.15 that might be useful is the "org
> unit group count in indicator" function. First, you can create an org unit
> group called "outlets", where you assign all your outlets. Then have a look
> in indicator formula screen - you can put that group directly into the
> formula, which will be substituted with the number of org units in that
> group joined with the org unit hierarchy for which the aggregated value is
> requested. You can use this as your denominator - simply take the total
> value as numerator and divide it on the number of outlets.
>
> I assume your numbers are percentages? If so you you should keep the
> aggregation operator on avg. It won't be perfect as you cannot weigh your
> outlets but maybe close enough.
>
> regards,
>
> Lars
>
>
>
> On Mon, May 19, 2014 at 3:54 PM, Rodolfo Melia wrote:
>
>> Hi Lars - your example for population is correct. It makes sense. Our
>> case is scores calculated for quality assurance. On a given month we may
>> get:
>> *Region A*
>> - Outlet 1: 90
>> - Outlet 2: 100
>> - Outlet 3: not conducted
>> - Outlet 4: 80
>>
>> When looking in analytics at Region A, on the that month, we expect to
>> get 90. We currently get 270, which is correct based on your explanation.
>>
>> We will try to create an indicator that divides between 3 (so we need to
>> know conducted assessments). My worry is that the indicator will work of
>> that month, but when looking across multiple months, not sure about what
>> result will it return if we keep the aggregation = Avg.
>>
>> R
>>
>>
>>
>>
>>
>> *Rodolfo Meliá*
>> *Principal  |  *rme...@knowming.com
>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>> www.knowming.com
>>
>>
>> On Mon, May 19, 2014 at 2:36 PM, Lars Helge Øverland > > wrote:
>>
>>> Hi Rodolfo,
>>>
>>> I am not sure if I understand you correctly so I will just try to
>>> explain how it works: With avg operator, you can get a valid
>>> "disaggregated" data value for period "within" the data collection
>>> frequency. So if you collect population with a yearly frequency for a data
>>> element with the avg operator, then you can also ask for the monthly value
>>> for a month in that year. In that case, the values will be the same - sort
>>> of a "standing value" for that period. If you have a value of e.g. 1000
>>> people for the year, then the value for the month will also be 1000. This
>>> is just the nature of the data - if you have a population of 1000 for the
>>> year, then we must assume that the population for a month is also 1000.
>>>
>>> We do not allow "average within a period" or disaggregations for data
>>> element which naturally sums across time. As an example, if you collect
>>> cases of some disease at a quarterly frequency, we don't allow retrieving
>>> the value for a month within that quarter simply using the average. The
>>> reason is that it would not be valid statistics - we have no evidence that
>>> not all cases happened in the last month of the quarter, etc.
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Mon, May 19, 2014 at 1:48 PM, Rodo

Re: [Dhis2-devs] 'Average' Aggregation does 'Sum' instead

2014-05-19 Thread Rodolfo Melia
Hi Lars - your example for population is correct. It makes sense. Our case
is scores calculated for quality assurance. On a given month we may get:
*Region A*
- Outlet 1: 90
- Outlet 2: 100
- Outlet 3: not conducted
- Outlet 4: 80

When looking in analytics at Region A, on the that month, we expect to get
90. We currently get 270, which is correct based on your explanation.

We will try to create an indicator that divides between 3 (so we need to
know conducted assessments). My worry is that the indicator will work of
that month, but when looking across multiple months, not sure about what
result will it return if we keep the aggregation = Avg.

R





*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Mon, May 19, 2014 at 2:36 PM, Lars Helge Øverland wrote:

> Hi Rodolfo,
>
> I am not sure if I understand you correctly so I will just try to explain
> how it works: With avg operator, you can get a valid "disaggregated" data
> value for period "within" the data collection frequency. So if you collect
> population with a yearly frequency for a data element with the avg
> operator, then you can also ask for the monthly value for a month in that
> year. In that case, the values will be the same - sort of a "standing
> value" for that period. If you have a value of e.g. 1000 people for the
> year, then the value for the month will also be 1000. This is just the
> nature of the data - if you have a population of 1000 for the year, then we
> must assume that the population for a month is also 1000.
>
> We do not allow "average within a period" or disaggregations for data
> element which naturally sums across time. As an example, if you collect
> cases of some disease at a quarterly frequency, we don't allow retrieving
> the value for a month within that quarter simply using the average. The
> reason is that it would not be valid statistics - we have no evidence that
> not all cases happened in the last month of the quarter, etc.
>
> regards,
>
> Lars
>
>
>
>
>
>
> On Mon, May 19, 2014 at 1:48 PM, Rodolfo Melia wrote:
>
>> Hi Lars - thanks for the quick reply.
>>
>> I though AVG was valid within the same data-collection period as well as
>> across time. If this is the case, how do you calculate an average within
>> the same data collection period? AN indicator that divides the DE that has
>> the answer between valid answers? Normally that will be completed forms,
>> but such variable is not available as a denominator. We will have to use a
>> different Data Element that count valid answers. Last, such indicator will
>> make sense within the same period, but not across periods, as it will give
>> you an incorrect value, I think.
>>
>> Are you sure that AVG only makes sense across-time? Wouldn't be better to
>> also use the same logic within the same period? What's the rationale? If
>> there anyone out not wanting AVG to be calculated on the same data
>> collection period as across periods?
>>
>> R
>>
>> *Rodolfo Meliá*
>> *Principal  |  *rme...@knowming.com
>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>> www.knowming.com
>>
>>
>> On Mon, May 19, 2014 at 12:05 PM, Lars Helge Øverland <
>> larshe...@gmail.com> wrote:
>>
>>> Hi James,
>>>
>>> the "aggregation operator" refers to the time dimension - data will be
>>> averaged through time but still summed in the org unit hierarchy dimension.
>>> We could make this clearer in the system I guess.
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>>
>>> On Mon, May 19, 2014 at 12:55 PM, James Chang wrote:
>>>
>>>> Hi,
>>>>
>>>> On DHIS demo site, http://apps.dhis2.org/demo,
>>>> 'Average' aggregation operator seem to do 'Sum' instead.
>>>>
>>>> I didn't do any data entry or ran Analytics, but only looking at the
>>>> current data, 'Total Population' in 'Ngelehun CHC' and 'Njandama MCHP' seem
>>>> to sum on 'Badjia' even though the 'Total Population' is set to 'Average'
>>>> for Aggregation operator.
>>>>
>>>> See the attached images.
>>>>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] 'Average' Aggregation does 'Sum' instead

2014-05-19 Thread Rodolfo Melia
Hi Lars - thanks for the quick reply.

I though AVG was valid within the same data-collection period as well as
across time. If this is the case, how do you calculate an average within
the same data collection period? AN indicator that divides the DE that has
the answer between valid answers? Normally that will be completed forms,
but such variable is not available as a denominator. We will have to use a
different Data Element that count valid answers. Last, such indicator will
make sense within the same period, but not across periods, as it will give
you an incorrect value, I think.

Are you sure that AVG only makes sense across-time? Wouldn't be better to
also use the same logic within the same period? What's the rationale? If
there anyone out not wanting AVG to be calculated on the same data
collection period as across periods?

R

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Mon, May 19, 2014 at 12:05 PM, Lars Helge Øverland
wrote:

> Hi James,
>
> the "aggregation operator" refers to the time dimension - data will be
> averaged through time but still summed in the org unit hierarchy dimension.
> We could make this clearer in the system I guess.
>
> regards,
>
> Lars
>
>
>
> On Mon, May 19, 2014 at 12:55 PM, James Chang wrote:
>
>> Hi,
>>
>> On DHIS demo site, http://apps.dhis2.org/demo,
>> 'Average' aggregation operator seem to do 'Sum' instead.
>>
>> I didn't do any data entry or ran Analytics, but only looking at the
>> current data, 'Total Population' in 'Ngelehun CHC' and 'Njandama MCHP' seem
>> to sum on 'Badjia' even though the 'Total Population' is set to 'Average'
>> for Aggregation operator.
>>
>> See the attached images.
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Android apps - questions

2014-04-07 Thread Rodolfo Melia
Hi - I've been testing the android DHIS2 app. I have 2 questions -once you
install and login for the first time, there seems to be no ways of:
1. Changing the user (log out)
2. Downloding new forms/ org units - I tried assigning different org units
to a user, or changing assignment of forms to Org Units: the app wasn't
able to see the changes (I tried rebooting the phone).

Only solution seems to de-install the app, and then install it again. Is
that the case?

thanks

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


Re: [Dhis2-devs] API for pulling Multilingual Labels?

2014-01-20 Thread Rodolfo Melia
thanks so much lars.

Thuy/ James: the next update to our production server is schedule for next
sunday. I should be ok to wait until them.

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Sun, Jan 19, 2014 at 7:21 PM, Lars Helge Øverland wrote:

> Hi Rodolfo,
>
> I have back-ported the fix to 2.13 now.
>
> regards,
>
> Lars
>
>
>
> On Wed, Jan 15, 2014 at 2:06 PM, Rodolfo Melia wrote:
>
>> Thanks Lars - I can now see this working on 2.14. Would it be possible to
>> back port it to 2.13? Otherwise we will wait to late march, when we have
>> scheduled our upgrade of the production server.
>>
>> R
>>
>> *Rodolfo Meliá*
>> *Principal  |  *rme...@knowming.com
>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>> www.knowming.com
>>
>>
>> On Wed, Jan 15, 2014 at 12:10 PM, Lars Helge Øverland <
>> larshe...@gmail.com> wrote:
>>
>>> Its actually this resource URL:
>>>
>>> api/me/profile
>>>
>>>
>>>
>>>
>>> On Wed, Jan 15, 2014 at 12:49 PM, Rodolfo Melia wrote:
>>>
>>>> Hi Lars - we were about to use the locale values on api/me, but the
>>>> info is not being returned. We tried Sierra Leone demo as well as dev -
>>>> somehow is gone. Would it be possible to get this back? Thanks !
>>>>
>>>> *Rodolfo Meliá*
>>>> *Principal  |  *rme...@knowming.com
>>>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>>>> www.knowming.com
>>>>
>>>>
>>>> On Sat, Dec 14, 2013 at 1:19 PM, Lars Helge Øverland <
>>>> larshe...@gmail.com> wrote:
>>>>
>>>>>
>>>>>
>>>>>>
>>>>>>> Also, when you are in a custom form - how can you know what language
>>>>>>> is the current user set to?
>>>>>>>
>>>>>> I imagine needing to add some extra text, which will need multiple
>>>>>>> translations. We can embed such text on the HTML of the page, as long 
>>>>>>> as we
>>>>>>> know what's the current language, and then display accordingly.
>>>>>>>
>>>>>>>
>>>>>> Good point. That and other user settings should be easily available
>>>>>> in the web api, probably at /api/me. Will try to fix that shortly.
>>>>>>
>>>>>>
>>>>>
>>>>> Hi Rodolfo and James,
>>>>>
>>>>> you can now access settings for the currently logged in user at:
>>>>>
>>>>> /api/me/profile
>>>>>
>>>>> {
>>>>>
>>>>>- firstName: "Tom",
>>>>>- surname: "Wakiki",
>>>>>- ...
>>>>>- settings:
>>>>>{
>>>>>   - keyMessageEmailNotification: "false",
>>>>>   - keyUiLocale: "en",
>>>>>   - keyDbLocale: "en",
>>>>>   - keyMessageSmsNotification: "false"
>>>>>   }
>>>>>
>>>>> }
>>>>>
>>>>> Lars
>>>>>
>>>>>
>>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] API for pulling Multilingual Labels?

2014-01-15 Thread Rodolfo Melia
Thanks Lars - I can now see this working on 2.14. Would it be possible to
back port it to 2.13? Otherwise we will wait to late march, when we have
scheduled our upgrade of the production server.

R

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Wed, Jan 15, 2014 at 12:10 PM, Lars Helge Øverland
wrote:

> Its actually this resource URL:
>
> api/me/profile
>
>
>
>
> On Wed, Jan 15, 2014 at 12:49 PM, Rodolfo Melia wrote:
>
>> Hi Lars - we were about to use the locale values on api/me, but the info
>> is not being returned. We tried Sierra Leone demo as well as dev - somehow
>> is gone. Would it be possible to get this back? Thanks !
>>
>> *Rodolfo Meliá*
>> *Principal  |  *rme...@knowming.com
>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>> www.knowming.com
>>
>>
>> On Sat, Dec 14, 2013 at 1:19 PM, Lars Helge Øverland > > wrote:
>>
>>>
>>>
>>>>
>>>>> Also, when you are in a custom form - how can you know what language
>>>>> is the current user set to?
>>>>>
>>>> I imagine needing to add some extra text, which will need multiple
>>>>> translations. We can embed such text on the HTML of the page, as long as 
>>>>> we
>>>>> know what's the current language, and then display accordingly.
>>>>>
>>>>>
>>>> Good point. That and other user settings should be easily available in
>>>> the web api, probably at /api/me. Will try to fix that shortly.
>>>>
>>>>
>>>
>>> Hi Rodolfo and James,
>>>
>>> you can now access settings for the currently logged in user at:
>>>
>>> /api/me/profile
>>>
>>> {
>>>
>>>- firstName: "Tom",
>>>- surname: "Wakiki",
>>>- ...
>>>- settings:
>>>{
>>>   - keyMessageEmailNotification: "false",
>>>   - keyUiLocale: "en",
>>>   - keyDbLocale: "en",
>>>   - keyMessageSmsNotification: "false"
>>>   }
>>>
>>> }
>>>
>>> Lars
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] API for pulling Multilingual Labels?

2014-01-15 Thread Rodolfo Melia
Hi Lars - we were about to use the locale values on api/me, but the info is
not being returned. We tried Sierra Leone demo as well as dev - somehow is
gone. Would it be possible to get this back? Thanks !

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Sat, Dec 14, 2013 at 1:19 PM, Lars Helge Øverland wrote:

>
>
>>
>>> Also, when you are in a custom form - how can you know what language is
>>> the current user set to?
>>>
>> I imagine needing to add some extra text, which will need multiple
>>> translations. We can embed such text on the HTML of the page, as long as we
>>> know what's the current language, and then display accordingly.
>>>
>>>
>> Good point. That and other user settings should be easily available in
>> the web api, probably at /api/me. Will try to fix that shortly.
>>
>>
>
> Hi Rodolfo and James,
>
> you can now access settings for the currently logged in user at:
>
> /api/me/profile
>
> {
>
>- firstName: "Tom",
>- surname: "Wakiki",
>- ...
>- settings:
>{
>   - keyMessageEmailNotification: "false",
>   - keyUiLocale: "en",
>   - keyDbLocale: "en",
>   - keyMessageSmsNotification: "false"
>   }
>
> }
>
> Lars
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Download large pivot tables as Excel (414 Request-URI Too Large)

2014-01-08 Thread Rodolfo Melia
Thanks Lars - we look forward in getting this back ported to 2.13, so we
can address this asap. We do plan to upgrade to 2.14, but it will take
until April to do full testing and prepare release notes (and re training).
The changes on the menus and person attributes are big changes for our
users.

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Tue, Jan 7, 2014 at 4:13 PM, Lars Helge Øverland wrote:

> Hi Jose,
>
> we have now made a fix for this. We are now not imposing any restrictions
> on this inside DHIS, rather trying the request and catching potential error
> messages from the web server. By using a modern browser this should give
> you approximately 4 times bigger pivots.
>
> We will back-port to version 2.13 shortly.
>
> regards,
>
> Lars
>
>
>
> On Mon, Dec 30, 2013 at 11:36 AM, Lars Helge Øverland  > wrote:
>
>> Hi Jose,
>>
>> thanks for reporting. We are aware of the problem. It usually happens
>> when you select a lot of data elements/indicators, leading to a long GET
>> request string. There is no formal standard here, but various limits are
>> imposed by browsers and web servers, from IE at 2 Kb to Chrome at 100 Kb.
>>
>> We will look into the case right now and let you know, there might be
>> potential for doing better than we do currently.
>>
>> Lars
>>
>>
>>
>> On Mon, Dec 23, 2013 at 5:47 PM, Jose Garcia Muñoz wrote:
>>
>>>
>>> Dear all,
>>>
>>> when I try to download some pivot tables as Excel, sometimes I received
>>> the error  "414 Request-URI Too Large" with large tables (around 2000
>>> rows). Is it possible to solve this?
>>>
>>> Thanks
>>> Jose
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] API for pulling Multilingual Labels?

2013-12-15 Thread Rodolfo Melia
Thanks Lars - I didn't know about the 'me' api...

R

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Sat, Dec 14, 2013 at 1:19 PM, Lars Helge Øverland wrote:

>
>
>>
>>> Also, when you are in a custom form - how can you know what language is
>>> the current user set to?
>>>
>> I imagine needing to add some extra text, which will need multiple
>>> translations. We can embed such text on the HTML of the page, as long as we
>>> know what's the current language, and then display accordingly.
>>>
>>>
>> Good point. That and other user settings should be easily available in
>> the web api, probably at /api/me. Will try to fix that shortly.
>>
>>
>
> Hi Rodolfo and James,
>
> you can now access settings for the currently logged in user at:
>
> /api/me/profile
>
> {
>
>- firstName: "Tom",
>- surname: "Wakiki",
>- ...
>- settings:
>{
>   - keyMessageEmailNotification: "false",
>   - keyUiLocale: "en",
>   - keyDbLocale: "en",
>   - keyMessageSmsNotification: "false"
>   }
>
> }
>
> Lars
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] API for pulling Multilingual Labels?

2013-12-11 Thread Rodolfo Melia
I can see that you are thinking about the whole metadata model - nice.
All we seek to get back is the label on the current user locale, and we
only need Categories, Data Elements and Data Set Sections labels at this
stage.

Also, when you are in a custom form - how can you know what language is the
current user set to?
I imagine needing to add some extra text, which will need multiple
translations. We can embed such text on the HTML of the page, as long as we
know what's the current language, and then display accordingly.

R

*Rodolfo Meliá*
*Principal  |  *rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com


On Mon, Dec 9, 2013 at 6:47 PM, Lars Helge Øverland wrote:

> Hi Rodolfo,
>
> will try to get this done for 2.14. Its a bit tricky - will have to ponder
> a bit how to solve it since it affects the whole api. I think we simply
> returns the regular objects translated depending on the currently
> authenticated user - no extra feature/resource.
>
> https://blueprints.launchpad.net/dhis2/+spec/i18n-in-web-api
>
> cheers
>
> Lars
>
>
>
> On Fri, Dec 6, 2013 at 5:45 PM, Rodolfo Melia  wrote:
>
>> Hi Morten. We just need the labels to be returned in the user language.
>> If James can do this, please assign it to him.
>>
>> Rodolfo Meliá
>> +44 777 576 4090 | +1 708 872-7636 <+1%20708%20872-7636>
>>
>> Please ignore any typos on this email sent from my mobile, probably
>> written while I was at the park with the kids, at the airport walking to
>> the gate, or sleepless (although exhausted). Grammatical faults? I'm sorry-
>> I do my best
>>
>> On 6 Dec 2013, at 15:35, Morten Olav Hansen  wrote:
>>
>> Hi Rodolfo,
>>
>> We already have a blueprint for this (for 2.14, but it has not been
>> assigned yet). You can see it at [1].
>>
>> Do you need multiple translation for a single user, or is it enough that
>> data-element names etc returned are in the users db-locale?
>>
>> [1] https://blueprints.launchpad.net/dhis2/+spec/i18n-in-web-api
>>
>>  --
>> Morten
>>
>>
>> On Fri, Dec 6, 2013 at 12:55 PM, Rodolfo Melia wrote:
>>
>>> Hi - as part of some of the apps that we are coding, as well as 7
>>> complex custom forms that we are about to build (they will have some
>>> JScript for logic), we will need both (apps and forms) in 3 languages
>>> (total 21 forms if we use the current way of doing things).
>>>
>>> Does the current metadata API has a function to retrieve multilingual
>>> values?
>>> What we are looking is the possibility to retrieve the Name, Form Name
>>> or Short Name of a DataElement, Category or Option Set  in the current-user
>>> language by passing the UID or Code.
>>>
>>> If this functionality doesn't exist at the moment:
>>> - Should it be added to the metadata api?
>>> - Should it be part of the Categories/ Data Elements/ api?
>>>
>>> PSI will be happy to contribute on the development of this under your
>>> guidance.
>>>
>>> Rodolfo
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] API for pulling Multilingual Labels?

2013-12-06 Thread Rodolfo Melia
Hi Morten. We just need the labels to be returned in the user language. If 
James can do this, please assign it to him.

Rodolfo Meliá
+44 777 576 4090 | +1 708 872-7636

Please ignore any typos on this email sent from my mobile, probably written 
while I was at the park with the kids, at the airport walking to the gate, or 
sleepless (although exhausted). Grammatical faults? I'm sorry- I do my best

> On 6 Dec 2013, at 15:35, Morten Olav Hansen  wrote:
> 
> Hi Rodolfo,
> 
> We already have a blueprint for this (for 2.14, but it has not been assigned 
> yet). You can see it at [1].
> 
> Do you need multiple translation for a single user, or is it enough that 
> data-element names etc returned are in the users db-locale?
> 
> [1] https://blueprints.launchpad.net/dhis2/+spec/i18n-in-web-api
> 
> --
> Morten
> 
> 
>> On Fri, Dec 6, 2013 at 12:55 PM, Rodolfo Melia  wrote:
>> Hi - as part of some of the apps that we are coding, as well as 7 complex 
>> custom forms that we are about to build (they will have some JScript for 
>> logic), we will need both (apps and forms) in 3 languages (total 21 forms if 
>> we use the current way of doing things).
>> 
>> Does the current metadata API has a function to retrieve multilingual values?
>> What we are looking is the possibility to retrieve the Name, Form Name or 
>> Short Name of a DataElement, Category or Option Set  in the current-user 
>> language by passing the UID or Code.
>> 
>> If this functionality doesn't exist at the moment:
>> - Should it be added to the metadata api?
>> - Should it be part of the Categories/ Data Elements/ api?
>> 
>> PSI will be happy to contribute on the development of this under your 
>> guidance.
>> 
>> Rodolfo
>> 
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>> 
> 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] API for pulling Multilingual Labels?

2013-12-06 Thread Rodolfo Melia
Hi - as part of some of the apps that we are coding, as well as 7 complex
custom forms that we are about to build (they will have some JScript for
logic), we will need both (apps and forms) in 3 languages (total 21 forms
if we use the current way of doing things).

Does the current metadata API has a function to retrieve multilingual
values?
What we are looking is the possibility to retrieve the Name, Form Name or
Short Name of a DataElement, Category or Option Set  in the current-user
language by passing the UID or Code.

If this functionality doesn't exist at the moment:
- Should it be added to the metadata api?
- Should it be part of the Categories/ Data Elements/ api?

PSI will be happy to contribute on the development of this under your
guidance.

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


Re: [Dhis2-devs] [Dhis2-users] Homologous periods for indicators

2013-12-06 Thread Rodolfo Melia
Hi - I just want to echo the need of more complex logic for doing
indicators.

The way that we are addressing this at PSI is by creating 'Calculated Data
Elements'. That's basically a Data Element that doesn't have data entry,
and instead we populate it via a SQL procedure that we run every night. A
cron job currently does the job, but we are moving them into PgAgent. Our
current use cases:

1. Copy the previous months 'Closing Balance' into the 'Opening Balance' of
this month
2. Average distribution across the last 3 months (rather than the whole
series)

Another similar need that we currently plan to address via iReports is
giving improvement over time: variation (increase/ decrease)
- Option a: Q2 this year vs Q2 last year
- Option b: This Quarter (Q2 2013) vs Previous Quarter (Q1 2013)

In my mind, a potential implementation is to be able to define time ranges
(default - all periods) when creating the numerator/ denominator of an
indicator.

R

*Rodolfo Meliá*
*Principal*
rme...@knowming.com
www.knowming.com
+1 708 872 7636
+44 777 576 4090
Skype: rod.melia


On Fri, Dec 6, 2013 at 7:55 AM, Ola Hodne Titlestad wrote:

> Would be great if we could somehow combine the logic and calculations of
> the surveillance rules with the analytics tables and make this data
> available in the analysis tools. Sounds like a good approach to try that in
> an app first.
>
> Ola
> --
>
> --
> Ola Hodne Titlestad (Mr)
> HISP
> Department of Informatics
> University of Oslo
>
> Mobile: +47 48069736
> Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps 
> link
>
>
> On 5 December 2013 14:53, Knut Staring  wrote:
>
>> Thanks a lot, Jim.
>>
>> We are in fact already developing a powerful time series app for which
>> this is the main missing thing, however we may have to change to a
>> different javascript graphing library (because of the license).
>>
>> Knut
>>
>>
>> On Thu, Dec 5, 2013 at 12:59 PM, Jim Grace  wrote:
>>
>>> Hi all,
>>>
>>> By all means tell anyone requesting this type of analysis about the new
>>> surveillance-type validation rules. They do exactly this type of analysis,
>>> for example the calculation Knut mentioned, comparing this year's weekly
>>> data with the average of the three previous years (e.g. week 48),
>>> multiplied by 1.5. Surveillance rule features also include:
>>>
>>> - You can average not only just over the same period in a number of
>>> previous years, but over a bounded set of weeks surrounding the week in
>>> question, or a combination of both (e.g. comparing week 48 this year with
>>> the average of weeks 47,48 and 49 in the previous two years, and week 47
>>> this year.)
>>>
>>> - You can throw out a configurable number of high and/or low outliers
>>> from previous data before doing the average, so you're not comparing the
>>> new data data against previous outbreaks and/or unusually low values.
>>>
>>> - You can analyze the data automatically as it comes in from data entry
>>> each day, for any data elements (singly or in a formula) in all
>>> organisation units at whatever levels you like, with customized formulas at
>>> each different organizational unit level (e.g. an alarming district-wide
>>> increase may be a lower percent than what could be random variation at
>>> individual sites.) And be notified automatically through DHIS messaging (by
>>> email if you like) of any outliers.
>>>
>>> If they want the data for display, this would have to be added whether
>>> in the visualizer or a new app. But if they want the data for outbreak
>>> detection, by all means also tell them about the new surveillance rules.
>>>
>>> Cheers,
>>> Jim
>>>
>>>
>>>
>>> On Thu, Dec 5, 2013 at 2:17 AM, Bram Piot  wrote:
>>>
 Hi all,

 Surprisingly, yesterday I had exactly the same request from one of our
 users in Uganda: they'd like to see monthly data for current and past year
 as separate lines on the same chart, very similar to Knut's example. I can
 imagine that this would be rather complex to handle in the visualiser -
 maybe this needs a separate app?

 bram piot



 On 5 December 2013 10:08, Knut Staring  wrote:

> Thanks Ola, it's a good idea to have this also available as part of
> validation rules. However, my immediate need and what organizations 
> dealing
> with seasonal epidemics such as WHO and CDC would like to see are charts
> with two lines:
>
> The trend of cases and deaths for the current year as compared to the
> trend lines for a) the previous year or b) some kind of average for 
> several
> previous years. See the attached example.
>
> Knut
>
>
> On Thursday, December 5, 2013, Ola Hodne Titlestad

[Dhis2-devs] [Bug 1258144] [NEW] Pivot tablet doesn't export HTML or XLS when Detailed Data Elements are used

2013-12-05 Thread Rodolfo Melia
Public bug reported:

Hi - I've reproduced this on the sierra leone servers

All renders fine on the UI -->
http://apps.dhis2.org/dev/dhis-web-pivot/app/index.html?id=VzzpvJKlxJM

but nothing shows when exporting/downloading -->
http://apps.dhis2.org/dev/api/reportTables/VzzpvJKlxJM/data.xls
http://apps.dhis2.org/dev/api/reportTables/VzzpvJKlxJM/data.html

You can check this via the UI by selecting the pivot table favourite '!BUG - DE 
Details Do Not Download'
http://apps.dhis2.org/dev/api/reportTables/VzzpvJKlxJM/

R

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1258144

Title:
  Pivot tablet doesn't export HTML or XLS when Detailed Data Elements
  are used

Status in DHIS 2:
  New

Bug description:
  Hi - I've reproduced this on the sierra leone servers

  All renders fine on the UI -->
  http://apps.dhis2.org/dev/dhis-web-pivot/app/index.html?id=VzzpvJKlxJM

  but nothing shows when exporting/downloading -->
  http://apps.dhis2.org/dev/api/reportTables/VzzpvJKlxJM/data.xls
  http://apps.dhis2.org/dev/api/reportTables/VzzpvJKlxJM/data.html

  You can check this via the UI by selecting the pivot table favourite '!BUG - 
DE Details Do Not Download'
  http://apps.dhis2.org/dev/api/reportTables/VzzpvJKlxJM/

  R

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1258144/+subscriptions

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


Re: [Dhis2-devs] Removing camel integration module

2013-10-01 Thread Rodolfo Melia
I actually meant pgAgent. Sorry for the confusion. It looks like we will be 
looking at cron jobs, while dhis apps gain some sort of scheduling 
capabilities. 

Rodolfo Meliá
+44 777 576 4090 | +1 708 872-7636

Please ignore any typos on this email sent from my mobile, probably written 
while I was at the park with the kids, at the airport walking to the gate, or 
sleepless (although exhausted). Grammatical faults? I'm sorry- I do my best

> On 1 Oct 2013, at 15:19, Bob Jolliffe  wrote:
> 
> Well by taking it out of the jvm we do remove some functionality .. mostly 
> access to all the dhis2 beans and whatever is not immediately available 
> through the api.
> 
> But it is quite straightforward to run a standalone camel instance which 
> talks to dhis2 via the api.
> 
> Unfortunately there are always some times when you have to resort to the 
> database :-(  If you only want to schedule some sql script to run then I 
> agree with Jason that a cron job which pipes the script to psql (not pgadmin) 
> can often suffice.
> 
> If you find yourself (in addition to just scheduling), also doing more 
> complex data transformations and the like then it can make sense to have an 
> integration engine like camel - which also has a jdbc endpoint.  But again, 
> if the only thing your camel context is doing is running the sql then it 
> really doesn't need to be in the dhis.war.  Thats really why we have removed 
> it.  You can do the same thing with camel (and/or other tools) without having 
> it loaded in the virtual machine.   
> 
> 
>> On 1 October 2013 15:04, Jason Pickering  wrote:
>> Nothing against Camel, but not sure what the issue with executing a task on 
>> the database might be. Just wrap it up as a shell script and schedule it 
>> with cron. 
>> 
>> Maybe I am missing some security issue there, but we use this approach 
>> extensively for this type of task. 
>> 
>> Regards,
>> jason
>> 
>> 
>> 
>>> On Tue, Oct 1, 2013 at 3:59 PM, Rodolfo Melia  wrote:
>>> Hi - we were thinking about using Camel for automating certain jobs that we 
>>> want to run every 24 hours (update some Data Elements based on some custom 
>>> calculations that cannot be run as indicators). We ruled out pgAdmin 
>>> because we feel is too insecure. Now that camel is out, how can we schedule 
>>> task to run every day? Do you plan to have a scheduler for an app, so 
>>> certain routines can run on the basis of a schedule?
>>> 
>>> Rodolfo
>>> 
>>> Rodolfo Meliá
>>> Principal
>>> rme...@knowming.com
>>> www.knowming.com
>>> +1 708 872 7636
>>> +44 777 576 4090
>>> Skype: rod.melia
>>> 
>>> 
>>>> On Tue, Oct 1, 2013 at 11:26 AM, Bob Jolliffe  
>>>> wrote:
>>>> We have decided to remove the camel integration module from the dhis2 war 
>>>> file in the next release.
>>>> 
>>>> As the web api has matured it is now more feasible to run the likes of 
>>>> apache camel or mule or similar software as external clients of the api. 
>>>> 
>>>> Regards
>>>> Bob
>>>> 
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>> 
>>> 
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
> 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Removing camel integration module

2013-10-01 Thread Rodolfo Melia
Hi - we were thinking about using Camel for automating certain jobs that we
want to run every 24 hours (update some Data Elements based on some custom
calculations that cannot be run as indicators). We ruled out pgAdmin
because we feel is too insecure. Now that camel is out, how can we schedule
task to run every day? Do you plan to have a scheduler for an app, so
certain routines can run on the basis of a schedule?

Rodolfo

*Rodolfo Meliá*
*Principal*
rme...@knowming.com
www.knowming.com
+1 708 872 7636
+44 777 576 4090
Skype: rod.melia


On Tue, Oct 1, 2013 at 11:26 AM, Bob Jolliffe  wrote:

> We have decided to remove the camel integration module from the dhis2 war
> file in the next release.
>
> As the web api has matured it is now more feasible to run the likes of
> apache camel or mule or similar software as external clients of the api.
>
> Regards
> Bob
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Translations to French and Spanish

2013-06-26 Thread Rodolfo Melia
Hi Jason - what do you mean by sync?
Pushing the translations to the latest build?
Will this happen for current (2.12) or only for next version (2.13)?
What about 2.11?

R

*Rodolfo Meliá*
*Principal*
rme...@knowming.com
www.knowming.com
+1 708 872 7636
+44 777 576 4090
Skype: rod.melia
Twitter: @RodolfoMelia 

Note: Please note my new email address, which I will be using for PSI
related work: rme...@knowming.com


On Wed, Jun 26, 2013 at 2:57 PM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> If there is a need to use the translation server (
> http://translate.dhis2.net) let me know and I will sync the latest
> translations for these languages.
>
> Regards,
> Jason
>
> --Sent from my mobile
> On Jun 26, 2013 3:35 PM, "Juan M Alcántara Acosta" <
> jmalcant...@apunto.com.mx> wrote:
>
>> Hi Knut
>> Both 2.11 and 2.12 are missing the translation of a few terms here and
>> there, mainly in reporting modules and more so for Spanish than French. At
>> PSI we are starting a pilot with countries that require both translations,
>> we'll contribute as much as possible.
>> JM
>>
>> El 25/06/2013, a las 16:56, Knut Staring  escribió:
>>
>> Hi Juan,
>> You mean for the new features of 2.12, as I think almost all has been
>> translated for 2.11? I think we would be very happy to have additional
>> assistance with both languages (there are also the manuals).
>>
>> Sent from my mobile
>> On Jun 25, 2013 9:12 PM, "Juan M Alcántara Acosta" <
>> jmalcant...@apunto.com.mx> wrote:
>>
>>> Hello everyone
>>> Is someone currently working on the translation of the interface to
>>> Spanish and French?
>>> Best regards,
>>> JM
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 1184648] [NEW] Aggregation query builder, filter by DataSet throws an exception error

2013-05-27 Thread Rodolfo Melia
Yes - less clutter at the end.


On Mon, May 27, 2013 at 11:08 PM, Ola Hodne Titlestad wrote:

>
> On 27 May 2013 23:40, Rodolfo Melia  wrote:
>
>> When you add a new Aggregation, you can select any Data Set for
>> aggregation, so if you were to add the filtered drop-down to the 'listing'
>> page, you can still add an aggregation to any data set. When you
>> are reviewing your aggregations, you only care about the ones that you
>> have...
>>
>>
> OK, I thought you meant inside the add/edit query window.
>
> Agree with you that the "Filter by data set"  list of data sets on:
>
> http://apps.dhis2.org/dev/dhis-web-maintenance-patient/caseAggregation.action
>
> - should only list datasets that have data elements that have queries.
>
> If you want to add a new query for a data set that doesn't have any
> queries, leave the data set list to ALL and click Add New.
> Then inside the Add Query window, the data set list will show all datasets
> (as today).
>
> This is what you meant?
>
> Ola
> ---
>
>
>
>
>>
>> On Mon, May 27, 2013 at 9:27 PM, Ola Hodne Titlestad wrote:
>>
>>>
>>> On 27 May 2013 17:38, Rodolfo Melia  wrote:
>>>
>>>> Public bug reported:
>>>>
>>>> I was able to reproduce this at http://apps.dhis2.org/demo (2.11). It
>>>> works no problem in 2.12.
>>>>
>>>> When going to the 'Aggregation Query Builder', the page loads. When you
>>>> select from the 'data set filter', you get an error.
>>>>
>>>> Hi Rodolfo,
>>>
>>> Thanks for reporting.
>>>
>>>
>>>> I will also like to suggest 2 minor updates to this page:
>>>> - List the Data Sets in alphabetic order, like everywhere else in the
>>>> system
>>>>
>>> Agree.
>>>
>>> - Only list data sets that have aggregations active - many data sets
>>>> will never have aggregation.
>>>>
>>>> What do you mean by "have aggregations active"? All data sets and their
>>> aggregated data elements can potentially be generated/populated by an
>>> aggregation query right? If you mean to only list data sets which already
>>> have aggregation queries, how will you select a data set when you are going
>>> to add the first query?
>>>
>>> There is a property in data set called "Skip aggregation", but that
>>> refers to further aggregation over time and place through the datamart and
>>> not to person aggregation.
>>>
>>>  Ola
>>> 
>>>
>>>
>>>
>>>> ** Affects: dhis2
>>>>  Importance: Undecided
>>>>  Status: New
>>>>
>>>> ** Attachment added: "Screen Shot 2013-05-27 at 16.23.33.png"
>>>>
>>>> https://bugs.launchpad.net/bugs/1184648/+attachment/3687969/+files/Screen%20Shot%202013-05-27%20at%2016.23.33.png
>>>>
>>>> --
>>>> You received this bug notification because you are a member of DHIS 2
>>>> developers, which is subscribed to DHIS.
>>>> https://bugs.launchpad.net/bugs/1184648
>>>>
>>>> Title:
>>>>   Aggregation query builder, filter by DataSet throws an exception error
>>>>
>>>> Status in DHIS 2 - District Health Information Software:
>>>>   New
>>>>
>>>> Bug description:
>>>>   I was able to reproduce this at http://apps.dhis2.org/demo (2.11). It
>>>>   works no problem in 2.12.
>>>>
>>>>   When going to the 'Aggregation Query Builder', the page loads. When
>>>>   you select from the 'data set filter', you get an error.
>>>>
>>>>   I will also like to suggest 2 minor updates to this page:
>>>>   - List the Data Sets in alphabetic order, like everywhere else in the
>>>> system
>>>>   - Only list data sets that have aggregations active - many data sets
>>>> will never have aggregation.
>>>>
>>>> To manage notifications about this bug go to:
>>>> https://bugs.launchpad.net/dhis2/+bug/1184648/+subscriptions
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad

Re: [Dhis2-devs] [Bug 1184648] [NEW] Aggregation query builder, filter by DataSet throws an exception error

2013-05-27 Thread Rodolfo Melia
When you add a new Aggregation, you can select any Data Set for
aggregation, so if you were to add the filtered drop-down to the 'listing'
page, you can still add an aggregation to any data set. When you
are reviewing your aggregations, you only care about the ones that you
have...


On Mon, May 27, 2013 at 9:27 PM, Ola Hodne Titlestad wrote:

>
> On 27 May 2013 17:38, Rodolfo Melia  wrote:
>
>> Public bug reported:
>>
>> I was able to reproduce this at http://apps.dhis2.org/demo (2.11). It
>> works no problem in 2.12.
>>
>> When going to the 'Aggregation Query Builder', the page loads. When you
>> select from the 'data set filter', you get an error.
>>
>> Hi Rodolfo,
>
> Thanks for reporting.
>
>
>> I will also like to suggest 2 minor updates to this page:
>> - List the Data Sets in alphabetic order, like everywhere else in the
>> system
>>
> Agree.
>
> - Only list data sets that have aggregations active - many data sets will
>> never have aggregation.
>>
>> What do you mean by "have aggregations active"? All data sets and their
> aggregated data elements can potentially be generated/populated by an
> aggregation query right? If you mean to only list data sets which already
> have aggregation queries, how will you select a data set when you are going
> to add the first query?
>
> There is a property in data set called "Skip aggregation", but that refers
> to further aggregation over time and place through the datamart and not to
> person aggregation.
>
>  Ola
> 
>
>
>
>> ** Affects: dhis2
>>  Importance: Undecided
>>  Status: New
>>
>> ** Attachment added: "Screen Shot 2013-05-27 at 16.23.33.png"
>>
>> https://bugs.launchpad.net/bugs/1184648/+attachment/3687969/+files/Screen%20Shot%202013-05-27%20at%2016.23.33.png
>>
>> --
>> You received this bug notification because you are a member of DHIS 2
>> developers, which is subscribed to DHIS.
>> https://bugs.launchpad.net/bugs/1184648
>>
>> Title:
>>   Aggregation query builder, filter by DataSet throws an exception error
>>
>> Status in DHIS 2 - District Health Information Software:
>>   New
>>
>> Bug description:
>>   I was able to reproduce this at http://apps.dhis2.org/demo (2.11). It
>>   works no problem in 2.12.
>>
>>   When going to the 'Aggregation Query Builder', the page loads. When
>>   you select from the 'data set filter', you get an error.
>>
>>   I will also like to suggest 2 minor updates to this page:
>>   - List the Data Sets in alphabetic order, like everywhere else in the
>> system
>>   - Only list data sets that have aggregations active - many data sets
>> will never have aggregation.
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/dhis2/+bug/1184648/+subscriptions
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
*Rodolfo Meliá*
*Principal*
rme...@knowming.com
www.knowming.com
+1 708 872 7636
+44 777 576 4090
Skype: rod.melia
Twitter: @RodolfoMelia <https://twitter.com/RodolfoMelia>

Note: Please note my new email address, which I will be using for PSI
related work: rme...@knowming.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1184654] [NEW] Editing an aggregation query doesn't load data set or program info

2013-05-27 Thread Rodolfo Melia
Public bug reported:

When editing an aggregation query, neither the correct 'data set' value
or program/ stage populate the corresponding dropdowns, making editing
more difficult... this is a minor problem, but felt like it should be
reported. I reproducted this problem in both: 2.11 and 2.12 at
http://apps.dhis2.org/demo and http://apps.dhis2.org/dev

Attached image highlights the fields that don't load

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: "Aggregation Query Editing.png"
   
https://bugs.launchpad.net/bugs/1184654/+attachment/3687973/+files/Aggregation%20Query%20Editing.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1184654

Title:
  Editing an aggregation query doesn't load data set or program info

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  When editing an aggregation query, neither the correct 'data set'
  value or program/ stage populate the corresponding dropdowns, making
  editing more difficult... this is a minor problem, but felt like it
  should be reported. I reproducted this problem in both: 2.11 and 2.12
  at http://apps.dhis2.org/demo and http://apps.dhis2.org/dev

  Attached image highlights the fields that don't load

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1184654/+subscriptions

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


[Dhis2-devs] [Bug 1184648] [NEW] Aggregation query builder, filter by DataSet throws an exception error

2013-05-27 Thread Rodolfo Melia
Public bug reported:

I was able to reproduce this at http://apps.dhis2.org/demo (2.11). It
works no problem in 2.12.

When going to the 'Aggregation Query Builder', the page loads. When you
select from the 'data set filter', you get an error.

I will also like to suggest 2 minor updates to this page:
- List the Data Sets in alphabetic order, like everywhere else in the system
- Only list data sets that have aggregations active - many data sets will never 
have aggregation.

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: "Screen Shot 2013-05-27 at 16.23.33.png"
   
https://bugs.launchpad.net/bugs/1184648/+attachment/3687969/+files/Screen%20Shot%202013-05-27%20at%2016.23.33.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1184648

Title:
  Aggregation query builder, filter by DataSet throws an exception error

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  I was able to reproduce this at http://apps.dhis2.org/demo (2.11). It
  works no problem in 2.12.

  When going to the 'Aggregation Query Builder', the page loads. When
  you select from the 'data set filter', you get an error.

  I will also like to suggest 2 minor updates to this page:
  - List the Data Sets in alphabetic order, like everywhere else in the system
  - Only list data sets that have aggregations active - many data sets will 
never have aggregation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1184648/+subscriptions

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


Re: [Dhis2-devs] [Bug 1179832] [NEW] Tabular reporting doesn't load

2013-05-15 Thread Rodolfo Melia
Hi I just want to report on the progress of status on this bug. Now the
report runs 'sometimes'. I've made a movie to show the problem in your
Sierra Leone dev server (2.12) - you will see that it works for Apgar Test,
but when you try to use the weight, the loading goes for ever...

http://www.youtube.com/watch?v=WrWtMZyBSv0

The movie also shows the status for our server (2.11): the issue is that
now it loads for Data Elements Date, Value and Text, but as soon as you add
a Yes/No or Yes only field, it loads with no answers... The end of the 2min
video show our Program.

There must be something wrong on the query for the select statement,
specially for the case when you add values that are based in True/False.
Regarding the 'loading...' for ever, I cannot think of a possible
explanation.

R


On Tue, May 14, 2013 at 2:10 PM, Rodolfo Melia  wrote:

> Hi - I just tested on 2.12, Sierra Leone (http://apps.dhis2.org/dev). The
> bug is gone.
> 2.11 at http://apps.dhis2.org/demo doens't yet have the latest release,
> so I cannot test. I will wait for 2.11 to be released, as that's the one
> that we have in our production servers.
>
> R
>
>
> On Tue, May 14, 2013 at 1:53 PM, Thu Tran <1179...@bugs.launchpad.net>wrote:
>
>> Dear Rodolfo,
>>
>> I fixed this bug in revision 10823 after James informed with me. Please
>> help me to test it again. If it's still there, please send to me the log
>> file. Thanks so much, Rodolfo.
>>
>>
>> On Tuesday, May 14, 2013, Rodolfo Melia  wrote:
>> > Hi Ola - we have scheduling active for our servers, and I'm assuming
>> that
>> you do for Sierra Leone's dev and demo sites. In any case, I just tried
>> re-generating the resource tables, and I still having the problem - it
>> tries loading for ever.
>> > I only reported this as a bug because I could easily reproduce it on you
>> demo & dev environment. Hopefully is something that can be addressed with
>> a
>> quick fix.
>> > R
>> >
>> > On Tue, May 14, 2013 at 10:01 AM, Ola Hodne Titlestad > >
>> wrote:
>> >>
>> >> Hi Rodolfo,
>> >>
>> >> Have you generated the resource tables?
>> >>
>> >> Tabular reports depends on the _organisationunitstructure table.
>> >>
>> >> This is generated as part of the nightly scheduled jobs, but if
>> >> scheduling is not started then you need to generate these resource
>> >> tables manually in Maintenance->Data Administration->Resource Tables.
>> >>
>> >> Ola
>> >> ---
>> >>
>> >> --
>> >> Ola Hodne Titlestad (Mr)
>> >> HISP
>> >> Department of Informatics
>> >> University of Oslo
>> >>
>> >> Mobile: +47 48069736
>> >> Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps link
>> >>
>> >>
>> >> On 14 May 2013 10:38, Rodolfo Melia  wrote:
>> >> > By the way, nothing shows on the catalina log, so no log output to
>> >> > add...
>> >> >
>> >> > --
>> >> > You received this bug notification because you are a member of DHIS 2
>> >> > developers, which is subscribed to DHIS.
>> >> > https://bugs.launchpad.net/bugs/1179832
>> >> >
>> >> > Title:
>> >> >   Tabular reporting doesn't load
>> >> >
>> >> > Status in DHIS 2 - District Health Information Software:
>> >> >   New
>> >> >
>> >> > Bug description:
>> >> >   Tabular report doesn't load any results. This applies to all type
>> of
>> >> >   programs (with and without registration). After selecting your
>> >> >   criteria, the 'loading' message appears, but it never displays any
>> >> >   answers. This is occurring in 2.11 and 2.12. I've tested on my own
>> >> >   environments as well as on http://apps.dhis2.org/dev &
>> >> >   http://apps.dhis2.org/demo
>> >> >
>> >> >   On an old 2.11, for which tabular report works, everything loads
>> until
>> >> >   you add a data element of type 'Yes Only' or 'Yes/No'. I believe
>> that
>> >> >   because there are records with Null values, then the whole answer
>> >> >   query gets cancelled, resulting in no records returned.
>> >> >
>> >> >   Let me

Re: [Dhis2-devs] [Bug 1179832] [NEW] Tabular reporting doesn't load

2013-05-14 Thread Rodolfo Melia
Hi - I just tested on 2.12, Sierra Leone (http://apps.dhis2.org/dev). The
bug is gone.
2.11 at http://apps.dhis2.org/demo doens't yet have the latest release, so
I cannot test. I will wait for 2.11 to be released, as that's the one that
we have in our production servers.

R


On Tue, May 14, 2013 at 1:53 PM, Thu Tran <1179...@bugs.launchpad.net>wrote:

> Dear Rodolfo,
>
> I fixed this bug in revision 10823 after James informed with me. Please
> help me to test it again. If it's still there, please send to me the log
> file. Thanks so much, Rodolfo.
>
>
> On Tuesday, May 14, 2013, Rodolfo Melia  wrote:
> > Hi Ola - we have scheduling active for our servers, and I'm assuming that
> you do for Sierra Leone's dev and demo sites. In any case, I just tried
> re-generating the resource tables, and I still having the problem - it
> tries loading for ever.
> > I only reported this as a bug because I could easily reproduce it on you
> demo & dev environment. Hopefully is something that can be addressed with a
> quick fix.
> > R
> >
> > On Tue, May 14, 2013 at 10:01 AM, Ola Hodne Titlestad 
> wrote:
> >>
> >> Hi Rodolfo,
> >>
> >> Have you generated the resource tables?
> >>
> >> Tabular reports depends on the _organisationunitstructure table.
> >>
> >> This is generated as part of the nightly scheduled jobs, but if
> >> scheduling is not started then you need to generate these resource
> >> tables manually in Maintenance->Data Administration->Resource Tables.
> >>
> >> Ola
> >> ---
> >>
> >> ----------
> >> Ola Hodne Titlestad (Mr)
> >> HISP
> >> Department of Informatics
> >> University of Oslo
> >>
> >> Mobile: +47 48069736
> >> Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps link
> >>
> >>
> >> On 14 May 2013 10:38, Rodolfo Melia  wrote:
> >> > By the way, nothing shows on the catalina log, so no log output to
> >> > add...
> >> >
> >> > --
> >> > You received this bug notification because you are a member of DHIS 2
> >> > developers, which is subscribed to DHIS.
> >> > https://bugs.launchpad.net/bugs/1179832
> >> >
> >> > Title:
> >> >   Tabular reporting doesn't load
> >> >
> >> > Status in DHIS 2 - District Health Information Software:
> >> >   New
> >> >
> >> > Bug description:
> >> >   Tabular report doesn't load any results. This applies to all type of
> >> >   programs (with and without registration). After selecting your
> >> >   criteria, the 'loading' message appears, but it never displays any
> >> >   answers. This is occurring in 2.11 and 2.12. I've tested on my own
> >> >   environments as well as on http://apps.dhis2.org/dev &
> >> >   http://apps.dhis2.org/demo
> >> >
> >> >   On an old 2.11, for which tabular report works, everything loads
> until
> >> >   you add a data element of type 'Yes Only' or 'Yes/No'. I believe
> that
> >> >   because there are records with Null values, then the whole answer
> >> >   query gets cancelled, resulting in no records returned.
> >> >
> >> >   Let me know if you need further info.
> >> >
> >> > To manage notifications about this bug go to:
> >> > https://bugs.launchpad.net/dhis2/+bug/1179832/+subscriptions
> >> >
> >> > ___
> >> > Mailing list: https://launchpad.net/~dhis2-devs
> >> > Post to : dhis2-devs@lists.launchpad.net
> >> > Unsubscribe : https://launchpad.net/~dhis2-devs
> >> > More help   : https://help.launchpad.net/ListHelp
> >>
> >> ___
> >> Mailing list: https://launchpad.net/~dhis2-devs
> >> Post to : dhis2-devs@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~dhis2-devs
> >> More help   : https://help.launchpad.net/ListHelp
> >
> >
> >
> > --
> > Rodolfo Meliá
> > Principal
> > rme...@knowming.com
> > www.knowming.com
> > +1 708 872 7636
> > +44 777 576 4090
> > Skype: rod.melia
> > Twitter: @RodolfoMelia
> > Note: Please note my new email address, which I will be using for PSI
> related work: rme...@knowming.com
>
> --
> You received 

Re: [Dhis2-devs] [Bug 1179832] Re: Tabular reporting doesn't load

2013-05-14 Thread Rodolfo Melia
Hi Ola - we have scheduling active for our servers, and I'm assuming that
you do for Sierra Leone's dev and demo sites. In any case, I just tried
re-generating the resource tables, and I still having the problem - it
tries loading for ever.

I only reported this as a bug because I could easily reproduce it on you
demo & dev environment. Hopefully is something that can be addressed with a
quick fix.

R


On Tue, May 14, 2013 at 10:01 AM, Ola Hodne Titlestad wrote:

> Hi Rodolfo,
>
> Have you generated the resource tables?
>
> Tabular reports depends on the _organisationunitstructure table.
>
> This is generated as part of the nightly scheduled jobs, but if
> scheduling is not started then you need to generate these resource
> tables manually in Maintenance->Data Administration->Resource Tables.
>
> Ola
> ---
>
> --
> Ola Hodne Titlestad (Mr)
> HISP
> Department of Informatics
> University of Oslo
>
> Mobile: +47 48069736
> Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps link
>
>
> On 14 May 2013 10:38, Rodolfo Melia  wrote:
> > By the way, nothing shows on the catalina log, so no log output to
> > add...
> >
> > --
> > You received this bug notification because you are a member of DHIS 2
> > developers, which is subscribed to DHIS.
> > https://bugs.launchpad.net/bugs/1179832
> >
> > Title:
> >   Tabular reporting doesn't load
> >
> > Status in DHIS 2 - District Health Information Software:
> >   New
> >
> > Bug description:
> >   Tabular report doesn't load any results. This applies to all type of
> >   programs (with and without registration). After selecting your
> >   criteria, the 'loading' message appears, but it never displays any
> >   answers. This is occurring in 2.11 and 2.12. I've tested on my own
> >   environments as well as on http://apps.dhis2.org/dev &
> >   http://apps.dhis2.org/demo
> >
> >   On an old 2.11, for which tabular report works, everything loads until
> >   you add a data element of type 'Yes Only' or 'Yes/No'. I believe that
> >   because there are records with Null values, then the whole answer
> >   query gets cancelled, resulting in no records returned.
> >
> >   Let me know if you need further info.
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/dhis2/+bug/1179832/+subscriptions
> >
> > ___
> > Mailing list: https://launchpad.net/~dhis2-devs
> > Post to : dhis2-devs@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-devs
> > More help   : https://help.launchpad.net/ListHelp
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>



-- 
*Rodolfo Meliá*
*Principal*
rme...@knowming.com
www.knowming.com
+1 708 872 7636
+44 777 576 4090
Skype: rod.melia
Twitter: @RodolfoMelia <https://twitter.com/RodolfoMelia>

Note: Please note my new email address, which I will be using for PSI
related work: rme...@knowming.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1179832] Re: Tabular reporting doesn't load

2013-05-14 Thread Rodolfo Melia
By the way, nothing shows on the catalina log, so no log output to
add...

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1179832

Title:
  Tabular reporting doesn't load

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  Tabular report doesn't load any results. This applies to all type of
  programs (with and without registration). After selecting your
  criteria, the 'loading' message appears, but it never displays any
  answers. This is occurring in 2.11 and 2.12. I've tested on my own
  environments as well as on http://apps.dhis2.org/dev &
  http://apps.dhis2.org/demo

  On an old 2.11, for which tabular report works, everything loads until
  you add a data element of type 'Yes Only' or 'Yes/No'. I believe that
  because there are records with Null values, then the whole answer
  query gets cancelled, resulting in no records returned.

  Let me know if you need further info.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1179832/+subscriptions

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


[Dhis2-devs] [Bug 1179832] [NEW] Tabular reporting doesn't load

2013-05-14 Thread Rodolfo Melia
Public bug reported:

Tabular report doesn't load any results. This applies to all type of
programs (with and without registration). After selecting your criteria,
the 'loading' message appears, but it never displays any answers. This
is occurring in 2.11 and 2.12. I've tested on my own environments as
well as on http://apps.dhis2.org/dev & http://apps.dhis2.org/demo

On an old 2.11, for which tabular report works, everything loads until
you add a data element of type 'Yes Only' or 'Yes/No'. I believe that
because there are records with Null values, then the whole answer query
gets cancelled, resulting in no records returned.

Let me know if you need further info.

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: "Screen showing tabular loading (for ever...)"
   
https://bugs.launchpad.net/bugs/1179832/+attachment/3676201/+files/Tabular%20Loading.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1179832

Title:
  Tabular reporting doesn't load

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  Tabular report doesn't load any results. This applies to all type of
  programs (with and without registration). After selecting your
  criteria, the 'loading' message appears, but it never displays any
  answers. This is occurring in 2.11 and 2.12. I've tested on my own
  environments as well as on http://apps.dhis2.org/dev &
  http://apps.dhis2.org/demo

  On an old 2.11, for which tabular report works, everything loads until
  you add a data element of type 'Yes Only' or 'Yes/No'. I believe that
  because there are records with Null values, then the whole answer
  query gets cancelled, resulting in no records returned.

  Let me know if you need further info.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1179832/+subscriptions

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


Re: [Dhis2-devs] problem in program stage

2013-04-12 Thread Rodolfo Melia
Hi Barnali - for a data element to be available for the program stage
configuration, you need to set the 'Domain Type' of the Data Elements to
'Patient' - see section  4.1.1.1. Editing data elements of the manual.

http://www.dhis2.org/doc/snapshot/en/user/html/ch04.html#dataElement




On Fri, Apr 12, 2013 at 6:03 PM, Barnali Bhaduri wrote:

> Dear Lars,
> To edit program stage in DHIS2,I am facing the problem,system does not
> showing "Available data elements" list.
> Barnali Banerjee
>   --
>  *From:* Lars Helge Øverland 
> *To:* Rodolfo Melia 
> *Cc:* Barnali Bhaduri ; "
> dhis2-devs@lists.launchpad.net" 
> *Sent:* Wednesday, 10 April 2013 9:31 PM
> *Subject:* Re: [Dhis2-devs] Requirement
>
>
> Hi Barnali,
>
> it would be good if could provide some more info re your problem, like the
> aggregation query, potential exceptions - makes it easier to help.
>
> regards,
>
> Lars
>
>
>
>
>
>
>
>
>
> On Tue, Apr 9, 2013 at 9:31 PM, Rodolfo Melia  wrote:
>
> Sometimes, if you are simply counting encounters or similar, you may not
> even need to set a condition. If you set a condition, then it must be a
> full logical statement, like gender='female'.
>
>
> On Tue, Apr 9, 2013 at 8:10 PM, Barnali Bhaduri wrote:
>
> Hi,
>Thank you very much.
>I have one requirement,related to aggregation query builder
> using single event without registration program data element.I try to
> follow DHIS2 user guide ,but it is not clear to me,when I try to follow
> the  step,the test condition not run successfully .From where I get the
> result.
> Thanks
> Barnali Banerjee
>--
> *From:* Rodolfo Melia 
> *To:* Barnali Bhaduri 
> *Cc:* "dhis2-devs@lists.launchpad.net" 
> *Sent:* Monday, 8 April 2013 2:00 PM
> *Subject:* Re: [Dhis2-devs] Requirement
>
> Hi - you seem to want to use the system for recording individual
> transactions, rather than data reported in a pre-stablished interval using
> a recurrent reporting frequency. Perhaps you should use Single Event
> without registration?
>
> Regarding your UI requirements, you can create a custom form that could
> incorporate jscript, so you can achieve what you describe in your email.
>
> R
>
>
> On Sun, Apr 7, 2013 at 8:24 AM, Barnali Bhaduri wrote:
>
> Dear All,
> We have the following requirement for an data element. Please let me know
> what will be the best way to implement it in DHIS2
>
> Say the aggregate data element is ABC for a facility, Facility 1
>
> 1. On the 1st date (the day when the system starts) for a Facility the
> Admin Facility Staff will enter initial current value of ABC in a data
> entry form (UI-1). Say the initial value is X.
>
> This form will be entered
> 1. On the first day of implementation
> 2. Once in a while when required to manually override the value of ABC
> Facility staff will rarely use UI-1
>
> Nice to Have requirement:
> When the form is edited it will be great to have a time-stamped history of
> this record only if the system automatically does it
> .
> We will not like to have any "Frequency" (Period) , that needs to be
> manually selected. But as it seems a required field, we can make the
> Frequency Yearly. If that is the case, is it possible to have a job that
> will copy the value of ABC of 2013 to 2014 at mid-night of 31st December,
> 2013 automatically?
>
> 2. Ongoing basis the Facility Staff at the Front desk (different from the
> admin staff), will be using another form (UI-2) to increment ABC by 1, with
> a single click
>
> The initial ABC value will come from the UI 1. Say, it is X.
>
> It will have the following layout
> ABC =  _X__ (not editable) [Increment Button by 1]
> The facility staff will click on the increment button. With one click the
> value of ABC will become X + 1.
>
> The facility staff may do this click once, more then once or not at-all on
> a single day. It is not required to capture the time-stamp of these clicks.
>
> The requirement is that the staff entry will be ONLY in the form of
> clicking the buttons, nothing else.
> There should be minimal amount of manual data entry required in this
> screen. If any data is required (e.g: Organization Unit) it should be
> only a single value and defaulted by the system (e.g: Organization Unit
> defaulted to Facility 1)
>
> The basic idea of the requirement is as following:
> 1. The facility admin wants to make this easier for the staff as much as
> possible while wants to keep the duty segregated.
> 2. They want to have two UI, one for initialization and manual override
>

Re: [Dhis2-devs] Requirement

2013-04-09 Thread Rodolfo Melia
Sometimes, if you are simply counting encounters or similar, you may not
even need to set a condition. If you set a condition, then it must be a
full logical statement, like gender='female'.


On Tue, Apr 9, 2013 at 8:10 PM, Barnali Bhaduri wrote:

> Hi,
>Thank you very much.
>I have one requirement,related to aggregation query builder
> using single event without registration program data element.I try to
> follow DHIS2 user guide ,but it is not clear to me,when I try to follow
> the  step,the test condition not run successfully .From where I get the
> result.
> Thanks
> Barnali Banerjee
>------
> *From:* Rodolfo Melia 
> *To:* Barnali Bhaduri 
> *Cc:* "dhis2-devs@lists.launchpad.net" 
> *Sent:* Monday, 8 April 2013 2:00 PM
> *Subject:* Re: [Dhis2-devs] Requirement
>
> Hi - you seem to want to use the system for recording individual
> transactions, rather than data reported in a pre-stablished interval using
> a recurrent reporting frequency. Perhaps you should use Single Event
> without registration?
>
> Regarding your UI requirements, you can create a custom form that could
> incorporate jscript, so you can achieve what you describe in your email.
>
> R
>
>
> On Sun, Apr 7, 2013 at 8:24 AM, Barnali Bhaduri wrote:
>
> Dear All,
> We have the following requirement for an data element. Please let me know
> what will be the best way to implement it in DHIS2
>
> Say the aggregate data element is ABC for a facility, Facility 1
>
> 1. On the 1st date (the day when the system starts) for a Facility the
> Admin Facility Staff will enter initial current value of ABC in a data
> entry form (UI-1). Say the initial value is X.
>
> This form will be entered
> 1. On the first day of implementation
> 2. Once in a while when required to manually override the value of ABC
> Facility staff will rarely use UI-1
>
> Nice to Have requirement:
> When the form is edited it will be great to have a time-stamped history of
> this record only if the system automatically does it
> .
> We will not like to have any "Frequency" (Period) , that needs to be
> manually selected. But as it seems a required field, we can make the
> Frequency Yearly. If that is the case, is it possible to have a job that
> will copy the value of ABC of 2013 to 2014 at mid-night of 31st December,
> 2013 automatically?
>
> 2. Ongoing basis the Facility Staff at the Front desk (different from the
> admin staff), will be using another form (UI-2) to increment ABC by 1, with
> a single click
>
> The initial ABC value will come from the UI 1. Say, it is X.
>
> It will have the following layout
> ABC =  _X__ (not editable) [Increment Button by 1]
> The facility staff will click on the increment button. With one click the
> value of ABC will become X + 1.
>
> The facility staff may do this click once, more then once or not at-all on
> a single day. It is not required to capture the time-stamp of these clicks.
>
> The requirement is that the staff entry will be ONLY in the form of
> clicking the buttons, nothing else.
> There should be minimal amount of manual data entry required in this
> screen. If any data is required (e.g: Organization Unit) it should be
> only a single value and defaulted by the system (e.g: Organization Unit
> defaulted to Facility 1)
>
> The basic idea of the requirement is as following:
> 1. The facility admin wants to make this easier for the staff as much as
> possible while wants to keep the duty segregated.
> 2. They want to have two UI, one for initialization and manual override
> and other for one click update (not editable)
> 3. They are not so concerned about the reporting part. It is good to have
> the audit , history etc to understand the performance of staff, but not at
> the expense of making it difficult for the staff in their already burdened
> day.
>
>   Thanks
> Barnali Banerjee
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> --
> *Rodolfo Meliá*
> *Principal*
> rme...@knowming.com
> www.knowming.com
> +1 708 872 7636
> +44 777 576 4090
> Skype: rod.melia
> Twitter: @RodolfoMelia <https://twitter.com/RodolfoMelia>
>
> Note: Please note my new email address, which I will be using for PSI
> related work: rme...@knowming.com
>
>
>


-- 
*Rodolfo Meliá*
*Principal*
rme...@knowming.com
www.knowming.com
+1 708 872 7636
+44 777 576 4090
Skype: rod.melia
Twitter: @RodolfoMelia <https://twitter.com/RodolfoMelia>

Note: Please note my new email address, which I will be using for PSI
related work: rme...@knowming.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Requirement

2013-04-08 Thread Rodolfo Melia
Hi - you seem to want to use the system for recording individual
transactions, rather than data reported in a pre-stablished interval using
a recurrent reporting frequency. Perhaps you should use Single Event
without registration?

Regarding your UI requirements, you can create a custom form that could
incorporate jscript, so you can achieve what you describe in your email.

R


On Sun, Apr 7, 2013 at 8:24 AM, Barnali Bhaduri wrote:

> Dear All,
> We have the following requirement for an data element. Please let me know
> what will be the best way to implement it in DHIS2
>
> Say the aggregate data element is ABC for a facility, Facility 1
>
> 1. On the 1st date (the day when the system starts) for a Facility the
> Admin Facility Staff will enter initial current value of ABC in a data
> entry form (UI-1). Say the initial value is X.
>
> This form will be entered
> 1. On the first day of implementation
> 2. Once in a while when required to manually override the value of ABC
> Facility staff will rarely use UI-1
>
> Nice to Have requirement:
> When the form is edited it will be great to have a time-stamped history of
> this record only if the system automatically does it
> .
> We will not like to have any "Frequency" (Period) , that needs to be
> manually selected. But as it seems a required field, we can make the
> Frequency Yearly. If that is the case, is it possible to have a job that
> will copy the value of ABC of 2013 to 2014 at mid-night of 31st December,
> 2013 automatically?
>
> 2. Ongoing basis the Facility Staff at the Front desk (different from the
> admin staff), will be using another form (UI-2) to increment ABC by 1, with
> a single click
>
> The initial ABC value will come from the UI 1. Say, it is X.
>
> It will have the following layout
> ABC =  _X__ (not editable) [Increment Button by 1]
> The facility staff will click on the increment button. With one click the
> value of ABC will become X + 1.
>
> The facility staff may do this click once, more then once or not at-all on
> a single day. It is not required to capture the time-stamp of these clicks.
>
> The requirement is that the staff entry will be ONLY in the form of
> clicking the buttons, nothing else.
> There should be minimal amount of manual data entry required in this
> screen. If any data is required (e.g: Organization Unit) it should be
> only a single value and defaulted by the system (e.g: Organization Unit
> defaulted to Facility 1)
>
> The basic idea of the requirement is as following:
> 1. The facility admin wants to make this easier for the staff as much as
> possible while wants to keep the duty segregated.
> 2. They want to have two UI, one for initialization and manual override
> and other for one click update (not editable)
> 3. They are not so concerned about the reporting part. It is good to have
> the audit , history etc to understand the performance of staff, but not at
> the expense of making it difficult for the staff in their already burdened
> day.
>
>   Thanks
> Barnali Banerjee
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
*Rodolfo Meliá*
*Principal*
rme...@knowming.com
www.knowming.com
+1 708 872 7636
+44 777 576 4090
Skype: rod.melia
Twitter: @RodolfoMelia 

Note: Please note my new email address, which I will be using for PSI
related work: rme...@knowming.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 1155468] [NEW] Personal attributes can only be used in one programme

2013-03-15 Thread Rodolfo Melia
Hi - As I understand it, once you add an attribute to a program, it gets
'locked' in that program, making it unavailable to any other program.  I
also think that this is too restrictive - at a minimun, you should be able
to add the same attribute to another program, when applicable - similar to
what you can do with data elements - you add the data element to as many
DataSets/Program Stages as require. If the attribute already has a value
(because it was captured on another program), it will be ok if the system
displays the current value - at the end, the idea is that you have a piece
of metadata associated to the individual record, and you use that data for
profiling your client.

My particular case is as follows: I need to collect 'number of children
alive' and 'education level' for a client in 2 programs, out of the
multiple programs that I have. A client may enroll on both programs, or
only one of them, in no particular order. At the moment I cannot related
the attribute to both programs, because the current limitation. I have to
ask the information for ALL individuals, although irrelevant to many of the
other programs.

So yes, allowing an attribute to be collected by more than one program
sounds like a great solution (with the attribute value being common .
Certainly I let the DHIS team to decide, as there may be implication that I
don't yet understand - I'm quite new to DHIS.

R



On Fri, Mar 15, 2013 at 8:21 AM, Abhijeet .  wrote:

> hi ingvild, currently it is as you said, specific attributes id for
> specific programme
> i am not sure of intentionally, may be the idea behind this could be,
> attributes when you just create it. it displays in Registration screen
> which is generic for all programmes, but when you add some attributes in
> programme then it becomes specific to that programme only, than that
> attributes can not be displayed in Registration screen(logically) and not
> being used in another programme,as if now.
> i think it could be made to use for other programme as well, making it
> generic would not be a problem but then we have to link it with respective
> programmes
> for Reports management etc
>
> On Fri, Mar 15, 2013 at 12:08 PM, Ingvild Indrebø 
> wrote:
>
>> Public bug reported:
>>
>> If you add some extra personal attributes and use them in one programme,
>> the following programmes can not use the same attributes. One attribute
>> can only be used once. Is this intentionally? Trunk 2.11 chrome
>>
>> ** Affects: dhis2
>>  Importance: Undecided
>>  Status: New
>>
>> --
>> You received this bug notification because you are a member of DHIS 2
>> developers, which is subscribed to DHIS.
>> https://bugs.launchpad.net/bugs/1155468
>>
>> Title:
>>   Personal attributes can only be used in one programme
>>
>> Status in DHIS 2 - District Health Information Software:
>>   New
>>
>> Bug description:
>>   If you add some extra personal attributes and use them in one
>>   programme, the following programmes can not use the same attributes.
>>   One attribute can only be used once. Is this intentionally? Trunk 2.11
>>   chrome
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/dhis2/+bug/1155468/+subscriptions
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>
> --
>
>
> Regards,*?*
>
> * Abhijeet*
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
*Rodolfo Meliá*
*Principal*
rme...@knowming.com
www.knowming.com
+1 708 872 7636
+44 777 576 4090
Skype: rod.melia
Twitter: @RodolfoMelia 

Note: Please note my new email address, which I will be using for PSI
related work: rme...@knowming.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


  1   2   >