Re: [Dhis2-users] Tracker Capture, problem with list of entities

2016-02-05 Thread Abyot Gizaw
Hello Barakissa,

In 2.22 we have introduced a program property that allows you to control
where to display list of tracked entities in the first page of tracker by
default or not. If you want to see the list by default, make sure you have
set "Display front page list" to "Yes" in your program definition.
Otherwise, you need to type matching search parameter to see a list.

---
Thank you,
Abyot.

On Fri, Feb 5, 2016 at 9:32 AM, Gniko Houibe  wrote:

> Hello all,
>
> I want to use DHIS2 for single case recording.
> For this I have 2 Installations: one on my local computer(Virtual Box)
> using DHIS 2.21 and the second installation is on a remote server with 2.22.
>
> For both I am using Ubuntu 14.04, Postgres 9.3, Java Oracle 8 and Tomcat.
>
> In 2.21, when I create a new "Program" and assign it to my user and to an
> organisation, I am able to create and see entities for this program in the
> tracker capture.
>
> In 2.22, for the same procedure, I am not able to see the list of entities
> I have created. And I checked in my database, the entities have be saved
> (see Attachment). But I can not see any related error in the log files.
>
> My question is, could someone tell me what am I doing wrong, or what I
> should do next?
>
> Thanks,
>
> Barakissa
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Value-Type : Tracker Associate

2016-02-02 Thread Abyot Gizaw
Hi Nick,

It is a bit tricky and unfortunate that we have tracker associate value
type is now exposed in data element UI. The use case has been to assign
tracker associate value types only for attributes not data elements. I
would say ignore tracker associate value type when working with data
elements at least fro now.

Tracker associate value type is used to store UID of a tracked entity
instance. The intention is to link two tracked entity instances.


---
Thank you,
Abyot.

On Tue, Feb 2, 2016 at 8:04 AM, Shurajit Dutta 
wrote:

> Hi,
>
> I was wondering if anyone can clarify what the value-type  tracker
> associate means. This is available in data element maintenance.
>
> Also, there are several new average types available as the aggregation
> type. Any clarification on this terms would be very helpful.
>
> [image: Inline image 1]
>
> Thanks,
> Nick
>
> --
> Shurajit Dutta
> Health Information Consultant
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Tracker Capture reactivate completed enrollment

2016-01-07 Thread Abyot Gizaw
Hi,

Re-opening completed enrollments is coming in 2.22. The re-opening will
allow full operations on enrollment - meaning adding / editing / removing
events ... The only catch here is, it is not possible to re-open enrollment
if there is another active enrollment going on.

We are also hoping to allow re-opening enrollment in limited mode - meaning
only to edit event data not add / remove event - when another active
enrollment exists. But  I am afraid this won't make it for 2.22.

---
Thank you,
Abyot.

On Fri, Jan 8, 2016 at 7:01 AM, Pamod Amarakoon  wrote:

> Thanx Morten.
>
> It would be great if it's possible re-enroll. I'd wait for Abyot.
>
> On Fri, Jan 8, 2016 at 11:16 AM, Morten Olav Hansen 
> wrote:
>
>> Hi Pamod
>>
>> Yes, this is the current standing of how enrollments work. There have
>> been some discussions internally about this, maybe Abyot can explain what
>> the ending result was.
>>
>> --
>> Morten
>>
>> On Sat, Jan 2, 2016 at 10:59 PM, Pamod Amarakoon 
>> wrote:
>>
>>> Dear All,
>>>
>>> I'd like to wish you all a happy and prosperous new year !
>>>
>>> I noticed an issue, which I need to clarify. Is it not possible to edit
>>> records or to make an enrollment active again once it has been completed.
>>>
>>>
>>> ​
>>> As shown in the screenshot, the enrollment grays out once it has been
>>> completed. I cannot find an option to make the enrollment active again or
>>> to edit the data of any events attached to any of the stages of the
>>> particular enrollment.
>>>
>>> Version:
>>> 2.21
>>> Build revision:
>>> 20983
>>> Build date:
>>> 2015-12-30 14:31
>>>
>>> But when I manually changed the relevant field in programinstance table
>>> it goes active again.
>>>
>>> Thank you
>>>
>>> --
>>> Regards,
>>> Pamod Amarakoon
>>>
>>> Confidentiality Notice: the information contained in this email and any
>>> attachments may be legally privileged and confidential. If you are not an
>>> intended recipient, you are hereby notified that any dissemination,
>>> distribution, or copying of this e-mail is strictly prohibited. If you have
>>> received this e-mail in error, please notify the sender and permanently
>>> delete the e-mail and any attachments immediately. You should not retain,
>>> copy or use this e-mail or any attachments for any purpose, nor disclose
>>> all or any part of the contents to any other person.
>>>
>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-d...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
>
> --
> Regards,
> Pamod Amarakoon
>
> Confidentiality Notice: the information contained in this email and any
> attachments may be legally privileged and confidential. If you are not an
> intended recipient, you are hereby notified that any dissemination,
> distribution, or copying of this e-mail is strictly prohibited. If you have
> received this e-mail in error, please notify the sender and permanently
> delete the e-mail and any attachments immediately. You should not retain,
> copy or use this e-mail or any attachments for any purpose, nor disclose
> all or any part of the contents to any other person.
>
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Search person by incidence date range

2016-01-06 Thread Abyot Gizaw
That is a proper solution, but then we have to make sure a selected program
has incident date.

The reason we skipped this was because all programs do not have incident
date like enrollment.

---

Thank you,
Abyot.
(sent from mobile)
On Jan 6, 2016 17:53, "Nayeem Al Mifthah"  wrote:

> Dear Markus
> It will be great if we can search by incidence date in advance search.
> On 6 Jan 2016 19:38, "Markus Bekken"  wrote:
>
>> Dear Nayeem,
>> at the moment you can do an advanced search based on enrollment date, but
>> not incidence date. Would it cover your usecase if the advanced search
>> accomodated the incidence date in the same way as enrollment date?
>>
>> Markus
>>
>> 6. jan. 2016 kl. 12.02 skrev Nayeem Al Mifthah :
>>
>> Dear All
>>
>> I want to search a entities by incidence date range, Is it possible on
>> tracker?
>>
>>
>> *Nayeem Al Mifthah*
>> Consultant (Team Leader of HMIS)
>> Management Information System
>> Directorate General of Health Services (DGHS), Bangladesh
>> Supported by: UNICEF-Bangladesh
>> Email: n.mift...@gmail.com  | nay...@mis.dghs.gov.bd
>> Cell:+8801914030574
>> Skype: nayeem.a.m
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@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-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] program registration

2015-12-09 Thread Abyot Gizaw
Hi Nami,

Yes, you have found out a bug.

It is now fixed.

Please check for revision 20957 or 2.21.


---
Thank you,
Abyot.

On Wed, Dec 9, 2015 at 10:50 AM, Nami Ghadri 
wrote:

> Hi Abyot,
>
>
>
>
>
> Dhis2.21 build version is 20935
>
>
>
> Build date is 2015-12-02 10:00
>
>
>
> Thanks in advance
>
>
>
>
>
> *From:* Abyot Gizaw [mailto:aby...@gmail.com]
> *Sent:* Wednesday, December 9, 2015 11:31 AM
> *To:* Nami Ghadri 
> *Cc:* DHIS 2 Users list 
> *Subject:* Re: [Dhis2-users] program registration
>
>
>
> Hi Nami,
>
>
>
> Which version of DHIS2 are you using?
>
>
>
>
> ---
>
> Thank you,
>
> Abyot.
>
>
>
> On Wed, Dec 9, 2015 at 10:04 AM, Nami Ghadri 
> wrote:
>
> Hello,
>
>
>
> I am registering patients in tracker capture for a  program form
> (attributes) using “Save and add new”
>
>
>
> The first patient is registered successfully and gives me “Success
> Registration completed” then the form appears again and when try to entered
> another patient it gives me nothing!
>
>
>
> In the console debug it gives me the following:
>
>
>
> Post
>
>
> Angular.js:87
>
>
>
> http://192.168.1.102:8089/dhis2.21/api/enrollments 409 (OK)
>
>
>
> Note: the line 87 in angular.jsis:
>
>
>
> u}catch(Z){if("json"!==u)throw Z;}F.send(l||null)}if(0 p&&G(p.then)&&p.then(s)}}function Ie(){var
> b="{{",a="}}";this.startSymbol=function(a){return
> a?(b=a,this):b};this.endSymbol=function(b){return
> b?(a=b,this):a};this.$get=["$parse","$exceptionHandler","$sce",function(c,d,e){function
> f(a){return"\\"+a}function g(f,g,u,s){function M(c){return
> c.replace(k,b).replace(n,a)}function v(a){try{var
> b=a;a=u?e.getTrusted(u,b):e.valueOf(b);var c;if(s&&!y(a))c=a;else
> if(null==a)c="";
>
>
>
> the pointer points at F.send in the first line
>
>
>
>
>
> any idea about it
>
>
>
> thanks in advance
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] program registration

2015-12-09 Thread Abyot Gizaw
Hi Nami,

Which version of DHIS2 are you using?


---
Thank you,
Abyot.

On Wed, Dec 9, 2015 at 10:04 AM, Nami Ghadri 
wrote:

> Hello,
>
>
>
> I am registering patients in tracker capture for a  program form
> (attributes) using “Save and add new”
>
>
>
> The first patient is registered successfully and gives me “Success
> Registration completed” then the form appears again and when try to entered
> another patient it gives me nothing!
>
>
>
> In the console debug it gives me the following:
>
>
>
> Post
>
>
> Angular.js:87
>
>
>
> http://192.168.1.102:8089/dhis2.21/api/enrollments 409 (OK)
>
>
>
> Note: the line 87 in angular.jsis:
>
>
>
> u}catch(Z){if("json"!==u)throw Z;}F.send(l||null)}if(0 p&&G(p.then)&&p.then(s)}}function Ie(){var
> b="{{",a="}}";this.startSymbol=function(a){return
> a?(b=a,this):b};this.endSymbol=function(b){return
> b?(a=b,this):a};this.$get=["$parse","$exceptionHandler","$sce",function(c,d,e){function
> f(a){return"\\"+a}function g(f,g,u,s){function M(c){return
> c.replace(k,b).replace(n,a)}function v(a){try{var
> b=a;a=u?e.getTrusted(u,b):e.valueOf(b);var c;if(s&&!y(a))c=a;else
> if(null==a)c="";
>
>
>
> the pointer points at F.send in the first line
>
>
>
>
>
> any idea about it
>
>
>
> thanks in advance
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] user Authorities

2015-12-02 Thread Abyot Gizaw
Hi,

This should work -
http://ci.dhis2.org/job/dhis2-2.21/94/artifact/dhis-2/dhis-web/dhis-web-portal/target/dhis.war


---
Thank you,
Abyot.

On Wed, Dec 2, 2015 at 11:16 AM, Oliver Munyao  wrote:

> Hi Abyot,
>
>  Can   you please share the .war file build download link
>
> On Wed, Dec 2, 2015 at 1:06 PM, Abyot Gizaw  wrote:
>
>> Hi Prosper,
>>
>> What problem do we have in 2.20?
>>
>> The fix is for a problem that happened just because individual records
>> was removed. We don't need this fix for 2.20
>>
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Wed, Dec 2, 2015 at 11:04 AM, Prosper BT  wrote:
>>
>>> Hi Abyot,
>>>
>>> Can you backport the fix also to 2.20?
>>>
>>> Regards
>>>
>>> On Wed, Dec 2, 2015 at 12:58 PM, Abyot Gizaw  wrote:
>>>
>>>> You need to wait for at least half an hour to get the latest war file
>>>> ... just make sure you have revision 20935.
>>>>
>>>>
>>>> ---
>>>> Thank you,
>>>> Abyot.
>>>>
>>>> On Wed, Dec 2, 2015 at 10:50 AM, Nami Ghadri 
>>>> wrote:
>>>>
>>>>> I think it’s not there yet
>>>>>
>>>>>
>>>>>
>>>>> Kindly advice
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *From:* Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri=
>>>>> hotmail@lists.launchpad.net] *On Behalf Of *Nami Ghadri
>>>>> *Sent:* Wednesday, December 2, 2015 11:46 AM
>>>>> *To:* 'Abyot Gizaw' ; omun...@gmail.com
>>>>>
>>>>> *Cc:* 'DHIS 2 Users list' 
>>>>> *Subject:* Re: [Dhis2-users] user Authorities
>>>>>
>>>>>
>>>>>
>>>>> That’s great thanks for information
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *From:* Abyot Gizaw [mailto:aby...@gmail.com ]
>>>>> *Sent:* Wednesday, December 2, 2015 11:44 AM
>>>>> *To:* Nami Ghadri ; omun...@gmail.com
>>>>> *Cc:* DHIS 2 Users list 
>>>>> *Subject:* Re: [Dhis2-users] user Authorities
>>>>>
>>>>>
>>>>>
>>>>> Hi Nami, Munyao,
>>>>>
>>>>>
>>>>>
>>>>> Just now we made a small fix regarding authorities - please go for
>>>>> revision 20935 of 2.21.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---
>>>>>
>>>>> Thank you,
>>>>>
>>>>> Abyot.
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Dec 2, 2015 at 10:18 AM, Nami Ghadri 
>>>>> wrote:
>>>>>
>>>>> Dear Abyot,
>>>>>
>>>>>
>>>>>
>>>>> As I told you I could’t find the bellow in the Authorities filed but
>>>>> what I did is adding the following in database:
>>>>>
>>>>>
>>>>>
>>>>> The 475569 is my userroleid which I created
>>>>>
>>>>> insert into userroleauthorities(userroleid,authority)
>>>>> values(475569,'F_PROGRAM_UNENROLLMENT');
>>>>>
>>>>> insert into userroleauthorities(userroleid,authority)
>>>>> values(475569,'F_PROGRAM_ENROLLMENT');
>>>>>
>>>>> insert into userroleauthorities(userroleid,authority)
>>>>> values(475569,'F_TRACKED_ENTITY_INSTANCE_DELETE');
>>>>>
>>>>> insert into userroleauthorities(userroleid,authority)
>>>>> values(475569,'F_TRACKED_ENTITY_INSTANCE_ADD');
>>>>>
>>>>>
>>>>>
>>>>> then I checked the Authorities field and I found what you sent me
>>>>>
>>>>>
>>>>>
>>>>> I don’t know why but this what happened
>>>>>
>>>>>
>>>>>
>>>>> Thanks again for support
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *From:* D

Re: [Dhis2-users] user Authorities

2015-12-02 Thread Abyot Gizaw
Hi Prosper,

What problem do we have in 2.20?

The fix is for a problem that happened just because individual records was
removed. We don't need this fix for 2.20


---
Thank you,
Abyot.

On Wed, Dec 2, 2015 at 11:04 AM, Prosper BT  wrote:

> Hi Abyot,
>
> Can you backport the fix also to 2.20?
>
> Regards
>
> On Wed, Dec 2, 2015 at 12:58 PM, Abyot Gizaw  wrote:
>
>> You need to wait for at least half an hour to get the latest war file ...
>> just make sure you have revision 20935.
>>
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Wed, Dec 2, 2015 at 10:50 AM, Nami Ghadri 
>> wrote:
>>
>>> I think it’s not there yet
>>>
>>>
>>>
>>> Kindly advice
>>>
>>>
>>>
>>> Regards,
>>>
>>>
>>>
>>>
>>>
>>> *From:* Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri=
>>> hotmail@lists.launchpad.net] *On Behalf Of *Nami Ghadri
>>> *Sent:* Wednesday, December 2, 2015 11:46 AM
>>> *To:* 'Abyot Gizaw' ; omun...@gmail.com
>>>
>>> *Cc:* 'DHIS 2 Users list' 
>>> *Subject:* Re: [Dhis2-users] user Authorities
>>>
>>>
>>>
>>> That’s great thanks for information
>>>
>>>
>>>
>>> Regards,
>>>
>>>
>>>
>>>
>>>
>>> *From:* Abyot Gizaw [mailto:aby...@gmail.com ]
>>> *Sent:* Wednesday, December 2, 2015 11:44 AM
>>> *To:* Nami Ghadri ; omun...@gmail.com
>>> *Cc:* DHIS 2 Users list 
>>> *Subject:* Re: [Dhis2-users] user Authorities
>>>
>>>
>>>
>>> Hi Nami, Munyao,
>>>
>>>
>>>
>>> Just now we made a small fix regarding authorities - please go for
>>> revision 20935 of 2.21.
>>>
>>>
>>>
>>>
>>> ---
>>>
>>> Thank you,
>>>
>>> Abyot.
>>>
>>>
>>>
>>> On Wed, Dec 2, 2015 at 10:18 AM, Nami Ghadri 
>>> wrote:
>>>
>>> Dear Abyot,
>>>
>>>
>>>
>>> As I told you I could’t find the bellow in the Authorities filed but
>>> what I did is adding the following in database:
>>>
>>>
>>>
>>> The 475569 is my userroleid which I created
>>>
>>> insert into userroleauthorities(userroleid,authority)
>>> values(475569,'F_PROGRAM_UNENROLLMENT');
>>>
>>> insert into userroleauthorities(userroleid,authority)
>>> values(475569,'F_PROGRAM_ENROLLMENT');
>>>
>>> insert into userroleauthorities(userroleid,authority)
>>> values(475569,'F_TRACKED_ENTITY_INSTANCE_DELETE');
>>>
>>> insert into userroleauthorities(userroleid,authority)
>>> values(475569,'F_TRACKED_ENTITY_INSTANCE_ADD');
>>>
>>>
>>>
>>> then I checked the Authorities field and I found what you sent me
>>>
>>>
>>>
>>> I don’t know why but this what happened
>>>
>>>
>>>
>>> Thanks again for support
>>>
>>>
>>>
>>>
>>>
>>> *From:* Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri=
>>> hotmail@lists.launchpad.net] *On Behalf Of *Nami Ghadri
>>> *Sent:* Wednesday, December 2, 2015 10:36 AM
>>>
>>>
>>> *To:* 'Abyot Gizaw' 
>>> *Cc:* 'DHIS 2 Users list' 
>>> *Subject:* Re: [Dhis2-users] user Authorities
>>>
>>>
>>>
>>> Dear Abyot,
>>>
>>>
>>>
>>> I can’t find the following in the Authorities:
>>>
>>>
>>>
>>> -  Add/Update Tracked Entity Instance
>>>
>>> -  Delete Tracked Entity Instance
>>>
>>> -  Program Enrollment
>>>
>>> -  Program Un-enrollment
>>>
>>>
>>>
>>> Pleas advice
>>>
>>>
>>>
>>> *From:* Dhis2-users [
>>> mailto:dhis2-users-bounces+nami_ghadri=hotmail@lists.launchpad.net
>>> ] *On
>>> Behalf Of *Nami Ghadri
>>> *Sent:* Wednesday, December 2, 2015 10:30 AM
>>> *To:* 'Abyot Gizaw' 
>>> *Cc:* 'DHIS 2 Users list' 
>>> *Subject:* Re: [Dhis2-users] user Authorities
>>>
>>>
>>>
>>> Hello abyot,
>>>
>>>
>>>
>>> I am using 2.21 latest revision , I created new 

Re: [Dhis2-users] user Authorities

2015-12-02 Thread Abyot Gizaw
You need to wait for at least half an hour to get the latest war file ...
just make sure you have revision 20935.


---
Thank you,
Abyot.

On Wed, Dec 2, 2015 at 10:50 AM, Nami Ghadri 
wrote:

> I think it’s not there yet
>
>
>
> Kindly advice
>
>
>
> Regards,
>
>
>
>
>
> *From:* Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri=
> hotmail@lists.launchpad.net] *On Behalf Of *Nami Ghadri
> *Sent:* Wednesday, December 2, 2015 11:46 AM
> *To:* 'Abyot Gizaw' ; omun...@gmail.com
>
> *Cc:* 'DHIS 2 Users list' 
> *Subject:* Re: [Dhis2-users] user Authorities
>
>
>
> That’s great thanks for information
>
>
>
> Regards,
>
>
>
>
>
> *From:* Abyot Gizaw [mailto:aby...@gmail.com ]
> *Sent:* Wednesday, December 2, 2015 11:44 AM
> *To:* Nami Ghadri ; omun...@gmail.com
> *Cc:* DHIS 2 Users list 
> *Subject:* Re: [Dhis2-users] user Authorities
>
>
>
> Hi Nami, Munyao,
>
>
>
> Just now we made a small fix regarding authorities - please go for
> revision 20935 of 2.21.
>
>
>
>
> ---
>
> Thank you,
>
> Abyot.
>
>
>
> On Wed, Dec 2, 2015 at 10:18 AM, Nami Ghadri 
> wrote:
>
> Dear Abyot,
>
>
>
> As I told you I could’t find the bellow in the Authorities filed but what
> I did is adding the following in database:
>
>
>
> The 475569 is my userroleid which I created
>
> insert into userroleauthorities(userroleid,authority)
> values(475569,'F_PROGRAM_UNENROLLMENT');
>
> insert into userroleauthorities(userroleid,authority)
> values(475569,'F_PROGRAM_ENROLLMENT');
>
> insert into userroleauthorities(userroleid,authority)
> values(475569,'F_TRACKED_ENTITY_INSTANCE_DELETE');
>
> insert into userroleauthorities(userroleid,authority)
> values(475569,'F_TRACKED_ENTITY_INSTANCE_ADD');
>
>
>
> then I checked the Authorities field and I found what you sent me
>
>
>
> I don’t know why but this what happened
>
>
>
> Thanks again for support
>
>
>
>
>
> *From:* Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri=
> hotmail@lists.launchpad.net] *On Behalf Of *Nami Ghadri
> *Sent:* Wednesday, December 2, 2015 10:36 AM
>
>
> *To:* 'Abyot Gizaw' 
> *Cc:* 'DHIS 2 Users list' 
> *Subject:* Re: [Dhis2-users] user Authorities
>
>
>
> Dear Abyot,
>
>
>
> I can’t find the following in the Authorities:
>
>
>
> -  Add/Update Tracked Entity Instance
>
> -  Delete Tracked Entity Instance
>
> -  Program Enrollment
>
> -  Program Un-enrollment
>
>
>
> Pleas advice
>
>
>
> *From:* Dhis2-users [
> mailto:dhis2-users-bounces+nami_ghadri=hotmail@lists.launchpad.net
> ] *On
> Behalf Of *Nami Ghadri
> *Sent:* Wednesday, December 2, 2015 10:30 AM
> *To:* 'Abyot Gizaw' 
> *Cc:* 'DHIS 2 Users list' 
> *Subject:* Re: [Dhis2-users] user Authorities
>
>
>
> Hello abyot,
>
>
>
> I am using 2.21 latest revision , I created new user role , and I will try
> what u sent me
>
>
>
> Thanks for replay
>
>
>
>
>
>
>
> *From:* Abyot Gizaw [mailto:aby...@gmail.com ]
> *Sent:* Wednesday, December 2, 2015 10:11 AM
> *To:* Nami Ghadri 
> *Cc:* DHIS 2 Users list 
> *Subject:* Re: [Dhis2-users] user Authorities
>
>
>
> Hi Nami,
>
>
>
> Which version of DHIS2 are you using? and what are the user roles you
> assigned?
>
>
>
> In addition to assigning program to your user, below are the authorities
> you need for tracker apps.
>
>
>
> *Event Capture*
>
> Add/Update Tracked Entity Data Value
>
> Delete Tracked Entity Data Value
>
> *Tracker Capture*
>
> Add/Update Tracked Entity Data Value
>
> Delete Tracked Entity Data Value
>
> Search Tracked Entity Instance
>
> Search Tracked Entity Instance in All Org Units
>
> Add/Update Tracked Entity Instance
>
> Delete Tracked Entity Instance
>
> Program Enrollment
>
> Program Un-enrollment
>
>
>
>
>
>
>
>
>
>
> ---
>
> Thank you,
>
> Abyot.
>
>
>
> On Wed, Dec 2, 2015 at 8:36 AM, Nami Ghadri 
> wrote:
>
> Dears,
>
>
>
> What ever I do for user role , it want authorize the user to enter data
> into tracker capture
>
>
>
> Unless I put All into role configuration
>
>
>
> Any idea
>
>
>
> Thanks
>
>
>
>
>
> *From:* Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri=
> hotmail@lists.launchpad.net] *On Behalf Of *Nami Ghadri
> *Sent:* Wednesday, December 2, 2015 

Re: [Dhis2-users] user Authorities

2015-12-02 Thread Abyot Gizaw
Hi Nami, Munyao,

Just now we made a small fix regarding authorities - please go for
revision 20935 of 2.21.


---
Thank you,
Abyot.

On Wed, Dec 2, 2015 at 10:18 AM, Nami Ghadri 
wrote:

> Dear Abyot,
>
>
>
> As I told you I could’t find the bellow in the Authorities filed but what
> I did is adding the following in database:
>
>
>
> The 475569 is my userroleid which I created
>
> insert into userroleauthorities(userroleid,authority)
> values(475569,'F_PROGRAM_UNENROLLMENT');
>
> insert into userroleauthorities(userroleid,authority)
> values(475569,'F_PROGRAM_ENROLLMENT');
>
> insert into userroleauthorities(userroleid,authority)
> values(475569,'F_TRACKED_ENTITY_INSTANCE_DELETE');
>
> insert into userroleauthorities(userroleid,authority)
> values(475569,'F_TRACKED_ENTITY_INSTANCE_ADD');
>
>
>
> then I checked the Authorities field and I found what you sent me
>
>
>
> I don’t know why but this what happened
>
>
>
> Thanks again for support
>
>
>
>
>
> *From:* Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri=
> hotmail@lists.launchpad.net] *On Behalf Of *Nami Ghadri
> *Sent:* Wednesday, December 2, 2015 10:36 AM
>
> *To:* 'Abyot Gizaw' 
> *Cc:* 'DHIS 2 Users list' 
> *Subject:* Re: [Dhis2-users] user Authorities
>
>
>
> Dear Abyot,
>
>
>
> I can’t find the following in the Authorities:
>
>
>
> -  Add/Update Tracked Entity Instance
>
> -  Delete Tracked Entity Instance
>
> -  Program Enrollment
>
> -  Program Un-enrollment
>
>
>
> Pleas advice
>
>
>
> *From:* Dhis2-users [
> mailto:dhis2-users-bounces+nami_ghadri=hotmail@lists.launchpad.net
> ] *On
> Behalf Of *Nami Ghadri
> *Sent:* Wednesday, December 2, 2015 10:30 AM
> *To:* 'Abyot Gizaw' 
> *Cc:* 'DHIS 2 Users list' 
> *Subject:* Re: [Dhis2-users] user Authorities
>
>
>
> Hello abyot,
>
>
>
> I am using 2.21 latest revision , I created new user role , and I will try
> what u sent me
>
>
>
> Thanks for replay
>
>
>
>
>
>
>
> *From:* Abyot Gizaw [mailto:aby...@gmail.com ]
> *Sent:* Wednesday, December 2, 2015 10:11 AM
> *To:* Nami Ghadri 
> *Cc:* DHIS 2 Users list 
> *Subject:* Re: [Dhis2-users] user Authorities
>
>
>
> Hi Nami,
>
>
>
> Which version of DHIS2 are you using? and what are the user roles you
> assigned?
>
>
>
> In addition to assigning program to your user, below are the authorities
> you need for tracker apps.
>
>
>
> *Event Capture*
>
> Add/Update Tracked Entity Data Value
>
> Delete Tracked Entity Data Value
>
> *Tracker Capture*
>
> Add/Update Tracked Entity Data Value
>
> Delete Tracked Entity Data Value
>
> Search Tracked Entity Instance
>
> Search Tracked Entity Instance in All Org Units
>
> Add/Update Tracked Entity Instance
>
> Delete Tracked Entity Instance
>
> Program Enrollment
>
> Program Un-enrollment
>
>
>
>
>
>
>
>
>
>
> ---
>
> Thank you,
>
> Abyot.
>
>
>
> On Wed, Dec 2, 2015 at 8:36 AM, Nami Ghadri 
> wrote:
>
> Dears,
>
>
>
> What ever I do for user role , it want authorize the user to enter data
> into tracker capture
>
>
>
> Unless I put All into role configuration
>
>
>
> Any idea
>
>
>
> Thanks
>
>
>
>
>
> *From:* Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri=
> hotmail@lists.launchpad.net] *On Behalf Of *Nami Ghadri
> *Sent:* Wednesday, December 2, 2015 1:18 AM
> *To:* 'DHIS 2 Users list' 
> *Subject:* [Dhis2-users] user Authorities
>
>
>
> Hello,
>
>
>
> I have a program with registration and I want to grant a user only
> authorization to enter attribute data
>
>
>
> I created a user role and give:
>
> -  Add/Update Tracked Entity Data Value
>
> -  Add/Update Tracked Entity Instance
>
> And in the user profile assigned the role for it and org unit
>
>
>
>
>
> When I ever the user wants to register data in the attribute form in the
> tracker capture in gives him error registration and access denied
>
>
>
> Can any body help please on what Authorities should I give for such user?
>
>
>
> Regards,
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] user Authorities

2015-12-02 Thread Abyot Gizaw
Hi Nami,

Which version of DHIS2 are you using? and what are the user roles you
assigned?

In addition to assigning program to your user, below are the authorities
you need for tracker apps.


*Event Capture*

Add/Update Tracked Entity Data Value

Delete Tracked Entity Data Value

*Tracker Capture*

Add/Update Tracked Entity Data Value

Delete Tracked Entity Data Value

Search Tracked Entity Instance

Search Tracked Entity Instance in All Org Units

Add/Update Tracked Entity Instance

Delete Tracked Entity Instance

Program Enrollment

Program Un-enrollment






---
Thank you,
Abyot.

On Wed, Dec 2, 2015 at 8:36 AM, Nami Ghadri  wrote:

> Dears,
>
>
>
> What ever I do for user role , it want authorize the user to enter data
> into tracker capture
>
>
>
> Unless I put All into role configuration
>
>
>
> Any idea
>
>
>
> Thanks
>
>
>
>
>
> *From:* Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri=
> hotmail@lists.launchpad.net] *On Behalf Of *Nami Ghadri
> *Sent:* Wednesday, December 2, 2015 1:18 AM
> *To:* 'DHIS 2 Users list' 
> *Subject:* [Dhis2-users] user Authorities
>
>
>
> Hello,
>
>
>
> I have a program with registration and I want to grant a user only
> authorization to enter attribute data
>
>
>
> I created a user role and give:
>
> -  Add/Update Tracked Entity Data Value
>
> -  Add/Update Tracked Entity Instance
>
> And in the user profile assigned the role for it and org unit
>
>
>
>
>
> When I ever the user wants to register data in the attribute form in the
> tracker capture in gives him error registration and access denied
>
>
>
> Can any body help please on what Authorities should I give for such user?
>
>
>
> Regards,
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Tracker capture: print blank form / Tabular tracker capture: org units

2015-12-01 Thread Abyot Gizaw
Hi Lise,

Unfortunately we don't have print from feature for tracker capture - but it
is something that we can implement.

Tabular tracker capture is not part of the core dhis2 apps, so can't really
comment. Hope others will provide some comment.





---
Thank you,
Abyot.

On Tue, Dec 1, 2015 at 10:24 AM, GROUT, Lise  wrote:

> Dear DHIS2 users,
>
>
>
> We are developing a registry on DHIS2, and have some questions:
>
>
>
> 1.  Is it possible to print blank form for tracker capture (or
> tabular tracker capture)? I have seen it has been discussed earlier, but
> could not find if it has been implemented in the latest version of DHIS2.
>
>
>
> 2.  When we use “Tabular Tracker Capture”, some of us has a strange
> orgunit hierarchy appearing. Enclosed, you’ll see “1. Tracker capture.png”,
> which shows how org units are organised and appear in “Tracker Capture”,
> and “2. Tabular tracker.png”, which shows how it appears on Tabular Tracker
> Capture. I cleaned my cache and tried with different browser. For some
> users it appears correctly. Any idea?
>
>
>
> Thanks in advance,
>
>
>
> Lise.
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Controlling the location of indicators in Tracker

2015-11-24 Thread Abyot Gizaw
In that case you can put the indicator widget at left top and pin down the
left column. This will make the left top always visible.

-
Thank you,
Abyot.

(sent from mobile)
On Nov 24, 2015 8:43 PM, "Ese Egerega"  wrote:

> Thanks Lars,
>
> We are actually using the indicator widget at the moment. It works
> perfectly for small data entry forms because you can see the indicator
> value while entering data.
>
> However,  it's little complex when the data entry form is large and you
> are entering data at the bottom part of the form. You don't immediately see
> the value of the indicator, except you scroll back up to the indicator
> widget.
>
> Thanks,
> Ese
>
> On Nov 24, 2015 6:48 PM, "Lars Helge Øverland" 
> wrote:
> >
> > Hi Ese,
> >
> > I am sure you are aware of it but you can also use the "Indicators"
> widget and place it above the data entry widget:
> >
> >
> >
> > On Tue, Nov 24, 2015 at 9:02 AM, Ese Egerega  wrote:
> >>
> >> Thanks so much for responding Prosper. You are right; tracker does not
> support it at the moment. It's a feature the dev team should consider
> adding though.
> >>
> >> -Ese
> >>
> >> On Nov 22, 2015 5:39 AM, "Prosper BT"  wrote:
> >>>
> >>> Hi Ese,
> >>>
> >>> This would only be achieved through a custom entry screen, but the
> custom form for tracker isnt supporting this at the moment.
> >>>
> >>> Regards
> >>>
> >>> On Thu, Nov 12, 2015 at 11:32 PM, Ese Egerega  wrote:
> 
>  Hi everyone,
> 
>  Am not sure if this is possible with the tracker; I have some
> indicators and i would like their values displayed on the data entry form
> in Tracker capture, right next to the data elements.
> 
>  Am able to achieve this with custom forms in dataset but not in
> tracker.
> 
>  Any suggestions will be appreciated.
> 
>  Thanks,
>  Ese
> 
> 
>  ___
>  Mailing list: https://launchpad.net/~dhis2-users
>  Post to : dhis2-users@lists.launchpad.net
>  Unsubscribe : https://launchpad.net/~dhis2-users
>  More help   : https://help.launchpad.net/ListHelp
> 
> >>>
> >>>
> >>>
> >>> --
> >>> Prosper Behumbiize, MPH
> >>> Global HISP| University Of Oslo/HISP Uganda
> >>> +256 752 751 776 | +256 776 139 139
> >>> ptb3...@gmail.com | pros...@dhis2.org | Skype: prospertb
>
> >>
> >>
> >> ___
> >> Mailing list: https://launchpad.net/~dhis2-users
> >> Post to : dhis2-users@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~dhis2-users
> >> More help   : https://help.launchpad.net/ListHelp
> >>
> >
> >
> >
> > --
> > Lars Helge Øverland
> > Lead developer, DHIS 2
> > University of Oslo
> > Skype: larshelgeoverland
> > http://www.dhis2.org
> >
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] How to best implement registries

2015-11-24 Thread Abyot Gizaw
Dear Hannan,

Unique ID is quite tricky. In an ideal situation, it is better unique ID is
generated outside DHIS2 and feed to it.

The thing is we don't have a mechanism to tell DHIS2 how the ID should be
generated. Yes, we used to have a something that worked before - but it was
not-scalable.

Currently there is a discussion going on among developers here. We are
planning to introduce a model where one can specify a pattern of the unique
ID and the system will generate accordingly - we hope to have this for 2.23.


---
Thank you,
Abyot.

On Tue, Nov 24, 2015 at 11:01 AM, Hannan Khan  wrote:

> Dear Abyot
>
> Yes that is a small one. The major problem creator is in the attachment.
>
> Regards
>
> Hannan
> HISP Bangladesh​​
>
> On Tue, Nov 24, 2015 at 2:58 PM, Abyot Gizaw  wrote:
>
>> Hi Hannan,
>>
>> Sorry that I haven't responded. can you please remind us what was
>> reported - I can see this bug
>> https://bugs.launchpad.net/dhis2/+bug/1492967
>>
>> Do you have more?
>>
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Tue, Nov 24, 2015 at 9:10 AM, Hannan Khan  wrote:
>>
>>> Dear Prosper
>>>
>>> Yes you are right; new versions have some very good feature (Thanks to
>>> Lars and the Team) which meet majority of the requirements and some are
>>> done through discussion and alternative reporting.
>>>
>>> But converting from 13 to 21 is a big headache; we already done some
>>> conversion from 13 to 19 but still there are some bugs already reported and
>>> waiting for Abyot's response and I ask the Team to take our request
>>> seriously, because we are under huge pressure from the MoH and development
>>> partners. Also we face a lot of new issues due to huge data volume.
>>>
>>> Also orient large number of user on this new UI is another big issue.
>>>
>>> Hope we can soon upgrade one of the Biggest tracker to version 2.21
>>>
>>> Regards
>>>
>>> Hannan
>>>
>>> On Tue, Nov 24, 2015 at 12:31 PM, Prosper BT  wrote:
>>>
>>>> Hi Hannan,
>>>>
>>>> Good to read from you hoping Bangladesh is treating you well.
>>>>
>>>> You can now use program indicators and create majority of the donor
>>>> statistics, however you will need to upgrade to the latest versions atleast
>>>> 2.20 or 2.21. You also need to have options sets to make meaningful
>>>> indicator expressions.
>>>>
>>>> These program indicators will be used in pivot table, data visualizer...
>>>>
>>>> I think using 2.13 you are still using category combinations for option
>>>> sets, am not sure how they are supported in indicators because I have not
>>>> used them. You may need to overhaul the current 2.13 version to 2.20 and
>>>> import the data with new options sets if you are using them.
>>>>
>>>> Regards
>>>>
>>>>
>>>> On Tue, Nov 24, 2015 at 7:44 AM, Hannan Khan  wrote:
>>>>
>>>>> Dear Knut
>>>>>
>>>>> Fully agree with Lars and Prosper.
>>>>>
>>>>> In our case we used 'Single Event without registration' (in version
>>>>> 2.13) and now 'Event capture'. But producing report using aggregation 
>>>>> query
>>>>> is a headache as Donor requirements are varied widely. SO if you have any
>>>>> idea share it with us. I attached our screenshot.
>>>>>
>>>>> Regards
>>>>>
>>>>> Hannan Khan
>>>>> HISP Bangladesh
>>>>>
>>>>> On Mon, Nov 23, 2015 at 5:21 PM, Lars Helge Øverland <
>>>>> larshe...@gmail.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> yes for it to be valuable then disease and treatment must be coded
>>>>>> (based on option sets).
>>>>>>
>>>>>> A major benefit of using events is that the age group aggregates
>>>>>> could be produced ad-hoc using program indicators. So this will remove 
>>>>>> the
>>>>>> need for pre-defined age groups. As we know these are hard to agree on,
>>>>>> never consistent between countries and donors and always change over 
>>>>>> time,
>>>>>> making them painful to manage.
>>>>>>
>>>>>>
>>>>>> Lars
>&g

Re: [Dhis2-users] How to best implement registries

2015-11-24 Thread Abyot Gizaw
Hi Hannan,

Sorry that I haven't responded. can you please remind us what was reported
- I can see this bug https://bugs.launchpad.net/dhis2/+bug/1492967

Do you have more?


---
Thank you,
Abyot.

On Tue, Nov 24, 2015 at 9:10 AM, Hannan Khan  wrote:

> Dear Prosper
>
> Yes you are right; new versions have some very good feature (Thanks to
> Lars and the Team) which meet majority of the requirements and some are
> done through discussion and alternative reporting.
>
> But converting from 13 to 21 is a big headache; we already done some
> conversion from 13 to 19 but still there are some bugs already reported and
> waiting for Abyot's response and I ask the Team to take our request
> seriously, because we are under huge pressure from the MoH and development
> partners. Also we face a lot of new issues due to huge data volume.
>
> Also orient large number of user on this new UI is another big issue.
>
> Hope we can soon upgrade one of the Biggest tracker to version 2.21
>
> Regards
>
> Hannan
>
> On Tue, Nov 24, 2015 at 12:31 PM, Prosper BT  wrote:
>
>> Hi Hannan,
>>
>> Good to read from you hoping Bangladesh is treating you well.
>>
>> You can now use program indicators and create majority of the donor
>> statistics, however you will need to upgrade to the latest versions atleast
>> 2.20 or 2.21. You also need to have options sets to make meaningful
>> indicator expressions.
>>
>> These program indicators will be used in pivot table, data visualizer...
>>
>> I think using 2.13 you are still using category combinations for option
>> sets, am not sure how they are supported in indicators because I have not
>> used them. You may need to overhaul the current 2.13 version to 2.20 and
>> import the data with new options sets if you are using them.
>>
>> Regards
>>
>>
>> On Tue, Nov 24, 2015 at 7:44 AM, Hannan Khan  wrote:
>>
>>> Dear Knut
>>>
>>> Fully agree with Lars and Prosper.
>>>
>>> In our case we used 'Single Event without registration' (in version
>>> 2.13) and now 'Event capture'. But producing report using aggregation query
>>> is a headache as Donor requirements are varied widely. SO if you have any
>>> idea share it with us. I attached our screenshot.
>>>
>>> Regards
>>>
>>> Hannan Khan
>>> HISP Bangladesh
>>>
>>> On Mon, Nov 23, 2015 at 5:21 PM, Lars Helge Øverland <
>>> larshe...@gmail.com> wrote:
>>>
 Hi,

 yes for it to be valuable then disease and treatment must be coded
 (based on option sets).

 A major benefit of using events is that the age group aggregates could
 be produced ad-hoc using program indicators. So this will remove the need
 for pre-defined age groups. As we know these are hard to agree on, never
 consistent between countries and donors and always change over time, making
 them painful to manage.


 Lars



 On Mon, Nov 23, 2015 at 10:37 AM, Kamugunga Adolphe 
 wrote:

> Dear Knut,
> The program without registration could fit in case they simply want to
> record cases/services provided on daily basis.  Name should be dropped for
> ethical issues and rely only on the Reg. But if database could support
>  data quality audit exercises, serial number could help to locate patients
> files, and selection boxes should the best to minimize typing/spelling
> errors
>
> Regards
>
> *Adolphe Kamugunga*
> *MIS Technical Advisor*
> *Knowledge Management, Data Use and Research*
> Rwanda Health System Strengthening Activity
> Management Sciences for Health
> Rwanda-Kigali
> Mobile: +250 788 740 578
> Email:kaa...@gmail.com
> Skype: ka.adolphe
> 
> Stronger health systems. Greater health impact.
>
>
> On 22 November 2015 at 06:34, Prosper BT  wrote:
>
>> Dear Knut,
>>
>> If the purpose of data collection is for reporting through counts of
>> number visiting and services in a given period and no interest in
>> longitudinal follow up then they can go without registration.
>>
>> And as you suggest for non numeric data elements (findings,
>> medicine) need option sets, to build program indicators to be used on
>> dashboard.
>>
>> Regards
>>
>>
>>
>> On Sun, Nov 22, 2015 at 3:27 AM, Knut Staring 
>> wrote:
>>
>>> Hello,
>>>
>>> Please see the attached "line listing" case registry form for
>>> outpatients at frontline clinics. Typically, this is the layout of big
>>> registry books located at rural health centres and sub-centres. I 
>>> suppose
>>> the date and serial number would not be needed when moving from paper to
>>> tablets.
>>>
>>> My intuitive sense is that this should be implemented as a program
>>> without registration, and just one single stage. Most of the fields 
>>> should
>>> be free text or option sets (in the case of Yes/No that is a data type).
>>>
>>> Then i

Re: [Dhis2-users] [Dhis2-devs] New DHIS 2 developer joins HISP US

2015-11-19 Thread Abyot Gizaw
Welcome to the team Ken!

-
Thank you,
Abyot.

(sent from mobile)
On Nov 19, 2015 10:09 PM, "Knut Staring"  wrote:

> Welcome Ken and congrats to HISP US!
>
> Knut
> On Nov 19, 2015 9:59 PM, "Lars Helge Øverland" 
> wrote:
>
>> Welcome Ken!
>>
>> On Thu, Nov 19, 2015 at 9:58 PM, riddy ndoma 
>> wrote:
>>
>>> Welcome Ken!
>>> Le 19 nov. 2015 21:56, "Jim Grace"  a écrit :
>>>
 Hi All,

 Ken Haase has just joined the team as a DHIS 2 developer, working
 through HISP US. Among other things, Ken has a PhD in Artificial
 Intelligence from MIT and has taught at the MIT Media Lab. He also has
 developed a lot of software over the years and is looking forward to
 contributing to DHIS 2.

 I'm very excited that HISP US has just doubled in size, and thrilled
 that Ken is now with us.

 Welcome, Ken!

 Cheers,
 Jim


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


>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-d...@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
>> http://www.dhis2.org 
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@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-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Tracker : Complete vs Terminate

2015-11-12 Thread Abyot Gizaw
Hi Abda,

Both buttons will close the active enrollment or program flow.

The difference is complete gives status «COMPLETE» for example when you
have the patient completed all required treatments while the other gives
status «CANCELED» for example when the patient drops out from treatment.

-
Thank you,
Abyot.

(sent from mobile)
On Nov 12, 2015 6:52 PM, "Abda ANNE"  wrote:

> Dear,
> On a Tracked Entity Instance dashboard there are two  buttons : Complete
> and Terminate. I would like to know what is the difference.
>
> Best Regards
> -
> Abda Anne
> Bamako (Mali)
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Event Capture problems

2015-10-29 Thread Abyot Gizaw
Hi Iuri,

That shouldn't really stop you from proceeding. Which version of dhis2 are
you using? Also make sure you have cleared your browser cache.


---
Thank you,
Abyot.

On Thu, Oct 29, 2015 at 2:49 PM, Iuri Fanti  wrote:

> Sure. When I click on "Event Capture", the console shows me these messages:
>
> Creating Application Cache with manifest
> http://localhost:8080/dhis/dhis-web-event-capture/cacheManifest.action
> index.html:1 Application Cache Checking event
> index.html:1 Application Cache Error event: Failed to parse manifest
> http://localhost:8080/dhis/dhis-web-event-capture/cacheManifest.action
> angular.js:87 GET
> http://localhost:8080/dhis/api/userSettings/currentStyle 404 (Not
> Found)(anonymous function) @ angular.js:87n @ angular.js:82f @
> angular.js:80(anonymous function) @ angular.js:112n.$eval @
> angular.js:126n.$digest @ angular.js:123n.$apply @ angular.js:126l @
> angular.js:81M @ angular.js:85F.onload @ angular.js:86
> dhis2.menu.ui.js:1114 Unable to load usersettings, falling back to
> systemSettings
> directives.js:12 Finished loading orgunit tree
> event-capture.js:142 Loading required meta-data
> dhis2.angular.directives.js:71 Finished loading orgunit tree
> event-capture.js:142 Loading required meta-data
> jquery.min.js:2 GET
>
> http://localhost:8080/dhis/api/programRules.json?paging=false&fields=id,program[id]&_=1446126435971
> 500 (Internal Server Error)send @ jquery.min.js:2p.extend.ajax @
> jquery.min.js:2getD2MetaObject @
> event-capture.js:509getMetaProgramRules @
> event-capture.js:476(anonymous function) @ jquery.min.js:2k @
> jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @ jquery.min.js:2k @
> jquery.min.js:2l.add @ jquery.min.js:2(anonymous function) @
> jquery.min.js:2k @ jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @
> jquery.min.js:2k @ jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @
> jquery.min.js:2(anonymous function) @ event-capture.js:527k @
> jquery.min.js:2l.fireWith @ jquery.min.js:2y @ jquery.min.js:2d @
> jquery.min.js:2
> event-capture.js:168 Finished loading meta-data
> event-capture.js:170 Started availability check
> jquery.min.js:2 GET
>
> http://localhost:8080/dhis/api/programRules.json?paging=false&fields=id,program[id]&_=1446126435981
> 500 (Internal Server Error)send @ jquery.min.js:2p.extend.ajax @
> jquery.min.js:2getD2MetaObject @
> event-capture.js:509getMetaProgramRules @
> event-capture.js:476(anonymous function) @ jquery.min.js:2k @
> jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @ jquery.min.js:2k @
> jquery.min.js:2l.add @ jquery.min.js:2(anonymous function) @
> jquery.min.js:2k @ jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @
> jquery.min.js:2k @ jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @
> jquery.min.js:2(anonymous function) @ event-capture.js:527k @
> jquery.min.js:2l.fireWith @ jquery.min.js:2y @ jquery.min.js:2d @
> jquery.min.js:2
> event-capture.js:168 Finished loading meta-data
> event-capture.js:170 Started availability check
>
> Is it useful?
>
> Iuri
>
> 2015-10-28 12:57 GMT+01:00 Abyot Gizaw :
> > Hi Iuri,
> >
> > Do you have any log to share from your browser console?
> >
> >
> > ---
> > Thank you,
> > Abyot.
> >
> > On Tue, Oct 27, 2015 at 8:32 PM, Iuri Fanti 
> wrote:
> >>
> >> Hi all,
> >>
> >> the "second problem" is still there:
> >>
> >> "I can't see any options for the Option sets in the program stage
> >> during data entry. Clicking on the drop down menu, all I get is a text
> >> field with a lens and the caption "Select or search from the list".
> >>
> >> All the best,
> >>
> >> Iuri
> >>
> >> 2015-10-26 13:41 GMT+01:00 Iuri Fanti :
> >> > I solved the problem with the non-existent programs: I deleted the
> >> > cookies related to "localhost". They were described as "local
> >> > storage". So, it's something that DHIS should do by itself, someway.
> >> >
> >> > 2015-10-26 13:22 GMT+01:00 Iuri Fanti :
> >> >> With private/incognito mode the non-existent programs disappeared
> from
> >> >> the drop down menu. I guess it's a useful info to solve the problem
> in
> >> >> the real-life DHIS. Anyway, the problem with the option sets is still
> >> >> there: no options in the drop down menus.
> >> >>
> >> >> 2015-10-23 22:57 GMT+02:00 Knut Staring :
> >> >>> Whenever you clear the browser cache, try restarting the browser
> also.
> >> >>> Did
> >>

Re: [Dhis2-users] Option sets in Event Capture

2015-10-29 Thread Abyot Gizaw
Hi Iuri,

Yes that is possible. Please check our demo server
https://apps.dhis2.org/demo/dhis-web-event-capture/index.html

Go to Sierra Leone - Bo - Badjia - Ngelejhun CHC and select Inpatient
morbidity mortality program.


---
Thank you,
Abyot.

On Thu, Oct 29, 2015 at 6:56 PM, Iuri Fanti  wrote:

> Is it possible to use Option sets in Event Capture app to record
> events without registration?
>
> Iuri
>
> --
> @-`-,--
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Event Capture problems

2015-10-28 Thread Abyot Gizaw
Hi Iuri,

Do you have any log to share from your browser console?


---
Thank you,
Abyot.

On Tue, Oct 27, 2015 at 8:32 PM, Iuri Fanti  wrote:

> Hi all,
>
> the "second problem" is still there:
>
> "I can't see any options for the Option sets in the program stage
> during data entry. Clicking on the drop down menu, all I get is a text
> field with a lens and the caption "Select or search from the list".
>
> All the best,
>
> Iuri
>
> 2015-10-26 13:41 GMT+01:00 Iuri Fanti :
> > I solved the problem with the non-existent programs: I deleted the
> > cookies related to "localhost". They were described as "local
> > storage". So, it's something that DHIS should do by itself, someway.
> >
> > 2015-10-26 13:22 GMT+01:00 Iuri Fanti :
> >> With private/incognito mode the non-existent programs disappeared from
> >> the drop down menu. I guess it's a useful info to solve the problem in
> >> the real-life DHIS. Anyway, the problem with the option sets is still
> >> there: no options in the drop down menus.
> >>
> >> 2015-10-23 22:57 GMT+02:00 Knut Staring :
> >>> Whenever you clear the browser cache, try restarting the browser also.
> Did
> >>> you try private/incognito mode?
> >>>
> >>> Knut
> >>>
> >>> On Fri, Oct 23, 2015 at 10:03 PM, Iuri Fanti 
> wrote:
> 
>  Hi all,
> 
>  I have a couple of problems with the Event Capture app (single event
>  without registration).
> 
>  If I click on the drop down menu for the available programs, it shows
>  programs that I deleted. Even after cleaning the browser cache and the
>  app cache (from Data Administration --> Cache statistics --> Clean
>  cache) it keeps showing those entries. I looked for them directly in
>  the database as well, but I couldn't find them.
> 
>  The second problem is that I can't see any options for the Option sets
>  in the program stage during data entry. Clicking on the drop down
>  menu, all I get is a text field with a lens and the caption "Select or
>  search from the list".
> 
>  All the best,
> 
>  Iuri
> 
>  --
>  @-`-,--
> 
>  ___
>  Mailing list: https://launchpad.net/~dhis2-users
>  Post to : dhis2-users@lists.launchpad.net
>  Unsubscribe : https://launchpad.net/~dhis2-users
>  More help   : https://help.launchpad.net/ListHelp
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> Knut Staring
> >>> Dept. of Informatics, University of Oslo
> >>> Norway: +4791880522
> >>> Skype: knutstar
> >>> http://dhis2.org
> >>
> >>
> >>
> >> --
> >> @-`-,--
> >
> >
> >
> > --
> > @-`-,--
>
>
>
> --
> @-`-,--
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Issue with data element of type "long text" in custom forms

2015-10-26 Thread Abyot Gizaw
Hi Ese,

Thanks for reporting. This is now fixed in trunk, 2.21 and 2.20.

---
Thank you,
Abyot.

On Sat, Oct 24, 2015 at 9:16 AM, Ese Egerega  wrote:


> Hi Abyot,
>
> It Seems there is still a problem with long text / textarea in custom
> forms. I actually thought it was a problem with my instance until I
> tested it on the dhis2 demo site.
>
> When you add a data element of type long text to a custom form, everything
> beyond That data element is not displayed in data entry in Tracker capture. 
> When
> you remove the long text data element from the form, everything displays
> correctly.
>
> Here are some snapshots:
> http: //www.awesomescreenshot. com / image / 690998 / 
> bdcf6180adeb060e8abf90fadc497d
> 69
> <http://www.awesomescreenshot.com/image/690998/bdcf6180adeb060e8abf90fadc497d69>
>
> http: //www.awesomescreenshot. com / image / 691004 / 
> 0d22790ca526368fce19a5a7bb0a98
> ask
> <http://www.awesomescreenshot.com/image/691004/0d22790ca526368fce19a5a7bb0a98be>
>
> Thanks,
> Ese
>
>
> On Tue, Oct 13, 2015 at 9:34 AM, Abyot Gizaw  wrote:
> 
>
>> Hi Ese,
>>
>> Yes, the aggregate party is more flexible and stack - wooden has Evolved
>> through time. We will reach two Also- That stage with the tracker.
>>
>> I have now Implemented long text / textarea input for 2:20 (check for
>> rev. 19957).
>>
>> Will try two do the same for 2.19. Trunk has alreadytakenusername this.
>>
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Mon, Oct 12, 2015 at 10:21 PM, Ese Egerega  wrote:
>> 
>>
>>> Thanks for your response Abyot.
>>> Custom forms Appear to be more flexible with aggregate datasets than in
>>> the Tracker. Here are screenshots of the same data element in aggregate
>>> dataset and in Tracker.
>>>
>>> Data element in a custom form in aggregate dataset - 
>>> http://awesomescreenshot.com/
>>> 0615bcug0c <http://awesomescreenshot.com/0615bcug0c>
>>>
>>> The same data element in Tracker - http://awesomescreenshot.com/
>>> 0265bcyt99 <http://awesomescreenshot.com/0265bcyt99>
>>>
>>> Thanks,
>>> Ese
>>>
>>> On Mon, Oct 12, 2015 at 4:50 PM, Abyot Gizaw  wrote:
>>> 
>>>
>>>> Hi Ese,
>>>>
>>>> Do you have some screenshots to share? In custom form, we do not apply
>>>> any style - you as custom form designer are fully in charge.
>>>>
>>>>
>>>> ---
>>>> Thank you,
>>>> Abyot.
>>>>
>>>> On Mon, Oct 12, 2015 at 5:11 PM, Ese Egerega  wrote:
>>>> 
>>>>
>>>>> Dear all,
>>>>>
>>>>> I am facing a challenge with data elements of type *"long text"* in 
>>>>> *custom
>>>>> forms in* Tracker Capture. Data element with data type "Long text"
>>>>> ice Usually rendered as *textarea in* n data entry when using the the
>>>>> default data entry form. However, the same data element is rendered
>>>>> as an input box *(not* *textarea) in **custom forms* making it
>>>>> impossible two see parts of your text as you are typing.
>>>>>
>>>>>
>>>>>
>>>>> I have tried to work around this by overusing HTML style tag two
>>>>> stretch the input box so it fills the entire cell area but it still does
>>>>> not make it a *textarea* actually. Any suggestions will be
>>>>> appreciated.
>>>>>
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Ese
>>>>>
>>>>>
>>>>> __ _
>>>>> Mailing list: https://launchpad.net/~dhis2- users
>>>>> <https://launchpad.net/~dhis2-users>
>>>>> Post to: dhis2-users@lists.launchpad. Net
>>>>> 
>>>>> Unsubscribe: https://launchpad.net/~dhis2- users
>>>>> <https://launchpad.net/~dhis2-users>
>>>>> More help: https: // help.launchpad.net/ List Help
>>>>> <https://help.launchpad.net/ListHelp>
>>>>>
>>>>>
>>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Issue with data element of type "long text" in custom forms

2015-10-13 Thread Abyot Gizaw
Hi Ese,

Yes, the aggregate part is more flexible and stable - which has evolved
through time. We will also reach to that stage with the tracker.

I have now implemented longText/textarea input for 2.20 (check for
rev. 19957).

Will try to do the same for 2.19. Trunk has already this.


---
Thank you,
Abyot.

On Mon, Oct 12, 2015 at 10:21 PM, Ese Egerega  wrote:

> Thanks for your response Abyot.
> Custom forms appear to be more flexible with aggregate datasets than in
> the Tracker. Here are screenshots of the same data element in aggregate
> dataset and in Tracker.
>
> Data element in a custom form in aggregate dataset --
> http://awesomescreenshot.com/0615bcug0c
>
> The same data element in Tracker --
> http://awesomescreenshot.com/0265bcyt99
>
> Thanks,
> Ese
>
> On Mon, Oct 12, 2015 at 4:50 PM, Abyot Gizaw  wrote:
>
>> Hi Ese,
>>
>> Do you have some screenshots to share? In custom form, we don't apply any
>> style - you as custom form designer are fully in charge.
>>
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Mon, Oct 12, 2015 at 5:11 PM, Ese Egerega  wrote:
>>
>>> Dear all,
>>>
>>> I am facing a challenge with data elements of type *"long text"* in *custom
>>> forms in *Tracker Capture.
>>>
>>> Data element with data type "Long text" is usually rendered as* text
>>> area i*n data entry when using the default data entry form. However,
>>> the same data element is rendered as an input box (*not text area*) in 
>>> *custom
>>> forms* making it impossible to see parts of your text as you are typing.
>>>
>>> I have tried to work around this by using HTML style tag to stretch the
>>> input box so it fills the entire cell area but it still doesn't make it a 
>>> *text
>>> area *actually.
>>>
>>> Any suggestions will be appreciated.
>>>
>>> Thanks,
>>> Ese
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Issue with data element of type "long text" in custom forms

2015-10-12 Thread Abyot Gizaw
Hi Ese,

Do you have some screenshots to share? In custom form, we don't apply any
style - you as custom form designer are fully in charge.


---
Thank you,
Abyot.

On Mon, Oct 12, 2015 at 5:11 PM, Ese Egerega  wrote:

> Dear all,
>
> I am facing a challenge with data elements of type *"long text"* in *custom
> forms in *Tracker Capture.
>
> Data element with data type "Long text" is usually rendered as* text area
> i*n data entry when using the default data entry form. However, the same
> data element is rendered as an input box (*not text area*) in *custom
> forms* making it impossible to see parts of your text as you are typing.
>
> I have tried to work around this by using HTML style tag to stretch the
> input box so it fills the entire cell area but it still doesn't make it a 
> *text
> area *actually.
>
> Any suggestions will be appreciated.
>
> Thanks,
> Ese
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Program rule does not seem to be working

2015-09-22 Thread Abyot Gizaw
oh yes, thanks Markus. I mixed up :(


---
Thank you,
Abyot.

On Tue, Sep 22, 2015 at 2:53 PM, Markus Bekken 
wrote:

> Hi guys,
> Try !#{location} or #{location} == false
>
> Best regards,
> Markus
>
> 22. sep. 2015 kl. 14.49 skrev Abyot Gizaw :
>
> Hi David,
>
> If value "No" is type boolean, then try 'true' instead of no. It should
> work. That is something we planned to address.
>
>
> ---
> Thank you,
> Abyot.
>
> On Tue, Sep 22, 2015 at 2:45 PM, David Muturi  wrote:
>
>> Hi Abyot,
>> I have placed a rule see attachment but it doesn't work under data entry
>> when value no is selected.
>> rgds
>> David
>>
>> 2015-09-22 14:49 GMT+03:00 Abyot Gizaw :
>>
>>> Hi David,
>>>
>>> In 2.20 we have hiding only for data elements (during data entry).
>>>
>>> Hiding attributes (during registration) is available only in trunk.
>>>
>>> ---
>>> Thank you,
>>> Abyot.
>>>
>>> On Tue, Sep 22, 2015 at 1:47 PM, David Muturi 
>>> wrote:
>>>
>>>> Hi Abyot
>>>> Tracker Capture, I am using version 2.20 build 19884. I upgraded after
>>>> seeing the online demo working on event capture. I have cleared the Cache.
>>>> rgds
>>>> David
>>>>
>>>> 2015-09-22 14:42 GMT+03:00 Abyot Gizaw :
>>>>
>>>>> Hi,
>>>>>
>>>>> Some questions for pin-point the problem:
>>>>>
>>>>>- Is this on event or tracker capture app?
>>>>>- Which version of DHIS 2 are you using - both version and
>>>>>revision number?
>>>>>- Have you tried this after clearing your browser cache?
>>>>>
>>>>>
>>>>> ---
>>>>> Thank you,
>>>>> Abyot.
>>>>>
>>>>> On Tue, Sep 22, 2015 at 1:38 PM, David Muturi 
>>>>> wrote:
>>>>>
>>>>>> Same here, I have put a rule that hides a question based on an answer
>>>>>> to a different one i.e {location}=='No'  and it doesn't seem to be 
>>>>>> working.
>>>>>> rgds
>>>>>> David
>>>>>>
>>>>>> 2015-09-22 5:53 GMT+03:00 Pramil Liyanage :
>>>>>>
>>>>>>> You are welcome. Same thing happened in an earlier build and I
>>>>>>> replaced with the latest at that time which was 19876 and worked for me.
>>>>>>> Did not try 19884. May be the same issue repeating.
>>>>>>>
>>>>>>> Pramil
>>>>>>>
>>>>>>> On Mon, Sep 21, 2015 at 9:01 PM, Ese Egerega  wrote:
>>>>>>>
>>>>>>>> Thanks Pramil,
>>>>>>>>
>>>>>>>> Using single quotes and clearing my cache fixed the problem for me.
>>>>>>>>
>>>>>>>> However, it appears that the very latest build version 19884 has a
>>>>>>>> problem with program rules. When you create and add a rule, it
>>>>>>>> disappears. I tested this on dhis2 demo site and got the same result. I
>>>>>>>> have copied the developers list in case this is a bug that needs to be
>>>>>>>> fixed.
>>>>>>>>
>>>>>>>> Thanks again,
>>>>>>>>
>>>>>>>> -Ese
>>>>>>>>
>>>>>>>> On Mon, Sep 21, 2015 at 4:06 AM, Ese Egerega 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Thanks so much Pramil. I will try that now.
>>>>>>>>>
>>>>>>>>> -Ese
>>>>>>>>>
>>>>>>>>> On Mon, Sep 21, 2015 at 3:45 AM, Pramil Liyanage <
>>>>>>>>> prami...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Dear Ese,
>>>>>>>>>>
>>>>>>>>>> Try with single quotations 'Female' and clear the cache and try.
>>>>>>>>>> If not working, get the latest build and try. I also had a
>>>>>>>>>> similar issue with an older build, but when I replaced with the 
>>>>>>>>>> latest,
>>>>>>>>>> worked fine

Re: [Dhis2-users] [Dhis2-devs] Program rule does not seem to be working

2015-09-22 Thread Abyot Gizaw
Hi David,

If value "No" is type boolean, then try 'true' instead of no. It should
work. That is something we planned to address.


---
Thank you,
Abyot.

On Tue, Sep 22, 2015 at 2:45 PM, David Muturi  wrote:

> Hi Abyot,
> I have placed a rule see attachment but it doesn't work under data entry
> when value no is selected.
> rgds
> David
>
> 2015-09-22 14:49 GMT+03:00 Abyot Gizaw :
>
>> Hi David,
>>
>> In 2.20 we have hiding only for data elements (during data entry).
>>
>> Hiding attributes (during registration) is available only in trunk.
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Tue, Sep 22, 2015 at 1:47 PM, David Muturi  wrote:
>>
>>> Hi Abyot
>>> Tracker Capture, I am using version 2.20 build 19884. I upgraded after
>>> seeing the online demo working on event capture. I have cleared the Cache.
>>> rgds
>>> David
>>>
>>> 2015-09-22 14:42 GMT+03:00 Abyot Gizaw :
>>>
>>>> Hi,
>>>>
>>>> Some questions for pin-point the problem:
>>>>
>>>>- Is this on event or tracker capture app?
>>>>- Which version of DHIS 2 are you using - both version and revision
>>>>number?
>>>>- Have you tried this after clearing your browser cache?
>>>>
>>>>
>>>> ---
>>>> Thank you,
>>>> Abyot.
>>>>
>>>> On Tue, Sep 22, 2015 at 1:38 PM, David Muturi 
>>>> wrote:
>>>>
>>>>> Same here, I have put a rule that hides a question based on an answer
>>>>> to a different one i.e {location}=='No'  and it doesn't seem to be 
>>>>> working.
>>>>> rgds
>>>>> David
>>>>>
>>>>> 2015-09-22 5:53 GMT+03:00 Pramil Liyanage :
>>>>>
>>>>>> You are welcome. Same thing happened in an earlier build and I
>>>>>> replaced with the latest at that time which was 19876 and worked for me.
>>>>>> Did not try 19884. May be the same issue repeating.
>>>>>>
>>>>>> Pramil
>>>>>>
>>>>>> On Mon, Sep 21, 2015 at 9:01 PM, Ese Egerega  wrote:
>>>>>>
>>>>>>> Thanks Pramil,
>>>>>>>
>>>>>>> Using single quotes and clearing my cache fixed the problem for me.
>>>>>>>
>>>>>>> However, it appears that the very latest build version 19884 has a
>>>>>>> problem with program rules. When you create and add a rule, it
>>>>>>> disappears. I tested this on dhis2 demo site and got the same result. I
>>>>>>> have copied the developers list in case this is a bug that needs to be
>>>>>>> fixed.
>>>>>>>
>>>>>>> Thanks again,
>>>>>>>
>>>>>>> -Ese
>>>>>>>
>>>>>>> On Mon, Sep 21, 2015 at 4:06 AM, Ese Egerega  wrote:
>>>>>>>
>>>>>>>> Thanks so much Pramil. I will try that now.
>>>>>>>>
>>>>>>>> -Ese
>>>>>>>>
>>>>>>>> On Mon, Sep 21, 2015 at 3:45 AM, Pramil Liyanage <
>>>>>>>> prami...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Dear Ese,
>>>>>>>>>
>>>>>>>>> Try with single quotations 'Female' and clear the cache and try.
>>>>>>>>> If not working, get the latest build and try. I also had a similar
>>>>>>>>> issue with an older build, but when I replaced with the latest, 
>>>>>>>>> worked fine.
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>> Pramil
>>>>>>>>>
>>>>>>>>> On Mon, Sep 21, 2015 at 8:00 AM, Ese Egerega 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Dear all,
>>>>>>>>>>
>>>>>>>>>> The Program Rule feature does not seem to be working for me. I am
>>>>>>>>>> trying to hide a section in the tracker based on if the Gender 
>>>>>>>>>> selected
>>>>>>>>>> during program registration is Female.
>>&g

Re: [Dhis2-users] [Dhis2-devs] Program rule does not seem to be working

2015-09-22 Thread Abyot Gizaw
Hi David,

In 2.20 we have hiding only for data elements (during data entry).

Hiding attributes (during registration) is available only in trunk.

---
Thank you,
Abyot.

On Tue, Sep 22, 2015 at 1:47 PM, David Muturi  wrote:

> Hi Abyot
> Tracker Capture, I am using version 2.20 build 19884. I upgraded after
> seeing the online demo working on event capture. I have cleared the Cache.
> rgds
> David
>
> 2015-09-22 14:42 GMT+03:00 Abyot Gizaw :
>
>> Hi,
>>
>> Some questions for pin-point the problem:
>>
>>- Is this on event or tracker capture app?
>>- Which version of DHIS 2 are you using - both version and revision
>>number?
>>- Have you tried this after clearing your browser cache?
>>
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Tue, Sep 22, 2015 at 1:38 PM, David Muturi  wrote:
>>
>>> Same here, I have put a rule that hides a question based on an answer to
>>> a different one i.e {location}=='No'  and it doesn't seem to be working.
>>> rgds
>>> David
>>>
>>> 2015-09-22 5:53 GMT+03:00 Pramil Liyanage :
>>>
>>>> You are welcome. Same thing happened in an earlier build and I replaced
>>>> with the latest at that time which was 19876 and worked for me. Did not try
>>>> 19884. May be the same issue repeating.
>>>>
>>>> Pramil
>>>>
>>>> On Mon, Sep 21, 2015 at 9:01 PM, Ese Egerega  wrote:
>>>>
>>>>> Thanks Pramil,
>>>>>
>>>>> Using single quotes and clearing my cache fixed the problem for me.
>>>>>
>>>>> However, it appears that the very latest build version 19884 has a
>>>>> problem with program rules. When you create and add a rule, it
>>>>> disappears. I tested this on dhis2 demo site and got the same result. I
>>>>> have copied the developers list in case this is a bug that needs to be
>>>>> fixed.
>>>>>
>>>>> Thanks again,
>>>>>
>>>>> -Ese
>>>>>
>>>>> On Mon, Sep 21, 2015 at 4:06 AM, Ese Egerega  wrote:
>>>>>
>>>>>> Thanks so much Pramil. I will try that now.
>>>>>>
>>>>>> -Ese
>>>>>>
>>>>>> On Mon, Sep 21, 2015 at 3:45 AM, Pramil Liyanage 
>>>>>> wrote:
>>>>>>
>>>>>>> Dear Ese,
>>>>>>>
>>>>>>> Try with single quotations 'Female' and clear the cache and try.
>>>>>>> If not working, get the latest build and try. I also had a similar
>>>>>>> issue with an older build, but when I replaced with the latest, worked 
>>>>>>> fine.
>>>>>>>
>>>>>>> Regards
>>>>>>> Pramil
>>>>>>>
>>>>>>> On Mon, Sep 21, 2015 at 8:00 AM, Ese Egerega  wrote:
>>>>>>>
>>>>>>>> Dear all,
>>>>>>>>
>>>>>>>> The Program Rule feature does not seem to be working for me. I am
>>>>>>>> trying to hide a section in the tracker based on if the Gender selected
>>>>>>>> during program registration is Female.
>>>>>>>>
>>>>>>>> To achieve this, I created a program rule that should hide the
>>>>>>>> section but nothing seem to happen in Tracker Capture. The section is 
>>>>>>>> still
>>>>>>>> displayed as if there is no rule set.
>>>>>>>>
>>>>>>>> In program rule I entered Gender as source field and used the
>>>>>>>> following as my expression:
>>>>>>>>
>>>>>>>> A{Gender} == "Female"
>>>>>>>>
>>>>>>>> I will appreciate any assistance.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Ese
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>>> Post to : dhis2-users@lists.launchpad.net
>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> <http://hissl.lk/index.php/2015-conference>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> <http://hissl.lk/index.php/2015-conference>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-d...@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-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Program rule does not seem to be working

2015-09-22 Thread Abyot Gizaw
Hi,

Some questions for pin-point the problem:

   - Is this on event or tracker capture app?
   - Which version of DHIS 2 are you using - both version and revision
   number?
   - Have you tried this after clearing your browser cache?


---
Thank you,
Abyot.

On Tue, Sep 22, 2015 at 1:38 PM, David Muturi  wrote:

> Same here, I have put a rule that hides a question based on an answer to a
> different one i.e {location}=='No'  and it doesn't seem to be working.
> rgds
> David
>
> 2015-09-22 5:53 GMT+03:00 Pramil Liyanage :
>
>> You are welcome. Same thing happened in an earlier build and I replaced
>> with the latest at that time which was 19876 and worked for me. Did not try
>> 19884. May be the same issue repeating.
>>
>> Pramil
>>
>> On Mon, Sep 21, 2015 at 9:01 PM, Ese Egerega  wrote:
>>
>>> Thanks Pramil,
>>>
>>> Using single quotes and clearing my cache fixed the problem for me.
>>>
>>> However, it appears that the very latest build version 19884 has a
>>> problem with program rules. When you create and add a rule, it
>>> disappears. I tested this on dhis2 demo site and got the same result. I
>>> have copied the developers list in case this is a bug that needs to be
>>> fixed.
>>>
>>> Thanks again,
>>>
>>> -Ese
>>>
>>> On Mon, Sep 21, 2015 at 4:06 AM, Ese Egerega  wrote:
>>>
 Thanks so much Pramil. I will try that now.

 -Ese

 On Mon, Sep 21, 2015 at 3:45 AM, Pramil Liyanage 
 wrote:

> Dear Ese,
>
> Try with single quotations 'Female' and clear the cache and try.
> If not working, get the latest build and try. I also had a similar
> issue with an older build, but when I replaced with the latest, worked 
> fine.
>
> Regards
> Pramil
>
> On Mon, Sep 21, 2015 at 8:00 AM, Ese Egerega  wrote:
>
>> Dear all,
>>
>> The Program Rule feature does not seem to be working for me. I am
>> trying to hide a section in the tracker based on if the Gender selected
>> during program registration is Female.
>>
>> To achieve this, I created a program rule that should hide the
>> section but nothing seem to happen in Tracker Capture. The section is 
>> still
>> displayed as if there is no rule set.
>>
>> In program rule I entered Gender as source field and used the
>> following as my expression:
>>
>> A{Gender} == "Female"
>>
>> I will appreciate any assistance.
>>
>> Thanks,
>> Ese
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> 
>


>>>
>>
>>
>> --
>> 
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@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-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Option value code

2015-09-18 Thread Abyot Gizaw
Hi Nami,

Not yet, but will try to make it for 2.21 which is coming in few weeks.


---
Thank you,
Abyot.

On Thu, Sep 17, 2015 at 4:00 PM, Nami Ghadri 
wrote:

> Hello,
>
>
>
> Any updates regarding the bellow issue
>
>
>
> Thanks in advance,
>
>
>
> *From:* Nami Ghadri [mailto:nami_gha...@hotmail.com]
> *Sent:* Thursday, September 10, 2015 4:03 PM
> *To:* 'Abyot Gizaw'
> *Cc:* 'DHIS 2 Users list'
> *Subject:* RE: [Dhis2-users] Option value code
>
>
>
> Hello,
>
>
>
> As I understood that tracker associate will appear as check box and when
> checked another form will appear in order to fill in some information and
> that form could be from another program or stage
>
>
>
> This is what I am trying to accomplish but in tracker capture this check
> box is not appearing instead a regular text box appears
>
>
>
> Thanks a best regards,
>
>
>
>
>
> *From:* Abyot Gizaw [mailto:aby...@gmail.com]
> *Sent:* Thursday, September 10, 2015 1:56 PM
>
> *To:* Nami Ghadri
> *Cc:* DHIS 2 Users list
> *Subject:* Re: [Dhis2-users] Option value code
>
>
>
> Hi Nami,
>
> We are aware of the missing inheritance feature when registering a
> relationship. We will implement this with the coming release.
>
>
>
> About the tracker associate, can you tell us how you are using it - what
> are you going to store with it?
>
>
>
>
> ---
>
> Thank you,
>
> Abyot.
>
>
>
> On Thu, Sep 10, 2015 at 12:34 PM, Nami Ghadri 
> wrote:
>
> Dears,
>
>
>
> Any ideas or updates regarding the bellow
>
>
>
> Best regards,
>
>
>
>
>
> *From:* Nami Ghadri [mailto:nami_gha...@hotmail.com]
> *Sent:* Thursday, September 3, 2015 5:04 PM
> *To:* 'Abyot Gizaw'
> *Cc:* 'DHIS 2 Users list'
> *Subject:* RE: [Dhis2-users] Option value code
>
>
>
> Sorry for the third problem I meant to say it does not appear as check
> box in tracker capture
>
>
>
> Thanks
>
>
>
>
>
> *From:* Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri=
> hotmail@lists.launchpad.net] *On Behalf Of *Nami Ghadri
> *Sent:* Thursday, September 3, 2015 4:19 PM
> *To:* 'Abyot Gizaw'
> *Cc:* 'DHIS 2 Users list'
>
> *Subject:* Re: [Dhis2-users] Option value code
>
>
>
> Dear,
>
>
>
>
>
> -I am using two programs “Mother info” and “child info”
>
> -Attributes Mother name and mother id in “Mother info” are
> inherit and added to both programs
>
> -I created relationship mother /child and assign each to its
> corresponding
>
> -When I use the tracker capture :
>
> o   I add new a mother
>
> o   Add child (in relations)
>
> o   A from that includes list of child’s pre-entered appears to choose
> among them
>
> o   But I want a new one using the register green bottom (with plus sign
> “+”)
>
> o   When I press the register bottom a new form appears and I fill all
> data except the inherit attribute (because those attributes should be
> filled automatically but they don’t this is the first problem) then
> nothing happens (this is second problem)
>
> o   But if I chose one of the children already filled in, it works
>
> -Another thing when I use tracker capture
>
> o   When I create attribute that has tracker associate value type
>
> o   It does appear as check box in tracker capture it appears as normal
> text field (this is the third problem)  in the time that in individual
> records appears as check box to give another form to fill in the data
>
> -In individual records we can borrows records together for mother
> and child (is it possible in tracker capture ?).
>
>
>
> If there anything that I should clarify more please inform me
>
>
>
> Thanks in advance
>
>
>
>
>
>
>
> *From:* Abyot Gizaw [mailto:aby...@gmail.com]
> *Sent:* Thursday, September 3, 2015 10:42 AM
> *To:* Nami Ghadri
> *Cc:* DHIS 2 Users list
> *Subject:* Re: [Dhis2-users] Option value code
>
>
>
> Hi Nami,
>
>
>
> Our plan is to phase out the Individual Records module. Will it be a
> problem for you to migrate to tracker capture? What feature will be missing
> by using tracker capture?
>
>
>
>
> ---
>
> Thank you,
>
> Abyot.
>
>
>
> On Thu, Sep 3, 2015 at 9:38 AM, Nami Ghadri 
> wrote:
>
> Dears,
>
>
>
> The problem that I mentioned in the bellow mail was solved when using tracker
> capture and viewing record please see the attached file photo
> “tracker.png”
>
>
>
> But when using indivi

Re: [Dhis2-users] Option value code

2015-09-10 Thread Abyot Gizaw
Hi Nami,

We are aware of the missing inheritance feature when registering a
relationship. We will implement this with the coming release.

About the tracker associate, can you tell us how you are using it - what
are you going to store with it?


---
Thank you,
Abyot.

On Thu, Sep 10, 2015 at 12:34 PM, Nami Ghadri 
wrote:

> Dears,
>
>
>
> Any ideas or updates regarding the bellow
>
>
>
> Best regards,
>
>
>
>
>
> *From:* Nami Ghadri [mailto:nami_gha...@hotmail.com]
> *Sent:* Thursday, September 3, 2015 5:04 PM
> *To:* 'Abyot Gizaw'
> *Cc:* 'DHIS 2 Users list'
> *Subject:* RE: [Dhis2-users] Option value code
>
>
>
> Sorry for the third problem I meant to say it does not appear as check
> box in tracker capture
>
>
>
> Thanks
>
>
>
>
>
> *From:* Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri=
> hotmail@lists.launchpad.net] *On Behalf Of *Nami Ghadri
> *Sent:* Thursday, September 3, 2015 4:19 PM
> *To:* 'Abyot Gizaw'
> *Cc:* 'DHIS 2 Users list'
> *Subject:* Re: [Dhis2-users] Option value code
>
>
>
> Dear,
>
>
>
>
>
> -I am using two programs “Mother info” and “child info”
>
> -Attributes Mother name and mother id in “Mother info” are
> inherit and added to both programs
>
> -I created relationship mother /child and assign each to its
> corresponding
>
> -When I use the tracker capture :
>
> o   I add new a mother
>
> o   Add child (in relations)
>
> o   A from that includes list of child’s pre-entered appears to choose
> among them
>
> o   But I want a new one using the register green bottom (with plus sign
> “+”)
>
> o   When I press the register bottom a new form appears and I fill all
> data except the inherit attribute (because those attributes should be
> filled automatically but they don’t this is the first problem) then
> nothing happens (this is second problem)
>
> o   But if I chose one of the children already filled in, it works
>
> -Another thing when I use tracker capture
>
> o   When I create attribute that has tracker associate value type
>
> o   It does appear as check box in tracker capture it appears as normal
> text field (this is the third problem)  in the time that in individual
> records appears as check box to give another form to fill in the data
>
> -In individual records we can borrows records together for mother
> and child (is it possible in tracker capture ?).
>
>
>
> If there anything that I should clarify more please inform me
>
>
>
> Thanks in advance
>
>
>
>
>
>
>
> *From:* Abyot Gizaw [mailto:aby...@gmail.com]
> *Sent:* Thursday, September 3, 2015 10:42 AM
> *To:* Nami Ghadri
> *Cc:* DHIS 2 Users list
> *Subject:* Re: [Dhis2-users] Option value code
>
>
>
> Hi Nami,
>
>
>
> Our plan is to phase out the Individual Records module. Will it be a
> problem for you to migrate to tracker capture? What feature will be missing
> by using tracker capture?
>
>
>
>
> ---
>
> Thank you,
>
> Abyot.
>
>
>
> On Thu, Sep 3, 2015 at 9:38 AM, Nami Ghadri 
> wrote:
>
> Dears,
>
>
>
> The problem that I mentioned in the bellow mail was solved when using tracker
> capture and viewing record please see the attached file photo
> “tracker.png”
>
>
>
> But when using individual records the problem still exists instead of
> viewing the value of options in shows the code of option  please attached
> file photo “indivual.png”
>
>
>
> I only tried dhis2 2.19
>
>
>
> Thanks in advance
>
>
>
>
>
>
>
> *From:* Nami Ghadri [mailto:nami_gha...@hotmail.com]
> *Sent:* Tuesday, September 1, 2015 9:30 AM
> *To:* 'Abyot Gizaw'
> *Cc:* 'DHIS 2 Users list'
> *Subject:* RE: [Dhis2-users] Option value code
>
>
>
> Thanks
>
>
>
> *From:* Abyot Gizaw [mailto:aby...@gmail.com]
> *Sent:* Monday, August 31, 2015 5:39 PM
>
>
> *To:* Nami Ghadri
> *Cc:* DHIS 2 Users list
> *Subject:* Re: [Dhis2-users] Option value code
>
>
>
> Hi Nami,
>
>
>
> This bug is now fixed in trunk and back-ported to 2.20 and 2.19. Go for
> the latest version.
>
>
>
> Thank you for reporting.
>
>
>
> ---
>
> Abyot.
>
>
>
> On Thu, Aug 27, 2015 at 2:09 PM, Nami Ghadri 
> wrote:
>
> Sorry
>
>
>
> Forgot to mention that I am using 2.19 version
>
>
>
> Thanks
>
>
>
>
>
> *From:* Abyot Gizaw [mailto:aby...@gmail.com]
> *Sent:* Wednesday, August 26, 2015 4:00 PM
> *To:* Nami Ghadri
> *Cc

Re: [Dhis2-users] [Dhis2-devs] Buttons not displaying after upgrade to dhis2.20

2015-09-10 Thread Abyot Gizaw
Hi Ese,

Yes a fix is committed in latest trunk and also rev. 19839 of 2.20.


---
Thank you,
Abyot.

On Thu, Sep 10, 2015 at 8:23 AM, Markus Bekken 
wrote:

> Dear Ese,
> We have seen something that looks like the behaviour you mention, and a
> fix was committed by Abyot in trunk:
> https://bugs.launchpad.net/dhis2/+bug/1490835.
>
> In the cases observed earlier, it was possible to work around the issue by
> closing and reopening the registration form. Does this workaround apply to
> your issue as well?
>
> Regards,
> Markus
>
> 10. sep. 2015 kl. 01.51 skrev Ese Egerega :
>
> Dear All,
>
> My tracker seem to be malfunctioning after upgrade from 2.19 to 2.20. When
> you navigate to Tracker Capture and click on Register, it displays the
> program registration form but the usual "Save and Continue" "Save and Add
> New" and "Cancel" buttons are missing.
>
> See snapshot http://awesomescreenshot.com/0b9583oxf3
>
> I am not sure what the problem is but I think it has to do with the way I
> did the upgrade from 2.19 to 2.20. It is the first time I would use the
> upgrade script so maybe I did not get it right. This are the steps I
> followed:
>
>- I replaced my old dhis.war file with the new 2.20 war file
>- I ran the upgrade script in command line as follows:
>- psql -U dhis -d dhis2 -a -f upgrade-220.sql but I got an error
>message so I connected to my postgresql database and paste the script
>directly.
>
> I will appreciate your feedback.
>
> Thanks,
>
> Ese
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Option value code

2015-09-03 Thread Abyot Gizaw
Hi Nami,

Our plan is to phase out the Individual Records module. Will it be a
problem for you to migrate to tracker capture? What feature will be missing
by using tracker capture?


---
Thank you,
Abyot.

On Thu, Sep 3, 2015 at 9:38 AM, Nami Ghadri  wrote:

> Dears,
>
>
>
> The problem that I mentioned in the bellow mail was solved when using tracker
> capture and viewing record please see the attached file photo
> “tracker.png”
>
>
>
> But when using individual records the problem still exists instead of
> viewing the value of options in shows the code of option  please attached
> file photo “indivual.png”
>
>
>
> I only tried dhis2 2.19
>
>
>
> Thanks in advance
>
>
>
>
>
>
>
> *From:* Nami Ghadri [mailto:nami_gha...@hotmail.com]
> *Sent:* Tuesday, September 1, 2015 9:30 AM
> *To:* 'Abyot Gizaw'
> *Cc:* 'DHIS 2 Users list'
> *Subject:* RE: [Dhis2-users] Option value code
>
>
>
> Thanks
>
>
>
> *From:* Abyot Gizaw [mailto:aby...@gmail.com]
> *Sent:* Monday, August 31, 2015 5:39 PM
>
> *To:* Nami Ghadri
> *Cc:* DHIS 2 Users list
> *Subject:* Re: [Dhis2-users] Option value code
>
>
>
> Hi Nami,
>
>
>
> This bug is now fixed in trunk and back-ported to 2.20 and 2.19. Go for
> the latest version.
>
>
>
> Thank you for reporting.
>
>
>
> ---
>
> Abyot.
>
>
>
> On Thu, Aug 27, 2015 at 2:09 PM, Nami Ghadri 
> wrote:
>
> Sorry
>
>
>
> Forgot to mention that I am using 2.19 version
>
>
>
> Thanks
>
>
>
>
>
> *From:* Abyot Gizaw [mailto:aby...@gmail.com]
> *Sent:* Wednesday, August 26, 2015 4:00 PM
> *To:* Nami Ghadri
> *Cc:* DHIS 2 Users list
> *Subject:* Re: [Dhis2-users] Option value code
>
>
>
> Hello Nami,
>
>
>
> That should be a bug, will check and fix.
>
>
>
> ---
>
> Thank you,
>
> Abyot.
>
>
>
> On Wed, Aug 26, 2015 at 1:43 PM, Nami Ghadri 
> wrote:
>
> Hello dears,
>
>
>
> I made a program and tracker data element
>
>
>
> For the data element I set the option set and of course for the option set
> there is options
>
>
>
> After data entry and in the program report under value field it shows the
> option code instead of option name
>
>
>
> Any guidance I would be thankful
>
>
>
> Please photo
>
>
>
> Regards,
>
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] stian sandvold joins as developer

2015-08-28 Thread Abyot Gizaw
Warm Welcome !

-
Thank you,
Abyot.

(sent from mobile)
Hi all,

Stian Sandvold has joined the team today as DHIS 2 developer on a 50 %
basis. Stian comes from a position as lead developer at Asio, a company
which develops educational tools and games. He is doing his last year of
master's at UiO. Stian will work on server-side / back-end development.

Welcome!


regards,

Lars






-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org 


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Conversion factors and their implications

2015-08-27 Thread Abyot Gizaw
Hi Seid,

Selam's formula is correct - it works.

5965 / 60 is 99.42  not 9942 %

To convert it to percentage probably you have to divide it by a denominator
and then multiply it by 100. In this case the way the indicator is
conceptualized, the fact that from a start something is subtracted from
100, the final result (99.42) is already percentage.

If this value doesn't make sens, then we have to devise another expression.
Otherwise, the formula is Selam gave you is correct (at least
mathematically).

And yes, in DHIS2 we can put any mathematical expression and handle complex
things. We don't have to limit ourselves with the simple
numerator/denominator expression.

---
Thank you,
Abyot.

On Thu, Aug 27, 2015 at 1:25 PM, Seid Hussein  wrote:

> Hi Selam Abyot,
>
> I think the formula you wrote is not correct. I replaced the formula with
> numerators and denominators and see what happens.
>
> Numerator ==> a   (Doses used)
> Denominator ==> b(Doses opened)
>
> ((100 * b) - a)/b
>
> Let's assume a (doses given)  = 35 and b (doses opened) = 60
>
> ((100 * 60) - 35) / 60
>
> (6000 - 35) / 60
>
> 5965 / 60
>
> You get a figure of  9942%
>
>
> Please check again before defining them.
>
> On Wed, Aug 26, 2015 at 11:59 AM, selam  wrote:
>
>>  Hi Seid,
>>
>> This is the summary of our discussions regarding the conversion factors
>> and other issues
>> 1) Regarding the conversion factor, we take the first option you
>> suggested.
>>
>>- Capturing the population and calculating each data elements for
>>each facility by multiplying it with its respective region's factor (hence
>>coming up with at least 49 data elements)
>>
>>
>> 2) For the two level indicators of vaccine wastage rate, we use the
>> expression  ((100*Dose opened)-Dose given)/Dose opened
>> 3) The indicators should be revised. most of the denominators are defined
>> because of lack population data and estimates
>> 4) Seid please  contact those who are working with Phem (IDSR) regarding
>> how often they collect data. If weekly, is that including Pagume. We should
>> also ask if they are using the International or Ethiopian calendar when the
>> weekly data collection. Because as IDSR is an international program, there
>> is a possibility that they are using the International Calendar to compare
>> data across countries
>> 5) Seid please contact Solomon from gate foundation and respond to the
>> emails of Dykki
>> 6) Write your technical problems directly to the mailing list
>>
>> Keep on the hard work Seido.
>>
>> Best regards,
>> Selamawit M. Mekonnen
>> Tlf:+4741374246
>>
>>
>>
>>
>> --
>> *From:* Abyot Gizaw 
>> *To:* Seid Hussein ; DHIS 2 Users list <
>> dhis2-users@lists.launchpad.net>
>> *Cc:* Selamawit Molla ; Sundeep Sahay <
>> sundeep.sa...@yahoo.com>; Jørn Braa ; John Lewis <
>> johnlewis.h...@gmail.com>
>> *Sent:* Wednesday, 26 August 2015, 9:21
>> *Subject:* Re: Conversion factors and their implications
>>
>> Dear all,
>>
>> Please see the forwarded mail if you can help Seid. He is asking how to
>> provinces can apply conversion factors on national level data.
>>
>> Seid can provide more details if necessary.
>>
>> ---
>> Thank you,
>> Abyot.
>>
>>
>>
>> On Wed, Aug 26, 2015 at 8:54 AM, Seid Hussein 
>> wrote:
>>
>> Hi all,
>>
>> I think you are better positioned to comment on this on what approach we
>> should use. In the file attached, you can see that there are 49 different
>> conversion factors to come up with approximations of different data
>> elements like expected pregnancies and infant population.
>>
>> If these factors were the same for all regions, we could have added them
>> as constants and used them to define the denominators for the indicators.
>> However, as you can see each region has different conversion factors and
>> there's a big difference among them which makes defining indicators very
>> difficult.
>>
>> I see two options here:
>>
>>
>>- Capturing the population and calculating each data elements for
>>each facility by multiplying it with its respective region's factor (hence
>>coming up with at least 49 data elements)
>>- Defining different indicators for different regions using different
>>constants as conversion factors (which I think may complicate things)
>>
>> In my view the first option is the best option for us becaus

Re: [Dhis2-users] Option value code

2015-08-26 Thread Abyot Gizaw
Hello Nami,

That should be a bug, will check and fix.

---
Thank you,
Abyot.

On Wed, Aug 26, 2015 at 1:43 PM, Nami Ghadri 
wrote:

> Hello dears,
>
>
>
> I made a program and tracker data element
>
>
>
> For the data element I set the option set and of course for the option set
> there is options
>
>
>
> After data entry and in the program report under value field it shows the
> option code instead of option name
>
>
>
> Any guidance I would be thankful
>
>
>
> Please photo
>
>
>
> Regards,
>
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Conversion factors and their implications

2015-08-26 Thread Abyot Gizaw
Dear all,

Please see the forwarded mail if you can help Seid. He is asking how to
provinces can apply conversion factors on national level data.

Seid can provide more details if necessary.

---
Thank you,
Abyot.

On Wed, Aug 26, 2015 at 8:54 AM, Seid Hussein  wrote:

> Hi all,
>
> I think you are better positioned to comment on this on what approach we
> should use. In the file attached, you can see that there are 49 different
> conversion factors to come up with approximations of different data
> elements like expected pregnancies and infant population.
>
> If these factors were the same for all regions, we could have added them
> as constants and used them to define the denominators for the indicators.
> However, as you can see each region has different conversion factors and
> there's a big difference among them which makes defining indicators very
> difficult.
>
> I see two options here:
>
>
>- Capturing the population and calculating each data elements for each
>facility by multiplying it with its respective region's factor (hence
>coming up with at least 49 data elements)
>- Defining different indicators for different regions using different
>constants as conversion factors (which I think may complicate things)
>
> In my view the first option is the best option for us because once we
> capture the total population, it is easier to generate data for the other
> data elements using these conversion factors. Of course, as I stated in my
> mail yesterday, there are two sets of population data used in the structure
> (MoH uses the official data from Central Statistical Authority
> dis-aggregated by Wereda while the regions use data collected from the
> ground. The data the regions use may be the most accurate but we have to
> accomodate both options I think because the two parties use their own
> population data to come up with the population figures, effectively having
> two different population data (administrative population and facility
> catchment population)
>
> If we are using two sets of population data, we may have to define the
> same for all the 49 other data elements with the factors as well.
>
> Would you please deliberate over it and suggest? Once we have a concrete
> plan, we can discuss with M&E people here on how to proceed.
>
> Regards,
>
>
> Seid,
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Tables

2015-08-05 Thread Abyot Gizaw
Hi Simon,

It is trackedentitydatavalue table.

Thank you,
Abyot.

On Wed, Aug 5, 2015 at 9:23 AM Simon Muyambo  wrote:

> Hi
>
>
>
> What table is used to store data capture event capture?
>
>
>
> *Regards*
>
> *Simon Muyambo*
>
>
>
>
> __ Information from ESET NOD32 Antivirus, version of virus
> signature database 12045 (20150805) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
-- 

Thank you,
Abyot
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] FW: Problem with Tracker program after updating to 2.20 stable

2015-07-30 Thread Abyot Gizaw
May be. I don't think you can alter a table while you have views or user
defined functions referring to the table.

On Thu, Jul 30, 2015 at 1:33 PM Elmarie Claasen  wrote:

> Thanks a lot Abyot,
>
>
>
> We ran this script after deleting 2 sql views which referenced this table
> as it would not run until we deleted the 2 sql views. A follow up question
> –could it be that this change did not execute because of the 2 sql views?
> We know that dhis2 drops sql views before running analytics but does it
> check/drop sql views before making changes to tables?
>
>
>
>
>
> Regards,
>
>
>
> *Elmarie Claasen*
>
> [image: Hisp logo]
>
> Project Manager
>
> Health Information Systems Program
>
> Tel:  041-367 1027
>
> Cell: 082 374 2209
>
> E-mail: elma...@hisp.org
>
> Skype:  elmarie.claasen52
>
>
>
>
>
> This message and any attachments are subject to a disclaimer published at 
> http://www.hisp.org/policies.html#comms_disclaimer
> .   Please read the disclaimer before opening any attachment or taking any
> other action in terms of this electronic transmission.
> If you cannot access the disclaimer, kindly send an email to 
> disclai...@hisp.org
> and a copy will be provided to you. By replying to this e-mail or opening
> any attachment you agree to be bound by the provisions of the disclaimer.
>
>
>
> *From:* Abyot Gizaw [mailto:aby...@gmail.com]
> *Sent:* 30 July 2015 12:59 PM
> *To:* Elmarie Claasen; dhis2-d...@lists.launchpad.net;
> dhis2-users@lists.launchpad.net
> *Subject:* Re: [Dhis2-users] FW: Problem with Tracker program after
> updating to 2.20 stable
>
>
>
>
>
> On Thu, Jul 30, 2015 at 11:30 AM Elmarie Claasen  wrote:
>
> Hi Devs,
>
>
>
> I have an urgent database issue which I have to resolve as this project is
> implementing by Monday and my database is not running on 2.20 stable which
> I need for the tracker capture app to load. Can someone please assist.
>
>
>
> We have a database called ISHP which Erling has been helping us to set up
> the Tracker capture app for implementation.
>
> Since the app could only connect to 2.20 we upgraded our training database
> some time ago to 2.20 snapshot build revision 19527 and also kept the
> program changes we made updated in 2.19 live version since we couldn’t risk
> updating a live database when we did not know what the implications would
> be.
>
>
>
> We now wanting to update the 2.19 Live database to 2.20 which we did on
> our development instance but get the following errors which does not allow
> us to
>
>
>
> 1.  access the program in the UI or via the tracker capture app (see
> open program error log) The problem seems to be that the programtype in
> our database is Integer while in other 2.20 instances it is char varying.
> The update script from 2.19>2.20 does not contain anything changing this so
> how do I deal with this please…
>
>
>
> This was supposed to be handled internally in the code.
>
>
>
> try to alter manually and see what happens
>
>
>
> ALTER TABLE program ALTER COLUMN "type" TYPE varchar(255);
>
>
>
>
>
> 2.  analytics is failing due to fieldname error   (see detailed
> analytics error log attached but here is a short version) The problem is
> that the temp table has a fieldname called de instead of dx – again
> something I don’t know how it happens or how to fix
>
>
>
> *Caused by: org.springframework.jdbc.BadSqlGrammarException:
> StatementCallback; bad SQL grammar [update analytics_temp_2015 set
> "uidlevel1" = null,"uidlevel2" = null,"uidlevel3" = null,"uidlevel4" =
> null,"uidlevel5" = null where level > 5 and de in ('jx6lCxe8gYy',
> 'cjA6JH0kC9B')]; nested exception is org.postgresql.util.PSQLException:
> ERROR: column "de" does not exist*
>
> We checked our other 2.20 databases and the column name is dx but we don’t
> know how to fix this – please help!
>
>
>
> The program we are accessing on 2.19, 2.20 stable and 2.20 snapshot
> Version: Build revision: 19527 Build date: 2015-07-01 08:47 is all set up
> exactly the same way and I don’t see why one would be able to open the
> program, open tracker capture in the UI and log in on tracker capture app
> only on the 2.20 snapshot version and not on 2.20 stable. Can you please
> assist us with what is wrong?
>
>
>
>
>
> Regards,
>
>
>
> *Elmarie Claasen*
>
> [image: Hisp logo]
>
> Project Manager
>
> Health Information Systems Program
>
> Tel:  041-367 1027
>
> Cell: 082 374 2209
>
> E-mail: e

Re: [Dhis2-users] FW: Problem with Tracker program after updating to 2.20 stable

2015-07-30 Thread Abyot Gizaw
On Thu, Jul 30, 2015 at 11:30 AM Elmarie Claasen  wrote:

> Hi Devs,
>
>
>
> I have an urgent database issue which I have to resolve as this project is
> implementing by Monday and my database is not running on 2.20 stable which
> I need for the tracker capture app to load. Can someone please assist.
>
>
>
> We have a database called ISHP which Erling has been helping us to set up
> the Tracker capture app for implementation.
>
> Since the app could only connect to 2.20 we upgraded our training database
> some time ago to 2.20 snapshot build revision 19527 and also kept the
> program changes we made updated in 2.19 live version since we couldn’t risk
> updating a live database when we did not know what the implications would
> be.
>
>
>
> We now wanting to update the 2.19 Live database to 2.20 which we did on
> our development instance but get the following errors which does not allow
> us to
>
>
>
> 1.  access the program in the UI or via the tracker capture app (see
> open program error log) The problem seems to be that the programtype in
> our database is Integer while in other 2.20 instances it is char varying.
> The update script from 2.19>2.20 does not contain anything changing this so
> how do I deal with this please…
>
>
This was supposed to be handled internally in the code.

try to alter manually and see what happens

ALTER TABLE program ALTER COLUMN "type" TYPE varchar(255);


>
>
> 2.  analytics is failing due to fieldname error   (see detailed
> analytics error log attached but here is a short version) The problem is
> that the temp table has a fieldname called de instead of dx – again
> something I don’t know how it happens or how to fix
>
>
>
> *Caused by: org.springframework.jdbc.BadSqlGrammarException:
> StatementCallback; bad SQL grammar [update analytics_temp_2015 set
> "uidlevel1" = null,"uidlevel2" = null,"uidlevel3" = null,"uidlevel4" =
> null,"uidlevel5" = null where level > 5 and de in ('jx6lCxe8gYy',
> 'cjA6JH0kC9B')]; nested exception is org.postgresql.util.PSQLException:
> ERROR: column "de" does not exist*
>
> We checked our other 2.20 databases and the column name is dx but we don’t
> know how to fix this – please help!
>
>
>
> The program we are accessing on 2.19, 2.20 stable and 2.20 snapshot Version:
> Build revision: 19527 Build date: 2015-07-01 08:47 is all set up exactly
> the same way and I don’t see why one would be able to open the program,
> open tracker capture in the UI and log in on tracker capture app only on
> the 2.20 snapshot version and not on 2.20 stable. Can you please assist us
> with what is wrong?
>
>
>
>
>
> Regards,
>
>
>
> *Elmarie Claasen*
>
> [image: Hisp logo]
>
> Project Manager
>
> Health Information Systems Program
>
> Tel:  041-367 1027
>
> Cell: 082 374 2209
>
> E-mail: elma...@hisp.org
>
> Skype:  elmarie.claasen52
>
>
>
>
>
> This message and any attachments are subject to a disclaimer published at 
> http://www.hisp.org/policies.html#comms_disclaimer
> .   Please read the disclaimer before opening any attachment or taking any
> other action in terms of this electronic transmission.
> If you cannot access the disclaimer, kindly send an email to 
> disclai...@hisp.org
> and a copy will be provided to you. By replying to this e-mail or opening
> any attachment you agree to be bound by the provisions of the disclaimer.
>
>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> .  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org
>  and a copy will be provided to you. By replying to
> this e-mail or opening any attachment you agree to be bound by the
> provisions of the disclaimer.*
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
-- 

Thank you,
Abyot
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Event capture doesn't display all programs

2015-07-28 Thread Abyot Gizaw
Also, try one more time after clearing browser cache.

-
Thank you,
Abyot.

(sent from mobile)
On Jul 28, 2015 11:45 PM, "Morten Olav Hansen"  wrote:

> Have you checked you sharing settings? for programs..
>
> --
> Morten
>
> On Wed, Jul 29, 2015 at 4:23 AM, Marko David Garcia <
> markodavi...@gmail.com> wrote:
>
>> Hello All.
>>
>> After migrate from 2.18 to 2.19 version the event capture doesn't display
>> all programs.
>> We assign  the programs to the user roles and  to the organisation units
>> again, create a new user role and assign the program to this. but doesn't
>> display the programs.
>>
>> The google console doesn't show errors.
>>
>> Thanks.
>>
>>
>> Cordialmente,
>>
>>
>> *Mag. (c). Marko David Garcia M.*
>> *Ingeniería Telemática*
>> *Universidad del Cauca*
>> *Skype: marko_david*
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Multi Selection of Values?

2015-07-21 Thread Abyot Gizaw
Hi,

No that is not possible at the moment. Unfortunately, you have to create as
many dataelements as the symptoms you wanted to collect. This is also
related to analysis. If you wanted to count and do some kind of
analysis/reporting on such dataelement, processing the multiple selections
is not possible.

If you are not interested in analysis, then creating an app is also a
possibility. What you could do is - make the dataelement to be text type
and in your app you can can append the multiple selections.


---
Thank you,
Abyot.

On Tue, Jul 21, 2015 at 11:38 AM, Harsh Atal  wrote:

> Hi
>
> I am sick and in DHIS2 I have to enter the symptoms that I am experiencing.
> Symptoms are many...
> -Fever,
> -Coughing,
> -Headache,
> -etc etc(pls assume that it's a long long list..)
>
> Now, against "Symptoms" I want to be able to multi select between these
> options according to what symptoms I am experiencing, Is there some way by
> which this kind of thing can be implemented in DHIS2?
>
>
> Thanks
> harsh
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Tracker Capture not loading

2015-07-20 Thread Abyot Gizaw
Still the screenshots are not helping, sorry :(

Try one more time, following the steps below

1. use chrome
2. clear browser cache
3. go to http://192.168.1.199:8085/new/dhis-web-apps/index.html
4. open your browser console, open the network tab
5. click tracker-capture
6. and see if programs, program stages, attributes and optionsets are
downloaded under the network tab

On Fri, Jul 17, 2015 at 1:05 PM Pramil Liyanage  wrote:

> Attaching only the scripts
>
>
> [image: Inline image 1]
>
> [image: Inline image 2]
> [image: Inline image 3]
>
> [image: Inline image 4]
>
>
> On Fri, Jul 17, 2015 at 4:20 PM, Abyot Gizaw  wrote:
>
>> I don't see any program stage being downloaded. Are you sure the browser
>> cache is cleared? Also try with chrome.
>>
>> On Fri, Jul 17, 2015 at 12:46 PM Pramil Liyanage 
>> wrote:
>>
>>> [image: Inline image 1]
>>> [image: Inline image 4]
>>> [image: Inline image 5]
>>> [image: Inline image 6]
>>> [image: Inline image 7]
>>> [image: Inline image 8]
>>>
>>>
>>>
>>> On Fri, Jul 17, 2015 at 4:07 PM, Abyot Gizaw  wrote:
>>>
>>>> ok looks normal. but can you clear your cache and try again to watch
>>>> under network tab? It seems there is already a cached metadata.
>>>>
>>>> On Fri, Jul 17, 2015 at 12:30 PM Pramil Liyanage 
>>>> wrote:
>>>>
>>>>> [image: Inline image 1][image: Inline image 2]
>>>>> On Fri, Jul 17, 2015 at 3:48 PM, Abyot Gizaw  wrote:
>>>>>
>>>>>> Hi Pramil,
>>>>>>
>>>>>> Can you open the network tab (from your browser console) and see what
>>>>>> is being requested and returned when the tracker capture app in 
>>>>>> initialized?
>>>>>>
>>>>>> Thank you,
>>>>>> Abyot.
>>>>>>
>>>>> On Fri, Jul 17, 2015 at 12:14 PM Knut Staring 
>>>>>> wrote:
>>>>>>
>>>>> Don't remember which exact date we estimated, but it will definitely
>>>>>>> be this month, and I think sooner rather than later.
>>>>>>>
>>>>>>> Knut
>>>>>>>
>>>>>>> On Fri, Jul 17, 2015 at 12:12 PM, Pramil Liyanage <
>>>>>>> prami...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Thanks Knut. Hope they will respond..When is 2.20 scheduled?
>>>>>>>>
>>>>>>>> On Fri, Jul 17, 2015 at 3:36 PM, Knut Staring 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Then I think we need to hear from the developers. Unfortunately,
>>>>>>>>> they may be slow to respond, because they are working hard to 
>>>>>>>>> finalize 2.20
>>>>>>>>>  and then there is holiday coming up.
>>>>>>>>>
>>>>>>>>> On Fri, Jul 17, 2015 at 12:01 PM, Pramil Liyanage <
>>>>>>>>> prami...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> No. Catalina out attached.
>>>>>>>>>>
>>>>>>>>>> On Fri, Jul 17, 2015 at 3:30 PM, Knut Staring 
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> I expected that, just wanted to make sure. Is there anything in
>>>>>>>>>>> the Tomcat log?
>>>>>>>>>>>
>>>>>>>>>>> Knut
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Jul 17, 2015 at 11:58 AM, Pramil Liyanage <
>>>>>>>>>>> prami...@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks Knut. I have already tried browser cache cleaner,
>>>>>>>>>>>> manually clearing cache, updating resource table also. I'm using 
>>>>>>>>>>>> postgres
>>>>>>>>>>>> database.
>>>>>>>>>>>>
>>>>>>>>>>>> Pramil
>>>>>>>>>>>>
>>>>>>>>>

Re: [Dhis2-users] Tracker Capture not loading

2015-07-17 Thread Abyot Gizaw
I don't see any program stage being downloaded. Are you sure the browser
cache is cleared? Also try with chrome.

On Fri, Jul 17, 2015 at 12:46 PM Pramil Liyanage  wrote:

> [image: Inline image 1]
> [image: Inline image 4]
> [image: Inline image 5]
> [image: Inline image 6]
> [image: Inline image 7]
> [image: Inline image 8]
>
>
>
> On Fri, Jul 17, 2015 at 4:07 PM, Abyot Gizaw  wrote:
>
>> ok looks normal. but can you clear your cache and try again to watch
>> under network tab? It seems there is already a cached metadata.
>>
>> On Fri, Jul 17, 2015 at 12:30 PM Pramil Liyanage 
>> wrote:
>>
>>> [image: Inline image 1][image: Inline image 2]
>>> On Fri, Jul 17, 2015 at 3:48 PM, Abyot Gizaw  wrote:
>>>
>>>> Hi Pramil,
>>>>
>>>> Can you open the network tab (from your browser console) and see what
>>>> is being requested and returned when the tracker capture app in 
>>>> initialized?
>>>>
>>>> Thank you,
>>>> Abyot.
>>>>
>>> On Fri, Jul 17, 2015 at 12:14 PM Knut Staring  wrote:
>>>>
>>> Don't remember which exact date we estimated, but it will definitely be
>>>>> this month, and I think sooner rather than later.
>>>>>
>>>>> Knut
>>>>>
>>>>> On Fri, Jul 17, 2015 at 12:12 PM, Pramil Liyanage 
>>>>> wrote:
>>>>>
>>>>>> Thanks Knut. Hope they will respond..When is 2.20 scheduled?
>>>>>>
>>>>>> On Fri, Jul 17, 2015 at 3:36 PM, Knut Staring 
>>>>>> wrote:
>>>>>>
>>>>>>> Then I think we need to hear from the developers. Unfortunately,
>>>>>>> they may be slow to respond, because they are working hard to finalize 
>>>>>>> 2.20
>>>>>>>  and then there is holiday coming up.
>>>>>>>
>>>>>>> On Fri, Jul 17, 2015 at 12:01 PM, Pramil Liyanage <
>>>>>>> prami...@gmail.com> wrote:
>>>>>>>
>>>>>>>> No. Catalina out attached.
>>>>>>>>
>>>>>>>> On Fri, Jul 17, 2015 at 3:30 PM, Knut Staring 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> I expected that, just wanted to make sure. Is there anything in
>>>>>>>>> the Tomcat log?
>>>>>>>>>
>>>>>>>>> Knut
>>>>>>>>>
>>>>>>>>> On Fri, Jul 17, 2015 at 11:58 AM, Pramil Liyanage <
>>>>>>>>> prami...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> Thanks Knut. I have already tried browser cache cleaner, manually
>>>>>>>>>> clearing cache, updating resource table also. I'm using postgres 
>>>>>>>>>> database.
>>>>>>>>>>
>>>>>>>>>> Pramil
>>>>>>>>>>
>>>>>>>>>> On Fri, Jul 17, 2015 at 11:48 AM, Knut Staring 
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Maybe try the Browser Cache Cleaner app.
>>>>>>>>>>>
>>>>>>>>>>> Knut
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Jul 17, 2015 at 7:24 AM, Pramil Liyanage <
>>>>>>>>>>> prami...@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Dear all,
>>>>>>>>>>>>
>>>>>>>>>>>> I have deployed the 2.19 version and when opening Tracker
>>>>>>>>>>>> Capture, the page does not load completely and loading metadata is
>>>>>>>>>>>> displayed. Please advice. Screenshot with console is below.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks
>>>>>>>>>>>> Pramil
>>>>>>>>>>>>
>>>>>>>>>>>> ​[image: Inline image 1]​
>>>>>>>>>>>> ​[image: Inline image 2]​
>>>>>>>>>>>>
>>

Re: [Dhis2-users] [Dhis2-devs] Web API in Excel

2015-06-23 Thread Abyot Gizaw
The excel thing is obviously something that we should address at some
point. I have also made an unfinished attempt during the Ebola crisis. What
I did was to provide a UI that allows users to upload excel file, do
mapping between columns and data elements or attributes and finally upload
the cell values.

On Tue, Jun 23, 2015, 14:15 rin.chann...@gmail.com 
wrote:

> Yes, I agree with Markus,
> Excel is good tool to do deep formula to calculate in data elements. And
> offline too.
>
> Markus Bekken  wrote:
>
> Thanks Bob,
>
> 1. I have not established a preference here - your point on using CSV is a
> good one. CSV will probably be easier to "deserialize" in most cases. JSON
> or XML on the other hand, will probably be a little more robust to changes
> in the WebAPI output.
>
> 2. I like it. Excel is a good tool accessible to many people. I have been
> using an excel sheet to manage some data through the API, but the sheet I
> made contains some "hardcodings" that is made for my specific case. I have
> been thinking about making a generic version of my Excel, that can be used
> by anyone to post, put and maybe also get data through the API.
>
> Best regards
> Markus
>
> p.s. I deleted the stackexchange question again, as the question and
> answer was generic Excel, and not so DHIS related. The link still works,
> but here is the code snippet.
>
> It is possible to use Excel Macros to call the Web API. Posting to the API
> can be done like this:
>
> Public Function postData(ByVal address As String, ByVal json As String, ByVal 
> mode As String)
> If (mode = "Yes" Or mode = "Debug") Then
> On Error GoTo Errorhandler
> Dim objHTTP As New WinHttpRequest
> URL = address
> objHTTP.Open "POST", URL, False
> objHTTP.Option(WinHttpRequestOption_SslErrorIgnoreFlags) = 13056
>
> objHTTP.setRequestHeader "Content-Type", "application/json"
> objHTTP.setRequestHeader "Authorization", "Basic " & 
> EncodeBase64("admin:district")
> objHTTP.send json
>
> If (mode = "Debug") Then
> postData = objHTTP.ResponseText
> Else
> postData = objHTTP.statusText
> End If
> Else
> postData = mode
> End If
>
> Exit Function
> Errorhandler:
> postData = Err.Description
> End Function
>
> For doing a GET, you should be able to just replace the "POST" with a
> "GET", and send the request without the json.
>
>
> 23. jun. 2015 kl. 13.40 skrev Bob Jolliffe :
>
> Hi Markus
>
> Thanks for this information.  That's a really useful snippet for
> anyone to get started who might want to do this.  I have a quick
> question and a comment/suggestion:
>
> 1.  I can see from the link that you can indeed parse/serialize json
> from VBA - I guess it would have been surprising if you couldn't :-)
> Would you do this in preference to CSV?
>
> 2.  On a a more general point, there has been interest in (and a long
> historical relationship) between DHIS and Excel.  Ranging from its
> early origins in DHIS1.4 through to primitive efforts to populate
> spreadsheet data using mydatamart.  But the use cases from excel as
> data collection instrument, through to excel for analysis (pivot
> tables) and simple metadata management are very varied.  It strikes me
> that a library of DHIS2-web-api macros similar to those you presented
> in your link would be hugely interesting to a lot of people.  Have you
> considered collecting/publishing such a thing?
>
> Cheers
> Bob
>
> On 23 June 2015 at 12:06, Markus Bekken  wrote:
>
> Hi Channara and Bob
>
> I have been using macros to POST and PUT data to the API, and GET requests
> should work just as well.
>
> I added your question and put my macro code here:
>
> https://webapps.stackexchange.com/questions/79521/can-i-use-excel-to-get-json-from-the-dhis-api/79522#79522
>
> See the comment at the end, seems it is possible to parse the JSON in a
> macro also.
>
> Thank you,
> Markus
>
> 23. jun. 2015 kl. 12.13 skrev Bob Jolliffe :
>
> You can't use excel to get json data from dhis2 web api.  At least not
> directly.
>
> You could possibly write an excel macro to "get" the data through the
> web api (I am really not sure - it is far too many years since i wrote
> an excel macro), but you are still left with the problem of consuming
> what you have got (json) into cells in a spreadsheet.
>
> I believe all (or certainly almost all) of the data which is available
> as json is also available as csv.  If you are looking at getting dhsi2
> data into excel in general, I would look at csv rather than json if
> you want to minimize the processing/transformation that would
> otherwise have to happen in between getting the data and consuming it.
>
>
> https://www.dhis2.org/doc/snapshot/en/developer/html/dhis2_developer_manual.html
>
> On 23 June 2015 at 07:47, channara rin  wrote:
>
> Hi all DHIS2 developer,
> Do you know can i use Microsoft Excel to get json data from DHIS2 web API?
>
> th

Re: [Dhis2-users] [Dhis2-devs] Program - Error in Registration

2015-06-17 Thread Abyot Gizaw
That is not possible at the moment. Though not complete, we have a value
type called "Tracker associate" for attributes. will try to make it part of
the next release.

The idea is, for those tracker associate type attributes, you will be able
to select or register a tracked entity instance and make a linking.  But I
am not sure how much this will be helpful for you - because the associated
tracked entity instance will always remain so long as assigned. For example
if a trainee is assigned to one provider during the first round of training
type 1, then the same provider will show up for the second round of
training type 1.

This could work if you have a training being given only once... what you
need to do in this case is create different attributes of type tracker
associate for each training. then during registration you assign the
trainee to a unique trainer.


On Wed, Jun 17, 2015 at 7:32 AM Muhammad Tahir  wrote:

> Thank you Abyot, it does work.
>
> And now we want to move a bit ahead. In the provider training program we
> also want to keep the information of trainer/worker.
> (Trainer/worker will registered into the system in a similar manner as
> provider was registered.)
>
> The provider was selected from the list, now in the new form we have some
> information like
>
> ProviderCode (Already filled)
> ProviderName (Already filled)
> TrainerCode
> TrainerName
>
>
> How can we add up trainer information in it from the existing list.
>
> Trainer/Worker is also unique in the entire system, so it does not allow
> to enter any existing Trainer here.
>
> I know we can add relations, but  relations are maintained in system
> irrespective of a program and remains the same and it does not identify
> uniquely which trainer trained in which program.
>
> And same is the case when adding an existing provider to another patient
> program. We can use the same patient and details for other project, but how
> to add an existing provider to it.
>
> Any hint on how can we achieve this?
>
>
>
>
> On Tue, Jun 16, 2015 at 10:35 PM, Muhammad Tahir 
> wrote:
>
>> Thanks Abyot for the hint, I'll try it and share the results soon.
>>
>> On Tue, Jun 16, 2015 at 5:51 PM, Abyot Gizaw  wrote:
>>
>>> Hi Muhammad,
>>>
>>> I am not sure I understood what you wanted to do:
>>>
>>> 1. You have two programs - provider and provider training
>>> 2. You registered a provider under the provider program
>>> 3. Now you wanted to use the registered provider and register it again
>>> in training program
>>>
>>> Is this what you wanted to do? If true, then you can do number 3 from
>>> the provider's dashboard. Just click on the provider from the list, and it
>>> will take you to the dashboard. From this dashboard - you should see a
>>> program selection at the top. If you select your new program (which you
>>> called provider training), you will have a chance to put additional details
>>> in the "Enrollment Widget".
>>>
>>>
>>>
>>> On Tue, Jun 16, 2015 at 2:38 PM Muhammad Tahir 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have created a program to register all the providers at organization
>>>> unit level and have registered some providers.
>>>>
>>>> Provider has some details for input, i.e Provider Code (A unique value
>>>> in whole system), Provider Name etc.
>>>>
>>>> Now created another program that is provider trainings. Now want to
>>>> select the same provider in that area (org unit) and register provider for
>>>> trainings, but getting the error "Error in Registration".
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Regards,*
>>>> *Muhammad Tahir*
>>>>  ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-d...@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>> --
>>> 
>>> Thank you,
>>> Abyot
>>>
>>
>>
>>
>> --
>> *Regards,*
>> *Muhammad Tahir*
>>
>
>
>
> --
> *Regards,*
> *Muhammad Tahir*
>
-- 

Thank you,
Abyot
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] DHIS2: Default Registration option in Tracker Capture

2015-06-17 Thread Abyot Gizaw
That you have to do it with program.

Just now we are discussing the merit of doing registration without
selecting a program. The plan is to remove this feature. It seems you are
using this feature. Can you tell us more about your usecase - why did you
want to register without selecting a program?

On Wed, Jun 17, 2015 at 9:59 AM Muhammad Tahir  wrote:

> Hi Abyot,
>
> One more thing related to "Manage attributes with no program", how to mark
> national identification as a mandatory field?
>
> On Wed, Jun 17, 2015 at 12:46 PM, Muhammad Tahir 
> wrote:
>
>> Thanks Abyot, "Manage attributes with no program" it is.
>>
>> Have you checked my latest email with subject "Error in Registration"?
>> Can you help with that?
>>
>> On Wed, Jun 17, 2015 at 12:27 PM, Abyot Gizaw  wrote:
>>
>>> Yes, you can control them by clicking "Manage attributes with no
>>> program" from the attributes page.
>>>
>>> On Wed, Jun 17, 2015 at 8:56 AM Shurajit Dutta 
>>> wrote:
>>>
>>>> Hi Muhammad,
>>>>
>>>> These are attributes. If you go to the programs/attributes app you will
>>>> see where to find the attributes. Also if you select a program and choose
>>>> edit you can see how the attributes have been added. You can find some more
>>>> info here in the docs:
>>>>
>>>> https://www.dhis2.org/doc/snapshot/en/user/html/ch29s02.html#d5e5915
>>>>
>>>>
>>>>
>>>> On Wed, Jun 17, 2015 at 2:49 PM, Muhammad Tahir 
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> On DHIS2 demo site -> Tracker Capture
>>>>>
>>>>> When registering without selecting any program, it asks for FirstName,
>>>>> Last Name and National Identifier.
>>>>>
>>>>> But I am unable to locate, how is this configured, kindly share the
>>>>> details how can this be achieved?
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Regards,*
>>>>> *Muhammad Tahir*
>>>>>
>>>>> ___
>>>>>
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>> Post to : dhis2-users@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-d...@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>> --
>>> 
>>> Thank you,
>>> Abyot
>>>
>>
>>
>>
>> --
>> *Regards,*
>> *Muhammad Tahir*
>>
>
>
>
> --
> *Regards,*
> *Muhammad Tahir*
>
-- 

Thank you,
Abyot
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] DHIS2: Default Registration option in Tracker Capture

2015-06-17 Thread Abyot Gizaw
Yes, you can control them by clicking "Manage attributes with no program"
from the attributes page.

On Wed, Jun 17, 2015 at 8:56 AM Shurajit Dutta 
wrote:

> Hi Muhammad,
>
> These are attributes. If you go to the programs/attributes app you will
> see where to find the attributes. Also if you select a program and choose
> edit you can see how the attributes have been added. You can find some more
> info here in the docs:
>
> https://www.dhis2.org/doc/snapshot/en/user/html/ch29s02.html#d5e5915
>
>
>
> On Wed, Jun 17, 2015 at 2:49 PM, Muhammad Tahir  wrote:
>
>> Hi,
>>
>> On DHIS2 demo site -> Tracker Capture
>>
>> When registering without selecting any program, it asks for FirstName,
>> Last Name and National Identifier.
>>
>> But I am unable to locate, how is this configured, kindly share the
>> details how can this be achieved?
>>
>>
>>
>> --
>> *Regards,*
>> *Muhammad Tahir*
>>
>> ___
>>
> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
-- 

Thank you,
Abyot
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Program - Error in Registration

2015-06-16 Thread Abyot Gizaw
Hi Muhammad,

I am not sure I understood what you wanted to do:

1. You have two programs - provider and provider training
2. You registered a provider under the provider program
3. Now you wanted to use the registered provider and register it again in
training program

Is this what you wanted to do? If true, then you can do number 3 from the
provider's dashboard. Just click on the provider from the list, and it will
take you to the dashboard. From this dashboard - you should see a program
selection at the top. If you select your new program (which you called
provider training), you will have a chance to put additional details in the
"Enrollment Widget".



On Tue, Jun 16, 2015 at 2:38 PM Muhammad Tahir  wrote:

> Hi,
>
> I have created a program to register all the providers at organization
> unit level and have registered some providers.
>
> Provider has some details for input, i.e Provider Code (A unique value in
> whole system), Provider Name etc.
>
> Now created another program that is provider trainings. Now want to select
> the same provider in that area (org unit) and register provider for
> trainings, but getting the error "Error in Registration".
>
>
>
>
>
> --
> *Regards,*
> *Muhammad Tahir*
>  ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
-- 

Thank you,
Abyot
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Patients & Provider List View

2015-06-16 Thread Abyot Gizaw
yes, that is true.

On Tue, Jun 16, 2015 at 1:48 PM Muhammad Tahir  wrote:

> Thanks, it does work. Additionally I have to make program available at
> parent organization level to view all the children.
>
>
>
> On Tue, Jun 16, 2015 at 4:37 PM, Abyot Gizaw  wrote:
>
>> Hi Muhammad,
>>
>> You can have that using the advanced search feature. See
>> https://www.dhis2.org/doc/snapshot/en/user/html/ch28s02.html
>>
>> Thank you,
>> Abyot.
>> On Tue, Jun 16, 2015 at 1:30 PM Muhammad Tahir  wrote:
>>
>>> Hi,
>>>
>>> We have patients and providers entities registered using program.
>>>
>>>
>>> Now we want to view/download a list of all the patients/providers that
>>> are linked to organization units at one place. We can see the list under
>>> the particular organization unit.
>>>
>>> But we want to see a list with all the organization units linked or if
>>> select a parent organization unit then can view all the patients/ providers
>>> under it.
>>>
>>> --
>>> *Regards,*
>>> *Muhammad Tahir*
>>>  ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-d...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>
>
> --
> *Regards,*
> *Muhammad Tahir*
>
-- 

Thank you,
Abyot
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] DHIS2: Select multiple options

2015-06-16 Thread Abyot Gizaw
No, unfortunately we don't have that kind of feature.

Actually storing multiple values for a single data-element will create a
problem later during aggregation/analysis. If you have a short pre-defined
list of services, I would suggest creating corresponding data element of
type yes/no for each service.


On Tue, Jun 16, 2015 at 1:41 PM Muhammad Tahir  wrote:

> Hi,
>
> While designing forms, we wanted to have fields where user can select
> multiple values.
>
>
> E.g. Services that a particular provider offers.
>
> Is there any option to select multiple values from a list or using check
> boxes?
>
> --
> *Regards,*
> *Muhammad Tahir*
>  ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
-- 

Thank you,
Abyot
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Patients & Provider List View

2015-06-16 Thread Abyot Gizaw
Hi Muhammad,

You can have that using the advanced search feature. See
https://www.dhis2.org/doc/snapshot/en/user/html/ch28s02.html

Thank you,
Abyot.
On Tue, Jun 16, 2015 at 1:30 PM Muhammad Tahir  wrote:

> Hi,
>
> We have patients and providers entities registered using program.
>
>
> Now we want to view/download a list of all the patients/providers that are
> linked to organization units at one place. We can see the list under the
> particular organization unit.
>
> But we want to see a list with all the organization units linked or if
> select a parent organization unit then can view all the patients/ providers
> under it.
>
> --
> *Regards,*
> *Muhammad Tahir*
>  ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] DataEntry forms to handle multiple entities at once

2015-06-11 Thread Abyot Gizaw
Hi Muhammad,

No, we don't have that feature at the moment. But, we have a plan to
introduce something like a "Family of Tracked Entity Instances". Once we
have such a family, we can put some values to it - like for example in your
case provider, location,... and other details. Then the moment a tracked
entity instance is part of a family it will inherit all (or parts,
depending on configuration) of the family values.

As you pointed, the best approach at the moment is to use the API and push
your data.

On Thu, Jun 11, 2015 at 6:35 AM Muhammad Tahir  wrote:

> Hi,
>
>
> I have now got some idea, how to create programs, register entities then
> enroll into the program.
>
> Is there any option to perform these operations at mass level, because we
> are using mostly paper forms and these are then entered into the system at
> a central office.
>
>
> Once we receive a form provider (doctor) with patient details, there are
> some values like provider, location that will be same for each patient, but
> when entering the same into the system, it goes into each
> registration/program state details separately.
>
> Does DHIS2 provide any data entry option to select a provider and add
> details for multiple patients?
>
>
> Alternate option is to create a separate application that input the
> details, convert it to DHIS2 format and use API to push the data into the
> system. But it does require some more work and time.
>
>
>
> --
> *Regards,*
> *Muhammad Tahir*
>  ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
-- 

Thank you,
Abyot
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] List of permission in DHIS2

2015-06-10 Thread Abyot Gizaw
great - thanks Jason.

I have also started working on this

https://docs.google.com/document/d/1_btaR9M0uCmyyBY754Wt8nn7jwpGyQGN1PXh0e78k8k/edit

see if it is something you can use?

On Wed, Jun 10, 2015 at 3:09 PM Jason Pickering 
wrote:

> Hi Elmarie.
>
>  I have just committed a new appendix to the main user manual with all
> authorities which I could find. It is a bit raw at the moment, but we will
> work to improve the layout and information which is available there.
>
> An updated version should be available shortly from here
> 
> .
>
> Regards,
> Jason
>
>
> On Wed, Jun 10, 2015 at 12:38 PM, Carlos Nyembwe 
> wrote:
>
>> Hi Elmarie
>> can you try to execute this SQL request on your Postgres?
>>
>> SELECT userroleauthorities.userroleid, name, authority
>>   FROM userroleauthorities, userrole
>>   WHERE userrole.userroleid = userroleauthorities.userroleid;
>>
>> On Tue, Jun 9, 2015 at 7:19 PM, Elmarie Claasen  wrote:
>>
>>>  [image: Boxbe]  This message is
>>> eligible for Automatic Cleanup! (elma...@hisp.org) Add cleanup rule
>>> 
>>> | More info
>>> 
>>>
>>> Hi all,
>>>
>>>
>>>
>>> Can anyone provide me with a complete list of available userrole
>>> authorities which appears on the left side when you create a user role?
>>>
>>>
>>>
>>> I don’t see any table with that information in dhis2.
>>>
>>>
>>>
>>> Much appreciated - thanks
>>>
>>>
>>>
>>> Regards,
>>>
>>>
>>>
>>> *Elmarie Claasen*
>>>
>>> [image: Hisp logo]
>>>
>>> Project Manager
>>>
>>> Health Information Systems Program
>>>
>>> Tel:  041-367 1027
>>>
>>> Cell: 082 374 2209
>>>
>>> E-mail: elma...@hisp.org
>>>
>>> Skype:  elmarie.claasen52
>>>
>>>
>>>
>>>
>>>
>>> This message and any attachments are subject to a disclaimer published
>>> at http://www.hisp.org/policies.html#comms_disclaimer .   Please read
>>> the disclaimer before opening any attachment or taking any other action in
>>> terms of this electronic transmission.
>>> If you cannot access the disclaimer, kindly send an email to 
>>> disclai...@hisp.org
>>> and a copy will be provided to you. By replying to this e-mail or
>>> opening any attachment you agree to be bound by the provisions of the
>>> disclaimer.
>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> *Carlos Nyembwe*
>> *Informaticien*
>>
>> *Skype: carloscnk1*
>> *Téléphone: (+243)813166381 <%28%2B243%29813166381>*
>> *URL: *www.linkedin.com/in/carloscnk
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@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-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
-- 

Thank you,
Abyot
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] List of permission in DHIS2

2015-06-10 Thread Abyot Gizaw
Yes, I have a very rough document. I was hoping for us to clean it first as
there are lots of roles which are not in use currently.

Probably better to put it 'as is' somewhere - as appendix in the
documentation?

On Wed, Jun 10, 2015 at 12:11 PM Lars Helge Øverland 
wrote:

> Hi,
>
> this is almost correct ;) The userroleauthorities table is a link table
> between userrole and authorities. So it will contain all available
> authorities only if you assume that all possible authorities have been
> assigned to one or more user roles.
>
> So a hack is to create a new user role in the system with all possible
> authorities and then do:
>
> select distinct authority from userroleauthorities;
>
> Abyot,
>
> did you start on a document outlining the authorities?
>
> regards,
>
> Lars
>
>
>
>  ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
-- 

Thank you,
Abyot
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] DHIS2 - Manage Provider's List

2015-06-05 Thread Abyot Gizaw
On Fri, Jun 5, 2015 at 6:13 AM Muhammad Tahir  wrote:

> Hi Lars,
>
> Thank you very much for reply.
>
> I got the idea that each program can only be linked to a single entity and
> that mostly will be patients and I have to use multiple events type in
> program as the other does not appear in "Tracker Capture".
>
> I have follow two major queries, hope you or some one from community can
> help in,
>
>
>1. Is it possible to use/link a single patient with multiple programs,
>and all the details of patients are kept at one place?
>
> Yes, this is possible. You can link (rather enroll - that is the
terminology in DHIS2) a patient to multiple programs. For this to happen
all your programs should have the same tracked entity. In addition, if by
chance you are registering a patient without selecting a program, then you
should select the same tracked entity that you assigned to your programs.

Also, since you wanted some details of a patient to appear for all your
programs, you need to create a list of attributes and assign them to your
programs. An attribute filled during program A enrollment/registration will
appear for program B.

>
>1. Similarly, what is the best way to keep a list of
>providers(Doctors) and linking them to either patients, programs and
>organization units?
>
> This is a bit tricky and I am not really sure I understand your usecase -
for example what kind of report/analysis/output are you expecting?

Yes, you can use a relationship and relate a patient with one or more
doctors or any other tracked entity instance for that matter (could even be
a patient). But the relationship here is at the level of tracked entity
instance not program - meaning a doctor you linked to your patient during
program A will appear when you open program B details of the same patient.
Is this what you want?

I think the best here is for you to provide us more details on what you
wanted to do with providers? what kind and how many stage do you have per
program? are you expecting the same provider for the entire program?


>
>
> --
> *Regards,*
> *Muhammad Tahir*
>  ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
-- 

Thank you,
Abyot
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Using programs and attributes.

2015-05-29 Thread Abyot Gizaw
Hi Muhammad,

2.18 does not have custom registration form - you need to use 2.19.

I suspect your other problem is related to caching. Try to clear your
browser cache and see if it behaves properly.


---
Thank you,
Abyot.

On Fri, May 29, 2015 at 7:14 AM, Muhammad Tahir  wrote:

> Hi ,
>
> I have created a program and added attributes for registering patient's
> details.
>
> Assigned the program to organization unit and user.
>
> Next used the "Tracked Entity Form" to design the form.
>
> But when registering patients via Tracker Capture, it shows the normal
> form not the designed form.
>
>
>
> One more thing that I had created attributes, but when editing the
> attributes value type it does not change, like I had a custom yes/no option
> set created, but it was not appearing when registering.
>
> Changed the value from option set to system yes/no option but nothing
> appears on form, later changed this to a text field and but open the
> attribute again, Option set drop down still exist even Value type is "Text".
>
>
> DHIS2: 2.18 (Live)
> OS: Windows 7
>
> --
> *Regards,*
> *Muhammad Tahir*
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] DHIS2 - Cannot find Single Event With registration for registration !!!

2015-05-16 Thread Abyot Gizaw
Hi,

We have plan to scrap current program types and introduce programs of type
"With Registration" and "Without Registration". How many event a program
can have is not really important - users are free to decide this through
program stage configuration.

So, for your program to work for now, just change to "Multiple Event *With
Registration*" and you will access it through the Tracker Capture app after
clearing your browser cache.

---
Thank you,
Abyot.

On Wed, May 13, 2015 at 3:18 PM, Muhammad Tahir  wrote:

> Hi,
>
> I have edited an old program and assigned to it to different organization
> units.
>
> I can see the programs assigned and view
>
> Single Event Without registration In "Event Capture"
> Multiple Events with registration In "Tracker Capture"
>
> But cannot see "Single Event With registration" in either "Event Capture"
> nor "Tracker Capture".
>
>
> Where can I find "Single Event With registration" to enter data for
> attributes associated with it?
>
> Thanks
>
> --
> *Regards,*
> *Muhammad Tahir*
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Event Capture

2015-04-30 Thread Abyot Gizaw
Hi,

Can you give more details? For example what do you see if you go to your
browser's console?

---
Thank you,
Abyot.

On Thu, Apr 30, 2015 at 5:42 PM, Chidzah  wrote:

>   Hi,
>
>  There is an error in event capture app, if a user log in to a facility
> where there is data already captured it goes into an infinite loop saying
> uploading offline data even though there was no data captured while offline
> (DHIS2 version 2.18)
>
>  regards
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Screen error

2015-04-29 Thread Abyot Gizaw
Hi Marco,

Tracker capture works a bit differently... below are few steps that you
need to follow

1. use custom form

2. access the custom form
var dataEntryForm = document.querySelector('d2-custom-form');
var $scope = angular.element(dataEntryForm).scope();

3. now within the custom form, you can access all your input fields value
through using the data elements uid (UID)

var val = $scope.currentEvent['UID']

... you can the proceed with calculating your indicators...


---
Thank you,
Abyot.

On Wed, Apr 29, 2015 at 4:53 PM, Marko David Garcia 
wrote:

> Hello Tran .
>
> We are basically trying to make some simple calculations in a multiple
> events with registration form .
>
> Initially we tried to make these calculations with indicators, but when
> try to include these on a stage with sections , these can't be added
> because only data elements appear .
>
> So we decided to perform calculations using javascript and forms with
> design, but the dataelements with date type appear in yellow and don't save
> the information .
>
> To workaround this issue we used the tracker capture, the date
> dataelements works fine, but the tracker doesn't perform the javascript
> calculations.
>
> Could you suggest any option to solve this problem.
>
> Thank you.
>
> Cordialmente,
>
>
> *Mag. (c). Marko David Garcia M.*
> *Ingeniería Telemática*
> *Universidad del Cauca*
> *Skype: marko_david*
>
> 2015-04-27 0:49 GMT-05:00 Tran Chau (HISP Vietnam) <
> tran.hispviet...@gmail.com>:
>
> Hi Marko,
>>
>> The internet is too slow to connect to websites of foreign country
>> because the internet cable is broken again.
>> I tried to test this bug, but it works fine in my local site.
>> I cannot connect the demo to do an example for testing because of
>> internet.
>>
>> Could you create an example about this bug on demo server ?
>> We will see what is wrong as soon as I can connect the DHIS demo server.
>>
>> .
>> Best regards,
>> Tran Chau
>>
>> On Thu, Apr 23, 2015 at 8:55 PM, Abyot Gizaw  wrote:
>>
>>> Hi Tran,
>>>
>>> Marko has already explained this in the list, he can also give you more
>>> details.
>>>
>>> so the bug he is getting is on Individual records module, on 2.18 and
>>> this happens when he is entering value for date type data elements... the
>>> error log he attached refers to commons.js
>>>
>>>
>>> ---
>>> Thank you,
>>> Abyot.
>>>
>>> On Thu, Apr 23, 2015 at 3:51 PM, Tran Chau (HISP Vietnam) <
>>> tran.hispviet...@gmail.com> wrote:
>>>
>>>> Hi Abyot,
>>>>
>>>> Can you give me more information about which function, when this bug
>>>> occurs and which version for testing this bug ?
>>>>
>>>> .
>>>> Best regards,
>>>> Tran Chau
>>>>
>>>> On Thu, Apr 23, 2015 at 8:49 PM, Abyot Gizaw  wrote:
>>>>
>>>>> Hi Tran,
>>>>>
>>>>> Do you have time to look into this?
>>>>>
>>>>> ---
>>>>> Thank you,
>>>>> Abyot.
>>>>>
>>>>> On Thu, Apr 23, 2015 at 3:40 PM, Marko David Garcia <
>>>>> markodavi...@gmail.com> wrote:
>>>>>
>>>>>> Hi Abyot, this is the console error screen.
>>>>>>
>>>>>>
>>>>>> Best regards,
>>>>>>
>>>>>>
>>>>>> *Mag. (c). Marko David Garcia M.*
>>>>>> *Ingeniería Telemática*
>>>>>> *Universidad del Cauca*
>>>>>> *Skype: marko_david*
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Fwd: data visualiser errors

2015-04-28 Thread Abyot Gizaw
-- Forwarded message --
From: Chidzah 
Date: Tue, Apr 28, 2015 at 4:20 PM
Subject: RE: data visualiser errors
To: aby...@gmail.com


Hi,
Please may you assist concerning the following error

1) I went to data visualiser. On data elements I selected HTC. in then
selected new HIV tests. From there I selected age groups <2months, 2 - 12
months, 13 - 24 months, 25 - 59 months, 5 - 9 years, 10- 14 years and 15 -
19 years. Then I selected my org units. It gives me the right results but
when I want to download to excel so I can work with the file it does not
give me the age group 5 - 9 years.* Instead it gives me age groups that I
did not select like 20 - 24 years, 25 49 years and 50 years and above*.

Thank you for the solutions you provided on tracker mainly on offline mode.
Your assistance is greatly appreciated.


Regards

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


Re: [Dhis2-users] Troubles with date dataelements in program stage with personal desing

2015-04-23 Thread Abyot Gizaw
Hello Marko,

Can you tell us a bit more - which version of DHIS2? which module - tracker
capture or individual records? And also is there any log on your browser
console?


---
Thank you,
Abyot.

On Thu, Apr 23, 2015 at 1:18 PM, Marko David Garcia 
wrote:

> Hello all.
>
> Are there some troubles with date data elements in program stages with
> personal design?
>
> We use personal design because we need calculate some values.
>
> When we pick a date data element, it change to yellow but doesn't save.
>
> Best regards,
>
>
> *Mag. (c). Marko David Garcia M.*
> *Ingeniería Telemática*
> *Universidad del Cauca*
> *Skype: marko_david*
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Print list of data element values

2015-04-14 Thread Abyot Gizaw
Hi Joao,

I was following the conversation from your request, but I still couldn't
understand what you wanted to do. Can you tell us more on your use case?

The tracked entity instance example you mentioned is generated by an app,
probably you need to develop a similar one. I can guide you a bit on that.

Are you interested in only listing data element values of a program stage?
Don't you need from whom the listed values are recorded?


---
Thank you,
Abyot.

On Tue, Apr 14, 2015 at 4:39 PM, Joao Mazuze 
wrote:

>  It is something like we can see when we list from a program on a tracked
> entity form search. But I am not able to get data element s from a specific
> program stage belonging to that program.
>
>
>
> Best regards
>
>
>
> *From:* Greg Rowles [mailto:greg.row...@gmail.com]
> *Sent:* 14 April 2015 16:15
> *To:* Joao Mazuze
> *Cc:* dhis2-users@lists.launchpad.net
> *Subject:* Re: [Dhis2-users] Print list of data element values
>
>
>
> sorry, using this:
>
>
>
> SELECT program.uid as ProgUID, program.name as Prog,
> trackedentityattribute.trackedentityattributeid as ProgAttribID,
> trackedentityattribute.uid as ProgAttribUID, trackedentityattribute.name
> as ProgAttrib, programstage.uid as ProgStageUID, programstage.name as
> ProgStage, dataelement.dataelementid as ProgStageElementID, dataelement.uid
> as ProgStageElementUID, dataelement.name as ProgStageElement FROM
> public.program, public.program_attributes, public.trackedentityattribute,
> public.programstage, public.programstage_dataelements, public.dataelement
> WHERE program_attributes.trackedentityattributeid =
> trackedentityattribute.trackedentityattributeid AND
> program_attributes.programid = program.programid AND programstage.programid
> = program.programid AND programstage_dataelements.programstageid =
> programstage.programstageid AND dataelement.dataelementid =
> programstage_dataelements.dataelementid ORDER BY program.name,
> trackedentityattribute.name, programstage.name, dataelement.name
>
>
>
>
>
>
>
> On Tue, Apr 14, 2015 at 4:14 PM, Greg Rowles 
> wrote:
>
> Hi Joao
>
>
>
> Create a SQLview using this:
>
>
>
> On Tue, Apr 14, 2015 at 3:34 PM, Joao Mazuze 
> wrote:
>
>   Hi all,
>
> How do I print a list of data element values in a program stage? I have
> configured some of them to be displayed in reports, is there ba way to
> display that list?
>
>
>
> Kind regards
>
>
>  --
>
> This message may contain privileged and confidential information intended
> solely for the addressee. Please do not read, disseminate or copy it unless
> you are the intended recipient. If this message has been received in error,
> we kindly ask that you notify the sender immediately by return email and
> delete all copies of the message from your system.
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
> --
>
> *Health Information Systems Program - South Africa*
>
> *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
>
> Mobile  :073 246 2992
> Landline:   021 554 3130
>
> Fax:  086 733 8432
>
> Skype:  gregory_rowles
>
>
>
>
>
> --
>
> *Health Information Systems Program - South Africa*
>
> *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
>
> Mobile  :073 246 2992
> Landline:   021 554 3130
>
> Fax:  086 733 8432
>
> Skype:  gregory_rowles
>
>
> --
> This message may contain privileged and confidential information intended
> solely for the addressee. Please do not read, disseminate or copy it unless
> you are the intended recipient. If this message has been received in error,
> we kindly ask that you notify the sender immediately by return email and
> delete all copies of the message from your system.
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] DHIS2 - Program still appearing for certain user roles

2015-03-30 Thread Abyot Gizaw
Hi Robin,

Roles are not yet applied for Event and Tracker capture apps. We are hoping
to get this fixed for the upcoming release.


---
Thank you,
Abyot.

On Sat, Mar 28, 2015 at 5:45 PM, Robin Martens  wrote:

>Hi all,
>
>
>
> I have some programs that should only be visible to certain users. When I
> unselect the other users from the “Assign to user roles” menu via the
> “Program” module, the program continues to appear for these users in the
> Event Capture module. The same issue seems to persist on the demo server.
>
>
>
> When checking the PSQL tables, the program/user role combination is no
> longer in the program_userrole table which is as it should be.
>
>
>
> Is this a known bug or am I overlooking something?
>
>
>
> Kind regards,
>
>
>
> Robin
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] DHIS2: Custom fields in Event Notes OR User Notes

2015-03-30 Thread Abyot Gizaw
Hi,

No, unfortunately that is not possible at the moment.


---
Thank you,
Abyot.

On Mon, Mar 30, 2015 at 9:30 AM, Nikunj  wrote:

>  Hello All,
>
> Wanted to check if it is possible to add custom fields like mentioned
> below in User notes OR Event notes in Tracker Capture.
>
>
>
> Fields like:
>
>- Date note captured
>- Reminder date
>- Category
>- Attached to event (if in User notes)
>
>
> --
>
>
> Thanks,
> Nikunj
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Problem with tracker module

2015-03-18 Thread Abyot Gizaw
Great !


---
Thank you,
Abyot.

On Wed, Mar 18, 2015 at 4:28 PM, Bob Jolliffe  wrote:

> I just dropped these columns and it is now working.  Thanks Abyot and Alex
> ...
>
> On 18 March 2015 at 15:15, Bob Jolliffe  wrote:
>
>> Hi Abyot
>>
>> Looking at the upgrade script it ends with
>>
>> ALTER TABLE patient DROP COLUMN gender;
>> ALTER TABLE patient DROP COLUMN deathDate;
>> ALTER TABLE patient DROP COLUMN registrationDate;
>> ALTER TABLE patient DROP COLUMN isDead;
>> ALTER TABLE patient DROP COLUMN underAge;
>> ALTER TABLE patient DROP COLUMN dobType;
>> ALTER TABLE patient DROP COLUMN birthdate;
>> ALTER TABLE patient DROP COLUMN phoneNumber;
>> ALTER TABLE patient DROP COLUMN name;
>> ALTER TABLE patient DROP COLUMN healthworkerid
>>
>> which removes all the old static attributes (obviously table name has
>> changed).  I see that the earlier part of the script is dedicated to
>> creating dynamic attributes for these and copying over the data.  If there
>> is no existing data is there still a need to create these formerly fixed
>> attributes?
>>
>> On 18 March 2015 at 15:10, Abyot Gizaw  wrote:
>>
>>> Let's hope for that ... but at the same time it not about removing a
>>> column  - it is more than that and a bit complex.
>>>
>>>
>>> ---
>>> Thank you,
>>> Abyot.
>>>
>>> On Wed, Mar 18, 2015 at 4:06 PM, Wilson, Randy  wrote:
>>>
>>>> Thanks for the troubleshooting.  We'll try removing the extra static
>>>> columns on an offline instance and let you know.
>>>>
>>>> I'm sure it will do the trick.
>>>>
>>>> Randy
>>>>
>>>> On Wed, Mar 18, 2015 at 4:53 PM, Bob Jolliffe 
>>>> wrote:
>>>>
>>>>> The table does look exactly like it has many static atteruibutes which
>>>>> should have moved to dynamic, so probably some upgrade script was not
>>>>> applied.
>>>>>
>>>>> The rwanda implementation does have a fairly long vintage.  I'll check
>>>>> that old upgrade script and see if it fixes the problem.   Thanks Abyot.
>>>>>
>>>>> On 18 March 2015 at 14:45, Abyot Gizaw  wrote:
>>>>>
>>>>>> we used to have that attribute. see the commit from Tran (Rev: 13239)
>>>>>>
>>>>>> That was supposed to be removed when migrating static to dynamic
>>>>>> attributes ... this then leads to another bigger issue - have you made a
>>>>>> proper upgrade?
>>>>>>
>>>>>>
>>>>>> ---
>>>>>> Thank you,
>>>>>> Abyot.
>>>>>>
>>>>>> On Wed, Mar 18, 2015 at 3:36 PM, Bob Jolliffe 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Abyot
>>>>>>>
>>>>>>> Thanks for the explanation.  That makes sense.  So the second post
>>>>>>> is never happening because the registration is not completed.
>>>>>>>
>>>>>>> Alex raises an interesting possibility.  There is a column
>>>>>>> called registrationdate on trackedentityinstance.  Is this meant to be
>>>>>>> there or could it be a hangover from an earlier version of the table?
>>>>>>>
>>>>>>> I guess randy can try with 2.18 but I have been testing on one of
>>>>>>> the production servers so I can't really upgrade just to test this.
>>>>>>>
>>>>>>> On 18 March 2015 at 14:32, Abyot Gizaw  wrote:
>>>>>>>
>>>>>>>> It is a two step process... first registration is done meaning
>>>>>>>> server returning uid, then using this uid another json is posted (this 
>>>>>>>> time
>>>>>>>> the enrollment details are sent). What I think has happened is server
>>>>>>>> failed to complete registration. Looking the log - do you have an 
>>>>>>>> attribute
>>>>>>>> called registrationdate which is set mandatory?
>>>>>>>>
>>>>>>>> Also, can you make sure you are trying this in 2.18? of course you
>>>>>>>> can continue with 2.17 but just saying that 2.18 is more stable. I 
>>>>>>>> just did
>>>>>>>> a test on the 

Re: [Dhis2-users] Problem with tracker module

2015-03-18 Thread Abyot Gizaw
Let's hope for that ... but at the same time it not about removing a column
 - it is more than that and a bit complex.


---
Thank you,
Abyot.

On Wed, Mar 18, 2015 at 4:06 PM, Wilson, Randy  wrote:

> Thanks for the troubleshooting.  We'll try removing the extra static
> columns on an offline instance and let you know.
>
> I'm sure it will do the trick.
>
> Randy
>
> On Wed, Mar 18, 2015 at 4:53 PM, Bob Jolliffe 
> wrote:
>
>> The table does look exactly like it has many static atteruibutes which
>> should have moved to dynamic, so probably some upgrade script was not
>> applied.
>>
>> The rwanda implementation does have a fairly long vintage.  I'll check
>> that old upgrade script and see if it fixes the problem.   Thanks Abyot.
>>
>> On 18 March 2015 at 14:45, Abyot Gizaw  wrote:
>>
>>> we used to have that attribute. see the commit from Tran (Rev: 13239)
>>>
>>> That was supposed to be removed when migrating static to dynamic
>>> attributes ... this then leads to another bigger issue - have you made a
>>> proper upgrade?
>>>
>>>
>>> ---
>>> Thank you,
>>> Abyot.
>>>
>>> On Wed, Mar 18, 2015 at 3:36 PM, Bob Jolliffe 
>>> wrote:
>>>
>>>> Hi Abyot
>>>>
>>>> Thanks for the explanation.  That makes sense.  So the second post is
>>>> never happening because the registration is not completed.
>>>>
>>>> Alex raises an interesting possibility.  There is a column
>>>> called registrationdate on trackedentityinstance.  Is this meant to be
>>>> there or could it be a hangover from an earlier version of the table?
>>>>
>>>> I guess randy can try with 2.18 but I have been testing on one of the
>>>> production servers so I can't really upgrade just to test this.
>>>>
>>>> On 18 March 2015 at 14:32, Abyot Gizaw  wrote:
>>>>
>>>>> It is a two step process... first registration is done meaning server
>>>>> returning uid, then using this uid another json is posted (this time the
>>>>> enrollment details are sent). What I think has happened is server failed 
>>>>> to
>>>>> complete registration. Looking the log - do you have an attribute called 
>>>>> registrationdate
>>>>> which is set mandatory?
>>>>>
>>>>> Also, can you make sure you are trying this in 2.18? of course you can
>>>>> continue with 2.17 but just saying that 2.18 is more stable. I just did a
>>>>> test on the demo server (which is 2.18) and it is working fine.
>>>>>
>>>>> One more thing... if you have made changes to your metadata once the
>>>>> tracker app has run - you need to clear cache to that the new meta-data is
>>>>> cached locally. We don't have a feature to auto-update local-cache.
>>>>>
>>>>>
>>>>> ---
>>>>> Thank you,
>>>>> Abyot.
>>>>>
>>>>> On Wed, Mar 18, 2015 at 2:53 PM, Bob Jolliffe 
>>>>> wrote:
>>>>>
>>>>>> Hi Abyot
>>>>>>
>>>>>> The log shows what Randy initially reported:
>>>>>>
>>>>>> * ERROR 2015-03-18 14:19:55,836 ERROR: null value in column
>>>>>> "registrationdate" v
>>>>>> iolates not-null constraint
>>>>>>   Detail: Failing row contains (29412, null, null, null, null, null,
>>>>>> null, null,
>>>>>>  null, 872, null, null, Ktl3NTLuGlK, null, 2015-03-18 14:19:55.805,
>>>>>> 2015-03-18 1
>>>>>> 4:19:55.805, null, 17032). (SqlExceptionHelper.java [tomcat-http-10])
>>>>>>
>>>>>> I am not sure about which instance randy has tested 2.18 on, but this
>>>>>> is definitely 2.17.  (I think he thought that this instance was also 
>>>>>> 2.18,
>>>>>> but its not)
>>>>>>
>>>>>> According to the form the Enrollment date and Reporting date are
>>>>>> required fields (see screenshot).  Do you mean that they are simply 
>>>>>> ignored
>>>>>> on initial registration?
>>>>>>
>>>>>> So where does the registration date come from?  From the server date?
>>>>>>
>>>>>> Bob
>>>>>>
>>>>>>
&g

Re: [Dhis2-users] Problem with tracker module

2015-03-18 Thread Abyot Gizaw
I think your db must be from an old version - less than 2.13

and in 2.14 we have introduced this script

http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/trunk/view/head:/resources/sql/convert-fixed-attributes-to-dynamic-postgres.sql


---
Thank you,
Abyot.

On Wed, Mar 18, 2015 at 3:38 PM, Alex Tumwesigye 
wrote:

> Dear Abyot,
>
> I agree to your suggestion.
>
>
> Thanks.
>
> Alex
>
> On Wed, Mar 18, 2015 at 5:32 PM, Abyot Gizaw  wrote:
>
>> It is a two step process... first registration is done meaning server
>> returning uid, then using this uid another json is posted (this time the
>> enrollment details are sent). What I think has happened is server failed to
>> complete registration. Looking the log - do you have an attribute called 
>> registrationdate
>> which is set mandatory?
>>
>> Also, can you make sure you are trying this in 2.18? of course you can
>> continue with 2.17 but just saying that 2.18 is more stable. I just did a
>> test on the demo server (which is 2.18) and it is working fine.
>>
>> One more thing... if you have made changes to your metadata once the
>> tracker app has run - you need to clear cache to that the new meta-data is
>> cached locally. We don't have a feature to auto-update local-cache.
>>
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Wed, Mar 18, 2015 at 2:53 PM, Bob Jolliffe 
>> wrote:
>>
>>> Hi Abyot
>>>
>>> The log shows what Randy initially reported:
>>>
>>> * ERROR 2015-03-18 14:19:55,836 ERROR: null value in column
>>> "registrationdate" v
>>> iolates not-null constraint
>>>   Detail: Failing row contains (29412, null, null, null, null, null,
>>> null, null,
>>>  null, 872, null, null, Ktl3NTLuGlK, null, 2015-03-18 14:19:55.805,
>>> 2015-03-18 1
>>> 4:19:55.805, null, 17032). (SqlExceptionHelper.java [tomcat-http-10])
>>>
>>> I am not sure about which instance randy has tested 2.18 on, but this is
>>> definitely 2.17.  (I think he thought that this instance was also 2.18, but
>>> its not)
>>>
>>> According to the form the Enrollment date and Reporting date are
>>> required fields (see screenshot).  Do you mean that they are simply ignored
>>> on initial registration?
>>>
>>> So where does the registration date come from?  From the server date?
>>>
>>> Bob
>>>
>>>
>>> On 18 March 2015 at 13:01, Abyot Gizaw  wrote:
>>>
>>>> Hi Bob,
>>>>
>>>> That is just for registration ... then enrollment follows with
>>>> enrollment and incident dates. Most probably something has failed in
>>>> between - is there any log?
>>>>
>>>>
>>>> ---
>>>> Thank you,
>>>> Abyot.
>>>>
>>>> On Wed, Mar 18, 2015 at 1:48 PM, Bob Jolliffe 
>>>> wrote:
>>>>
>>>>> Hi Abyot
>>>>>
>>>>> I just had a quick look at the tracker app on one of the Rwanda dhis2
>>>>> instances (it is running 2.17 built on  2015-01-21 02:05 - strange I
>>>>> don't see the build revision)
>>>>>
>>>>> The form has some attributes and the Enrollment date and Reporting
>>>>> date at the bottom.  When I try to save I see that the following is 
>>>>> POSTed.
>>>>>
>>>>>
>>>>> {"trackedEntity":"BQu4uXKyrRE","orgUnit":"BPZcHDS6OO0","attributes":[{"attribute":"xyp3l9obelI","value":55654},{"attribute":"ul7UIuUoP1Z","value":"5654"},{"attribute":"rOwntnIQh2P","value":"56546"},{"attribute":"QnwIsiKw2NF","value":"5654"},{"attribute":"SZ05eUTBMEN","value":"6546"},{"attribute":"tNGC3SeoHbb","value":"5656"},{"attribute":"FQGMFSwKUkB","value":56546},{"attribute":"VsUAhCcttyf","value":"56546"}]}
>>>>>
>>>>> Note there are no dates in this even though they were entered on the
>>>>> form.  This seems wrong,  I guess this is what causes the sql to fail.
>>>>>
>>>>> Regards
>>>>> Bob
>>>>>
>>>>> On 17 March 2015 at 14:26, Abyot Gizaw  wrote:
>>>>>
>>>>>> Hello Randy,
>>

Re: [Dhis2-users] Problem with tracker module

2015-03-18 Thread Abyot Gizaw
we used to have that attribute. see the commit from Tran (Rev: 13239)

That was supposed to be removed when migrating static to dynamic attributes
... this then leads to another bigger issue - have you made a proper
upgrade?


---
Thank you,
Abyot.

On Wed, Mar 18, 2015 at 3:36 PM, Bob Jolliffe  wrote:

> Hi Abyot
>
> Thanks for the explanation.  That makes sense.  So the second post is
> never happening because the registration is not completed.
>
> Alex raises an interesting possibility.  There is a column
> called registrationdate on trackedentityinstance.  Is this meant to be
> there or could it be a hangover from an earlier version of the table?
>
> I guess randy can try with 2.18 but I have been testing on one of the
> production servers so I can't really upgrade just to test this.
>
> On 18 March 2015 at 14:32, Abyot Gizaw  wrote:
>
>> It is a two step process... first registration is done meaning server
>> returning uid, then using this uid another json is posted (this time the
>> enrollment details are sent). What I think has happened is server failed to
>> complete registration. Looking the log - do you have an attribute called 
>> registrationdate
>> which is set mandatory?
>>
>> Also, can you make sure you are trying this in 2.18? of course you can
>> continue with 2.17 but just saying that 2.18 is more stable. I just did a
>> test on the demo server (which is 2.18) and it is working fine.
>>
>> One more thing... if you have made changes to your metadata once the
>> tracker app has run - you need to clear cache to that the new meta-data is
>> cached locally. We don't have a feature to auto-update local-cache.
>>
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Wed, Mar 18, 2015 at 2:53 PM, Bob Jolliffe 
>> wrote:
>>
>>> Hi Abyot
>>>
>>> The log shows what Randy initially reported:
>>>
>>> * ERROR 2015-03-18 14:19:55,836 ERROR: null value in column
>>> "registrationdate" v
>>> iolates not-null constraint
>>>   Detail: Failing row contains (29412, null, null, null, null, null,
>>> null, null,
>>>  null, 872, null, null, Ktl3NTLuGlK, null, 2015-03-18 14:19:55.805,
>>> 2015-03-18 1
>>> 4:19:55.805, null, 17032). (SqlExceptionHelper.java [tomcat-http-10])
>>>
>>> I am not sure about which instance randy has tested 2.18 on, but this is
>>> definitely 2.17.  (I think he thought that this instance was also 2.18, but
>>> its not)
>>>
>>> According to the form the Enrollment date and Reporting date are
>>> required fields (see screenshot).  Do you mean that they are simply ignored
>>> on initial registration?
>>>
>>> So where does the registration date come from?  From the server date?
>>>
>>> Bob
>>>
>>>
>>> On 18 March 2015 at 13:01, Abyot Gizaw  wrote:
>>>
>>>> Hi Bob,
>>>>
>>>> That is just for registration ... then enrollment follows with
>>>> enrollment and incident dates. Most probably something has failed in
>>>> between - is there any log?
>>>>
>>>>
>>>> ---
>>>> Thank you,
>>>> Abyot.
>>>>
>>>> On Wed, Mar 18, 2015 at 1:48 PM, Bob Jolliffe 
>>>> wrote:
>>>>
>>>>> Hi Abyot
>>>>>
>>>>> I just had a quick look at the tracker app on one of the Rwanda dhis2
>>>>> instances (it is running 2.17 built on  2015-01-21 02:05 - strange I
>>>>> don't see the build revision)
>>>>>
>>>>> The form has some attributes and the Enrollment date and Reporting
>>>>> date at the bottom.  When I try to save I see that the following is 
>>>>> POSTed.
>>>>>
>>>>>
>>>>> {"trackedEntity":"BQu4uXKyrRE","orgUnit":"BPZcHDS6OO0","attributes":[{"attribute":"xyp3l9obelI","value":55654},{"attribute":"ul7UIuUoP1Z","value":"5654"},{"attribute":"rOwntnIQh2P","value":"56546"},{"attribute":"QnwIsiKw2NF","value":"5654"},{"attribute":"SZ05eUTBMEN","value":"6546"},{"attribute":"tNGC3SeoHbb","value":"5656"},{"attribute":"FQGMFSwKUkB","value":56546},{"attribute":"VsUAhCcttyf","value":"56546"}]}
>>>

Re: [Dhis2-users] Problem with tracker module

2015-03-18 Thread Abyot Gizaw
It is a two step process... first registration is done meaning server
returning uid, then using this uid another json is posted (this time the
enrollment details are sent). What I think has happened is server failed to
complete registration. Looking the log - do you have an attribute
called registrationdate
which is set mandatory?

Also, can you make sure you are trying this in 2.18? of course you can
continue with 2.17 but just saying that 2.18 is more stable. I just did a
test on the demo server (which is 2.18) and it is working fine.

One more thing... if you have made changes to your metadata once the
tracker app has run - you need to clear cache to that the new meta-data is
cached locally. We don't have a feature to auto-update local-cache.


---
Thank you,
Abyot.

On Wed, Mar 18, 2015 at 2:53 PM, Bob Jolliffe  wrote:

> Hi Abyot
>
> The log shows what Randy initially reported:
>
> * ERROR 2015-03-18 14:19:55,836 ERROR: null value in column
> "registrationdate" v
> iolates not-null constraint
>   Detail: Failing row contains (29412, null, null, null, null, null, null,
> null,
>  null, 872, null, null, Ktl3NTLuGlK, null, 2015-03-18 14:19:55.805,
> 2015-03-18 1
> 4:19:55.805, null, 17032). (SqlExceptionHelper.java [tomcat-http-10])
>
> I am not sure about which instance randy has tested 2.18 on, but this is
> definitely 2.17.  (I think he thought that this instance was also 2.18, but
> its not)
>
> According to the form the Enrollment date and Reporting date are required
> fields (see screenshot).  Do you mean that they are simply ignored on
> initial registration?
>
> So where does the registration date come from?  From the server date?
>
> Bob
>
>
> On 18 March 2015 at 13:01, Abyot Gizaw  wrote:
>
>> Hi Bob,
>>
>> That is just for registration ... then enrollment follows with enrollment
>> and incident dates. Most probably something has failed in between - is
>> there any log?
>>
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Wed, Mar 18, 2015 at 1:48 PM, Bob Jolliffe 
>> wrote:
>>
>>> Hi Abyot
>>>
>>> I just had a quick look at the tracker app on one of the Rwanda dhis2
>>> instances (it is running 2.17 built on  2015-01-21 02:05 - strange I
>>> don't see the build revision)
>>>
>>> The form has some attributes and the Enrollment date and Reporting date
>>> at the bottom.  When I try to save I see that the following is POSTed.
>>>
>>>
>>> {"trackedEntity":"BQu4uXKyrRE","orgUnit":"BPZcHDS6OO0","attributes":[{"attribute":"xyp3l9obelI","value":55654},{"attribute":"ul7UIuUoP1Z","value":"5654"},{"attribute":"rOwntnIQh2P","value":"56546"},{"attribute":"QnwIsiKw2NF","value":"5654"},{"attribute":"SZ05eUTBMEN","value":"6546"},{"attribute":"tNGC3SeoHbb","value":"5656"},{"attribute":"FQGMFSwKUkB","value":56546},{"attribute":"VsUAhCcttyf","value":"56546"}]}
>>>
>>> Note there are no dates in this even though they were entered on the
>>> form.  This seems wrong,  I guess this is what causes the sql to fail.
>>>
>>> Regards
>>> Bob
>>>
>>> On 17 March 2015 at 14:26, Abyot Gizaw  wrote:
>>>
>>>> Hello Randy,
>>>>
>>>> Are you using the individual records module?
>>>>
>>>> Can you try tracker capture app?
>>>>
>>>> -
>>>> Thank you,
>>>> Abyot.
>>>>
>>>> (sent from mobile)
>>>> On Mar 17, 2015 3:15 PM, "Wilson, Randy"  wrote:
>>>>
>>>>> We're setting up a tracker module to capture data from individual
>>>>> community health workers using Multiple events with registration.
>>>>>
>>>>> We have the program and stage as well as attributes and data elements
>>>>> - using 3 different instances of DHIS-2.
>>>>>
>>>>> When we try to create a new instance we fill in the form, but when we
>>>>> click on Add, the screen freezes.  The instance is not saved so we can't
>>>>> enter any data.
>>>>>
>>>>> We are using version 2.18 build 18143
>>>>>
>>>>> Any guidance would be much appreciated we're stuck.
>>>>>
>>>>> Her

Re: [Dhis2-users] Problem with tracker module

2015-03-18 Thread Abyot Gizaw
Hi Bob,

That is just for registration ... then enrollment follows with enrollment
and incident dates. Most probably something has failed in between - is
there any log?


---
Thank you,
Abyot.

On Wed, Mar 18, 2015 at 1:48 PM, Bob Jolliffe  wrote:

> Hi Abyot
>
> I just had a quick look at the tracker app on one of the Rwanda dhis2
> instances (it is running 2.17 built on  2015-01-21 02:05 - strange I
> don't see the build revision)
>
> The form has some attributes and the Enrollment date and Reporting date at
> the bottom.  When I try to save I see that the following is POSTed.
>
>
> {"trackedEntity":"BQu4uXKyrRE","orgUnit":"BPZcHDS6OO0","attributes":[{"attribute":"xyp3l9obelI","value":55654},{"attribute":"ul7UIuUoP1Z","value":"5654"},{"attribute":"rOwntnIQh2P","value":"56546"},{"attribute":"QnwIsiKw2NF","value":"5654"},{"attribute":"SZ05eUTBMEN","value":"6546"},{"attribute":"tNGC3SeoHbb","value":"5656"},{"attribute":"FQGMFSwKUkB","value":56546},{"attribute":"VsUAhCcttyf","value":"56546"}]}
>
> Note there are no dates in this even though they were entered on the
> form.  This seems wrong,  I guess this is what causes the sql to fail.
>
> Regards
> Bob
>
> On 17 March 2015 at 14:26, Abyot Gizaw  wrote:
>
>> Hello Randy,
>>
>> Are you using the individual records module?
>>
>> Can you try tracker capture app?
>>
>> -
>> Thank you,
>> Abyot.
>>
>> (sent from mobile)
>> On Mar 17, 2015 3:15 PM, "Wilson, Randy"  wrote:
>>
>>> We're setting up a tracker module to capture data from individual
>>> community health workers using Multiple events with registration.
>>>
>>> We have the program and stage as well as attributes and data elements -
>>> using 3 different instances of DHIS-2.
>>>
>>> When we try to create a new instance we fill in the form, but when we
>>> click on Add, the screen freezes.  The instance is not saved so we can't
>>> enter any data.
>>>
>>> We are using version 2.18 build 18143
>>>
>>> Any guidance would be much appreciated we're stuck.
>>>
>>> Here is the log:
>>> * INFO  2015-03-17 16:08:42,610 'randy' create
>>> org.hisp.dhis.trackedentity.Track
>>> edEntityInstance, uid: S4SGPUtDl0o (AuditLogUtil.java
>>> [http-bio-8080-exec-6])
>>> * INFO  2015-03-17 16:08:42,650 'randy' update
>>> org.hisp.dhis.trackedentity.Track
>>> edEntityInstance, uid: S4SGPUtDl0o (AuditLogUtil.java
>>> [http-bio-8080-exec-6])
>>> * WARN  2015-03-17 16:08:42,650 SQL Error: 0, SQLState: 23502
>>> (SqlExceptionHelpe
>>> r.java [http-bio-8080-exec-6])
>>> * ERROR 2015-03-17 16:08:42,650 ERROR: null value in column
>>> "registrationdate" v
>>> iolates not-null constraint
>>>   Detail: Failing row contains (19556, null, null, null, null, null,
>>> null, null,
>>>  null, 872, null, null, S4SGPUtDl0o, null, 2015-03-17 16:08:42.61,
>>> 2015-03-17 16
>>> :08:42.61, null, 17032). (SqlExceptionHelper.java [http-bio-8080-exec-6])
>>> * ERROR 2015-03-17 16:08:42,660 HHH000352: Unable to release batch
>>> statement...
>>> (AbstractBatchImpl.java [http-bio-8080-exec-6])
>>> * ERROR 2015-03-17 16:08:42,670 HHH000246: SQLException escaped proxy
>>> (AbstractB
>>> atchImpl.java [http-bio-8080-exec-6])
>>> java.sql.SQLException: You can't operate on a closed Statement!!!
>>>
>>> --
>>> *Randy Wilson*
>>> *Team Leader: **Knowledge Management, Data Use and Research*
>>> Rwanda Health System Strengthening Activity
>>> Management Sciences for Health
>>> Rwanda-Kigali
>>> Direct: +250 788308835
>>> E-mail: rwil...@msh.org
>>> Skype: wilsonrandy_us
>>>  <http://www.msh.org/>
>>> Stronger health systems. Greater health impact.
>>>  <https://www.facebook.com/ManagementSciencesForHealth>
>>> <https://twitter.com/MSHHealthImpact>
>>> <https://www.youtube.com/user/MSHHealthImpact>
>>> www.msh.org
>>>
>>> *This message and its attachments are confidential and solely for the
>>> intended recipients. If received in error, please delete them and notify
>>> the sender via reply e-mail immediately.*
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Problem with tracker module

2015-03-17 Thread Abyot Gizaw
Hello Randy,

Are you using the individual records module?

Can you try tracker capture app?

-
Thank you,
Abyot.

(sent from mobile)
On Mar 17, 2015 3:15 PM, "Wilson, Randy"  wrote:

> We're setting up a tracker module to capture data from individual
> community health workers using Multiple events with registration.
>
> We have the program and stage as well as attributes and data elements -
> using 3 different instances of DHIS-2.
>
> When we try to create a new instance we fill in the form, but when we
> click on Add, the screen freezes.  The instance is not saved so we can't
> enter any data.
>
> We are using version 2.18 build 18143
>
> Any guidance would be much appreciated we're stuck.
>
> Here is the log:
> * INFO  2015-03-17 16:08:42,610 'randy' create
> org.hisp.dhis.trackedentity.Track
> edEntityInstance, uid: S4SGPUtDl0o (AuditLogUtil.java
> [http-bio-8080-exec-6])
> * INFO  2015-03-17 16:08:42,650 'randy' update
> org.hisp.dhis.trackedentity.Track
> edEntityInstance, uid: S4SGPUtDl0o (AuditLogUtil.java
> [http-bio-8080-exec-6])
> * WARN  2015-03-17 16:08:42,650 SQL Error: 0, SQLState: 23502
> (SqlExceptionHelpe
> r.java [http-bio-8080-exec-6])
> * ERROR 2015-03-17 16:08:42,650 ERROR: null value in column
> "registrationdate" v
> iolates not-null constraint
>   Detail: Failing row contains (19556, null, null, null, null, null, null,
> null,
>  null, 872, null, null, S4SGPUtDl0o, null, 2015-03-17 16:08:42.61,
> 2015-03-17 16
> :08:42.61, null, 17032). (SqlExceptionHelper.java [http-bio-8080-exec-6])
> * ERROR 2015-03-17 16:08:42,660 HHH000352: Unable to release batch
> statement...
> (AbstractBatchImpl.java [http-bio-8080-exec-6])
> * ERROR 2015-03-17 16:08:42,670 HHH000246: SQLException escaped proxy
> (AbstractB
> atchImpl.java [http-bio-8080-exec-6])
> java.sql.SQLException: You can't operate on a closed Statement!!!
>
> --
> *Randy Wilson*
> *Team Leader: **Knowledge Management, Data Use and Research*
> Rwanda Health System Strengthening Activity
> Management Sciences for Health
> Rwanda-Kigali
> Direct: +250 788308835
> E-mail: rwil...@msh.org
> Skype: wilsonrandy_us
>  
> Stronger health systems. Greater health impact.
>  
> 
> 
> www.msh.org
>
> *This message and its attachments are confidential and solely for the
> intended recipients. If received in error, please delete them and notify
> the sender via reply e-mail immediately.*
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Tracker capture form

2015-03-16 Thread Abyot Gizaw
Hi Elmarie,

Quite difficult to tell what exactly the issue is. If there is any log on
your browser console, sharing that will provide us more clue.

At the same time, can you check once again if your program is MEWR?

Also which version are you using? Does your program have program stage(s)
with data element(s)?

---
Thank you,
Abyot.

On Sun, Mar 15, 2015 at 6:01 AM, Elmarie Claasen  wrote:

> Hi all,
>
>
>
> Is there a reason why a program (MEWR) will not open with the Tracker
> capture form but only with Individual records?
>
> I have tried a few Tracker instances we have set up and the Tracker
> capture app is not working for all of them.
>
>
>
> Regards,
>
>
>
> *Elmarie Claasen*
>
> [image: Hisp logo]
>
> Project Manager
>
> Health Information Systems Program
>
> Tel:  041-367 1027
>
> Cell: 082 374 2209
>
> E-mail: elma...@hisp.org
>
> Skype:  elmarie.claasen52
>
>
>
>
>
> This message and any attachments are subject to a disclaimer published at 
> http://www.hisp.org/policies.html#comms_disclaimer
> .   Please read the disclaimer before opening any attachment or taking any
> other action in terms of this electronic transmission.
> If you cannot access the disclaimer, kindly send an email to 
> disclai...@hisp.org
> and a copy will be provided to you. By replying to this e-mail or opening
> any attachment you agree to be bound by the provisions of the disclaimer.
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] DHIS2 - Validations on GPS coordinates

2015-03-16 Thread Abyot Gizaw
By general validation I mean:

latitude = [-90, 90]
longitude = [-180, 180]

To see Google maps, you need to use the latest trunk, which Jason suggested.


---
Thank you,
Abyot.

On Mon, Mar 16, 2015 at 10:52 AM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Hi Robin,
>
> I think what Abyot means is that general validation would be something
> like saying that you could setup a bounding box for the area which you know
> you are going to receive coordinates. For instance, if the countries
> latitude is between -18 and -25 degrees, you could setup a rule to ensure
> that the coordinates are between these values. However, what you suggest is
> much more sophisticated, i.e. spatial validation based on the position
> within the orgunit hierarchy. This is not supported and would certainly
> need some development or a custom app to support this.
>
> You may need to look here
>
> https://apps.dhis2.org/dev/
>
> which is the latest version of "trunk" while the normal demo site is the
> latest version of the current stable release.
>
> Best regards,
> Jason
>
>
> On Mon, Mar 16, 2015 at 10:48 AM, Robin Martens  wrote:
>
>>  Hi Abyot,
>>
>>
>>
>> What do you mean with the “general validation of latitude and longitude”?
>>
>>
>>
>> Using google maps would be great. However, I didn’t find it on the Event
>> Capture app on the demo server. How do you access it?
>>
>>
>>
>> Regards,
>>
>>
>>
>> Robin
>>
>>
>>
>> *From:* Abyot Gizaw [mailto:aby...@gmail.com]
>> *Sent:* 16 March 2015 11:38
>> *To:* Robin Martens
>> *Cc:* DHIS 2 Users list; dhis2-devs
>> *Subject:* Re: [Dhis2-devs] DHIS2 - Validations on GPS coordinates
>>
>>
>>
>> Hi Robin,
>>
>>
>>
>> No, it is not possible to define specific validation on coordinates
>> except the general validation of latitude and longitude.
>>
>>
>>
>> However, if you look at the latest Event Capture app, it is possible to
>> capture coordinates from Google map. The app also allows to zoom-in/out
>> based on polygons and points defined for orgunits.
>>
>>
>>
>>
>> ---
>>
>> Thank you,
>>
>> Abyot.
>>
>>
>>
>> On Mon, Mar 16, 2015 at 10:22 AM, Robin Martens  wrote:
>>
>> Hi all,
>>
>>
>>
>> Does anyone know if it is possible to set validation rules on GPS
>> coordinates in the event capture module?
>>
>>
>>
>> Ideally, coordinates would be within the polygon of the organization unit
>> the event is linked to (a country or district in this case). Else, just
>> min-max values could already work to limit the possibility of errors.
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Robin
>>
>>
>>
>> *From:* Dhis2-users [mailto:dhis2-users-bounces+martens=
>> sher...@lists.launchpad.net] *On Behalf Of *Ngoc Thanh Nguyen
>> *Sent:* 15 March 2015 20:29
>> *To:* DHIS 2 Users list; dhis2-devs
>> *Subject:* [Dhis2-users] Morbidity and mortality program in demo dhis2
>> site
>>
>>
>>
>> Hi all,
>>
>>
>>
>> I would like to buid a system for Morbidity and mortality in Vietnam. I
>> think the one deployed on the demo site is similar to what we plan to have
>> though it may go a bit further, i.e. multiple events with registration
>> (tracking a patient throughout their admission history) rather than single
>> event without registration.
>>
>>
>>
>> Could anyone who were involved in this implementation share some lessons?
>>
>>
>>
>> Thanks
>>
>> Thanh
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@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-d...@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-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] DHIS2 - Validations on GPS coordinates

2015-03-16 Thread Abyot Gizaw
Hi Robin,

No, it is not possible to define specific validation on coordinates except
the general validation of latitude and longitude.

However, if you look at the latest Event Capture app, it is possible to
capture coordinates from Google map. The app also allows to zoom-in/out
based on polygons and points defined for orgunits.


---
Thank you,
Abyot.

On Mon, Mar 16, 2015 at 10:22 AM, Robin Martens  wrote:

>  Hi all,
>
>
>
> Does anyone know if it is possible to set validation rules on GPS
> coordinates in the event capture module?
>
>
>
> Ideally, coordinates would be within the polygon of the organization unit
> the event is linked to (a country or district in this case). Else, just
> min-max values could already work to limit the possibility of errors.
>
>
>
> Thanks,
>
>
>
> Robin
>
>
>
> *From:* Dhis2-users [mailto:dhis2-users-bounces+martens=
> sher...@lists.launchpad.net] *On Behalf Of *Ngoc Thanh Nguyen
> *Sent:* 15 March 2015 20:29
> *To:* DHIS 2 Users list; dhis2-devs
> *Subject:* [Dhis2-users] Morbidity and mortality program in demo dhis2
> site
>
>
>
> Hi all,
>
>
>
> I would like to buid a system for Morbidity and mortality in Vietnam. I
> think the one deployed on the demo site is similar to what we plan to have
> though it may go a bit further, i.e. multiple events with registration
> (tracking a patient throughout their admission history) rather than single
> event without registration.
>
>
>
> Could anyone who were involved in this implementation share some lessons?
>
>
>
> Thanks
>
> Thanh
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Morbidity and mortality program in demo dhis2 site

2015-03-16 Thread Abyot Gizaw
Hi Thanh,

Yes the tracker capture is suited for such kinds of use cases. We could
help you a lot if you are a bit specific on your needs.


---
Thank you,
Abyot.

On Sun, Mar 15, 2015 at 7:29 PM, Ngoc Thanh Nguyen <
thanh.hispviet...@gmail.com> wrote:

> Hi all,
>
> I would like to buid a system for Morbidity and mortality in Vietnam. I
> think the one deployed on the demo site is similar to what we plan to have
> though it may go a bit further, i.e. multiple events with registration
> (tracking a patient throughout their admission history) rather than single
> event without registration.
>
> Could anyone who were involved in this implementation share some lessons?
>
> Thanks
> Thanh
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] patients daily log (data elements mapped to each other)

2015-03-07 Thread Abyot Gizaw
Hello Nami,

Currently, the easiest solution is to put all your data elements (from all
types medical services, diagnosis and disease) into one repeatable program
stage. This is going to be one big form. The monitoring that you asked
needs to be done manually when data elements are being filled - during
daily patient visit, you fill only those data elements from the
corresponding diagnosis, medical services and medicines. The rest, you just
skip them.

We are planning to introduce a skip logic feature. When this is
implemented, it will allow you to implement some kind of mapping where you
will able to define which data elements to fill or skip depending on the
value of a data element (or diagnosis type).

---
Thank you,
Abyot.

On Sat, Mar 7, 2015 at 3:54 PM, Nami Ghadri  wrote:

> Thanks for replaying
>
>
>
> But could you give me a little bit more detail
>
>
>
> Thanks very much
>
>
>
>
>
>
>
>
>
>
>
> From: Knut Staring [mailto:knu...@gmail.com]
> Sent: Saturday, March 7, 2015 4:46 PM
> To: Nami Ghadri
> Cc: DHIS 2 developers; dhis2-users@lists.launchpad.net
> Subject: Re: [Dhis2-devs] patients daily log (data elements mapped to each
> other)
>
>
>
> You could perhaps try to use dataelement attributes where the value of the
> attributes are the UIDs of the mother data elements. That would create a
> link in the database, but you would probably have to write bespoke queries
>
> On Mar 7, 2015 7:46 PM, "Nami Ghadri"  wrote:
>
> Hello every body
>
>
>
> I have a case and I tried for over than one month to solve but I could not
>
>
>
> I need to log daily patients visit
>
> I the visit the patient get
>
> -Medical services
>
> - Diagnosis of the disease
>
> -Medicine
>
> We should log each data element of the above mapped to each other so we can
> monitor what services offered in specific diagnosis and what medicine was
> given to specific diagnosis
>
> Most of time we give 3 or medicine mapped to one diagnosis or one or more
> diagnosis to one or more medicine or one or more service to one or more
> diagnosis
>
> So it's one to many relation and one to one
>
>
>
> I tried adapting the above using program (multiple events with
> registration)
> with one stage but there was no mapping between the data elements
>
>
>
> I tried the (multiple events with registration) with multiple stages (stage
> for each of the required data elements) but in event visualizer I could not
> filter because it only show one stage at a time
>
>
>
> Any ideas or guidelines I would be thankful
>
>
>
> Nami Ghadri
>
>
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Events capture not loading

2015-03-05 Thread Abyot Gizaw
ok. good to know.

but can you share  what you did for it to work so that others learn from it?


---
Thank you,
Abyot.

On Thu, Mar 5, 2015 at 11:44 AM, Kamugunga Adolphe  wrote:

> Thanks for guidance and advice. It's fixed, i've upgraded to another
> version it's working fine.
>
> Regards,
>
> Adolphe
>
> On 5 March 2015 at 10:48, Abyot Gizaw  wrote:
>
>> If it is really a cache issue, then it depends which parts of the cache
>> are cleared. Just to be safe it has to be full cache.
>>
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Thu, Mar 5, 2015 at 9:45 AM, Uddin Fatema  wrote:
>>
>>> Dear All,
>>>
>>> I faced same problem during my first loading in dhis2 2.18 version. Also
>>> after clearing the cash it shows same error.
>>>
>>> Fortunately, after several times of cash clearing, additionally, 1 days
>>> later its load all event list without any error.
>>>
>>> So i guess its all about cash problem
>>>
>>> Thanks
>>>
>>> On Thu, Mar 5, 2015 at 2:37 PM, Abyot Gizaw  wrote:
>>>
>>>> Is it the same error log after clearing your cache?
>>>>
>>>> Can I log into your server and take a close look?
>>>>
>>>>
>>>> ---
>>>> Thank you,
>>>> Abyot.
>>>>
>>>> On Thu, Mar 5, 2015 at 8:08 AM, Kamugunga Adolphe 
>>>> wrote:
>>>>
>>>>> I tried both  clearing  browser and  system caches but it doesn't
>>>>> resolve the it. The issue is that when i browser the a copy of  this
>>>>> instance hosted somewhere else where i took the backup to restore it is is
>>>>> working fine.
>>>>>
>>>>>
>>>>>
>>>>> On 4 March 2015 at 20:17, Abyot Gizaw  wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I suspect this is related to caching. What happens if you do full
>>>>>> browser cache cleaning?
>>>>>>
>>>>>> -
>>>>>> Thank you,
>>>>>> Abyot.
>>>>>>
>>>>>> (sent from mobile)
>>>>>> On Mar 4, 2015 5:44 PM, "Kamugunga Adolphe"  wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>> I am having hard time loading event capture  on the new instance on
>>>>>>> server. The system normally works fine on another server running 2.17 
>>>>>>> but
>>>>>>> when i restore the back up to another server, all other functions (event
>>>>>>> report, pivot report, reports, data entry etc) are working fine 
>>>>>>> excluding
>>>>>>> event capture.
>>>>>>> Could you please provide a hint and the root causes
>>>>>>>
>>>>>>> Here are the browser logs:
>>>>>>> [image: Inline images 1]
>>>>>>>
>>>>>>> Error: error:modulerr
>>>>>>> Module Error
>>>>>>>
>>>>>>> Failed to instantiate module eventCapture due to:
>>>>>>> Error: [$injector:modulerr] 
>>>>>>> http://errors.angularjs.org/1.2.26/$injector/modulerr?p0=... 
>>>>>>> <http://errors.angularjs.org/1.2.26/$injector/modulerr?p0=d2Filters&p1=Error%3A%20%5B%24injector%3Anomod%5D%20http%3A%2F%2Ferrors.angularjs.org%2F1.2.26%2F%24injector%2Fnomod%3Fp0%3Dd2Filters%0A%20%20%20%20at%20Error%20(native)%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A6%3A450%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A20%3A494%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A21%3A502%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A33%3A267%0A%20%20%20%20at%20r%20(https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A7%3A290)%0A%20%20%20%20at%20e%20(https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A33%3A207)%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A33%3A284%0A%20%20%20%20at%20r%20(https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A7%3A290)%0A%20%20%20%20at%20e%20(https%3

Re: [Dhis2-users] [Dhis2-devs] Events capture not loading

2015-03-05 Thread Abyot Gizaw
If it is really a cache issue, then it depends which parts of the cache are
cleared. Just to be safe it has to be full cache.


---
Thank you,
Abyot.

On Thu, Mar 5, 2015 at 9:45 AM, Uddin Fatema  wrote:

> Dear All,
>
> I faced same problem during my first loading in dhis2 2.18 version. Also
> after clearing the cash it shows same error.
>
> Fortunately, after several times of cash clearing, additionally, 1 days
> later its load all event list without any error.
>
> So i guess its all about cash problem
>
> Thanks
>
> On Thu, Mar 5, 2015 at 2:37 PM, Abyot Gizaw  wrote:
>
>> Is it the same error log after clearing your cache?
>>
>> Can I log into your server and take a close look?
>>
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Thu, Mar 5, 2015 at 8:08 AM, Kamugunga Adolphe 
>> wrote:
>>
>>> I tried both  clearing  browser and  system caches but it doesn't
>>> resolve the it. The issue is that when i browser the a copy of  this
>>> instance hosted somewhere else where i took the backup to restore it is is
>>> working fine.
>>>
>>>
>>>
>>> On 4 March 2015 at 20:17, Abyot Gizaw  wrote:
>>>
>>>> Hi,
>>>>
>>>> I suspect this is related to caching. What happens if you do full
>>>> browser cache cleaning?
>>>>
>>>> -
>>>> Thank you,
>>>> Abyot.
>>>>
>>>> (sent from mobile)
>>>> On Mar 4, 2015 5:44 PM, "Kamugunga Adolphe"  wrote:
>>>>
>>>>> Hi,
>>>>> I am having hard time loading event capture  on the new instance on
>>>>> server. The system normally works fine on another server running 2.17 but
>>>>> when i restore the back up to another server, all other functions (event
>>>>> report, pivot report, reports, data entry etc) are working fine excluding
>>>>> event capture.
>>>>> Could you please provide a hint and the root causes
>>>>>
>>>>> Here are the browser logs:
>>>>> [image: Inline images 1]
>>>>>
>>>>> Error: error:modulerr
>>>>> Module Error
>>>>>
>>>>> Failed to instantiate module eventCapture due to:
>>>>> Error: [$injector:modulerr] 
>>>>> http://errors.angularjs.org/1.2.26/$injector/modulerr?p0=... 
>>>>> <http://errors.angularjs.org/1.2.26/$injector/modulerr?p0=d2Filters&p1=Error%3A%20%5B%24injector%3Anomod%5D%20http%3A%2F%2Ferrors.angularjs.org%2F1.2.26%2F%24injector%2Fnomod%3Fp0%3Dd2Filters%0A%20%20%20%20at%20Error%20(native)%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A6%3A450%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A20%3A494%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A21%3A502%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A33%3A267%0A%20%20%20%20at%20r%20(https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A7%3A290)%0A%20%20%20%20at%20e%20(https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A33%3A207)%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A33%3A284%0A%20%20%20%20at%20r%20(https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A7%3A290)%0A%20%20%20%20at%20e%20(https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A33%3A207>)
>>>>> at Error (native)
>>>>> at 
>>>>> https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:6:450
>>>>> at 
>>>>> https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:34:97
>>>>> at r 
>>>>> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:7:290)
>>>>> at e 
>>>>> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:33:207)
>>>>> at 
>>>>> https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:33:284
>>>>> at r 
>>>>> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:7:290)
>>>>> at e 
>>>>> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/a

Re: [Dhis2-users] Issue with Program Stages

2015-03-05 Thread Abyot Gizaw
Is it one or many stages?

Not really sure how a stage without program existed.

I remember earlier it was like first you create a stage and assign the
stage to a program ... this was long time back. may be you have some legacy
data ...

Another obvious possibility is direct manipulation of the tables. Or
probably, a program is deleted through the UI but the process somehow
failed to remove programstage... but I don't know.


---
Thank you,
Abyot.

On Thu, Mar 5, 2015 at 9:28 AM, Jason Pickering  wrote:

> Hi Abyot,
> I took a look at Nick's database, and for some reason, there are
> programstages which are missing a program. This seems (strangely) to be
> possible, as the programid in programstage is NULLABLE. Any idea about how
> this may have happened?
>
> Regards,
> Jason
>
>
> On Thu, Mar 5, 2015 at 9:22 AM, Abyot Gizaw  wrote:
>
>> Hi,
>>
>> If you are able to see your stages through the web-api and the stages
>> have data elements, the event capture app should work. The app uses only
>> the web-api.
>>
>> -
>> Thank you,
>> Abyot.
>>
>> (sent from mobile)
>> On Mar 5, 2015 8:37 AM, "Shurajit Dutta"  wrote:
>>
>>> Hi Everyone,
>>>
>>> This is a bit similar to another thread regarding Event Capture app
>>> not loading but I did not want to hijack it.
>>>
>>> I am having several programs where my program stages are not
>>> displaying in the UI of the application. When I browse the API, I see
>>> the program stages listed; however I don't see them displayed when I
>>> try to manage them through the programs management section. As a
>>> result, the event capture app is not loading I believe.
>>>
>>> I don't think there is even an option to delete program stages so I am
>>> not sure what happened here? Any insight would be really appreciated.
>>>
>>> Nick
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Events capture not loading

2015-03-05 Thread Abyot Gizaw
Is it the same error log after clearing your cache?

Can I log into your server and take a close look?


---
Thank you,
Abyot.

On Thu, Mar 5, 2015 at 8:08 AM, Kamugunga Adolphe  wrote:

> I tried both  clearing  browser and  system caches but it doesn't resolve
> the it. The issue is that when i browser the a copy of  this instance
> hosted somewhere else where i took the backup to restore it is is working
> fine.
>
>
>
> On 4 March 2015 at 20:17, Abyot Gizaw  wrote:
>
>> Hi,
>>
>> I suspect this is related to caching. What happens if you do full browser
>> cache cleaning?
>>
>> -
>> Thank you,
>> Abyot.
>>
>> (sent from mobile)
>> On Mar 4, 2015 5:44 PM, "Kamugunga Adolphe"  wrote:
>>
>>> Hi,
>>> I am having hard time loading event capture  on the new instance on
>>> server. The system normally works fine on another server running 2.17 but
>>> when i restore the back up to another server, all other functions (event
>>> report, pivot report, reports, data entry etc) are working fine excluding
>>> event capture.
>>> Could you please provide a hint and the root causes
>>>
>>> Here are the browser logs:
>>> [image: Inline images 1]
>>>
>>> Error: error:modulerr
>>> Module Error
>>>
>>> Failed to instantiate module eventCapture due to:
>>> Error: [$injector:modulerr] 
>>> http://errors.angularjs.org/1.2.26/$injector/modulerr?p0=... 
>>> <http://errors.angularjs.org/1.2.26/$injector/modulerr?p0=d2Filters&p1=Error%3A%20%5B%24injector%3Anomod%5D%20http%3A%2F%2Ferrors.angularjs.org%2F1.2.26%2F%24injector%2Fnomod%3Fp0%3Dd2Filters%0A%20%20%20%20at%20Error%20(native)%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A6%3A450%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A20%3A494%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A21%3A502%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A33%3A267%0A%20%20%20%20at%20r%20(https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A7%3A290)%0A%20%20%20%20at%20e%20(https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A33%3A207)%0A%20%20%20%20at%20https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A33%3A284%0A%20%20%20%20at%20r%20(https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A7%3A290)%0A%20%20%20%20at%20e%20(https%3A%2F%2F197.243.47.210%2Ffmis%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A33%3A207>)
>>> at Error (native)
>>> at 
>>> https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:6:450
>>> at 
>>> https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:34:97
>>> at r 
>>> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:7:290)
>>> at e 
>>> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:33:207)
>>> at 
>>> https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:33:284
>>> at r 
>>> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:7:290)
>>> at e 
>>> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:33:207)
>>> at gc 
>>> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:36:309)
>>> at c 
>>> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:18:170
>>>
>>> Description
>>>
>>> This error occurs when a module fails to load due to some exception. The
>>> error message above should provide additional context.
>>> Using ngRoute
>>>
>>> In AngularJS 1.2.0 and later, ngRoute has been moved to its own module.
>>> If you are getting this error after upgrading to 1.2.x or later, be
>>> sure that you've installed ngRoute
>>> <https://docs.angularjs.org/api/ngRoute>.
>>> Monkey-patching Angular's ng module
>>>
>>> This error can also occur if you have tried to add your own components
>>> to the ng module. This has never been supported and from1.3.0 it will
>>> actually trigger this error. For instance the following code could trigger
>>>

Re: [Dhis2-users] Issue with Program Stages

2015-03-05 Thread Abyot Gizaw
Hi,

If you are able to see your stages through the web-api and the stages have
data elements, the event capture app should work. The app uses only the
web-api.

-
Thank you,
Abyot.

(sent from mobile)
On Mar 5, 2015 8:37 AM, "Shurajit Dutta"  wrote:

> Hi Everyone,
>
> This is a bit similar to another thread regarding Event Capture app
> not loading but I did not want to hijack it.
>
> I am having several programs where my program stages are not
> displaying in the UI of the application. When I browse the API, I see
> the program stages listed; however I don't see them displayed when I
> try to manage them through the programs management section. As a
> result, the event capture app is not loading I believe.
>
> I don't think there is even an option to delete program stages so I am
> not sure what happened here? Any insight would be really appreciated.
>
> Nick
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Events capture not loading

2015-03-04 Thread Abyot Gizaw
Hi,

I suspect this is related to caching. What happens if you do full browser
cache cleaning?

-
Thank you,
Abyot.

(sent from mobile)
On Mar 4, 2015 5:44 PM, "Kamugunga Adolphe"  wrote:

> Hi,
> I am having hard time loading event capture  on the new instance on
> server. The system normally works fine on another server running 2.17 but
> when i restore the back up to another server, all other functions (event
> report, pivot report, reports, data entry etc) are working fine excluding
> event capture.
> Could you please provide a hint and the root causes
>
> Here are the browser logs:
> [image: Inline images 1]
>
> Error: error:modulerr
> Module Error
>
> Failed to instantiate module eventCapture due to:
> Error: [$injector:modulerr] 
> http://errors.angularjs.org/1.2.26/$injector/modulerr?p0=... 
> )
> at Error (native)
> at 
> https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:6:450
> at 
> https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:34:97
> at r 
> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:7:290)
> at e 
> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:33:207)
> at 
> https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:33:284
> at r 
> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:7:290)
> at e 
> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:33:207)
> at gc 
> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:36:309)
> at c 
> (https://197.243.47.210/fmis/dhis-web-commons/javascripts/angular/angular.js:18:170
>
> Description
>
> This error occurs when a module fails to load due to some exception. The
> error message above should provide additional context.
> Using ngRoute
>
> In AngularJS 1.2.0 and later, ngRoute has been moved to its own module.
> If you are getting this error after upgrading to 1.2.x or later, be sure
> that you've installed ngRoute .
> Monkey-patching Angular's ng module
>
> This error can also occur if you have tried to add your own components to
> the ng module. This has never been supported and from1.3.0 it will
> actually trigger this error. For instance the following code could trigger
> this error.
>
> angular.module('ng').filter('tel', function (){});
>
> Instead create your own module and add it as a dependency to your
> application's top-level module. See #9692
>  and #7709
>  for more information
>
>
> Adolphe
> --
> =
> Adolphe Kamugunga
> Email:kaa...@gmail.com
> Phone: +250 788 740 578
> skype: ka.adolphe
> Home Location:
> https://www.google.com/maps/d/edit?mid=z_nDt3VYFvEg.kyEClsJPCMgE
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Different Individual records vs Tracker capture

2015-02-25 Thread Abyot Gizaw
Hello Channara,

The two are basically the same except that tracker capture is the latest
version and currently under active development.

If you have a tracker use case, I recommend for using tracker capture
because at some point we will remove the individual records module. Try the
tracker capture app and let us know if there are any features that are
missing.


---
Thank you,
Abyot.

On Wed, Feb 25, 2015 at 9:06 AM, Shurajit Dutta 
wrote:

> Hi Channara
>
> I remember someone sent a good breakdown of these recently but can't find
> it.
>
> You have three types.
>
> Single event without registration: This allows for anonymous data capture
> of single events. For example ICD10 discharge diagnosis. In Solomons it is
> used to capture GBV data as another example. Use the event capture app
> here.
>
> Single event with registration: it has been indicated they might remove
> this. Here I register a tracked entity once and enter case based info about
> them (if its a patient). A couple examples from Sols again are as
> hypertension or TB registers. If you make this non repeatable, the
> suggestion is to use tracker capture app for now.
>
> Multiple event with registration: Track an entity through multiple stages.
> This could be repeatable programs that many people seem to be asking about
> lately (myself included) or, for instance, tracking a mother through her 4+
> ANC visits at a facility. Use tracker capture app.
>
> These are just some examples but I am sure there are many more.
>
> Nick
> On Feb 25, 2015 2:36 PM, "channara rin"  wrote:
>
>> Hi all,
>> Anyone explain me what is different individual records and tracker
>> capture? when we use them?
>>
>> Thanks
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Multiple visit to same patient

2015-02-23 Thread Abyot Gizaw
---
Thank you,
Abyot.

On Mon, Feb 23, 2015 at 12:40 PM, Nami Ghadri 
wrote:

> Dear Abyot,
>
>
>
> What you mentioned is exactly what I want to do “DHIS2 is not a classic
> medical record system for handling diagnosis that are determined at the
> point of interaction between a patient and a doctor”
>
> I want to be able to record different diagnosis and medicine for same
> patient on different visits the patient might have different diagnosis in
> each visit or I we could describe different medicine in each visit
>
> I was able to record multiple event to same patient but always appear the
> same diagnosis code that was recorded in the first visit
>

For every visit you need to create a new event. That way you can record a
new diagnosis each time a visit is made.


>
>
>
> But unfortunately as you mentioned it could not be done on DHIS2 or maybe
> there is a way I hope so
>
>
>
> Any new guide lines I would be thankful
>
>
>
> Regards,
>
>
>
>
>
>
>
>
>
> From: Nami Ghadri [mailto:nami_gha...@hotmail.com]
> Sent: Monday, February 23, 2015 11:17 AM
> To: 'Abyot Gizaw'
> Cc: 'DHIS 2 Users list'
> Subject: RE: [Dhis2-users] Multiple visit to same patient
>
>
>
> Thanks very much
>
>
>
> I will provide more details
>
> But for now what you mentioned was very helpful when you mentioned the
> repeatable stages maybe I could use that
>
>
>
> Thanks again and I will provide more info
>
>
>
>
>
>
>
> From: Abyot Gizaw [mailto:aby...@gmail.com]
> Sent: Monday, February 23, 2015 10:57 AM
> To: Nami Ghadri
> Cc: DHIS 2 Users list
> Subject: Re: [Dhis2-users] Multiple visit to same patient
>
>
>
> Hello Nami,
>
>
>
> DHIS2 is not a classic medical record system for handling diagnosis that
> are determined at the point of interaction between a patient and a doctor.
> DHIS2 is for managing routine services/visits - meaning you need to know,
> before hand, the diagnosis you are going to provide to a patient.
>
>
>
> Can you tell us more about your needs - especially the diagnosis part? Is
> it possible to talk about types of diagnosis here - something like
> diagnosis for TB, HIV, Cancer, ... whatever disease type you wanted to
> handle? You can also talk about diagnosis at dataelement level - for
> example "general diagnosis" and in this diagnosis measuring weight, blood
> pressure, temperature, and other key aspects...
>
>
>
> You need to decide on the diagnosis types - this can not be left open.
> Defining the diagnosis types helps you to decide on the number of stages a
> program can have. Then you can make the stages repeatable - this allows you
> to handle multiple visits per patient per diagnosis.
>
>
>
> Hope this helps.
>
>
>
> ---
>
> Thank you,
>
> Abyot.
>
>
>
> On Mon, Feb 23, 2015 at 9:22 AM, Nami Ghadri 
> wrote:
>
> Hello,
>
>
>
> I need to register multiple visits to same patient and each patient could
> have different diagnosis in each visit
>
> The number of visits is unknown
>
> I tried Multiple events with registration but no success
>
>
>
> Kindly help with guide lines or you need more details I could give
>
>
>
> Thanks very much
>
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Multiple visit to same patient

2015-02-23 Thread Abyot Gizaw
Hello Nami,

DHIS2 is not a classic medical record system for handling diagnosis that
are determined at the point of interaction between a patient and a doctor.
DHIS2 is for managing routine services/visits - meaning you need to know,
before hand, the diagnosis you are going to provide to a patient.

Can you tell us more about your needs - especially the diagnosis part? Is
it possible to talk about types of diagnosis here - something like
diagnosis for TB, HIV, Cancer, ... whatever disease type you wanted to
handle? You can also talk about diagnosis at dataelement level - for
example "general diagnosis" and in this diagnosis measuring weight, blood
pressure, temperature, and other key aspects...

You need to decide on the diagnosis types - this can not be left open.
Defining the diagnosis types helps you to decide on the number of stages a
program can have. Then you can make the stages repeatable - this allows you
to handle multiple visits per patient per diagnosis.

Hope this helps.

---
Thank you,
Abyot.

On Mon, Feb 23, 2015 at 9:22 AM, Nami Ghadri 
wrote:

> Hello,
>
>
>
> I need to register multiple visits to same patient and each patient could
> have different diagnosis in each visit
>
> The number of visits is unknown
>
> I tried Multiple events with registration but no success
>
>
>
> Kindly help with guide lines or you need more details I could give
>
>
>
> Thanks very much
>
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Single-Event with Registration

2015-02-23 Thread Abyot Gizaw
Hi,

Yes, the tracker capture app is the one which is going to handle such
programs. Actually, currently we are in discussion on the possibility of
removing "single event with registration" programs - it is just that we
haven't decided yet.

Our thinking is to keep things simple and maintain programs of type - with
registration and without registration. How many event a program has depends
on the number of stages you assign to the program. So, coming to your case
- the tracker capture will work if you create a program of type "Multiple
events with registration" and assign it single stage (non-repeatable).

---
Thank you,
Abyot.

On Mon, Feb 23, 2015 at 4:57 AM, Shurajit Dutta 
wrote:

> Hi everyone,
>
> I have a bit of confusion regarding which app supports single-event
> with registration. The docs indicate that the tracker capture app
> deals with single and multiple events with registration while the
> event capture app is only for single events without registration.
> However, when tracker programs are made that are single-events with
> registration they do not seem to be available as program selections
> from within the tracker capture app; this is instead accessed through
> Individual Records->Find/Add Instance.
>
> I have checked the demo instance to verify. There is a program called
> "Provider Follow-Up and Support Tool" which is a single event with
> registration. The only way to access it is similar to what I have
> described above, not through tracker capture.
>
> Will the tracker capture app be inheriting the ability to work with
> single events with registration as well or will it be kept as is?
>
> Just want to be clear when speaking to the Ministry. Thanks,
>
> Nick
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Associate an org. unit at the event level (and not at the tracked entity lavel)

2015-02-08 Thread Abyot Gizaw
Hi,

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

We are hoping to support this with the next release.

-
Thank you,
Abyot.


---
Thank you,
Abyot.

On Sun, Feb 8, 2015 at 9:38 AM, Alex Tumwesigye 
wrote:

> Hi Yoann and Gavin,
> A custom form or an app may achieve that for you. You need to use the
> Api,SQL views,some jquery/angularJS. In this way, the location of the event
> (clinic level) can be just an attribute/dataelement which can be written
> back to the database through api.
> HISPUG implemented something similar for Rwanda for handling outbreaks and
> alerts.
>
> Alex
>
>
> On Friday, February 6, 2015, Gavin Macgregor-Skinner 
> wrote:
>
>> Hi Yoann
>> Great question.
>> We would like to do this in West Africa with suspected Ebola patients.
>> Kind Regards
>> Gavin
>>
>> On Fri, Feb 6, 2015 at 9:20 AM, Yoann Mira  wrote:
>>
>>> Hello,
>>>
>>>
>>>
>>> I have a multiple event with Registration program.
>>>
>>> Is-it possible to associate an org. unit at the event level (instead of
>>> the patient level)?
>>>
>>>
>>>
>>> For example, I would like to enroll a Patient in a Program at the City
>>> level. But then I would like to specify for each event, the location of
>>> this event (at a clinic level).
>>>
>>>
>>>
>>> I need this because the patients are not fixed: they can be vaccinated
>>> in different clinics, but in my report I want to aggregate data at a clinic
>>> or a city level (a city can contain several clinics).
>>>
>>>
>>>
>>> Can I do something like this? Right now, I can’t find a way to specify
>>> the place of vaccination when I create an event for my patient…
>>>
>>>
>>>
>>> Kind regards.
>>>
>>> *Novel-**T* Sàrl
>>>
>>> *Yoann MIRA *
>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
> --
> Alex Tumwesigye
>
> Technical Advisor - DHIS2,
> Ministry of Health/AFENET
> Kampala
> Uganda
>
> IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya
>
> IT Specialist (Servers, Networks and Security, Health Information Systems
> - DHIS2 ) & Solar Consultant
>
> +256 774149 775, + 256 759 800161
>
> "I don't want to be anything other than what I have been - one tree hill "
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Events data entry - option set data

2015-01-27 Thread Abyot Gizaw
Hello Simon,

This is now fixed. To get the working version, you need to download the
latest 2.18.


---
Thank you,
Abyot.

On Tue, Jan 27, 2015 at 5:16 PM, Abyot Gizaw  wrote:

> Great - thanks. Now, I have all the details and reproduced the error. Will
> fix as soon as possible.
>
>
> ---
> Thank you,
> Abyot.
>
> On Tue, Jan 27, 2015 at 5:12 PM, Simon Muyambo 
> wrote:
>
>> Here are the browser logs
>>
>>
>>
>> Synchronous XMLHttpRequest on the main thread is deprecated because of
>> its detrimental effects to the end user's experience. For more help
>> http://xhr.spec.whatwg.org/ jquery.min.js:2
>>
>> Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.
>> jquery.min.js:2
>>
>> not well-formed i18n_app.properties:1
>>
>> not well-formed i18n:1
>>
>> "Finished loading orgunit tree" directives.js:61
>>
>> "Loading required meta-data" event-capture.js:140
>>
>> "Finished loading meta-data" event-capture.js:156
>>
>> "Started availability check" event-capture.js:158
>>
>> not well-formed events.json:1
>>
>> "Error: $scope.outerForm.$error[k][i] is undefined
>>
>> eventCaptureControllers> http://zambiahmis.org/dhis/dhis-web-event-capture/scripts/controllers.js:804:1
>>
>> fb.prototype.functionCall/<@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:177:66
>>
>> Zd/this.$get> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:109:287
>>
>> Zd/this.$get> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:112:396
>>
>> Ab/n@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:137:49
>>
>> p.event.dispatch@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:37955
>>
>> p.event.add/h@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:33851
>>
>> p.event.trigger@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:36599
>>
>> .trigger/<@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:44364
>>
>> .each@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:14475
>>
>> p.prototype.each@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:11149
>>
>> .trigger@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:44343
>>
>> p.fn[b]@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:45140
>>
>> d2Directives> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/plugins/dhis2/directives.js:534:21
>>
>> ._updateInput@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/calendars/jquery.calendars.picker.min.js:6:15087
>>
>> ._selectDatePlugin@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/calendars/jquery.calendars.picker.min.js:6:23065
>>
>> ._generateContent/<@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/calendars/jquery.calendars.picker.min.js:6:25018
>>
>> p.event.dispatch@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:37955
>>
>> p.event.add/h@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:33851
>>
>> " angular.js:92
>>
>>
>>
>> "Error: $scope.outerForm.$error[k][i] is undefined
>>
>> eventCaptureControllers> http://zambiahmis.org/dhis/dhis-web-event-capture/scripts/controllers.js:804:1
>>
>> fb.prototype.functionCall/<@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:177:66
>>
>> Zd/this.$get> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:109:287
>>
>> Zd/this.$get> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:112:396
>>
>> d2Directives> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/plugins/dhis2/directives.js:577:17
>>
>> p.event.dispatch@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:37955
>>
>> p.event.add/h@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:33851
>>
>> p.event.trigger@
>> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:36599
>>
>> .tr

Re: [Dhis2-users] [Dhis2-devs] Events data entry - option set data

2015-01-27 Thread Abyot Gizaw
ommons/javascripts/jQuery/jquery.min.js:2:41164
>
> p.event.dispatch@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:37955
>
> p.event.add/h@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:33851
>
> " angular.js:92
>
>
>
> "Error: typeaheadCtrl.matches[activeIdx] is undefined
>
> .link/typeaheadCtrl.select@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/ui-bootstrap-tpls-0.10.0-draggable-modal.js:3306:9
>
> fb.prototype.functionCall/<@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:177:66
>
> N/ http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:53:331
>
> .link/scope.selectMatch@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/ui-bootstrap-tpls-0.10.0-draggable-modal.js:3417:11
>
> fb.prototype.functionCall/<@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:177:66
>
> lc[c] http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:194:174
>
> Zd/this.$get http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:112:64
>
> Zd/this.$get http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:112:341
>
> lc[c] http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:194:224
>
> p.event.dispatch@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:37955
>
> p.event.add/h@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:33851
>
> " angular.js:92
>
>
>
> "Error: $scope.outerForm.$error[k][i] is undefined
>
> eventCaptureControllers http://zambiahmis.org/dhis/dhis-web-event-capture/scripts/controllers.js:804:1
>
> fb.prototype.functionCall/<@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:177:66
>
> Zd/this.$get http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:109:287
>
> Zd/this.$get http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:112:396
>
> lc[c] http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:194:224
>
> p.event.dispatch@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:37955
>
> p.event.add/h@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:33851
>
> " angular.js:92
>
>
>
> "Error: $scope.outerForm.$error[k][i] is undefined
>
> eventCaptureControllers http://zambiahmis.org/dhis/dhis-web-event-capture/scripts/controllers.js:804:1
>
> fb.prototype.functionCall/<@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:177:66
>
> Zd/this.$get http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:109:287
>
> Zd/this.$get http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:112:396
>
> @
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular-cookies.js:67:24
>
> fa/<@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:38:142
>
> r@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:7:288
>
> fa@
> http://zambiahmis.org/dhis/dhis-web-commons/javascripts/angular/angular.js:38:126
>
> " angular.js:92
>
>
>
>
>
> *Regards*
>
> *Simon Muyambo*
>
>
>
>
>
> *From:* Abyot Gizaw [mailto:aby...@gmail.com]
> *Sent:* 27 January 2015 17:40
> *To:* Simon Muyambo
> *Cc:* DHIS 2 Users list; DHIS 2 developers
> *Subject:* Re: [Dhis2-devs] Events data entry - option set data
>
>
>
> Hello Simon,
>
>
>
> Can you provide us more details that could help fix the problem? For
> example:
>
>
>
> 1. DHIS2 version
>
> 2. Any log from your browser console
>
> 3. Also nice would be some screenshots ... because right now I couldn't
> visualize the problem you are facing.
>
>
>
>
> ---
>
> Thank you,
>
> Abyot.
>
>
>
> On Tue, Jan 27, 2015 at 1:41 PM, Simon Muyambo 
> wrote:
>
> Has anyone come across the problem I am facing of loading data from an
> option set during data entry. Using a mouse the selection is not loaded but
> if you use a key board up/down arrow and enter key it loads?
>
>
>
>
>
>
>
> *Regards*
>
> *Simon Muyambo*
>
>
>
>
>
> __ Information from ESET NOD32 Antivirus, version of virus
> signature database 11080 (20150127) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
> __ Information from ESET NOD32 Antivirus, version of virus
> signature database 11081 (20150127) __
>
>
>
> The message was checked by ESET NOD32 Antivirus.
>
>
>
> http://www.eset.com
>
>
> __ Information from ESET NOD32 Antivirus, version of virus
> signature database 11081 (20150127) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Events data entry - option set data

2015-01-27 Thread Abyot Gizaw
Hello Simon,

Can you provide us more details that could help fix the problem? For
example:

1. DHIS2 version
2. Any log from your browser console
3. Also nice would be some screenshots ... because right now I couldn't
visualize the problem you are facing.


---
Thank you,
Abyot.

On Tue, Jan 27, 2015 at 1:41 PM, Simon Muyambo  wrote:

> Has anyone come across the problem I am facing of loading data from an
> option set during data entry. Using a mouse the selection is not loaded but
> if you use a key board up/down arrow and enter key it loads?
>
>
>
>
>
>
>
> *Regards*
>
> *Simon Muyambo*
>
>
>
>
> __ Information from ESET NOD32 Antivirus, version of virus
> signature database 11080 (20150127) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Setting to show less fields in Event Capture

2015-01-14 Thread Abyot Gizaw
Yes, that is how it works currently. We can improve the existing feature so
that it remembers column settings while traversing pages (and if refresh
button is not clicked).

---
Thank you,
Abyot.

On Wed, Jan 14, 2015 at 1:54 PM, Elmarie Claasen  wrote:

> Thanks Ola very helpful will have a look
>
>
>
> Regards,
>
>
>
> *Elmarie Claasen*
>
> [image: Hisp logo]
>
> Project Manager
>
> Health Information Systems Programme
>
> Tel:  041-367 1027
>
> Cell: 082 374 2209
>
> E-mail: elma...@hisp.org
>
> Skype:  elmarie.claasen52
>
>
>
> *From:* olati...@gmail.com [mailto:olati...@gmail.com] *On Behalf Of *Ola
> Hodne Titlestad
> *Sent:* 14 January 2015 02:47 PM
> *To:* Elmarie Claasen
> *Cc:* dhis2-users@lists.launchpad.net
> *Subject:* Re: [Dhis2-users] Setting to show less fields in Event Capture
>
>
>
> Hi Elmarie,
>
> Take a look at the program stage configuration. The list of selected data
> elements should have  a property 'display in reports' (or similar). That's
> where you can control which data elements are listed in the event list in
> Event Capture.
>
> The show/hide fields feature in Event Capture is just a temporary
> adjustment, and changes there are not persisted.
>
> Ola
> --
>
> 14. jan. 2015 13:10 skrev "Elmarie Claasen"  følgende:
>
> Hi all,
>
>
>
> I would like to know what I am doing wrong. We have an instance where we
> capture data in the Event Capture form on a custom form. The listing page
> when you open a facility where you are able to search for a record captured
> shows all the fields by default with the ability to click on ‘show/hide
> columns’. I am able to untick some of the columns so that the listing is
> more spread out rather than text over each other but the system does not
> keep that setting. If you move to a 2nd page all the fields show again or
> if you go out and come back in everything shows.
>
>
>
> Is this a bug or am I doing something wrong?
>
>
>
> Version: 2.17
>
> Build revision: 17605
>
>
>
> I tried to look on Sierra Leone demo but I did not know where the event
> capture data is so couldn’t check that instance to confirm if it behaves
> the same.
>
>
>
> Regards,
>
>
>
> *Elmarie Claasen*
>
> [image: Hisp logo]
>
> Project Manager
>
> Health Information Systems Programme
>
> Tel:  041-367 1027
>
> Cell: 082 374 2209
>
> E-mail: elma...@hisp.org
>
> Skype:  elmarie.claasen52
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Program with SMS reminders - Help please

2015-01-03 Thread Abyot Gizaw
Hi Bram,

SMS reminders are not yet supported with tracker capture app - but we have
it in the Individual records module. Tran cced in this mail is the one who
could give a working guidance.

It is in our plan to support SMS in tracker capture.

---
Thank you,
Abyot.

On Mon, Dec 29, 2014 at 11:30 PM, Bram Piot  wrote:

> Dear users,
>
> I've been trying to set up a program that sends SMS reminders to pregnant
> women as part of a pilot project to improve treatment adherence using folic
> acid supplements in the months leading up to delivery, but have been
> struggling with the reminder messages.
>
> We're using BulkSMS which works very nicely as we can send out messages,
> including the SMS that gets sent automatically upon program enrollment. The
> problem is with the messages we'd need to send say every week up to the
> delivery date. We're using 2.16 with a build from early November (sorry no
> build revision available as it's not shown in the About page)
>
> Program settings:
> - Program type = Multiple events
> - Incident date = "LMP date"
> - Enrollment date = "Visit date"
> - 4 attributes, incl. phone number
>
> Program stage:
> - Scheduled days from start = 280 (which based on the incident date will
> return the estimated delivery date)
> - Non-repeatable
> - Report date to use = Incident date
> - Description of report date = LMP date
> - SMS reminders on program stage are based on X "days scheduled" before
> scheduled date (which in my understanding is the incident date + 280 days);
> recipient = tracked entity instance.
>
> I also noticed a few inconsistencies while working on this:
>
> - Enrollment date and incident date are inverted in the tracker capture
> app when registering a new person, and as a result the "due date" gets
> calculated based on enrollment rather than incident date. This works fine
> when using Individual records, though I'm assuming that this has been
> corrected in 2.17 in tracker capture.
> - The "Before" and "After" parameters in the "Show details" on template
> reminder messages are also inverted - which makes me wonder whether these
> settings are correctly applied?
>
> Has anyone had similar challenges or can you tell from the above what I'm
> doing wrong? Any help here would be greatly appreciated as we would like to
> get this program up & running within the coming days.
>
> Bram Piot
> PSI
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Tracker Capture: Not Enrolled

2014-12-29 Thread Abyot Gizaw
Hi,

Yes, history button is not active. It needs some work. Will finish that
sometime soon.

-
Thank you,
Abyot.

(sent from mobile)
On Dec 29, 2014 2:31 PM, "Pamod Amarakoon"  wrote:

> Dear All,
>
> After checking serveral individual records I realised what is appearing
> under registration and data entry are related to active events. How to view
> completed stages of a tracked entity? History button is not responsive in
> my case.
>
> Thank you
>
> On Wed, Dec 17, 2014 at 7:56 PM, Pamod Amarakoon  wrote:
>
>> Dear All,
>>
>> I have been using DHIS 2.16 for tracker through Individual Module, I'm
>> trying to migrate to Tracker Capture.
>>
>> Once I upgraded to 2.17, tracker capture displays the tracked entities
>> already registered as "Not enrolled". Please check following screenshot.
>> But the report shows previous stages and the data collected at each visit
>>
>>
>>
>> All these tracked entities are visible in individual records module. How
>> to view past stages in tracker capture?
>>
>> Another issue I'm facing is I get an error "No programme exists" while
>> trying to access same tracker capture through Mozilla Firefox, what may be
>> causing this. Following is the screenshot.
>>
>>
>>
>>
>> Thank you
>>
>> --
>> Pamod
>>
>>
>
>
> --
> Pamod
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Getting program stage sections and their data elements from web API

2014-12-12 Thread Abyot Gizaw
Hi Pamond,

I am not sure I get your point. If you wanted only data elements, then you
can use only programId.  Or do you want event data?

See if the following helps

https://apps.dhis2.org/dev/api/programs.json?filter=id:eq:IpHINAT79UW&fields=id,name,programStages[id,name,programStageDataElements[dataElement[id,name]]]&paging=false

https://apps.dhis2.org/dev/api/events.json?trackedEntityInstance=oi3PMIGYJH8&program=IpHINAT79UW&paging=false&skipMeta=true


---
Thank you,
Abyot.

On Thu, Dec 11, 2014 at 3:14 PM, Pamod Amarakoon  wrote:
>
> Hi Abyot,
>
> Is it possible to extend this to return data elements associated with a
> each visit(stage) when only a trackedEntityInstanceID and programId is
> provided.
>
> Thank you
>
> Pamod
>
> On Thu, Dec 11, 2014 at 1:45 PM, Abyot Gizaw  wrote:
>
>> Hi,
>>
>> For example, the following returns id and name for program stage, program
>> stage sections, program stage section data elements.
>>
>>
>> api/programStages/X.json?fields=id,name,programStageSections[id,name,programStageDataElements[dataElement[id,name]]]
>>
>> Play around with the *fields *parameter to match the properties you want
>> the server to return.
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Fri, Dec 5, 2014 at 6:02 PM, Blai Samitier 
>> wrote:
>>
>>> Hello,
>>>
>>> I am using the web API to get information from events, and I want to
>>> classify the data elements with the program stage sections I defined in the
>>> program stage.
>>>
>>> My problem is that I can't find the resource that gives me the program
>>> Stage Section with their data elements. I can only find the name of the
>>> sections in /api/programStages//programStageSections, but not the data
>>> elements they contain.
>>>
>>> Thanks!
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Pamod
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Getting program stage sections and their data elements from web API

2014-12-11 Thread Abyot Gizaw
Hi,

For example, the following returns id and name for program stage, program
stage sections, program stage section data elements.

api/programStages/X.json?fields=id,name,programStageSections[id,name,programStageDataElements[dataElement[id,name]]]

Play around with the *fields *parameter to match the properties you want
the server to return.

---
Thank you,
Abyot.

On Fri, Dec 5, 2014 at 6:02 PM, Blai Samitier  wrote:

> Hello,
>
> I am using the web API to get information from events, and I want to
> classify the data elements with the program stage sections I defined in the
> program stage.
>
> My problem is that I can't find the resource that gives me the program
> Stage Section with their data elements. I can only find the name of the
> sections in /api/programStages//programStageSections, but not the data
> elements they contain.
>
> Thanks!
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] DHIS 2.17 - Tracker Input Type Error

2014-12-04 Thread Abyot Gizaw
Hi,

Which module are you using - individual records or tracker capture?

-
Thank you,
Abyot.

(sent from mobile)
On Dec 4, 2014 5:01 PM, "Pamod Amarakoon"  wrote:

> Dear All,
>
> I updated to the latest 2.17 build released on 5th December. But problem
> still persists. Any idea what's acusing this?
>
> Thank you
>
> On Mon, Dec 1, 2014 at 2:25 PM, Pamod Amarakoon  wrote:
>
>> Dear All,
>>
>> Following upgrade of DHIS2 instance to 2.17 from 2.16 I'm experiencing
>> input type error for data inserted into tracker data entry form as follows.
>>
>>
>>
>>
>>
>> Data elements have been defined in number format.
>>
>> I have another instance of tracker data entry form which also receives
>> same error on data input.
>>
>> What may be causing this?
>>
>> Thanks a lot .
>>
>> --
>> Pamod
>>
>>
>
>
> --
> Pamod
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Losing data on same program enrollment

2014-11-27 Thread Abyot Gizaw
Hello Blai,

Someone in our team mentioned me that your question was actually about
attributes, sorry I missed that part. Unfortunately, attribute values are
not unique per enrollment. Data element values are unique as I tried to
explain in my previous mail. You can have the uniqueness you wanted by
going the data elements way, unless there is a particular reason for using
attributes.

---
Thank you,
Abyot.

On Wed, Nov 26, 2014 at 8:01 PM, Blai Samitier  wrote:

> Thank you that was really helpful!
>
>
>
> --
> Date: Tue, 25 Nov 2014 13:26:04 +0100
>
> Subject: Re: [Dhis2-users] Losing data on same program enrollment
> From: aby...@gmail.com
> To: blais...@hotmail.com
> CC: dhis2-users@lists.launchpad.net
>
> Seems you have an interesting use case. It is nice to see DHIS2 being used
> in other areas - keep up the good work and let us know if there is anything
> to guide you.
>
> Coming to your question: if you are doing things from external/custom app,
> then you have everything you need. See the following URLs
>
> 1. api/enrollments.json?trackedEntityInstance=TEI_UID - gives you all
> available enrollments for the specified TEI (TEI_UID)
>
> 2. api/enrollments.json?trackedEntityInstance=TEI_UID&program=PR_UID -
> gives you all available enrollments of the TEI in the specified program
> (PR_UID)
>
> 3.
> api/enrollments.json?trackedEntityInstance=TEI_UID&program=PR_UID&status=ACTIVE
> - gives you only those active enrollments for the selected TEI and program
>
> 4. api/events.json?trackedEntityInstance=TEI_UID&program=ur1Edk5Oe2n -
> gives you data for all the enrollments
>
> 5.
> api/events.json?trackedEntityInstance=TEI_UID&program=ur1Edk5Oe2n&programStatus=ACTIVE
> - gives you data only for active enrollment
>
> also take a look to the documentation
> for
> more filtering and other issues regarding the web-api.
>
> ---
> Thank you,
> Abyot.
>
> On Tue, Nov 25, 2014 at 12:53 PM, Blai Samitier 
> wrote:
>
> Hello,
>
> Thank you for the fast answer! We want to use the programs to keep track
> of the infrastructural state of a building. Each enrollment on the program
> will be a new infrastructure analysis, but we want to still be able to
> access older enrollments to view the progression. We will not modify old
> enrollments, we only want to access them.
>
> We are doing this from an external APP via the web API. The idea was to
> have a "Multiple event with registration" program and, everytime someone
> make a new analysis, we enroll the TEI again into that program, fill the
> data and complete it. Then show a list with all the enrollments of that
> TEI, showing their information when selected.
>
> Thanks!
>
> --
> Date: Mon, 24 Nov 2014 13:40:07 +0100
> Subject: Re: [Dhis2-users] Losing data on same program enrollment
> From: aby...@gmail.com
> To: blais...@hotmail.com
> CC: dhis2-users@lists.launchpad.net
>
>
> Hi,
>
> Yes there is. Each enrollment and associated data is unique - there is no
> overwriting. To enroll a TEI multiple times in a program, you first need to
> either complete or terminate (in your case complete) previous enrollments.
> I know we have focused only with the "Active" enrollment and haven't
> provided proper interface to deal with historical enrollment data.
>
> Tell us more about your use case - what do you do with previous
> enrollments? how do you want the data to be displayed - in report? do you
> want to edit previous enrollment data?
>
> ---
> Thank you,
> Abyot.
>
> On Mon, Nov 24, 2014 at 1:07 PM, Blai Samitier 
> wrote:
>
> Hello,
>
> I would like to know if there is a way to enroll a tracked entity instance
> into the same program multiple times without losing the values of the
> attributes on the old enrollments. Right now, if I enroll a tracked entity
> into a program, all the attributes of older enrollments of that program get
> replaced by the new values.
>
> Thanks!
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Losing data on same program enrollment

2014-11-25 Thread Abyot Gizaw
Seems you have an interesting use case. It is nice to see DHIS2 being used
in other areas - keep up the good work and let us know if there is anything
to guide you.

Coming to your question: if you are doing things from external/custom app,
then you have everything you need. See the following URLs

1. api/enrollments.json?trackedEntityInstance=TEI_UID - gives you all
available enrollments for the specified TEI (TEI_UID)

2. api/enrollments.json?trackedEntityInstance=TEI_UID&program=PR_UID -
gives you all available enrollments of the TEI in the specified program
(PR_UID)

3.
api/enrollments.json?trackedEntityInstance=TEI_UID&program=PR_UID&status=ACTIVE
- gives you only those active enrollments for the selected TEI and program

4. api/events.json?trackedEntityInstance=TEI_UID&program=ur1Edk5Oe2n -
gives you data for all the enrollments

5.
api/events.json?trackedEntityInstance=TEI_UID&program=ur1Edk5Oe2n&programStatus=ACTIVE
- gives you data only for active enrollment

also take a look to the documentation
for
more filtering and other issues regarding the web-api.

---
Thank you,
Abyot.

On Tue, Nov 25, 2014 at 12:53 PM, Blai Samitier 
wrote:

> Hello,
>
> Thank you for the fast answer! We want to use the programs to keep track
> of the infrastructural state of a building. Each enrollment on the program
> will be a new infrastructure analysis, but we want to still be able to
> access older enrollments to view the progression. We will not modify old
> enrollments, we only want to access them.
>
> We are doing this from an external APP via the web API. The idea was to
> have a "Multiple event with registration" program and, everytime someone
> make a new analysis, we enroll the TEI again into that program, fill the
> data and complete it. Then show a list with all the enrollments of that
> TEI, showing their information when selected.
>
> Thanks!
>
> --
> Date: Mon, 24 Nov 2014 13:40:07 +0100
> Subject: Re: [Dhis2-users] Losing data on same program enrollment
> From: aby...@gmail.com
> To: blais...@hotmail.com
> CC: dhis2-users@lists.launchpad.net
>
>
> Hi,
>
> Yes there is. Each enrollment and associated data is unique - there is no
> overwriting. To enroll a TEI multiple times in a program, you first need to
> either complete or terminate (in your case complete) previous enrollments.
> I know we have focused only with the "Active" enrollment and haven't
> provided proper interface to deal with historical enrollment data.
>
> Tell us more about your use case - what do you do with previous
> enrollments? how do you want the data to be displayed - in report? do you
> want to edit previous enrollment data?
>
> ---
> Thank you,
> Abyot.
>
> On Mon, Nov 24, 2014 at 1:07 PM, Blai Samitier 
> wrote:
>
> Hello,
>
> I would like to know if there is a way to enroll a tracked entity instance
> into the same program multiple times without losing the values of the
> attributes on the old enrollments. Right now, if I enroll a tracked entity
> into a program, all the attributes of older enrollments of that program get
> replaced by the new values.
>
> Thanks!
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Losing data on same program enrollment

2014-11-24 Thread Abyot Gizaw
Hi,

Yes there is. Each enrollment and associated data is unique - there is no
overwriting. To enroll a TEI multiple times in a program, you first need to
either complete or terminate (in your case complete) previous enrollments.
I know we have focused only with the "Active" enrollment and haven't
provided proper interface to deal with historical enrollment data.

Tell us more about your use case - what do you do with previous
enrollments? how do you want the data to be displayed - in report? do you
want to edit previous enrollment data?

---
Thank you,
Abyot.

On Mon, Nov 24, 2014 at 1:07 PM, Blai Samitier  wrote:

> Hello,
>
> I would like to know if there is a way to enroll a tracked entity instance
> into the same program multiple times without losing the values of the
> attributes on the old enrollments. Right now, if I enroll a tracked entity
> into a program, all the attributes of older enrollments of that program get
> replaced by the new values.
>
> Thanks!
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Dhis2 2.16 version upgrade but Tracking registration shows bugs

2014-11-18 Thread Abyot Gizaw
Hi,

It seems you forgot to send us the attachment. Would be nice to have to
have that for us to respond.

Which tracker are using - Individual records module or tracker capture?

---
Thank you,
Abyot.

On Tue, Nov 18, 2014 at 12:53 PM, Uddin Fatema  wrote:

> Dear All,
>
> I upgraded our dhis2 version to 2.16 and create  a program as a multiple
> event with Registration.
>
> Now from individual Tracking-> add/update instance-> Enter attributes data
> -> Press add. It hanged and log shows error.
>
> Here i attached the log. I tried but somehow in some point i am missing
> something.
>
> Could you please help me.
>
> Thanks
>
> Regards,
> *Fatema Uddin*
>
> Technical Advisor (HIS)-Support to the Health Sector Program II
> Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH
> German House
> House 10/A-2, Road 90
> Gulshan 2, Dhaka 1212, Bangladesh
>
> T  +880 9666701000
> F  +880 28823099
> M +880 19 6206 4721
> I   www.giz.de
> 
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Upload to the Server failing for Event Capture - Data Entry

2014-11-17 Thread Abyot Gizaw
Hi Sam,

Did you get any log on chrome console?

---
Thank you,
Abyot.

On Tue, Nov 18, 2014 at 7:16 AM, Sam Kasozi  wrote:

> Dear all,
>
> I don't know if anyone else is experiencing this problem, however the
> Upload to the Server for data entry in Event capture (Single Event without
> Registration) has failed on both Chrome & Firefox on about 5 different PCs/
> Users.
>
> P.s If it is a bug and fixed, will the data be uploaded without having to
> clear the Cache since i need to inform people whether to continue or halt
> the data entry process.
>
>
> regards,
>
> Sam Kasozi
> Information Systems Consultant
> HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
> +256 788 993565 | +256 757 662752
> kaso...@gmail.com | skas...@pheoc.go.ug  | Skype:
> sam.kasoziug
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


  1   2   >