Re: [Dhis2-devs] trackedEntityInstances date and time filter

2018-10-31 Thread Abyot Asalefew Gizaw
Hi,

So far, time is not considered for filtering everywhere. It is a little
complicated to deal with timestamp / timezone. There is internal discussion
about it ... a solution is yet to come.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org


On Wed, Oct 31, 2018 at 1:38 PM Tomas Sala 
wrote:

> Hi,
>
>
>
> Is it possible to filter by the lastUpdated (date and time)  of  the
> trackedEntityInstances  using the endpoint trackedEntityInstances?
>
>
>
>  trackedEntityInstance="iLlGg5SjJY1" lastUpdated="2018-10-31T13:04:28.701"
> trackedEntityType="sD7b8KtOogp"lastUpdatedAtClient="
> 2018-10-31T13:04:28.701">
>
>
>
>
>
> Thanks!
>
>
>
> *De:* Dhis2-devs [mailto:dhis2-devs-bounces+tomas.sala=
> barcelona.msf....@lists.launchpad.net] *En nombre de *Tomas Sala
> *Enviado el:* 31 October 2018 13:34
> *Para:* Abyot Asalefew Gizaw
> *CC:* dhis2-devs
> *Asunto:* Re: [Dhis2-devs] trackedEntityInstances date and time filter
>
>
>
> Hi,
>
>
>
> Ok, thanks!
>
>
>
> *De:* Abyot Asalefew Gizaw [mailto:ab...@dhis2.org ]
> *Enviado el:* 31 October 2018 13:31
> *Para:* Tomas Sala
> *CC:* dhis2-devs
> *Asunto:* Re: [Dhis2-devs] trackedEntityInstances date and time filter
>
>
>
> Hi,
>
>
>
> Yes, expected behavior.
>
>
>
> --
>
> Abyot A. Gizaw.
>
> Senior Engineer, DHIS2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
>
>
> On Wed, Oct 31, 2018 at 1:29 PM Tomas Sala 
> wrote:
>
> Hi,
>
>
>
> We are using the endpoint trackedEntityInstances and we want to filter by
> date and time using lastUpdatedStartDate=2018-10-30T18:05:00 but it doesn’t
> take into account the time, only the date. Is this the expected behaviour?
>
>
>
> Thank you!
>
>
>
> *Tomàs Sala Camarena*
>
> *Ehealth Technician, eHealth Team *
>
> *eHealth & Operations Applications (´Apps4OPS´)*
>
> *Projects & IT Unit *
>
> *Médecins Sans Frontières (MSF) Spain – Barcelona Office*
> Fixed: +34 933 213 043
>
> Email / Skype: *tomas.s...@barcelona.msf.org
> * - www.msf.org
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] trackedEntityInstances date and time filter

2018-10-31 Thread Abyot Asalefew Gizaw
Hi,

Yes, expected behavior.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org


On Wed, Oct 31, 2018 at 1:29 PM Tomas Sala 
wrote:

> Hi,
>
>
>
> We are using the endpoint trackedEntityInstances and we want to filter by
> date and time using lastUpdatedStartDate=2018-10-30T18:05:00 but it doesn’t
> take into account the time, only the date. Is this the expected behaviour?
>
>
>
> Thank you!
>
>
>
> *Tomàs Sala Camarena*
>
> *Ehealth Technician, eHealth Team *
>
> *eHealth & Operations Applications (´Apps4OPS´)*
>
> *Projects & IT Unit *
>
> *Médecins Sans Frontières (MSF) Spain – Barcelona Office*
> Fixed: +34 933 213 043
>
> Email / Skype: *tomas.s...@barcelona.msf.org
> * - www.msf.org
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Tracker Capture App not working in DHIS 2.29

2018-06-14 Thread Abyot Asalefew Gizaw
Hi Stanley,

There is no way around. To use 2.29, one needs to run the upgrade script
first.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org


On Thu, Jun 14, 2018 at 2:49 PM Stanley Kalyati  wrote:

> I also would want to learn the way round.
>
> On Thu, Jun 14, 2018, 14:46 Kumar Shahdeo 
> wrote:
>
>> Hi All,
>>
>> I did a migration of DHIS2 from version 2.27 -> 2.28 -> 2.29.
>> The tracker capture app is not loading properly and is throwing console
>> error
>>
>> "*TypeError: Cannot read property 'id' of undefined*
>> *at n.$scope.hasProgramTetAccess (home-controller.js:264*)"
>>
>> I find that the object store 'trackedEntityTypes' has no data in indexed
>> DB.
>> I have cleared all the browser cache and have tried opening DHIS in
>> multiple browsers. I am getting same error every time.
>> It was an incremental upgrade and I have not used the upgrade script
>> provided by DHIS.
>> What can be the possible reason behind this?
>> Do I need to use upgrade script even if I do an incremental upgrade?
>>
>> --
>> Kumar Gaurav Nath Shahdeo
>> Developer
>> Email gaura...@thoughtworks.com
>> Telephone +91 9160688935
>> [image: ThoughtWorks]
>> 
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Tracker Capture App not working in DHIS 2.29

2018-06-14 Thread Abyot Asalefew Gizaw
Hi,

It is necessary to use the upgrade script *BEFORE* running 2.29.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org


On Thu, Jun 14, 2018 at 2:45 PM Kumar Shahdeo 
wrote:

> Hi All,
>
> I did a migration of DHIS2 from version 2.27 -> 2.28 -> 2.29.
> The tracker capture app is not loading properly and is throwing console
> error
>
> "*TypeError: Cannot read property 'id' of undefined*
> *at n.$scope.hasProgramTetAccess (home-controller.js:264*)"
>
> I find that the object store 'trackedEntityTypes' has no data in indexed
> DB.
> I have cleared all the browser cache and have tried opening DHIS in
> multiple browsers. I am getting same error every time.
> It was an incremental upgrade and I have not used the upgrade script
> provided by DHIS.
> What can be the possible reason behind this?
> Do I need to use upgrade script even if I do an incremental upgrade?
>
> --
> Kumar Gaurav Nath Shahdeo
> Developer
> Email gaura...@thoughtworks.com
> Telephone +91 9160688935
> [image: ThoughtWorks]
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Querying Events API for null or empty value

2018-05-21 Thread Abyot Asalefew Gizaw
Hi,

See this
https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#d12616e5594

Unfortunately, we don't have a mechanism to filter null values. Please
report a jira issue  and we
will consider in our future release plan.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org


On Fri, May 18, 2018 at 5:53 PM Fleury Butoyi  wrote:

> Hi all,
>
> Is there a way to filter empty or null values in an event  API query?
>
> I am facing to a problem to get event data via API.
>
> The problem I am facing is that I can't filter on empty or null values
> when I am trying to access to events which have empty or null values using
> an API query.
>
> I've tried a query like this one: (
> https://play.dhis2.org/2.29/api/events.json?program=uy2gU8kT1jF&filter=XorIxxprsOp:EQ:0)
> but didn't work.
>
> Could someone help me on this?
>
> Best regards,
>
> Fleury!
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] WEB API Error in DHIS2.30

2018-04-23 Thread Abyot Asalefew Gizaw
Hi,

Since 2.29, *trackedEntity* is renamed to be *trackedEntityType*. This is
documented in our release note , please go
through it especially the upgrade notes. If you are upgrading from an old
version, you are supposed to run the upgrade script first.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Apr 23, 2018 at 2:15 PM, mahdi asgari 
wrote:

> I found the problem
> The dhis2 documents is about version 2.26 which the class
> TrackedEntityInstance has an attribute named TrackedEntity.
> I think an documentation process is required for the new versions.
> regards
>
> On Sat, Apr 21, 2018 at 6:01 PM, mahdi asgari 
> wrote:
>
>> thanks
>>
>> On Sat, Apr 21, 2018 at 11:10 AM, Edouard Lavaud <
>> edouard.lav...@gmail.com> wrote:
>>
>>> Hi Mahdi,
>>>
>>> I remember having diverse issues with this "trackedentitytype" when
>>> setting up my 2.29.
>>> If you see anything specific, do not hesitate to post an issue on the
>>> DHIS2 jira.
>>> But me I am just a community user trying to help out on what I know, I
>>> am not part of the DHIS2 team ;)
>>>
>>> Edouard
>>>
>>>
>>> On Sat, Apr 21, 2018, 06:20 mahdi asgari  wrote:
>>>
 Hi
 Dear edouard,
 By using TrackedEntityType the import was success fully done,but i
 can't see patient in the Tracker Capture application, because of
 trackedentity filed in trackedentityinstance is null in database, Please
 test web api 2.30 and make sure the consistency in tracked capture.
 regards

 On Fri, Apr 20, 2018 at 11:16 AM, Edouard Lavaud <
 edouard.lav...@gmail.com> wrote:

> Hi there,
>
> Starting from 2.29 the trackedEntity field has been renamed to
> trackedEntityType.
>
> Best,
>
> Edouard
>
> 2018-04-20 4:44 GMT+02:00 Ocaya Stephen :
>
>> Please note that 2.30 has not yet been officially released. But think
>> the developers will look into fixing this issue.
>>
>> regards
>>
>> On Thu, Apr 19, 2018 at 11:17 PM, Adebusoye Anifalaje <
>> bus...@baosystems.com> wrote:
>>
>>> Hi Mahdi,
>>> I am forwarding your request to the user list. This is the
>>> appropriate forum for asking these sort of questions.
>>>
>>> Best.
>>> Busoye.
>>>
>>> -- Forwarded message -
>>> From: mahdi asgari 
>>> Date: Thu, 19 Apr 2018 at 20:25
>>> Subject: WEB API Error in DHIS2.30
>>> To: 
>>>
>>>
>>> Hi dear adebusoye
>>>
>>> I am using dhis2 version 2.30, compiled from github (last version),
>>> When i try to create trackedEntity, i get the following error
>>> I seem's TrackedEntity has been removed from TrackedEntityInstance
>>> how i can fix the problem.
>>>
>>> ERROR:
>>> {"httpStatus":"Internal Server Error","httpStatusCode":500,"s
>>> tatus":"ERROR","message":"Unrecognized field \"trackedEntity\"
>>> (class org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance),
>>> not marked as ignorable (14 known properties: \"trackedEntityInstance\",
>>> \"lastUpdatedAtClient\", \"lastUpdated\", \"createdAtClient\",
>>> \"trackedEntityType\", \"orgUnit\", \"inactive\", \"enrollments\",
>>> \"featureType\", \"attributes\", \"deleted\", \"relationships\",
>>> \"created\", \"coordinates\"])\n at [Source: {\"trackedEntityInstance\":
>>> \"IKjF4BZg3hb\",\"trackedEntity\": \"nEenWmSyUEp\",\"orgUnit\":
>>> \"iq6Pt6QzM4d\",\"trackedEntityType\":
>>> \"MCPQUTHX1Ze\",\"attributes\":[{\"attribute\":\"spFvx9FndA4
>>> \",\"value\":\"53\"},{\"attribute\":\"w75KJ2mc4zz\",\"value\
>>> ":\"\"},{\"attribute\":\"hqtiQfZ66yc\",\"value\":\"
>>> ??\"},{\"attribute\":\"zDhUuAYrxNC\",\"value\":\"
>>> \"},{\"attribute\":\"AuPLng5hLbE\",\"value\":\"
>>> 51961113\"},{\"attribute\":\"EO4ms2Ju3nf\",\"value\":\"1\"}
>>> ,{\"attribute\":\"gHGyrwKPzej\",\"value\":\"2013-09-17\"},{\
>>> "attribute\":\"P2cwLGskgxn\",\"value\":\"123\"},{\"
>>> attribute\":\"Agywv2JGwuq\",\"value\":\"\"}],\"enrollments\":[{\"orgUnit\":
>>> \"iq6Pt6QzM4d\",\"program\": \"LaWt5AR1tfl\",\"enrollmentDate\":
>>> \"2013-09-17\",\"incidentDate\": \"2013-09-17\"}]}; line: 1,
>>> column: 59] (through reference chain: org.hisp.dhis.dxf2.events.trac
>>> kedentity.TrackedEntityInstance[\"trackedEntity\"])"}
>>>
>>> JSON DATA:
>>> {"trackedEntityInstance": "IKjF4BZg3hb","orgUnit":
>>> "iq6Pt6QzM4d","trackedEntity":"lp7Kq6QzS4d","trackedEntityType":
>>> "MCPQUTHX1Ze","attributes":[{"attribute":"spFvx9FndA4","valu
>>> e":"53","attribute":"w75KJ2mc4zz","value":"","attribute"
>>> :"hqtiQfZ66yc","value":"??","attribute":"zDhUuAYrxNC","v
>>> alue":"","attribute":"AuPLng5hLbE","value":"51961113","
>>> attribute":"EO4ms2Ju3nf","value":"1","attribute":"
>>> gHGyrwKPzej","value":"2013-09-17","attribute":"P2cwLGskgxn",
>>> "

Re: [Dhis2-devs] [Dhis2-users] Data Entry Error about Category Combination

2018-02-26 Thread Abyot Asalefew Gizaw
Hi,

I think this happens when there is a custom data entry form that refers to
a category option combo which most probably is deleted.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Feb 26, 2018 at 8:46 PM, Markus Bekken  wrote:

> Hey there,
> did you backup and restore the entire database, or did you do a metadata
> export and import? If you exported and imported, how did you do the export?
>
> Markus
>
> > 26. feb. 2018 kl. 17:04 skrev gerald thomas :
> >
> > Dear All,
> > i did a backup and i restored the database to another instance but i am
> receiving an error about Category combination identifier missing when i am
> trying to do data entry. It is working on the instance that i get the
> backup from.
> > Please find the attached error.
> >
> > --
> > Regards,
> >
> > Gerald
> > _
> __
> > Mailing list: https://launchpad.net/~dhis2-devs
> > Post to : dhis2-devs@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-devs
> > More help   : https://help.launchpad.net/ListHelp
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Abyot Asalefew Gizaw
May be complaining about program stage?

---

Thank you,
Abyot.
(sent from mobile)

On Feb 6, 2018 17:21, "Knut Staring"  wrote:

> Hi Abyot,
>
> I am probably just stupid, but why is it complaining about a different
> program (ur1Edk5Oe2n) than the one requested in the URL (eBAyeGv0exc) ?
>
> And even after sharing both programs with the administrator group which
> admin is a member of, I still get the same?
>
> Knut
>
> On Tue, Feb 6, 2018 at 5:00 PM, Abyot Asalefew Gizaw 
> wrote:
> >
> > That is because if the new sharing setting. You need to go and configure
> data read and write sharing settings...
> >
> > The same url should work in 2.28 and lower versions.
> >
> >
> > On Tue, Feb 6, 2018, 16:55 Georgi Chakarov 
> wrote:
> >>
> >> Yes, and I am trying to get all data for all tracked entity instances,
> not for a specific one. Any idea?
> >>
> >>
> >>
> >> From: Knut Staring [mailto:knu...@gmail.com]
> >> Sent: Tuesday, February 6, 2018 5:43 PM
> >>
> >>
> >> To: Georgi Chakarov 
> >> Cc: DHIS 2 Developers list ;
> dhis2-us...@lists.launchpad.net; Michal Debski  logicaloutcomes.net>; Wojtek Bak 
> >> Subject: Re: [Dhis2-users] FW: Access Tracker capture program stage
> data through API
> >>
> >>
> >>
> >> I see. I am actually seeing a restriction when trying the example at
> the bottom of the page in the manual:
> >>
> >>
> >>
> >> https://docs.dhis2.org/master/en/developer/html/webapi_
> events.html#webapi_querying_reading_events
> >>
> >>
> >>
> >> https://play.dhis2.org/dev/api/26/events.json?orgUnit=
> DiszpKrYNg8&program=eBAyeGv0exc&trackedEntityInstance=
> gfVxE3ALA9m&startDate=2014-01-01&endDate=2014-12-31
> >>
> >> {"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"[User
> has no read access to program: ur1Edk5Oe2n]"}
> >>
> >> This is of course not the response you are getting.
> >>
> >> Knut
> >>
> >>
> >>
> >>
> >>
> >> Virus-free. www.avg.com
> >>
> >>
> >>
> >> On Tue, Feb 6, 2018 at 4:11 PM, Georgi Chakarov <
> geo...@logicaloutcomes.net> wrote:
> >>
> >> Hi Knut,
> >>
> >>
> >>
> >> I am using a super user account and we don’t have data shared among
> users. Maybe the problem is related to the fact that Tracker data does not
> get exported in any format from the Import/Export app either. Aggregate
> data does, but tracker or event data does not.
> >>
> >>
> >>
> >> Georgi
> >>
> >> From: Knut Staring [mailto:knu...@gmail.com]
> >> Sent: Tuesday, February 6, 2018 3:42 PM
> >> To: Georgi Chakarov 
> >> Cc: DHIS 2 Developers list ;
> dhis2-us...@lists.launchpad.net; Michal Debski  logicaloutcomes.net>; Wojtek Bak 
> >> Subject: Re: [Dhis2-users] FW: Access Tracker capture program stage
> data through API
> >>
> >>
> >>
> >> Just a thought - is the user you are using for the API member of the
> user group for which this data has been shared?
> >>
> >>
> >>
> >> Knut
> >>
> >>
> >>
> >> On Tue, Feb 6, 2018 at 2:38 PM, Georgi Chakarov <
> geo...@logicaloutcomes.net> wrote:
> >>
> >> Hi all,
> >>
> >>
> >>
> >> Any thoughts on the below question? Your input is highly needed and
> appreciated!
> >>
> >>
> >>
> >> Regards,
> >>
> >> Georgi
> >>
> >>
> >>
> >> From: Georgi Chakarov
> >> Sent: Monday, February 5, 2018 6:20 PM
> >> To: 'DHIS 2 Developers list' ;
> dhis2-us...@lists.launchpad.net
> >> Cc: Michal Debski ; Wojtek Bak <
> woj...@logicaloutcomes.net>
> >> Subject: Access Tracker capture program stage data through API
> >>
> >>
> >>
> >> Hi all,
> >>
> >>
> >>
> >> Can anyone tell me what is the query to read all data entered in a
> Tracker capture program stage?
> >>
> >>
> >>
> >> We have tried this:
> >>
> >> /api/26/events.json?orgUnit=DiszpKrYNg8&program=eBAyeGv0exc
> >>
> >> and other versions like 
> >> /api/26/events.json?orgUnit=YuQRtpLP10I&am

Re: [Dhis2-devs] [Dhis2-users] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Abyot Asalefew Gizaw
That is because if the new sharing setting. You need to go and configure
data read and write sharing settings...

The same url should work in 2.28 and lower versions.

On Tue, Feb 6, 2018, 16:55 Georgi Chakarov 
wrote:

> Yes, and I am trying to get all data for all tracked entity instances, not
> for a specific one. Any idea?
>
>
>
> *From:* Knut Staring [mailto:knu...@gmail.com]
> *Sent:* Tuesday, February 6, 2018 5:43 PM
>
>
> *To:* Georgi Chakarov 
> *Cc:* DHIS 2 Developers list ;
> dhis2-us...@lists.launchpad.net; Michal Debski <
> michal.deb...@logicaloutcomes.net>; Wojtek Bak  >
> *Subject:* Re: [Dhis2-users] FW: Access Tracker capture program stage
> data through API
>
>
>
> I see. I am actually seeing a restriction when trying the example at the
> bottom of the page in the manual:
>
>
>
>
> https://docs.dhis2.org/master/en/developer/html/webapi_events.html#webapi_querying_reading_events
>
>
>
>
> https://play.dhis2.org/dev/api/26/events.json?orgUnit=DiszpKrYNg8&program=eBAyeGv0exc&trackedEntityInstance=gfVxE3ALA9m&startDate=2014-01-01&endDate=2014-12-31
>
> {"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"[User
>  has no read access to program: ur1Edk5Oe2n]"}
>
> This is of course not the response you are getting.
>
> Knut
>
>
>
>
>
> [image: Image removed by sender.]
> 
>
> Virus-free. www.avg.com
> 
>
>
>
> On Tue, Feb 6, 2018 at 4:11 PM, Georgi Chakarov <
> geo...@logicaloutcomes.net> wrote:
>
> Hi Knut,
>
>
>
> I am using a super user account and we don’t have data shared among users.
> Maybe the problem is related to the fact that Tracker data does not get
> exported in any format from the Import/Export app either. Aggregate data
> does, but tracker or event data does not.
>
>
>
> Georgi
>
> *From:* Knut Staring [mailto:knu...@gmail.com]
> *Sent:* Tuesday, February 6, 2018 3:42 PM
> *To:* Georgi Chakarov 
> *Cc:* DHIS 2 Developers list ;
> dhis2-us...@lists.launchpad.net; Michal Debski <
> michal.deb...@logicaloutcomes.net>; Wojtek Bak  >
> *Subject:* Re: [Dhis2-users] FW: Access Tracker capture program stage
> data through API
>
>
>
> Just a thought - is the user you are using for the API member of the user
> group for which this data has been shared?
>
>
>
> Knut
>
>
>
> On Tue, Feb 6, 2018 at 2:38 PM, Georgi Chakarov <
> geo...@logicaloutcomes.net> wrote:
>
> Hi all,
>
>
>
> Any thoughts on the below question? Your input is highly needed and
> appreciated!
>
>
>
> Regards,
>
> Georgi
>
>
>
> *From:* Georgi Chakarov
> *Sent:* Monday, February 5, 2018 6:20 PM
> *To:* 'DHIS 2 Developers list' ;
> dhis2-us...@lists.launchpad.net
> *Cc:* Michal Debski ; Wojtek Bak <
> woj...@logicaloutcomes.net>
> *Subject:* Access Tracker capture program stage data through API
>
>
>
> Hi all,
>
>
>
> Can anyone tell me what is the query to read all data entered in a Tracker
> capture program stage?
>
>
>
> We have tried this:
>
> */api/26/events.json?orgUnit=DiszpKrYNg8&program=eBAyeGv0exc *
>
> and other versions like
> */api/26/events.json?orgUnit=YuQRtpLP10I&ouMode=CHILDREN* but we get the
> result below. Your feedback is highly appreciated!
>
>
>
>
>
>
>
> Georgi
>
>
> Georgi Chakarov, CIA | geo...@logicaloutcomes.net | +1-647-478-5634 x 104
> <(647)%20478-5634> | LogicalOutcomes c/o Centre for Social Innovation, 720
> Bathurst Street, Toronto Canada M5S 2R4
> 
> | *You may unsubscribe from receiving commercial electronic messages from
> LogicalOutcomes by emailing **i...@logicaloutcomes.net*
> 
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
> --
>
> Knut Staring
>
> Department of Information, Evidence and Research
> World Health Organization, Geneva, Switzerland
> Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
> <+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
> Skype: knutstar
>
>
>
>
> --
>
> Knut Staring
>
> Department of Information, Evidence and Research
> World Health Organization, Geneva, Switzerland
> Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
> Skype: knutstar
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 

Thank you,
Abyot
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscrib

Re: [Dhis2-devs] [Dhis2-users] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Abyot Asalefew Gizaw
Hi,

We have some guide on how to read events through api. See the documentation
here.

https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#webapi_querying_reading_events

and an example

https://play.dhis2.org/dev/api/28/events.json?orgUnit=DiszpKrYNg8&programStage=Zj7UnCAulEk&pageSize=50&page=1&totalPages=true

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Feb 6, 2018 at 4:11 PM, Georgi Chakarov 
wrote:

> Hi Knut,
>
>
>
> I am using a super user account and we don’t have data shared among users.
> Maybe the problem is related to the fact that Tracker data does not get
> exported in any format from the Import/Export app either. Aggregate data
> does, but tracker or event data does not.
>
>
>
> Georgi
>
> *From:* Knut Staring [mailto:knu...@gmail.com]
> *Sent:* Tuesday, February 6, 2018 3:42 PM
> *To:* Georgi Chakarov 
> *Cc:* DHIS 2 Developers list ;
> dhis2-us...@lists.launchpad.net; Michal Debski  logicaloutcomes.net>; Wojtek Bak 
> *Subject:* Re: [Dhis2-users] FW: Access Tracker capture program stage
> data through API
>
>
>
> Just a thought - is the user you are using for the API member of the user
> group for which this data has been shared?
>
>
>
> Knut
>
>
>
> On Tue, Feb 6, 2018 at 2:38 PM, Georgi Chakarov <
> geo...@logicaloutcomes.net> wrote:
>
> Hi all,
>
>
>
> Any thoughts on the below question? Your input is highly needed and
> appreciated!
>
>
>
> Regards,
>
> Georgi
>
>
>
> *From:* Georgi Chakarov
> *Sent:* Monday, February 5, 2018 6:20 PM
> *To:* 'DHIS 2 Developers list' ;
> dhis2-us...@lists.launchpad.net
> *Cc:* Michal Debski ; Wojtek Bak <
> woj...@logicaloutcomes.net>
> *Subject:* Access Tracker capture program stage data through API
>
>
>
> Hi all,
>
>
>
> Can anyone tell me what is the query to read all data entered in a Tracker
> capture program stage?
>
>
>
> We have tried this:
>
> */api/26/events.json?orgUnit=DiszpKrYNg8&program=eBAyeGv0exc *
>
> and other versions like
> */api/26/events.json?orgUnit=YuQRtpLP10I&ouMode=CHILDREN* but we get the
> result below. Your feedback is highly appreciated!
>
>
>
>
>
>
>
> Georgi
>
>
> Georgi Chakarov, CIA | geo...@logicaloutcomes.net | +1-647-478-5634 x 104
> <(647)%20478-5634> | LogicalOutcomes c/o Centre for Social Innovation,
> 720 Bathurst Street, Toronto Canada M5S 2R4 | *You may unsubscribe from
> receiving commercial electronic messages from LogicalOutcomes by emailing *
> *i...@logicaloutcomes.net* 
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
> --
>
> Knut Staring
>
> Department of Information, Evidence and Research
> World Health Organization, Geneva, Switzerland
> Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
> <+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
> Skype: knutstar
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Calendar Issue in DHIS2

2017-10-10 Thread Abyot Asalefew Gizaw
Hi,

Can you create a JIRA issue for us to follow and fix?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Oct 10, 2017 at 8:04 AM, gourav sachdeva  wrote:

> Hello Team,
> Greetings of the Day,
>
> We are facing the issue in calendar whenever we select the date, the
> calendar doesn't pop up on it's specified location rather it comes in the
> end of the page and the screen also get splits into two parts.
>
> We have also attached the screenshot from the demo version of dhis2 (
> https://play.dhis2.org/demo).
>
> Kindly look into the issue. We hope for the positive response from your
> side.
>
>
> Thanks & Regards,
> HISP India
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Inherit function for Tracked Entity Attributes

2017-09-12 Thread Abyot Asalefew Gizaw
This won't happen during "normal registration" only under the context of
"relationship registration".

A = House hold, B = house hold member

A is registered with house hold code.

open A's dashboard,

go to Relationship widget

click *Add* - here you will be adding B

select the program where you have house hold is assigned to

click register - the small green plus icon -

you should get list of attributes to fill together with house hold code
which is pre-filled


--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Sep 12, 2017 at 9:24 AM, Georgi Chakarov  wrote:

> I understand this, but what does it mean and how does it work?
>
>
>
> I imagine that if I have a household registered in a program with a HH
> code marked as inherit and then I register a member who also has a HH code
> in their profile, DHIS2 will be able to pick the code from the Household
> and assign it to my member, if I tell it to do so. In other words, the
> member will inherit the code of the household, if the two are related.
>
> However, I tested this and nothing changed at registration of an HH
> member. I simply did not see how the code inherit function works.
>
>
>
> Any thoughts?
>
>
>
> Georgi
>
>
>
> *From:* Abyot Asalefew Gizaw [mailto:ab...@dhis2.org]
> *Sent:* Tuesday, September 12, 2017 10:12 AM
> *To:* Stanley Kalyati 
> *Cc:* Georgi Chakarov ; DHIS Users <
> dhis2-us...@lists.launchpad.net>; DHIS 2 Developers list <
> dhis2-devs@lists.launchpad.net>
> *Subject:* Re: [Dhis2-devs] [Dhis2-users] Inherit function for Tracked
> Entity Attributes
>
>
>
> Hi,
>
>
>
> Ticking the inherit checkbox will make an attribute - in your case "house
> hold code" - inheritable.
>
>
>
> https://play.dhis2.org/dev/dhis-web-maintenance/#/edit/trackerSection/
> trackedEntityAttribute/add
>
>
> --
>
> Abyot A. Gizaw.
>
> Senior Engineer, DHIS2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
> On Tue, Sep 12, 2017 at 7:11 AM, Stanley Kalyati 
> wrote:
>
> I want to learn also.
>
>
>
> On Sep 10, 2017 9:55 AM, "Georgi Chakarov" 
> wrote:
>
> Hello!
>
>
>
> Can someone explain how the inherit function of Tracked Entity Attribute
> in v. 2.27 works?
>
> Here’s what the user manual says on the topic:
>
> “Select *Inherit* to registry a new entity for relationship with an
> available entity, all inherit entity attribute values of the entity will be
> pre-filled in the registration form.”
>
>
>
> In short, this is what I am trying to do. In one tracker program, I am
> registering Households, which have a household code generated by DHIS2. In
> another program, I am registering household members as beneficiaries, which
> also need to have the household code in their profile. How do I make
> Household code at beneficiary registration to be inherited from the
> previously registered Households?
>
>
>
> Thanks you in advance!
>
>
>
> Georgi
>
>
>
>
> Georgi Chakarov, CIA | geo...@logicaloutcomes.net | +1-647-478-5634 x 104
> <(647)%20478-5634> | LogicalOutcomes c/o Centre for Social Innovation, 720
> Bathurst Street, Toronto Canada M5S 2R4
> <https://maps.google.com/?q=720+Bathurst+Street,+Toronto+Canada+M5S+2R4&entry=gmail&source=g>
> | *You may unsubscribe from receiving commercial electronic messages from
> LogicalOutcomes by emailing **i...@logicaloutcomes.net*
> 
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Avoid double registration of Tracked entities

2017-09-12 Thread Abyot Asalefew Gizaw
Yes, we are aware of the limitation and we are working on to improve that.
See here https://jira.dhis2.org/browse/DHIS2-677

At the moment you can only achieve that if you have something like national
id or other unique ids.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Sep 12, 2017 at 9:18 AM, Georgi Chakarov  wrote:

> Hi,
>
>
>
> This will not work, because each of this attributes can have a duplicate.
> E.g. you might have two persons by the name of “John”. It is the
> combination of those attributes that needs to be unique, as it is less
> likely to have two people with the same First Name and Surname, born on the
> same date.
>
>
>
> There should be another solution. Our clients are very surprised how a
> system is unable to lookup in the existing records and identify duplicates.
> Anyone?
>
>
>
> Georgi
>
>
>
> *From:* Abyot Asalefew Gizaw [mailto:ab...@dhis2.org]
> *Sent:* Tuesday, September 12, 2017 10:13 AM
> *To:* Stanley Kalyati 
> *Cc:* Georgi Chakarov ; DHIS Users <
> dhis2-us...@lists.launchpad.net>; DHIS 2 Developers list <
> dhis2-devs@lists.launchpad.net>
> *Subject:* Re: [Dhis2-users] Avoid double registration of Tracked entities
>
>
>
> Hi,
>
>
>
> The only possibility we have at the moment is if you make those attributes
> unique.
>
>
> --
>
> Abyot A. Gizaw.
>
> Senior Engineer, DHIS2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
> On Tue, Sep 12, 2017 at 7:10 AM, Stanley Kalyati 
> wrote:
>
> Has anyone responded to this? Am also very interested.
>
>
>
> Thanks
>
>
>
> On Sep 10, 2017 11:22 AM, "Georgi Chakarov" 
> wrote:
>
> Hello!
>
> Is there a way to avoid a double registration of Tracked entities? E.g.
> the attributes are Name, Surname, Date of Birth, can I create a program
> rule that searches if all three values match existing records to prompt a
> message that a person with such attributes already exists? Another
> suggestion is also welcome.
>
>
>
> Regards,
>
>
>
> Georgi
>
>
>
>
> Georgi Chakarov, CIA | geo...@logicaloutcomes.net | +1-647-478-5634 x 104
> <(647)%20478-5634> | LogicalOutcomes c/o Centre for Social Innovation, 720
> Bathurst Street, Toronto Canada M5S 2R4
> <https://maps.google.com/?q=720+Bathurst+Street,+Toronto+Canada+M5S+2R4&entry=gmail&source=g>
> | *You may unsubscribe from receiving commercial electronic messages from
> LogicalOutcomes by emailing **i...@logicaloutcomes.net*
> 
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Avoid double registration of Tracked entities

2017-09-12 Thread Abyot Asalefew Gizaw
Hi,

The only possibility we have at the moment is if you make those attributes
unique.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Sep 12, 2017 at 7:10 AM, Stanley Kalyati  wrote:

> Has anyone responded to this? Am also very interested.
>
> Thanks
>
> On Sep 10, 2017 11:22 AM, "Georgi Chakarov" 
> wrote:
>
>> Hello!
>>
>> Is there a way to avoid a double registration of Tracked entities? E.g.
>> the attributes are Name, Surname, Date of Birth, can I create a program
>> rule that searches if all three values match existing records to prompt a
>> message that a person with such attributes already exists? Another
>> suggestion is also welcome.
>>
>>
>>
>> Regards,
>>
>>
>>
>> Georgi
>>
>>
>>
>>
>> Georgi Chakarov, CIA | geo...@logicaloutcomes.net | +1-647-478-5634 x 104
>> <(647)%20478-5634> | LogicalOutcomes c/o Centre for Social Innovation,
>> 720 Bathurst Street, Toronto Canada M5S 2R4 | *You may unsubscribe from
>> receiving commercial electronic messages from LogicalOutcomes by emailing *
>> *i...@logicaloutcomes.net* 
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Inherit function for Tracked Entity Attributes

2017-09-12 Thread Abyot Asalefew Gizaw
Hi,

Ticking the inherit checkbox will make an attribute - in your case "house
hold code" - inheritable.

https://play.dhis2.org/dev/dhis-web-maintenance/#/edit/trackerSection/trackedEntityAttribute/add

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Sep 12, 2017 at 7:11 AM, Stanley Kalyati  wrote:

> I want to learn also.
>
> On Sep 10, 2017 9:55 AM, "Georgi Chakarov" 
> wrote:
>
>> Hello!
>>
>>
>>
>> Can someone explain how the inherit function of Tracked Entity Attribute
>> in v. 2.27 works?
>>
>> Here’s what the user manual says on the topic:
>>
>> “Select *Inherit* to registry a new entity for relationship with an
>> available entity, all inherit entity attribute values of the entity will be
>> pre-filled in the registration form.”
>>
>>
>>
>> In short, this is what I am trying to do. In one tracker program, I am
>> registering Households, which have a household code generated by DHIS2. In
>> another program, I am registering household members as beneficiaries, which
>> also need to have the household code in their profile. How do I make
>> Household code at beneficiary registration to be inherited from the
>> previously registered Households?
>>
>>
>>
>> Thanks you in advance!
>>
>>
>>
>> Georgi
>>
>>
>>
>>
>> Georgi Chakarov, CIA | geo...@logicaloutcomes.net | +1-647-478-5634 x 104
>> <(647)%20478-5634> | LogicalOutcomes c/o Centre for Social Innovation,
>> 720 Bathurst Street, Toronto Canada M5S 2R4 | *You may unsubscribe from
>> receiving commercial electronic messages from LogicalOutcomes by emailing *
>> *i...@logicaloutcomes.net* 
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Program rules/program validation(?) issue in latest 2.25

2017-04-20 Thread Abyot Asalefew Gizaw
Not sure, but I can suspect one thing: may be the removal of program rule
json object affected the rules engine... I will check on this.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Apr 20, 2017 at 11:04 AM, Olav Poppe  wrote:

> Thanks, Abyot.
>
> If the 404 to programValidations is harmless as well, do you have any
> other idea of why program rules stop working when moving an instance from a
> 2.25 build from March 10 to a build from April 20? These are the only
> errors.
>
> Olav
>
>
>
> 20. apr. 2017 kl. 10.58 skrev Abyot Asalefew Gizaw :
>
> Hi,
>
> Yes, we are aware that programValidation end point is removed ... we just
> have to remove a call to it.
>
> Call to eventCaptureGridColumns is to check if the logged in user has
> saved any column show/hide settings ... the 404 says there are no settings
> saved.
>
> The 404 errors in both cases are harmless ... users should be able to
> continue.
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Thu, Apr 20, 2017 at 10:36 AM, Olav Poppe  wrote:
>
>> Forgot to say that this in EC - TC works.
>>
>>
>> 20. apr. 2017 kl. 09.53 skrev Olav Poppe :
>>
>> Hi devs,
>> after upgrading to the latest 2.25 (build rev 1575b67) from an earlier
>> 2.25 version (build rev 210eb29), program rules have stopped working.
>> The only issues I can see in the console and tomcat log is a failed call to
>> /api/programValidations:
>>
>> In catalina.out:
>> WARNING: No mapping found for HTTP request with URI
>> [/stable/api/programValidations.json] in DispatcherServlet with
>> name ‘webapi'
>>
>> In browser console:
>> GET http://localhost:8080/stable/api/programValidations.json?pag
>> ing=false&fields=id&filter=program.id:in:[jo4akTBhEqq]&_=1492674277324
>> 404 (Not Found)
>>
>> Looks like the programValidations.json was removed in this commit:
>> https://github.com/dhis2/dhis2-core/commit/9c6c4d0385064863e
>> 730827b621c53357ff555b7
>> There were no programValidations in the first place in this database
>> (previous and working 2.25 version returns an empty result), but it is the
>> only error I get.
>>
>>
>> Well, there is also this error, but this one seems like a permanent
>> feature:
>> *404 (Not Found) -
>> http://localhost:8080/stable/api/userDataStore/gridColumns/eventCaptureGridColumns
>> <http://localhost:8080/stable/api/userDataStore/gridColumns/eventCaptureGridColumns>
>>  *
>>
>> Olav
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Program rules/program validation(?) issue in latest 2.25

2017-04-20 Thread Abyot Asalefew Gizaw
Hi,

Yes, we are aware that programValidation end point is removed ... we just
have to remove a call to it.

Call to eventCaptureGridColumns is to check if the logged in user has saved
any column show/hide settings ... the 404 says there are no settings saved.

The 404 errors in both cases are harmless ... users should be able to
continue.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Apr 20, 2017 at 10:36 AM, Olav Poppe  wrote:

> Forgot to say that this in EC - TC works.
>
>
> 20. apr. 2017 kl. 09.53 skrev Olav Poppe :
>
> Hi devs,
> after upgrading to the latest 2.25 (build rev 1575b67) from an earlier
> 2.25 version (build rev 210eb29), program rules have stopped working. The
> only issues I can see in the console and tomcat log is a failed call to
> /api/programValidations:
>
> In catalina.out:
> WARNING: No mapping found for HTTP request with URI 
> [/stable/api/programValidations.json]
> in DispatcherServlet with name ‘webapi'
>
> In browser console:
> GET http://localhost:8080/stable/api/programValidations.json?
> paging=false&fields=id&filter=program.id:in:[jo4akTBhEqq]&_=1492674277324
> 404 (Not Found)
>
> Looks like the programValidations.json was removed in this commit:
> https://github.com/dhis2/dhis2-core/commit/9c6c4d0385064863e730827b621c53
> 357ff555b7
> There were no programValidations in the first place in this database
> (previous and working 2.25 version returns an empty result), but it is the
> only error I get.
>
>
> Well, there is also this error, but this one seems like a permanent
> feature:
> *404 (Not Found) -
> http://localhost:8080/stable/api/userDataStore/gridColumns/eventCaptureGridColumns
> 
>  *
>
> Olav
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] PERIOD IN TRACKER CAPTURE

2017-04-03 Thread Abyot Asalefew Gizaw
Yes. The feature - still limited - is too complex to be back-ported for
2.25. We need more time and thinking to support periods in tracker/event
capture.

*Note: As mentioned in the earlier discussion, what is saved behind the
scene is only event dates not period. The implication of this is that there
is no period concept in our analytics and output modules.*

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Apr 3, 2017 at 3:43 PM, Stanley Kalyati  wrote:

> Thanks Abyot
>
> I am running on 2.25.
>
> This means i need to upgrade to 2.26 then.
>
> Thank you
>
> My regards
>
> Stanley
>
> On Mon, Apr 3, 2017 at 3:42 PM, Abyot Asalefew Gizaw 
> wrote:
>
>> Hi Stanley,
>>
>> We have made some improvements on this (for 2.26), mail was sent on March
>> 2. I think you were part of the conversation.
>>
>> Are you sure you are running the latest 2.26?
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Mon, Apr 3, 2017 at 3:28 PM, Stanley Kalyati 
>> wrote:
>>
>>> Dear Erling
>>>
>>> Kindly see attached photo of the issue being discussed.
>>>
>>> Thank you
>>>
>>> Stanley
>>>
>>> On Mon, Apr 3, 2017 at 3:14 PM, Erling Fjelstad 
>>> wrote:
>>>
>>>> Hello Stanley,
>>>>
>>>> Are you sure that those entities which is enrolled this week has
>>>> captured date/period? Where does it fail to show the dates? Do the dates
>>>> appear when you search the entity on the server?
>>>>
>>>> Regards,
>>>> Erling
>>>>
>>>> On Mon, Apr 3, 2017 at 12:39 PM Stanley Kalyati 
>>>> wrote:
>>>>
>>>>> Am pretty sure Absolom brought a topic on this issue but am not sure
>>>>> how it ended.however i am experiencing the same thing.
>>>>>
>>>>> Some of the entities that were enrolled last year,i am only able to
>>>>> see dates for November and December 2016.This means i am failing to 
>>>>> capture
>>>>> events for 2017.
>>>>>
>>>>> Secondly,some entities,i can only see dates for March and April,2017
>>>>> while those enrolled this week,the date/period area is blank.
>>>>>
>>>>> Does anyone have a solution to this?
>>>>>
>>>>> Otherwise am using the Android Tracker Capture but am sure there must
>>>>> be a solution.
>>>>>
>>>>> Help
>>>>>
>>>>> Stanley
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to : dhis2-devs@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] PERIOD IN TRACKER CAPTURE

2017-04-03 Thread Abyot Asalefew Gizaw
Hi Stanley,

We have made some improvements on this (for 2.26), mail was sent on March
2. I think you were part of the conversation.

Are you sure you are running the latest 2.26?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Apr 3, 2017 at 3:28 PM, Stanley Kalyati  wrote:

> Dear Erling
>
> Kindly see attached photo of the issue being discussed.
>
> Thank you
>
> Stanley
>
> On Mon, Apr 3, 2017 at 3:14 PM, Erling Fjelstad  wrote:
>
>> Hello Stanley,
>>
>> Are you sure that those entities which is enrolled this week has captured
>> date/period? Where does it fail to show the dates? Do the dates appear when
>> you search the entity on the server?
>>
>> Regards,
>> Erling
>>
>> On Mon, Apr 3, 2017 at 12:39 PM Stanley Kalyati 
>> wrote:
>>
>>> Am pretty sure Absolom brought a topic on this issue but am not sure how
>>> it ended.however i am experiencing the same thing.
>>>
>>> Some of the entities that were enrolled last year,i am only able to see
>>> dates for November and December 2016.This means i am failing to capture
>>> events for 2017.
>>>
>>> Secondly,some entities,i can only see dates for March and April,2017
>>> while those enrolled this week,the date/period area is blank.
>>>
>>> Does anyone have a solution to this?
>>>
>>> Otherwise am using the Android Tracker Capture but am sure there must be
>>> a solution.
>>>
>>> Help
>>>
>>> Stanley
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Select option in aggregate data entry

2017-03-27 Thread Abyot Asalefew Gizaw
Hi Ngoni,

Does your options have both name and code?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Mar 27, 2017 at 1:22 PM, Ngoni Manika  wrote:

> Hi Absolom
>
>
>
> Yes I did assign. The list is showing but you cannot select anything
>
>
>
> Sent from Mail  for
> Windows 10
>
>
>
> *From: *Absolom MURAMIRA 
> *Sent: *Monday, March 27, 2017 11:41 AM
> *To: *Ngoni Manika ; DHIS 2 Users list
> ; dhis2-devs
> 
> *Subject: *Re: [Dhis2-users] Select option in aggregate data entry
>
>
>
> Dear Ngoni,
>
>
>
> Did you assign the option sets to the data elements?
>
>
>
> On Monday, March 27, 2017 2:33 AM, Ngoni Manika 
> wrote:
>
>
>
> Greetings
>
>
>
> I am trying to design a system that capture veterinary information, and
> this includes text.
>
>
>
> I have designed the data elements and their respective option sets, but
> when I go for data entry I cannot select the option in the drop down list.
>
>
>
> May you please assist
>
>
>
> Sent from Mail  for
> Windows 10
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to: dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help  : https://help.launchpad.net/ListHelp
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Storing value type 'Age' in numeric form

2017-03-23 Thread Abyot Asalefew Gizaw
Hi,

Storing age as year doesn't make sense as that number will always be
relative to the date the age was entered. By storing date of birth, we are
always able to calculate a correct age.

Would be nice if you could create us a jira issue requesting for age type
data elements / attributes to be calculated in our output / analytics
modules.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Mar 23, 2017 at 9:27 AM, Archana Chillala  wrote:

> Hi
>
> We are using DHIS version 2.26. We are exploring the new value type "*Age*"
> that has been introduced with this release. On the UI, when we enter a
> date, it calculates the age in years, months and days perfectly. But we
> observe that the calculated age in years is not stored in the DB. The value
> of an Age type data element is stored only as a date (-MM-DD) in the
> database. We would like to use the age in years in analytics on the
> visualisation apps. We have tried using program indicators for the same,
> but that did not work as expected.
>
> Could you please suggest how we could leverage the use of age in years,
> given the existing functionality.
>
>
>
> *Cheers*,
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
>
> [image: www.thoughtworks.com] 
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Tracker capture continuously loading meta data

2017-03-02 Thread Abyot Asalefew Gizaw
Try to fully clear your browser cache.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Mar 2, 2017 at 10:04 AM, moses mwale  wrote:

> am trying to load a new tracker capture but its just continuously loading
> without displaying anything. Am using 2.24. What could cause this
>
> --
> developer
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Fw: Tracker Events period issue

2017-02-28 Thread Abyot Asalefew Gizaw
Hi,

Trying to clarify in case there is a misunderstanding in the creation of
event in tracker capture

   - events have two types of dates - event date and due date
   - future date is allowed for due date not for event date as the event
   date is the date where the event has happened
   - the plus icon is to "Add new" while the calendar icon is to "Schedule
   new"

A problem we have is for those events with period type - like daily,
weekly, monthly, yearly For those without period type, but only date,
the system works as expected.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Feb 28, 2017 at 11:00 AM, Stanley Kalyati 
wrote:

> I have the same issue but i have resorted to using the Mobile Tracker
> Capture instead as it gives an opportunity to backtrack dates.
>
> Unless there is another way round but I find the mobile version ideal in
> this scenario
>
> On Feb 27, 2017 8:27 PM, "Absolom MURAMIRA"  wrote:
>
>> Someone please help
>>
>>
>>
>>
>> On Friday, February 24, 2017 8:01 AM, Absolom MURAMIRA <
>> absolo...@yahoo.com> wrote:
>>
>>
>> Dear Community,
>>
>> I have a program in Tracker (DHIS v2.26) configured with 2 repeatable
>> program stages. My issue is that when i try to add new events, I am not
>> able to see months/year for 2017. it is only stuck in 2016. Has anyone
>> encountered this before and willing to advise how i can resolve it?
>> Thank you.
>>
>> Absolom
>>
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] HOW DO I LOCK A STAGE ONCE DATA IS ENTERED

2017-02-17 Thread Abyot Asalefew Gizaw
Hi,

No that won't work. The reason is that we don't have explicit authority to
(un)block a completed stage. Please file a JIRA issue and we will implement
this.

What is available currently is - a completed event / stage will be blocked
for data entry automatically. If editing is required one has to first
uncomplete it. A problem with this is is that - the same user can do both
and it is pointless to talk about blocking data entry without explicit user
roles.


--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Feb 17, 2017 at 7:18 AM, Stanley Kalyati  wrote:

> I have a tracker program and in one stage we capture ART data for the
> clients.Since initiation is done once,i want to lock this stage once data
> has been captured.Do i use the function 'Block entry form after
> completed'? will this work for the entire period this client will be with
> our program?
>
> Thanks
>
> Stanley
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Tracker Design - why are there no COMMENT field for TEIattributeValue and TEIdataValue?

2017-02-10 Thread Abyot Asalefew Gizaw
We have thought about that. The argument back then was, the atomicity in
tracker is not data value rather the event / visit.

Not sure how it makes sense to comment and latter interpret the age,
gender, address,... (and of course other services provided) of an
individual. The assumption is to have a general observation about the event
(at the visit level) and also long term observation (at the enrollment
level).

Also, it is not possible to edit comment. If a need to amend arises, one
has to write another comment - this is more like a log book.



--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Feb 10, 2017 at 10:03 AM, Calle Hedberg 
wrote:

> Abyot,
>
> Sure, I know that - I'm just interested in why the comment field wasn't
> included per data value as it is for aggregated data. Was it a deliberate
> choice? Or simply that nobody thought about it at the time? I'm thinking of
> writing a JIRA issue for it, but would like to know if there are/were
> specific considerations against a data value comment field (and if yes,
> what they were).
>
> Regards
> calle
>
> On 10 February 2017 at 10:25, Abyot Asalefew Gizaw 
> wrote:
>
>> Hi Calle,
>>
>> Though not per data value, we do have support for comment per event and
>> also per enrollment.
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Thu, Feb 9, 2017 at 5:01 PM, Calle Hedberg 
>> wrote:
>>
>>> Hi
>>>
>>> One design feature for DHIS aggregated data that has been there since
>>> 1997 is the COMMENT field - which is used to support a "rich picture" by
>>> enabling users to add explanatory comments or additional info linked
>>> directly to a specific data value.
>>>
>>> Why are there no comment fields within Events and Tracker? It's of
>>> course possible to add additional attributes or data elements to store the
>>> "richer picture" but it would be preferable to have the COMMENT option as
>>> an alternative.
>>>
>>> Regards
>>> Calle
>>>
>>> ***
>>>
>>> Calle Hedberg
>>>
>>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>>
>>> Tel/fax (home): +27-21-685-6472 <+27%2021%20685%206472>
>>>
>>> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>>>
>>> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>>>
>>> Email: calle.hedb...@gmail.com
>>>
>>> Skype: calle_hedberg
>>>
>>> ***
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
>
> --
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472 <+27%2021%20685%206472>
>
> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>
> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Tracker Design - why are there no COMMENT field for TEIattributeValue and TEIdataValue?

2017-02-10 Thread Abyot Asalefew Gizaw
Hi Calle,

Though not per data value, we do have support for comment per event and
also per enrollment.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Feb 9, 2017 at 5:01 PM, Calle Hedberg 
wrote:

> Hi
>
> One design feature for DHIS aggregated data that has been there since 1997
> is the COMMENT field - which is used to support a "rich picture" by
> enabling users to add explanatory comments or additional info linked
> directly to a specific data value.
>
> Why are there no comment fields within Events and Tracker? It's of course
> possible to add additional attributes or data elements to store the "richer
> picture" but it would be preferable to have the COMMENT option as an
> alternative.
>
> Regards
> Calle
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472 <+27%2021%20685%206472>
>
> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>
> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Error message : Form is invalid. Please checkforrequired fields.

2017-02-10 Thread Abyot Asalefew Gizaw
Hi Timothy,

Are you sure all the required data elements are part of the custom form?
That was not the case with the db you sent to me.

Can you check this without the custom form?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Feb 10, 2017 at 6:46 AM, Timothy Kiyemba  wrote:

> Dear Abyot,
>
> Just to replicate the steps a bit, I have removed my declarations for
> required fields from program rules then I have maintained it only under the
> set up of the program stage for Form 1 - training and sensitisation. I have
> declared the 9 fields as compulsory under the set up of the variables for
> the stage.  When I get back to data entry and click save, it highlights all
> required fields, I fill each of them up (all 9) but the red error message 
> "Form
> is invalid. Please check for required fields" still remains at the bottom
> of the form. I really can't figure out what I am missing.
>
> Timothy
>
> On Thu, Feb 9, 2017 at 8:09 PM, Timothy Kiyemba 
> wrote:
>
>> Could it be because I declared them both as program rules and also as
>> required fields under the program?. Is it enough for me to declare them as
>> required fields under the program stage? Just thinking
>>
>> On Thu, Feb 9, 2017 at 7:44 PM, timothy kiyemba 
>> wrote:
>>
>>> Dear Abyot,
>>>
>>> The custom form has distributed IECs variable as well. However its a
>>> yes/no field. Could it be that its not recognising it?
>>>
>>> Timothy
>>> --
>>> From: Abyot Asalefew Gizaw 
>>> Sent: ‎09/‎02/‎2017 18:13
>>> To: timothy kiyemba 
>>> Cc: dhis2-devs ; DHIS 2 Users list
>>> 
>>> Subject: Re: [Dhis2-users] Error message : Form is invalid. Please
>>> checkforrequired fields.
>>>
>>> Hi Timothy,
>>>
>>> I just checked your system - specifically program "Form 01 - Training
>>> and Sensitisation".
>>>
>>> You have *NINE* compulsory data elements, however your custom form
>>> contains only *EIGHT* of them. I think the missing data element is
>>> "Distributed IECs". Please check your custom form.
>>>
>>>
>>> --
>>> Abyot A. Gizaw.
>>> Senior Engineer, DHIS2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Wed, Feb 8, 2017 at 7:03 PM, timothy kiyemba 
>>> wrote:
>>>
>>>> Dear Abyot,
>>>>
>>>> I have cross checked. I do not have any hidden fields on the form.
>>>> Tried filling up all of them but this message continues to persist at the
>>>> bottom of the entry form.
>>>>
>>>> Timothy
>>>> --
>>>> From: Abyot Gizaw 
>>>> Sent: ‎08/‎02/‎2017 20:33
>>>> To: Timothy Kiyemba 
>>>> Cc: dhis2-devs ; DHIS 2 Users list
>>>> 
>>>> Subject: Re: [Dhis2-users] Error message : Form is invalid. Please
>>>> check forrequired fields.
>>>>
>>>> See if a required field is hidden by a program rule.
>>>>
>>>> ---
>>>>
>>>> Thank you,
>>>> Abyot.
>>>> (sent from mobile)
>>>>
>>>> On Feb 8, 2017 18:25, "Timothy Kiyemba"  wrote:
>>>>
>>>> Dear all,
>>>>
>>>> I am trying to create program rules but on trying to perform trial
>>>> entries I get the error message ;
>>>>
>>>> "Form is invalid. Please check for required fields."
>>>>
>>>> Is this a bug? or is there something I am missing.
>>>>
>>>> I have gone through all the fields and I have performed entry for all
>>>> the required fields.
>>>>
>>>> Please help. I am working with DHIS2 2.25.
>>>>
>>>> Kind regards
>>>>
>>>> Timothy
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to : dhis2-us...@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Error message : Form is invalid. Please check forrequired fields.

2017-02-09 Thread Abyot Asalefew Gizaw
Hi Timothy,

I just checked your system - specifically program "Form 01 - Training and
Sensitisation".

You have *NINE* compulsory data elements, however your custom form contains
only *EIGHT* of them. I think the missing data element is "Distributed
IECs". Please check your custom form.


--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Wed, Feb 8, 2017 at 7:03 PM, timothy kiyemba  wrote:

> Dear Abyot,
>
> I have cross checked. I do not have any hidden fields on the form. Tried
> filling up all of them but this message continues to persist at the bottom
> of the entry form.
>
> Timothy
> --
> From: Abyot Gizaw 
> Sent: ‎08/‎02/‎2017 20:33
> To: Timothy Kiyemba 
> Cc: dhis2-devs ; DHIS 2 Users list
> 
> Subject: Re: [Dhis2-users] Error message : Form is invalid. Please check
> forrequired fields.
>
> See if a required field is hidden by a program rule.
>
> ---
>
> Thank you,
> Abyot.
> (sent from mobile)
>
> On Feb 8, 2017 18:25, "Timothy Kiyemba"  wrote:
>
> Dear all,
>
> I am trying to create program rules but on trying to perform trial entries
> I get the error message ;
>
> "Form is invalid. Please check for required fields."
>
> Is this a bug? or is there something I am missing.
>
> I have gone through all the fields and I have performed entry for all the
> required fields.
>
> Please help. I am working with DHIS2 2.25.
>
> Kind regards
>
> Timothy
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Tracker capture. Error when writing a note.

2016-12-21 Thread Abyot Asalefew Gizaw
Hi Alejandro,

This is now fixed in 2.25 and master.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Dec 16, 2016 at 9:59 AM, Alejandro  wrote:

> Hi,
>
> Ok, thank you Abyot. Do you want me to report this in JIRA as a bug?
>
> Regards!
> Alejandro
>
> On Fri, Dec 16, 2016 at 9:32 AM, Abyot Asalefew Gizaw 
> wrote:
>
>> Hi,
>>
>> Yes, it affects all programs and I am looking into it.
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Fri, Dec 16, 2016 at 9:31 AM, Alejandro  wrote:
>>
>>> Hi Lars!
>>>
>>> I used "TB Program" for my test. But I think it is true for all
>>> programs, not related to a specific one.
>>>
>>> Regards!
>>> Alejandro
>>>
>>> On Thu, Dec 15, 2016 at 8:18 PM, Lars Helge Øverland 
>>> wrote:
>>>
>>>> Hi Alejandro,
>>>>
>>>> thanks for reporting. Which program did you select for this to happen?
>>>>
>>>> regards,
>>>>
>>>> Lars
>>>>
>>>> On Thu, Dec 15, 2016 at 4:22 PM, Alejandro  wrote:
>>>>
>>>>> Hello devs!
>>>>>
>>>>> We just noticed an error in Tracker Capture App related to Notes
>>>>> (DHIS2 version 2.25). It can be reproduced in the demo server by doing the
>>>>> following steps:
>>>>>
>>>>> 1) Register a new patient in one of the individual programs, in
>>>>> instance, TB Program.
>>>>>
>>>>> 2) Add a note, such as in the image below (a dashboard's note, not the
>>>>> ones you can add associated to the form).
>>>>>
>>>>> [image: Inline image 1]
>>>>> 3) Press the button Back. Look for the same patient and enter again in
>>>>> the dashboard of the program. Any tentative to complete the program
>>>>> instance raises the following error:
>>>>>
>>>>> [image: Inline image 2]
>>>>>
>>>>> Unrecognized field "heading" (class org.hisp.dhis.dxf2.events.event.Note),
>>>>> not marked as ignorable (3 known properties: "value", "storedBy",
>>>>> "storedDate"]) at [Source: java.io.BufferedInputStream@7c7adc35;
>>>>> line: 1, column: 420] (through reference chain:
>>>>> org.hisp.dhis.dxf2.events.enrollment.Enrollment["notes"]->ja
>>>>> va.util.ArrayList[0]->org.hisp.dhis.dxf2.events.event.Note["heading"])
>>>>>
>>>>> *Note:* This does not happen if the program instance is completed
>>>>> just after adding the note (without pressing the back button). But in this
>>>>> case, if you enter again in the patient dashboard and you reopen the
>>>>> program instance, you will get the same error, preventing any 
>>>>> modification.
>>>>>
>>>>> This is normal behavior, since patient data is normally registered at
>>>>> different times in tracker, and the note can be added at any point in the
>>>>> process.
>>>>>
>>>>> Can you have a look at that?
>>>>>
>>>>> Many thanks in advance for your help!
>>>>> Alejandro
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to : dhis2-devs@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Lars Helge Øverland
>>>> Lead developer, DHIS 2
>>>> University of Oslo
>>>> Skype: larshelgeoverland
>>>> l...@dhis2.org
>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>
>>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Tracker capture. Error when writing a note.

2016-12-16 Thread Abyot Asalefew Gizaw
Hi,

Yes, it affects all programs and I am looking into it.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Dec 16, 2016 at 9:31 AM, Alejandro  wrote:

> Hi Lars!
>
> I used "TB Program" for my test. But I think it is true for all programs,
> not related to a specific one.
>
> Regards!
> Alejandro
>
> On Thu, Dec 15, 2016 at 8:18 PM, Lars Helge Øverland 
> wrote:
>
>> Hi Alejandro,
>>
>> thanks for reporting. Which program did you select for this to happen?
>>
>> regards,
>>
>> Lars
>>
>> On Thu, Dec 15, 2016 at 4:22 PM, Alejandro  wrote:
>>
>>> Hello devs!
>>>
>>> We just noticed an error in Tracker Capture App related to Notes (DHIS2
>>> version 2.25). It can be reproduced in the demo server by doing the
>>> following steps:
>>>
>>> 1) Register a new patient in one of the individual programs, in
>>> instance, TB Program.
>>>
>>> 2) Add a note, such as in the image below (a dashboard's note, not the
>>> ones you can add associated to the form).
>>>
>>> [image: Inline image 1]
>>> 3) Press the button Back. Look for the same patient and enter again in
>>> the dashboard of the program. Any tentative to complete the program
>>> instance raises the following error:
>>>
>>> [image: Inline image 2]
>>>
>>> Unrecognized field "heading" (class org.hisp.dhis.dxf2.events.event.Note),
>>> not marked as ignorable (3 known properties: "value", "storedBy",
>>> "storedDate"]) at [Source: java.io.BufferedInputStream@7c7adc35; line:
>>> 1, column: 420] (through reference chain: org.hisp.dhis.dxf2.events.enro
>>> llment.Enrollment["notes"]->java.util.ArrayList[0]->org.hisp
>>> .dhis.dxf2.events.event.Note["heading"])
>>>
>>> *Note:* This does not happen if the program instance is completed just
>>> after adding the note (without pressing the back button). But in this case,
>>> if you enter again in the patient dashboard and you reopen the program
>>> instance, you will get the same error, preventing any modification.
>>>
>>> This is normal behavior, since patient data is normally registered at
>>> different times in tracker, and the note can be added at any point in the
>>> process.
>>>
>>> Can you have a look at that?
>>>
>>> Many thanks in advance for your help!
>>> Alejandro
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org 
>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Organisation Unit value type show UID instead of name

2016-12-12 Thread Abyot Asalefew Gizaw
Hi Em,

Showing orgunit name in Event and Tracker capture apps is implemented for
the coming release.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Dec 12, 2016 at 4:33 AM, Em Le Hong 
wrote:

> Dear team,
>
> In DHIS2 2.25 R.017e04e
>
> I'm trying to use new value type, it's Organisation Unit, I expect it to
> show orgUnit name in Event capture and Event report, but both show UID, is
> there anyway that I can show orgUnit name instead of uid in Event Capture
> and Event Report?
>
> Image in Event Capture
> [image: Inline image 1]
> [image: Inline image 2]
> Image in Event Report
> [image: Inline image 3]
>
> Sincerely,
> --
> Company: *HISP-Vietnam*
> Name: Em Le Hong
> Phone: +84 126 7171 650
> Skype: em.hispvietnam
>
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] HOW TO DELETE A TRACKED ENTITY IN DHIS2 2.24

2016-12-08 Thread Abyot Asalefew Gizaw
If this is about deleting tracked entity instance using tracker capture app:

It is not supported in 2.24 but in 2.25. The solution in 2.24 is to
manually delete using sql statements.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Dec 8, 2016 at 4:58 PM, Erling Fjelstad  wrote:

> Hi Stanley,
> I belive the Tracked Entity is moved to the Maintenance app. It is located
> under the section "Program".
>
> Regards,
> Erling
>
> On Thu, Dec 8, 2016 at 3:45 PM Stanley Kalyati  wrote:
>
>> I am using DHIS2 2.24 build 037a39f and i would like to delete a tracked
>> entity.
>>
>> Anybody with an idea.
>>
>> Thanks
>>
>> Stanley
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Events not getting auto-generated

2016-12-06 Thread Abyot Asalefew Gizaw
Hi Arun,

There happens to be a bug when auto generating event. It is fixed from
master (2.26) all the way to 2.23.

Thank you for reporting.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Nov 18, 2016 at 9:07 AM, Abyot Asalefew Gizaw 
wrote:

> Is it possible to access your system so that I can take a close look? or
> share your db privately?
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Nov 18, 2016 at 5:58 AM, Arun Paul  wrote:
>
>> Hi Abyot,
>>
>> That's not the case. Anyway I cleaned the browser cache just to be double
>> sure.
>> The issue is still not solved.
>> Any other ideas?
>>
>> ​Thanks
>> ,
>> - Arun Paul
>>
>> On Wed, Nov 16, 2016 at 11:19 AM, Abyot Asalefew Gizaw 
>> wrote:
>>
>>> May be the meta data is changed after the app has run... if this is the
>>> case, the solution is to fully clear your browser cache and run the app
>>> again.
>>>
>>> ---
>>>
>>> Thank you,
>>> Abyot.
>>> (sent from mobile)
>>>
>>> On Nov 16, 2016 03:39, "Arun Paul"  wrote:
>>>
>>>> Hi Abyot,
>>>>
>>>> This issue is still not resolved. I am attaching the screenshots here.
>>>> I could not find anything error-like on the browser console too. I have
>>>> attached the both the screenshots, just after enrolling to the program and
>>>> just after manually generating the stage1 event.
>>>>
>>>>
>>>> Let me know if you find anything.
>>>> Thanks in advance.
>>>>
>>>> - Arun Paul
>>>>
>>>> On Mon, Nov 14, 2016 at 12:25 PM, Abyot Asalefew Gizaw >>> > wrote:
>>>>
>>>>> Hi Arun,
>>>>>
>>>>> It works fine in our demo server - which is 2.25. I don't remember any
>>>>> big change in that area between 2.23 and 2.25.
>>>>>
>>>>> Can you share us some screenshots? Also, do you see anything in red
>>>>> under your browser console?
>>>>>
>>>>> --
>>>>> Abyot A. Gizaw.
>>>>> Senior Engineer, DHIS2
>>>>> University of Oslo
>>>>> http://www.dhis2.org
>>>>>
>>>>> On Mon, Nov 14, 2016 at 6:11 AM, Arun Paul 
>>>>> wrote:
>>>>>
>>>>>> Thanks Prosper.
>>>>>> Yes I set the incident date as the delivery date but it does not help.
>>>>>> Is there anything else I have to check?
>>>>>>
>>>>>> Regards,
>>>>>> Arun
>>>>>>
>>>>>> On Mon, Nov 14, 2016 at 1:09 AM, Prosper BT 
>>>>>> wrote:
>>>>>>
>>>>>>> Dear Arun,
>>>>>>>
>>>>>>> Is delivery date your incident date?
>>>>>>> You must have an incident date or use enrollment date for the auto
>>>>>>> generate events to work.
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> Prosper Behumbiize, MPH
>>>>>>> DHIS2 Implementation| HISP Uganda/University Of Oslo
>>>>>>> +256 752 751 776 | +256 776 139 139
>>>>>>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>>>>>>> prospertb
>>>>>>>
>>>>>>> On Sat, Nov 12, 2016 at 3:22 PM, Arun Paul 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi everyone,
>>>>>>>>
>>>>>>>> I am creating a program for tracking the PNC visits in the lines of
>>>>>>>>
>>>>>>>> "​
>>>>>>>> MNCH / PNC (Adult Woman)
>>>>>>>> ​"​ Program configured in the Sierra Leon Demo system.
>>>>>>>>
>>>>>>>> In my case I have created multiple PNC visits such as PNC 1, PNC2,
>>>>>>>> PNC3 that would occur at 1,3,5 days after the delivery date which is 
>>>>>>>> the
>>>>>>>> incident date of the program.
>>>>>>>>
>>>>>>>> I would like these events to be auto-generated at scheduled days,
>>>>>>>> so that I can generate overdue reports for the health workers to act 
>>>>>>>> upon.
>>>>>>>> However, I cannot get this working, despite doing all the
>>>>>>>> configurations(Listed down below). Even after the required number of 
>>>>>>>> days,
>>>>>>>>  I can't see the overdue events are being generated for the patients, 
>>>>>>>> nor
>>>>>>>> can I see them listed in the events overdue reports.
>>>>>>>>
>>>>>>>> In the program stage configuration for each stages :
>>>>>>>> "Scheduled days from start" was given a valid value.
>>>>>>>> "Auto-generate event" was ticked on.
>>>>>>>>
>>>>>>>> Have I missed any configuration? I am using version 2.23.
>>>>>>>>
>>>>>>>> Please help.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Arun Paul.
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>>> Post to : dhis2-us...@lists.launchpad.net
>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ___
>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>> Post to : dhis2-us...@lists.launchpad.net
>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>>>>
>>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Moving an entity from one organisation unit to another

2016-12-05 Thread Abyot Asalefew Gizaw
Hi Arun,

This is something we have been discussing a lot... at the moment it is not
possible.

However, you can search a TEI from another village, enroll and/or provide
service in a different village.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Dec 5, 2016 at 7:06 AM, Arun Paul  wrote:

> Hello Everyone,
>
> I am setting up DHIS2 Tracker to manage community health data of about 30k
> persons in 13 villages around a hospital.
>
> In the initial setup, I have registered all the persons in the system
> associated with respective organisation units.
> In future, there is a chance that a person will break away from the
> current household and village to establish a different household, perhaps
> in another village.
>
> To model this scenario, is there a way in DHIS2 to move the registered
> entity(person) from one organisation unit to another?
>
> Thanks in advance.
>
> - Arun Paul
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] How to get just the newly created TEIs?

2016-11-24 Thread Abyot Asalefew Gizaw
since you are mentioning program, you could use enrollment date. See
programEnrollmentStartDate & programEnrollmentEndDate

https://play.dhis2.org/demo/api/trackedEntityInstances/query.json?ou=ImspTQPwCqd&ouMode=DESCENDANTS&program=ur1Edk5Oe2n&&programEnrollmentStartDate=2016-11-01&programEnrollmentEndDate=2016-11-23&pageSize=50&page=1&totalPages=true

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Nov 24, 2016 at 7:27 PM, Abyot Asalefew Gizaw 
wrote:

> Since created is a TEI property, it should be possible to filter on the
> TEI without using attrbibutes ... but seems we have a bug there
>
> https://play.dhis2.org/demo/api/trackedEntityInstances/
> query.json?ou=ImspTQPwCqd&ouMode=SELECTED&created:GE:
> 2016-11-01&pageSize=50&page=1&totalPages=true
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Thu, Nov 24, 2016 at 6:56 PM, Knut Staring  wrote:
>
>> Thanks - but you are then saying it cannot be done? Or is it possible
>> using one of the other endpoints?
>>
>> On Thu, Nov 24, 2016 at 6:52 PM, Halvdan Hoem Grelland > > wrote:
>>
>>> Hi,
>>>
>>> This is because
>>>   a) 'created' is not a TEAttribute of the TE(I) (it is a property of
>>> the TEI object)
>>>   b) If you could do this, the format would be :GE:
>>>   c) The date would be in -MM-dd format (not dots).
>>>
>>> On Thu, Nov 24, 2016 at 4:32 PM, Knut Staring  wrote:
>>>
>>>> Something like this doesn´t work:
>>>>
>>>> https://play.dhis2.org/test/api/trackedEntityInstances/query
>>>> .json?ou=DiszpKrYNg8&program=ur1Edk5Oe2n&skipPaging=true&att
>>>> ribute=created:GE:2013.10.08
>>>> --
>>>> Knut Staring
>>>> Dept. of Informatics, University of Oslo
>>>> Norway: +4791880522
>>>> Skype: knutstar
>>>> http://dhis2.org
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Halvdan Hoem Grelland
>>> Software developer, DHIS 2
>>> University of Oslo
>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>
>>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> Norway: +4791880522
>> Skype: knutstar
>> http://dhis2.org
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] How to get just the newly created TEIs?

2016-11-24 Thread Abyot Asalefew Gizaw
Since created is a TEI property, it should be possible to filter on the TEI
without using attrbibutes ... but seems we have a bug there

https://play.dhis2.org/demo/api/trackedEntityInstances/query.json?ou=ImspTQPwCqd&ouMode=SELECTED&created:GE:2016-11-01&pageSize=50&page=1&totalPages=true

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Nov 24, 2016 at 6:56 PM, Knut Staring  wrote:

> Thanks - but you are then saying it cannot be done? Or is it possible
> using one of the other endpoints?
>
> On Thu, Nov 24, 2016 at 6:52 PM, Halvdan Hoem Grelland 
> wrote:
>
>> Hi,
>>
>> This is because
>>   a) 'created' is not a TEAttribute of the TE(I) (it is a property of the
>> TEI object)
>>   b) If you could do this, the format would be :GE:
>>   c) The date would be in -MM-dd format (not dots).
>>
>> On Thu, Nov 24, 2016 at 4:32 PM, Knut Staring  wrote:
>>
>>> Something like this doesn´t work:
>>>
>>> https://play.dhis2.org/test/api/trackedEntityInstances/query
>>> .json?ou=DiszpKrYNg8&program=ur1Edk5Oe2n&skipPaging=true&att
>>> ribute=created:GE:2013.10.08
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522
>>> Skype: knutstar
>>> http://dhis2.org
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Halvdan Hoem Grelland
>> Software developer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org 
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Urgent :yes/no Data Element Saving issue in Tracker form sometime

2016-11-22 Thread Abyot Asalefew Gizaw
Hi Dipali,

Seems you have a strange issue - sometimes it works sometime not? Do you
see and pattern - when it s working when is not? Do you see any error log?
Also - do you have custom script? What is you custom css doing?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Nov 21, 2016 at 5:43 PM, Dipali Sahu  wrote:

> Hi
>
> I have an urgent issue here, any leads will be helpful.
>
> I have a few tracker data elements of Yes/No type that don't save data
> value sometimes in a Tracker program. The value is successfully entered
> (check or cross in the box) but when I return to the form, it doesn't show
> on the form AS WELL AS in REPORTS.
>
>
>- Its only sometimes that the value is not saved, because there are
>already about 700 records where the data value is saved.
>- Could it be because we have a custom css and since the yes/no data
>elements are changed from dropdown to radio buttons , it causes the problem
>sometimes.
>- It is only Yes/no elements that are not shown, rest of the element
>values on the form are shown.
>- Data element configuration is correct.
>- Replacing the DE with a new one might not be the resolution because
>we are not sure how many of such elements that do not save data sometime.
>Also, the issue surfaced only after we had about 600 records already saved.
>We guessed that there might be some change in the DB that causing the
>issue. But even after the issue was reported, data still keeps saving most
>of the time , and now we have a total of 700 records.
>
> Thank you
> Deepali
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Phone number and double entry fields for 2.25 still persisting

2016-11-22 Thread Abyot Asalefew Gizaw
Hi Rebecca,

Yes, value type *LETTER* is not supported at the moment - but we will
implement it for the next release.

In the mean time, is it possible for you to use value type *TEXT* instead
of *LETTER*. With value type *LETTER*, the system allows you to capture
only one character. If this is really what you wanted, use value type *TEXT*
and enter only one character.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Nov 21, 2016 at 6:47 PM, Smith, Rebecca A.  wrote:

> Hi Abyot and team,
>
>
>
> I’m getting a similar “unsupported value type” error for “letters only”
> text in the program attributes.
>
>
>
> It’s occurring on both my instance and the demo server.
>
> Version:
>
> 2.25
>
> Build revision:
>
> 0a8fe47
>
>
>
> Appreciate your help. Thanks,
>
> Becky
>
>
>
> *From:* Dhis2-devs [mailto:dhis2-devs-bounces+rs3524=cumc.columbia.edu@
> lists.launchpad.net] *On Behalf Of *Prosper BT
> *Sent:* Monday, November 21, 2016 7:56 AM
> *To:* Abyot Asalefew Gizaw
> *Cc:* Nyaga, Rufus | APHL; Rachael W.; nelson akenga; DHIS developers
> *Subject:* Re: [Dhis2-devs] Phone number and double entry fields for 2.25
> still persisting
>
>
>
> Thanks Abyot,
>
>
>
> Tested it in Incognito and works
>
>
>
> Regards
>
>
> Prosper Behumbiize, MPH
>
> DHIS2 Implementation| HISP Uganda/University Of Oslo
> +256 752 751 776 | +256 776 139 139
>
> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
> prospertb
>
>
>
> On Mon, Nov 21, 2016 at 3:09 PM, Abyot Asalefew Gizaw 
> wrote:
>
> It is working fine here. May be a cache issue...
>
> [image: Inline image 2]
>
>
> --
>
> Abyot A. Gizaw.
>
> Senior Engineer, DHIS2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
> On Mon, Nov 21, 2016 at 10:50 AM, Nyaga, Rufus | APHL <
> rufus.ny...@ken.aphl.org> wrote:
>
> Hi Abyot,
>
>
>
> I have also noted the coordinate field type does not work on the app it
> throws an error “Unsupported value type : Coordiate”
>
>
>
>
>
> *RUFUS K. NYAGA*
>
> LIS Technical Consultant and PM
> *Association of Public Health Laboratories*
>
> *P* +254 720 261 486
>
>
>
> *From:* Prosper BT [mailto:ptb3...@gmail.com]
> *Sent:* Monday, November 21, 2016 11:35 AM
> *To:* Abyot Asalefew Gizaw 
> *Cc:* Lars Helge Øverland ; DHIS developers <
> dhis2-devs@lists.launchpad.net>; Nyaga, Rufus | APHL <
> rufus.ny...@ken.aphl.org>; Rachael W. ; nelson
> akenga 
> *Subject:* Re: Phone number and double entry fields for 2.25 still
> persisting
>
>
>
> Hi Abyot,
>
>
>
> The screen shot is taken from the current build on the demo server,
> actually the data elements I created them today they are still available.
>
>
>
> Got to the event and choose Inpatient morbidity mortality
>
>
>
> Regards
>
>
> Prosper Behumbiize, MPH
>
> DHIS2 Implementation| HISP Uganda/University Of Oslo
> +256 752 751 776 | +256 776 139 139
>
> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
> prospertb
>
>
>
> On Mon, Nov 21, 2016 at 10:11 AM, Abyot Asalefew Gizaw 
> wrote:
>
> Hi Prosper,
>
>
>
> Yes, it is fixed. Seems a wrong version of the app is picked... can you
> reproduce this in our demo and dev servers?
>
>
> --
>
> Abyot A. Gizaw.
>
> Senior Engineer, DHIS2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
> On Mon, Nov 21, 2016 at 7:17 AM, Prosper BT  wrote:
>
> Dear Abyot and team,
>
>
>
> Reading your last communications, you had said these were fixed, are they
> reappearing?
>
>
>
> Phone number field and double entry fields for text. This is taken from
> the latest build of demo 2.25.
>
>
>
> [image: Inline image 1]
>
>
>
>
>
>
>
> Prosper Behumbiize, MPH
>
> DHIS2 Implementation| HISP Uganda/University Of Oslo
> +256 752 751 776 | +256 776 139 139
>
> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
> prospertb
>
>
>
>
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Phone Number not supported as Data element value type

2016-11-18 Thread Abyot Asalefew Gizaw
Hi Prosper,

A fix is deployed.



--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Nov 18, 2016 at 9:09 AM, Abyot Asalefew Gizaw 
wrote:

> Ok, it is because we made our forms some how strict ... will be fixed soon.
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Nov 18, 2016 at 5:15 AM, Prosper BT  wrote:
>
>> Dear Team,
>>
>> With the latest build of 2.25,
>> Version:2.25Build revision:a129625
>>
>> Data element value type - Phone Number is not supported see below
>>
>> [image: Inline image 1]
>>
>> Yet its okay for attributes
>> [image: Inline image 2]
>>
>> Regards
>>
>> Prosper Behumbiize, MPH
>> DHIS2 Implementation| HISP Uganda/University Of Oslo
>> +256 752 751 776 | +256 776 139 139
>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>> prospertb
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Phone Number not supported as Data element value type

2016-11-18 Thread Abyot Asalefew Gizaw
Ok, it is because we made our forms some how strict ... will be fixed soon.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Nov 18, 2016 at 5:15 AM, Prosper BT  wrote:

> Dear Team,
>
> With the latest build of 2.25,
> Version:2.25Build revision:a129625
>
> Data element value type - Phone Number is not supported see below
>
> [image: Inline image 1]
>
> Yet its okay for attributes
> [image: Inline image 2]
>
> Regards
>
> Prosper Behumbiize, MPH
> DHIS2 Implementation| HISP Uganda/University Of Oslo
> +256 752 751 776 | +256 776 139 139
> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
> prospertb
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Events not getting auto-generated

2016-11-18 Thread Abyot Asalefew Gizaw
Is it possible to access your system so that I can take a close look? or
share your db privately?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Nov 18, 2016 at 5:58 AM, Arun Paul  wrote:

> Hi Abyot,
>
> That's not the case. Anyway I cleaned the browser cache just to be double
> sure.
> The issue is still not solved.
> Any other ideas?
>
> ​Thanks
> ,
> - Arun Paul
>
> On Wed, Nov 16, 2016 at 11:19 AM, Abyot Asalefew Gizaw 
> wrote:
>
>> May be the meta data is changed after the app has run... if this is the
>> case, the solution is to fully clear your browser cache and run the app
>> again.
>>
>> ---
>>
>> Thank you,
>> Abyot.
>> (sent from mobile)
>>
>> On Nov 16, 2016 03:39, "Arun Paul"  wrote:
>>
>>> Hi Abyot,
>>>
>>> This issue is still not resolved. I am attaching the screenshots here.
>>> I could not find anything error-like on the browser console too. I have
>>> attached the both the screenshots, just after enrolling to the program and
>>> just after manually generating the stage1 event.
>>>
>>>
>>> Let me know if you find anything.
>>> Thanks in advance.
>>>
>>> - Arun Paul
>>>
>>> On Mon, Nov 14, 2016 at 12:25 PM, Abyot Asalefew Gizaw 
>>> wrote:
>>>
>>>> Hi Arun,
>>>>
>>>> It works fine in our demo server - which is 2.25. I don't remember any
>>>> big change in that area between 2.23 and 2.25.
>>>>
>>>> Can you share us some screenshots? Also, do you see anything in red
>>>> under your browser console?
>>>>
>>>> --
>>>> Abyot A. Gizaw.
>>>> Senior Engineer, DHIS2
>>>> University of Oslo
>>>> http://www.dhis2.org
>>>>
>>>> On Mon, Nov 14, 2016 at 6:11 AM, Arun Paul  wrote:
>>>>
>>>>> Thanks Prosper.
>>>>> Yes I set the incident date as the delivery date but it does not help.
>>>>> Is there anything else I have to check?
>>>>>
>>>>> Regards,
>>>>> Arun
>>>>>
>>>>> On Mon, Nov 14, 2016 at 1:09 AM, Prosper BT  wrote:
>>>>>
>>>>>> Dear Arun,
>>>>>>
>>>>>> Is delivery date your incident date?
>>>>>> You must have an incident date or use enrollment date for the auto
>>>>>> generate events to work.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Prosper Behumbiize, MPH
>>>>>> DHIS2 Implementation| HISP Uganda/University Of Oslo
>>>>>> +256 752 751 776 | +256 776 139 139
>>>>>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>>>>>> prospertb
>>>>>>
>>>>>> On Sat, Nov 12, 2016 at 3:22 PM, Arun Paul 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi everyone,
>>>>>>>
>>>>>>> I am creating a program for tracking the PNC visits in the lines of
>>>>>>> "​
>>>>>>> MNCH / PNC (Adult Woman)
>>>>>>> ​"​ Program configured in the Sierra Leon Demo system.
>>>>>>>
>>>>>>> In my case I have created multiple PNC visits such as PNC 1, PNC2,
>>>>>>> PNC3 that would occur at 1,3,5 days after the delivery date which is the
>>>>>>> incident date of the program.
>>>>>>>
>>>>>>> I would like these events to be auto-generated at scheduled days, so
>>>>>>> that I can generate overdue reports for the health workers to act upon.
>>>>>>> However, I cannot get this working, despite doing all the
>>>>>>> configurations(Listed down below). Even after the required number of 
>>>>>>> days,
>>>>>>>  I can't see the overdue events are being generated for the patients, 
>>>>>>> nor
>>>>>>> can I see them listed in the events overdue reports.
>>>>>>>
>>>>>>> In the program stage configuration for each stages :
>>>>>>> "Scheduled days from start" was given a valid value.
>>>>>>> "Auto-generate event" was ticked on.
>>>>>>>
>>>>>>> Have I missed any configuration? I am using version 2.23.
>>>>>>>
>>>>>>> Please help.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Arun Paul.
>>>>>>>
>>>>>>> ___
>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>> Post to : dhis2-us...@lists.launchpad.net
>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>> Post to : dhis2-us...@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Cannot register an event

2016-11-16 Thread Abyot Asalefew Gizaw
Hi Brent,

This, I think, is related to the other bug we just responded. See "Bug in
the last build of 2.25 when registering a tracked entity in any program"...

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Wed, Nov 16, 2016 at 11:57 AM, Brent Williams  wrote:

> Hi,
>
>
>
> Version:  2.24,
>
> Build d4a9806,
>
> Build date: 2016-11-16 06:20
>
>
>
> Using the tracker capture App, while trying to save an event the following
> error message shows on screen “ Error in registration’
>
> Attached is the logs. Could you please help with what the error messages
> means and a possible fix
>
>
>
> Brent Williams
>
>   [image: cid:image001.png@01CE610B.93E5D290]
>
> Project Implementation
> *Health Information Systems Program (HISP) - SA*
>
> ---
>
> *e-mail:*br...@hisp.org
> *Mobile:   *071 542 9140
>
> *Skype:*brent.williams267
> *Web: *  http://www.hisp.org
>
>
>
> *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-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Bug in the last build of 2.25 when registering a tracked entity in any program

2016-11-16 Thread Abyot Asalefew Gizaw
Hi Alejandro,

Thanks for reporting. Yes it is failing and we are looking into it...

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Wed, Nov 16, 2016 at 9:58 AM, Alejandro  wrote:

> Hi!
>
> We just updated one of our 2.25 servers to the last build yesterday (
> 8b67806) and noticed there is a bug in the registration of tracked
> entities (Tracker Capture). It is raised when you click on save, after the
> enrollment form, and it prevents the registrations (see below).
>
> The same behavior was reproduced in the the demo instance today (692dd9a
> ): https://play.dhis2.org/demo
>
> [image: Inline image 2]
>
> [image: Inline image 1]
>
> Given the http answer, it seems that registering the organisation unit is
> the issue.
>
> {"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"At 
> least one organisation unit must be specified"}
>
> Can you have a look at it?
>
>
> Many thanks in advance!
>
> Alejandro
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Events not getting auto-generated

2016-11-15 Thread Abyot Asalefew Gizaw
May be the meta data is changed after the app has run... if this is the
case, the solution is to fully clear your browser cache and run the app
again.

---

Thank you,
Abyot.
(sent from mobile)

On Nov 16, 2016 03:39, "Arun Paul"  wrote:

> Hi Abyot,
>
> This issue is still not resolved. I am attaching the screenshots here.
> I could not find anything error-like on the browser console too. I have
> attached the both the screenshots, just after enrolling to the program and
> just after manually generating the stage1 event.
>
>
> Let me know if you find anything.
> Thanks in advance.
>
> - Arun Paul
>
> On Mon, Nov 14, 2016 at 12:25 PM, Abyot Asalefew Gizaw 
> wrote:
>
>> Hi Arun,
>>
>> It works fine in our demo server - which is 2.25. I don't remember any
>> big change in that area between 2.23 and 2.25.
>>
>> Can you share us some screenshots? Also, do you see anything in red under
>> your browser console?
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Mon, Nov 14, 2016 at 6:11 AM, Arun Paul  wrote:
>>
>>> Thanks Prosper.
>>> Yes I set the incident date as the delivery date but it does not help.
>>> Is there anything else I have to check?
>>>
>>> Regards,
>>> Arun
>>>
>>> On Mon, Nov 14, 2016 at 1:09 AM, Prosper BT  wrote:
>>>
>>>> Dear Arun,
>>>>
>>>> Is delivery date your incident date?
>>>> You must have an incident date or use enrollment date for the auto
>>>> generate events to work.
>>>>
>>>> Regards
>>>>
>>>> Prosper Behumbiize, MPH
>>>> DHIS2 Implementation| HISP Uganda/University Of Oslo
>>>> +256 752 751 776 | +256 776 139 139
>>>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>>>> prospertb
>>>>
>>>> On Sat, Nov 12, 2016 at 3:22 PM, Arun Paul  wrote:
>>>>
>>>>> Hi everyone,
>>>>>
>>>>> I am creating a program for tracking the PNC visits in the lines of
>>>>> "​
>>>>> MNCH / PNC (Adult Woman)
>>>>> ​"​ Program configured in the Sierra Leon Demo system.
>>>>>
>>>>> In my case I have created multiple PNC visits such as PNC 1, PNC2,
>>>>> PNC3 that would occur at 1,3,5 days after the delivery date which is the
>>>>> incident date of the program.
>>>>>
>>>>> I would like these events to be auto-generated at scheduled days, so
>>>>> that I can generate overdue reports for the health workers to act upon.
>>>>> However, I cannot get this working, despite doing all the
>>>>> configurations(Listed down below). Even after the required number of days,
>>>>>  I can't see the overdue events are being generated for the patients, nor
>>>>> can I see them listed in the events overdue reports.
>>>>>
>>>>> In the program stage configuration for each stages :
>>>>> "Scheduled days from start" was given a valid value.
>>>>> "Auto-generate event" was ticked on.
>>>>>
>>>>> Have I missed any configuration? I am using version 2.23.
>>>>>
>>>>> Please help.
>>>>>
>>>>> Thanks,
>>>>> Arun Paul.
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>> Post to : dhis2-us...@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1631021] Re: DataType COORD - rounding missing

2016-11-15 Thread Abyot Asalefew Gizaw
Fixed since 2.25.

** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  DataType COORD - rounding missing

Status in DHIS:
  Fix Released

Bug description:
  When using the COORD type in tracker, and picking some coordinate from
  the map, the coordinates appear with 15 decimals. That level of
  precision makes no sense - it should be automatically rounded to 6
  decimals (equivalent to around 10-20cm accuracy, more than enough for
  health purposes)

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

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


Re: [Dhis2-devs] [Dhis2-users] Events not getting auto-generated

2016-11-13 Thread Abyot Asalefew Gizaw
Hi Arun,

It works fine in our demo server - which is 2.25. I don't remember any big
change in that area between 2.23 and 2.25.

Can you share us some screenshots? Also, do you see anything in red under
your browser console?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Nov 14, 2016 at 6:11 AM, Arun Paul  wrote:

> Thanks Prosper.
> Yes I set the incident date as the delivery date but it does not help.
> Is there anything else I have to check?
>
> Regards,
> Arun
>
> On Mon, Nov 14, 2016 at 1:09 AM, Prosper BT  wrote:
>
>> Dear Arun,
>>
>> Is delivery date your incident date?
>> You must have an incident date or use enrollment date for the auto
>> generate events to work.
>>
>> Regards
>>
>> Prosper Behumbiize, MPH
>> DHIS2 Implementation| HISP Uganda/University Of Oslo
>> +256 752 751 776 | +256 776 139 139
>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>> prospertb
>>
>> On Sat, Nov 12, 2016 at 3:22 PM, Arun Paul  wrote:
>>
>>> Hi everyone,
>>>
>>> I am creating a program for tracking the PNC visits in the lines of
>>> "​
>>> MNCH / PNC (Adult Woman)
>>> ​"​ Program configured in the Sierra Leon Demo system.
>>>
>>> In my case I have created multiple PNC visits such as PNC 1, PNC2, PNC3
>>> that would occur at 1,3,5 days after the delivery date which is the
>>> incident date of the program.
>>>
>>> I would like these events to be auto-generated at scheduled days, so
>>> that I can generate overdue reports for the health workers to act upon.
>>> However, I cannot get this working, despite doing all the
>>> configurations(Listed down below). Even after the required number of days,
>>>  I can't see the overdue events are being generated for the patients, nor
>>> can I see them listed in the events overdue reports.
>>>
>>> In the program stage configuration for each stages :
>>> "Scheduled days from start" was given a valid value.
>>> "Auto-generate event" was ticked on.
>>>
>>> Have I missed any configuration? I am using version 2.23.
>>>
>>> Please help.
>>>
>>> Thanks,
>>> Arun Paul.
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Possible bug with event data capture without the 'ALL' authority?

2016-11-11 Thread Abyot Asalefew Gizaw
We haven't changed anything related to authority.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Nov 11, 2016 at 1:53 PM, Sam Johnson 
wrote:

> Hi Abyot,
>
>
>
> Thanks for your reply.  It’s good to know that’s the only authority needed
> – I had included it, but was still getting these odd persistence errors
> unless the ‘ALL’ authority was also included.
>
>
>
> I’ve now upgraded to the latest update of 2.25, and the problem has
> disappeared!  I’m not sure what happened here – I hadn’t tried restarting
> the server, so perhaps that fixed something?   Or is someone actively
> working on permissions/persistence for the web EventCapture app in 2.25,
> and this was temporarily introduced as a bug?
>
>
>
> Anyway, all now seems to be working.
>
>
>
> Cheers, Sam.
>
>
>
>
>
> *From: *Abyot Asalefew Gizaw 
> *Date: *Friday, 11 November 2016 at 07:58
> *To: *Sam Johnson 
> *Cc: *DHIS2 Developers 
> *Subject: *Re: [Dhis2-devs] Possible bug with event data capture without
> the 'ALL' authority?
>
>
>
> Hi,
>
>
>
> The required authority to save event is either
> *F_TRACKED_ENTITY_DATAVALUE_ADD* which is (Add/Update Tracked Entity Data
> Value)  or *ALL*.
>
>
> --
>
> Abyot A. Gizaw.
>
> Senior Engineer, DHIS2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
> On Fri, Nov 11, 2016 at 12:19 AM, Sam Johnson 
> wrote:
>
> Hi all, am just-resending this, as it doesn’t seem to have got through to
> the mailing list (apologies if I end up double-posting).
>
>
>
> In my 2.25 instance, I’m running into problems when a user without the
> ‘ALL’ authority attempts to save an event-without-registration: it caches
> the data values, but doesn’t save them into the database.
>
>
>
> I’m using 2.25, revision 221c5d8 (Wed morning), Chrome 54.0.2840.71
> (64-bit),
>
>
>
> Specifically:
>
> · I can successfully open EventCapture, register a new event, and
> start capturing data.
>
> · However, when I save, a programStageInstance is created in the
> database, but no records are saved to the trackedEntityDataValues table.
>
> · Re-opening the event at first displays the data that was
> entered (but if the cache is cleared, it will appear empty, since no data
> has in fact been saved).
>
> · If the browser is refreshed before clearing the cache, the
> message “There is data stored locally, please upload to server” appears,
> even though I’m online.
>
> · Clicking ‘Update’ starts the upload to server, but it never
> completes (the logs show a single entry:
> * INFO  2016-11-10 13:38:14,583 Import done: 00:00:00.000 (Clock.java
> [http-bio-8080-exec-7])
>
> · After clearing the cache, if the event is opened and fresh data
> entered, it sometimes updates the existing event, and sometimes creates a
> duplicate event on the same date; in both cases, the data is just cached,
> and although two events still appear if the cache is cleared, they are both
> empty again.
>
>
>
> I don’t think this relates to a specific authority, as I’ve tried it with:
>
> · a role with just selected EventCapture authorities
>
> · a role with *every* authority except ‘ALL’
>
> · a role with the ‘ALL’ authority.
>
> Users with the ‘ALL’ role can successfully capture data, the other two run
> into this issue.
>
>
>
> I also don’t think it relates to sharing, as I’ve opened up data element
> and program sharing to rw-- for the relevant User Group.  (The program
> contains only yes/no data elements, so there are no Option Sets to share.)
>
>
>
> Is there some other aspect of sharing/authorities I’ve missed?  (The
> documentation includes an authority for ‘Single Event Without Registration
> Data Entry’ / ‘F_ANONYMOUS_DATA_ENTRY’, but that’s not available via the
> UI, and I’m guessing it doesn’t really exist any longer?)
>
>
>
> Or is there perhaps a bug in part of the persistence process, which
> requires ‘ALL’ permissions?  I’m wondering if this bug might have been
> introduced into 2.25 by a recent update, as I’m pretty sure I successfully
> captured events using this user/role a week or two ago…
>
>
>
> I have a project that’s completely stuck on this, so very grateful for any
> enlightenment anyone can provide…
>
>
>
> Cheers, Sam.
>
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Possible bug with event data capture without the 'ALL' authority?

2016-11-10 Thread Abyot Asalefew Gizaw
Hi,

The required authority to save event is either
*F_TRACKED_ENTITY_DATAVALUE_ADD* which is (Add/Update Tracked Entity Data
Value)  or *ALL*.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Nov 11, 2016 at 12:19 AM, Sam Johnson 
wrote:

> Hi all, am just-resending this, as it doesn’t seem to have got through to
> the mailing list (apologies if I end up double-posting).
>
>
>
> In my 2.25 instance, I’m running into problems when a user without the
> ‘ALL’ authority attempts to save an event-without-registration: it caches
> the data values, but doesn’t save them into the database.
>
>
>
> I’m using 2.25, revision 221c5d8 (Wed morning), Chrome 54.0.2840.71
> (64-bit),
>
>
>
> Specifically:
>
> · I can successfully open EventCapture, register a new event, and
> start capturing data.
>
> · However, when I save, a programStageInstance is created in the
> database, but no records are saved to the trackedEntityDataValues table.
>
> · Re-opening the event at first displays the data that was
> entered (but if the cache is cleared, it will appear empty, since no data
> has in fact been saved).
>
> · If the browser is refreshed before clearing the cache, the
> message “There is data stored locally, please upload to server” appears,
> even though I’m online.
>
> · Clicking ‘Update’ starts the upload to server, but it never
> completes (the logs show a single entry:
> * INFO  2016-11-10 13:38:14,583 Import done: 00:00:00.000 (Clock.java
> [http-bio-8080-exec-7])
>
> · After clearing the cache, if the event is opened and fresh data
> entered, it sometimes updates the existing event, and sometimes creates a
> duplicate event on the same date; in both cases, the data is just cached,
> and although two events still appear if the cache is cleared, they are both
> empty again.
>
>
>
> I don’t think this relates to a specific authority, as I’ve tried it with:
>
> · a role with just selected EventCapture authorities
>
> · a role with *every* authority except ‘ALL’
>
> · a role with the ‘ALL’ authority.
>
> Users with the ‘ALL’ role can successfully capture data, the other two run
> into this issue.
>
>
>
> I also don’t think it relates to sharing, as I’ve opened up data element
> and program sharing to rw-- for the relevant User Group.  (The program
> contains only yes/no data elements, so there are no Option Sets to share.)
>
>
>
> Is there some other aspect of sharing/authorities I’ve missed?  (The
> documentation includes an authority for ‘Single Event Without Registration
> Data Entry’ / ‘F_ANONYMOUS_DATA_ENTRY’, but that’s not available via the
> UI, and I’m guessing it doesn’t really exist any longer?)
>
>
>
> Or is there perhaps a bug in part of the persistence process, which
> requires ‘ALL’ permissions?  I’m wondering if this bug might have been
> introduced into 2.25 by a recent update, as I’m pretty sure I successfully
> captured events using this user/role a week or two ago…
>
>
>
> I have a project that’s completely stuck on this, so very grateful for any
> enlightenment anyone can provide…
>
>
>
> Cheers, Sam.
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Unsupported Value Type Percentage

2016-11-08 Thread Abyot Asalefew Gizaw
Hi,

Yes, that is an expected behavior not all value types are supported in
tracker.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Nov 8, 2016 at 1:34 PM, Archana Chillala 
wrote:

> Hi,
>
> We have configured a tracker data element of value type percentage and
> assigned it to a program. But when we try to enter some value, it throws an
> error saying "*Unsupported value type: Percentage*". Is this the expected
> behaviour?  What is the ideal way to use this value type?
>
> P.S. Using DHIS version 2.25
>
> Please see screenshot attached.
>
>
>
> *Cheers,*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> 
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug] Event Capture - rendering of Text type data element

2016-11-08 Thread Abyot Asalefew Gizaw
Hi,

It should be fine now.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Nov 8, 2016 at 12:00 PM, Archana Chillala  wrote:

> Hi Abyot,
>
> We have tested it again, and looks like the issue still exists. We are
> using DHIS version 2.25, build - 66c1fc0. Could you please look into the
> issue.
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Thu, Oct 27, 2016 at 10:26 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Thank you, Abyot.
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> On Wed, Oct 26, 2016 at 5:25 PM, Abyot Asalefew Gizaw 
>> wrote:
>>
>>> Hi,
>>>
>>> Thank you for reporting this. This is fixed - just give sometime for our
>>> build server to update before retesting.
>>>
>>> --
>>> Abyot A. Gizaw.
>>> Senior Engineer, DHIS2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Wed, Oct 26, 2016 at 1:32 PM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> We are using the latest build of DHIS version 2.25. In Event Capture
>>>> app, when filling data for one event of a program, we observed that the 
>>>> *data
>>>> element of value type text* is rendered as two text fields - one below
>>>> the other. The text entered in one field repeats in the other
>>>> simultaneously.
>>>>
>>>> Please see the screenshot attached. In the image, *TrackDE3_text *is
>>>> the data element of value type "*Text*" that depicts the issue.
>>>>
>>>> Could you please help fix the bug.
>>>>
>>>>
>>>>
>>>> *Cheers,*
>>>>
>>>> Archana Chillala
>>>> Application Developer
>>>> Email archa...@thoughtworks.com
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Active Program in tracker capture

2016-11-04 Thread Abyot Asalefew Gizaw
Hi Channara,

Do you have any log from your browser console? Also, how are you accessing
the tracked entity instance?

One possibility this might happen is if you are accessing the tracked
entity instance from another org unit where you don't have access to view
enrollments and events.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Nov 4, 2016 at 4:18 AM, channara rin  wrote:

> Dear all,
> i has problem with tracker capture.
> when i open individual records, i can see program with tracker
> But when i use tracker capture, i didn't see Active program like
> individual records.
> Any body know what is the problem? how to fix this problem?
>
> [image: Inline image 1]
>
> best regards,
> channara
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] update tracker profile form

2016-11-04 Thread Abyot Asalefew Gizaw
Seems attribute uniqueness per program scope is defined but program is not
passed.

This is a known problem. The solution is to use system / orgunit scope than
program scope.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Nov 4, 2016 at 9:39 AM, Lars Helge Øverland  wrote:

> This seems to be the relevant part of the tomcat log. Abyot can you see
> what the problem is?
>
> ---
>
> 04-Nov-2016 10:57:08.013 SEVERE [http-nio-8080-exec-4]
> org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service()
> for servlet [webapi] in context with path [/2.21-raw] threw exception
> [Request processing failed; nested exception is 
> java.lang.IllegalArgumentException:
> program is required for program scope] with root cause
>  java.lang.IllegalArgumentException: program is required for program scope
> at org.springframework.util.Assert.notNull(Assert.java:112)
> at org.hisp.dhis.trackedentity.DefaultTrackedEntityAttributeS
> ervice.validateScope(DefaultTrackedEntityAttributeService.java:221)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection
> (AopUtils.java:317)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> invokeJoinpoint(ReflectiveMethodInvocation.java:190)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
> ReflectiveMethodInvocation.java:157)
> at org.springframework.transaction.interceptor.TransactionInterceptor$1.
> proceedWithInvocation(TransactionInterceptor.java:99)
> at org.springframework.transaction.interceptor.TransactionAspectSupport.
> invokeWithinTransaction(TransactionAspectSupport.java:281)
> at org.springframework.transaction.interceptor.
> TransactionInterceptor.invoke(TransactionInterceptor.java:96)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
> ReflectiveMethodInvocation.java:179)
> at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(
> ExposeInvocationInterceptor.java:92)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
> ReflectiveMethodInvocation.java:179)
> at org.springframework.aop.framework.JdkDynamicAopProxy.
> invoke(JdkDynamicAopProxy.java:207)
> at com.sun.proxy.$Proxy57.validateScope(Unknown Source)
> at org.hisp.dhis.dxf2.events.trackedentity.AbstractTrackedEntityInstanceS
> ervice.checkScope(AbstractTrackedEntityInstanceService.java:553)
> at org.hisp.dhis.dxf2.events.trackedentity.AbstractTrackedEntityInstanceS
> ervice.checkAttributes(AbstractTrackedEntityInstanceService.java:582)
> at org.hisp.dhis.dxf2.events.trackedentity.AbstractTrackedEntityInstanceS
> ervice.updateTrackedEntityInstance(AbstractTrackedEntityInstanceS
> ervice.java:327)
> at org.hisp.dhis.dxf2.events.trackedentity.JacksonTrackedEntityInstanceSe
> rvice.updateTrackedEntityInstanceJson(JacksonTrackedEntityInstanceSe
> rvice.java:198)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection
> (AopUtils.java:317)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> invokeJoinpoint(ReflectiveMethodInvocation.java:190)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
> ReflectiveMethodInvocation.java:157)
> at org.springframework.transaction.interceptor.TransactionInterceptor$1.
> proceedWithInvocation(TransactionInterceptor.java:99)
> at org.springframework.transaction.interceptor.TransactionAspectSupport.
> invokeWithinTransaction(TransactionAspectSupport.java:281)
> at org.springframework.transaction.interceptor.
> TransactionInterceptor.invoke(TransactionInterceptor.java:96)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
> ReflectiveMethodInvocation.java:179)
> at org.springframework.aop.framework.JdkDynamicAopProxy.
> invoke(JdkDynamicAopProxy.java:207)
> at com.sun.proxy.$Proxy199.updateTrackedEntityInstanceJson(Unknown Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection
> (AopUtils.java:317)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> invokeJoinpoint(ReflectiveMethodInvocation.java:190)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
> ReflectiveMethodInvocation.java:157)
> at org.springframewo

Re: [Dhis2-devs] [Dhis2-users] HOW TO DELETE AN ENTITY IN TRACKER CAPTURE

2016-11-03 Thread Abyot Asalefew Gizaw
I don't have ready made statements at hand.

But here is what you need to do - FOR THE TRACKED ENTITY INSTANCE in
question

   1. Delete event values from trackedentitydatavalue
   2. Delete events from programstageinstance
   3. Delete enrollments from programinstance
   4. Delete attribute values from trackedentityattributevalue
   5. Delete the instance from trackedentityinstance

More on the associations:

trackedentityinstance uid -> trackedentityinstance id -> programinstance id
-> programstageinstance id

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Nov 3, 2016 at 10:27 AM, Stanley Kalyati  wrote:

> Abyot,
>
> Could you help with the sql statements?
>
> Thanks in advance.
>
> Stanley
>
> On Thu, Nov 3, 2016 at 11:22 AM, Abyot Asalefew Gizaw 
> wrote:
>
>> Hi Stanley,
>>
>> It is only version 2.25 that has UI support for deleting Tracked Entity
>> Instance. For the other versions, one has to do it manually using sql
>> statements.
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Thu, Nov 3, 2016 at 10:16 AM, Stanley Kalyati 
>> wrote:
>>
>>> Colleagues,
>>>
>>> My colleague entered a tracked entity in a wrong OU and i want to delete
>>> that.Can someone tell me how to delete this entity? or move this entity to
>>> another OU.
>>>
>>> You usual support is always appreciated.
>>>
>>> Stanley
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Setting to make attribute confidential

2016-11-03 Thread Abyot Asalefew Gizaw
Hi Elmarie,

See here
https://dhis2.github.io/dhis2-docs/master/en/implementer/html/dhis2_implementation_guide_full.html#install_encryption_configuration

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Nov 3, 2016 at 10:12 AM, Elmarie Claasen  wrote:

> Hi all,
>
>
>
> Can someone please guide me to where in the documentation it describes the
> settings to you have to configure to make an attribute confidential. I
> cannot find it in the user, implementers or devs manuals but find a link on
> the 2.22 upgrade notes which unfortunately does not work anymore.
>
> See screenshot below – the particular instance has SSL encryption enabled
> but we must be missing another setting?
>
>
>
>
>
> 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-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] HOW TO DELETE AN ENTITY IN TRACKER CAPTURE

2016-11-03 Thread Abyot Asalefew Gizaw
Hi Stanley,

It is only version 2.25 that has UI support for deleting Tracked Entity
Instance. For the other versions, one has to do it manually using sql
statements.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Nov 3, 2016 at 10:16 AM, Stanley Kalyati  wrote:

> Colleagues,
>
> My colleague entered a tracked entity in a wrong OU and i want to delete
> that.Can someone tell me how to delete this entity? or move this entity to
> another OU.
>
> You usual support is always appreciated.
>
> Stanley
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Ask user to create new event when stage is complete - Not tracking for repeatable stages

2016-11-03 Thread Abyot Asalefew Gizaw
Hi Prosper,

Sure, we will fix that.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Wed, Nov 2, 2016 at 8:46 PM, Prosper BT  wrote:

> Hi Abyot,
>
> I have replicated this on the current demo server 2.25, this functionality
> is no longer working. After completion requiring to schedule the next event
>
> In the bugs list, its reported fixed but still behaving the same way, this
> could be for the old versions,
>
> https://bugs.launchpad.net/dhis2/+bug/1495868
>
> Can you help and fix it for 2.25, it works well in 2.24
>
> Regards
>
> Prosper Behumbiize, MPH
> DHIS2 Implementation| HISP Uganda/University Of Oslo
> +256 752 751 776 | +256 776 139 139
> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
> prospertb
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Tracker - enter data for different stages in programme in different orgunits

2016-10-31 Thread Abyot Asalefew Gizaw
Hi Sam,

Yes, by data view I meant data output and analysis organisation units.

Nothing has changed in 2.25. What we have so far, TEI search organisation
unit applies only for tracked entity instances. As I mentioned in my
earlier mail, we need to do some work from server side so that we allow not
only access to TEI but also to related enrollments and events.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Oct 31, 2016 at 11:10 AM, Sam Johnson 
wrote:

> Hi Abyot and Olav,
>
>
>
> I’m very interested in this thread, but really confused by it.  ;-)
>
>
>
> What do you mean by ‘data view’ org units – are you referring to ‘Data
> output and analysis organisation units’?
>
>
>
> Like Olav, my understanding was that this should be handled by ‘Assign
> search org units’ – ie if you give a user ‘Data capture’ and ‘Data output’
> permissions for just one org unit, but give them ‘Search org units’ for the
> whole tree, then they can search and view records for any TEI, but can only
> edit records for their own org unit.
>
>
>
> I’m pretty sure that’s how it works in 2.24 – has this changed in 2.25?
>
>
>
> Cheers, Sam.
>
>
>
>
>
> *From: *Dhis2-devs  launchpad.net> on behalf of Olav Poppe 
> *Date: *Friday, 28 October 2016 at 19:41
> *To: *Abyot Asalefew Gizaw 
> *Cc: *DHIS2 Developers 
> *Subject: *Re: [Dhis2-devs] Tracker - enter data for different stages in
> programme in different orgunits
>
>
>
> Thanks, Abyot! I though data view only concerned output (analytics etc), I
> didn’t know it also had implications for data entry.
>
>
>
> Olav
>
>
>
>
>
>
>
> 28. okt. 2016 kl. 16.37 skrev Abyot Asalefew Gizaw :
>
>
>
> Just looked at your setting.
>
> You need to give both clinic_dingo and lab_apple data view orgunit. I just
> assigned Trainingland for both them and it works.
>
>
>
>
> --
>
> Abyot A. Gizaw.
>
> Senior Engineer, DHIS2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
> On Fri, Oct 28, 2016 at 4:01 PM, Abyot Asalefew Gizaw 
> wrote:
>
> I see... now I know the difference of scenarios we have been testing. I
> was using the same user with access to both facilities...
>
>
>
> with the scenario you are setting, seems we need to do some work from
> server side so that we allow not only access to TEI but also to related
> enrollments and events ... Seems we don't really need TEI Search orgunit
> rather data view orgunit which we already have ...
>
>
>
> Have you set data view orgunit to your user?
>
>
>
> May be Lars and Morten can comment on if we are using data view orgunits
> in enrollments and events
>
>
> --
>
> Abyot A. Gizaw.
>
> Senior Engineer, DHIS2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
> On Fri, Oct 28, 2016 at 3:52 PM, Olav Poppe  wrote:
>
> Thanks, Abyot. I tried to set up user accounts on play.dhis2.org/demo so
> that you could see, but for some reason I’m not able to assign "Search
> orgunits", server returns this error:
>
> {"httpStatus":"Internal Server Error","httpStatusCode":500,"
> status":"ERROR","message":"Month not valid [1,7]"}
>
>
>
> Will share logons to a different server privately.
>
>
>
> The steps to reproduce is:
>
> One user assigned to facility A creates a TEI and enrols the TEI in a
> program in his/her facility.
>
>
>
> Another user assigned to facility B searches for the TEI, and opens the
> TEI dashboard. However, the enrolment done in facility A is not visible. At
> the same time, it is not possible to enrol the TEI again in facility B,
> because the TEI has an active enrolment in the same programme.
>
>
>
> Olav
>
>
>
>
>
>
>
>
>
> 28. okt. 2016 kl. 09.21 skrev Abyot Asalefew Gizaw :
>
>
>
> Hi Olav,
>
>
>
> I am not able to reproduce. It works fine from my side when testing with
> Child program.
>
>
>
> Can you tell the steps to reproduce?
>
>
> --
>
> Abyot A. Gizaw.
>
> Senior Engineer, DHIS2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
> On Thu, Oct 27, 2016 at 4:47 PM, Olav Poppe  wrote:
>
> Hi devs,
>
> I struggling to set up tracker so that users in different orgunits can
> enter data for different stages in the same enrollement. I’ve been testing
> both in a dev database I’m working on and on play, with 2.24 and 2.25, and
> the result is the same:
>
> - User A in Facility A enro

Re: [Dhis2-devs] [Dhis2-users] GIS failing to load in 2.25

2016-10-31 Thread Abyot Asalefew Gizaw
ok, may be then you have a different problem. I got same problem and
assigning infrastructural elements fixed it...

can you check into your browser console and look for any web api request
that has failed?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Oct 31, 2016 at 8:04 AM, Jose Garcia Muñoz 
wrote:

>
> Thanks Abyott, I have created an infrastructural dataelements in the
> General Settings but still not working (I have clean the cache also).
> This the error I'm getting:
>
> /dhis-web-mapping/#:1 Uncaught SyntaxError: Unexpected end of JSON input
> at JSON.parse ()
> at success (https://sandbox.psi-mis.org/dhis-web-mapping/app.js:1:
> 25516)
> at Object.callback (https://sandbox.psi-mis.org/
> dhis-web-mapping/extjs/ext-all.js:15:57696)
> at m.onComplete (https://sandbox.psi-mis.org/
> dhis-web-mapping/extjs/ext-all.js:15:209766)
> at m.onStateChange (https://sandbox.psi-mis.org/
> dhis-web-mapping/extjs/ext-all.js:15:209410)
> at XMLHttpRequest. (https://sandbox.psi-mis.org/
> dhis-web-mapping/extjs/ext-all.js:15:14790)
>
> On Mon, Oct 31, 2016 at 7:42 AM, Abyot Asalefew Gizaw 
> wrote:
>
>> Hi Jose,
>>
>> The issue I think is about missing infrastructural data elements /
>> indicators in Settings page. If you could fill something there, it will
>> work. Of course, these items shouldn't be mandatory for GIS to run.
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Mon, Oct 31, 2016 at 4:58 AM, Jose Garcia Muñoz 
>> wrote:
>>
>>>
>>> Thanks Bjorn, really appreciate that!
>>>
>>> The point is that I'm conducting a training in Vietnam this week, and we
>>> really need to show the maps by Wednesday. Do you think you can have a
>>> solution by Tuesday? (so I can ask for a DHIS2 upgrade on Tuesday night).
>>> Otherwise, please let me know, because I would need to find a workaround :)
>>>
>>> Is there anything that we can do from our end? (I can see maps are
>>> working on the Sierra Leone demos)
>>>
>>> Thanks a lot!
>>>
>>> Regards
>>> Jose
>>>
>>> On Sun, Oct 30, 2016 at 3:35 PM, Bjørn Sandvik  wrote:
>>>
>>>> Hi Jose,
>>>>
>>>> I'll look into the issue in the next few days. It's probably related to
>>>> these issues:
>>>> https://github.com/dhis2/gis-app/issues/164
>>>> https://github.com/dhis2/gis-app/issues/163
>>>>
>>>> --
>>>> Bjørn Sandvik
>>>> GIS developer, DHIS 2
>>>> University of Oslo
>>>> www.dhis2.org
>>>>
>>>>
>>>>
>>>> On Sun, Oct 30, 2016 at 11:44 AM, Jose Garcia Muñoz >>> > wrote:
>>>>
>>>>>
>>>>> Hi guys,
>>>>>
>>>>> I don't know the status of this? We have started to build using a new
>>>>> completely empty box in 2.25 (no dataelements, no optionsets...) just with
>>>>> some orgunits (country level). Whenever I go to the GIS, I get an error in
>>>>> the JavaScript console (attached at the end). All Network calls (traced by
>>>>> Google Crhome tools) are returning Ok. We are using 2.25, revision
>>>>> 9509136
>>>>>
>>>>> Many thanks
>>>>> Jose
>>>>>
>>>>> Uncaught SyntaxError: Unexpected end of JSON input(…)success @
>>>>> app.js:1280callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange
>>>>> @ ext-all.js:15(anonymous function) @ ext-all.js:15
>>>>> VM1735:1 Uncaught SyntaxError: Unexpected end of JSON input(…)success
>>>>> @ app.js:1303callback @ ext-all.js:15onComplete @
>>>>> ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @
>>>>> ext-all.js:15
>>>>>
>>>>> On Mon, Oct 24, 2016 at 10:10 AM, Calle Hedberg <
>>>>> calle.hedb...@gmail.com> wrote:
>>>>>
>>>>>> Morten,
>>>>>>
>>>>>> Thanks - noted,
>>>>>>
>>>>>> Regards
>>>>>> Calle
>>>>>>
>>>>>> On 24 October 2016 at 10:08, Morten Olav Hansen 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Calle
>>>>>>>
>>>>>>> No, this is just general Chrome Develop

Re: [Dhis2-devs] [Dhis2-users] GIS failing to load in 2.25

2016-10-30 Thread Abyot Asalefew Gizaw
Hi Jose,

The issue I think is about missing infrastructural data elements /
indicators in Settings page. If you could fill something there, it will
work. Of course, these items shouldn't be mandatory for GIS to run.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Oct 31, 2016 at 4:58 AM, Jose Garcia Muñoz 
wrote:

>
> Thanks Bjorn, really appreciate that!
>
> The point is that I'm conducting a training in Vietnam this week, and we
> really need to show the maps by Wednesday. Do you think you can have a
> solution by Tuesday? (so I can ask for a DHIS2 upgrade on Tuesday night).
> Otherwise, please let me know, because I would need to find a workaround :)
>
> Is there anything that we can do from our end? (I can see maps are working
> on the Sierra Leone demos)
>
> Thanks a lot!
>
> Regards
> Jose
>
> On Sun, Oct 30, 2016 at 3:35 PM, Bjørn Sandvik  wrote:
>
>> Hi Jose,
>>
>> I'll look into the issue in the next few days. It's probably related to
>> these issues:
>> https://github.com/dhis2/gis-app/issues/164
>> https://github.com/dhis2/gis-app/issues/163
>>
>> --
>> Bjørn Sandvik
>> GIS developer, DHIS 2
>> University of Oslo
>> www.dhis2.org
>>
>>
>>
>> On Sun, Oct 30, 2016 at 11:44 AM, Jose Garcia Muñoz 
>> wrote:
>>
>>>
>>> Hi guys,
>>>
>>> I don't know the status of this? We have started to build using a new
>>> completely empty box in 2.25 (no dataelements, no optionsets...) just with
>>> some orgunits (country level). Whenever I go to the GIS, I get an error in
>>> the JavaScript console (attached at the end). All Network calls (traced by
>>> Google Crhome tools) are returning Ok. We are using 2.25, revision
>>> 9509136
>>>
>>> Many thanks
>>> Jose
>>>
>>> Uncaught SyntaxError: Unexpected end of JSON input(…)success @
>>> app.js:1280callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange
>>> @ ext-all.js:15(anonymous function) @ ext-all.js:15
>>> VM1735:1 Uncaught SyntaxError: Unexpected end of JSON input(…)success @
>>> app.js:1303callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange
>>> @ ext-all.js:15(anonymous function) @ ext-all.js:15
>>>
>>> On Mon, Oct 24, 2016 at 10:10 AM, Calle Hedberg >> > wrote:
>>>
 Morten,

 Thanks - noted,

 Regards
 Calle

 On 24 October 2016 at 10:08, Morten Olav Hansen 
 wrote:

> Hi Calle
>
> No, this is just general Chrome Developer Tools stuff.. should be easy
> to google for a guide :)
>
> I see that there are plenty videos on youtube also (search for "chrome
> developer tools"), this can be very useful in figuring these kinds of
> issues.
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg <
> calle.hedb...@gmail.com> wrote:
>
>> Morten,
>>
>> i was not aware of the "log XHR requests" feature.
>>
>> Is there a DHIS2-related guide to using advanced features of the
>> Chrome console somewhere?
>>
>> Regards
>> Calle
>>
>> On 24 October 2016 at 04:31, Morten Olav Hansen 
>> wrote:
>>
>>> Hi Sam
>>>
>>> This is caused by the metadata having some issues I'm guessing... I
>>> would try and have a look at the network panel (in the web inspector) to
>>> see exactly which request it stops on.. since you are using Chrome, you
>>> should be able to right click on the console and select "log XHR 
>>> requests",
>>> that will hopefully give you a clue to exactly which request is failing.
>>>
>>> --
>>> Morten Olav Hansen
>>> Senior Engineer, DHIS 2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi 
>>> wrote:
>>>
 Hi Lars, this is the original error message from an upgraded
 instance from 2.25.

 The developer console, gives the error below:

 ext-all.js:15 Uncaught You're trying to decode an invalid JSON
 String: Also in the attached./ Screen shot attached as well.


 P.s With the new instance, I could not access the orgunits; nor
 were they displaying as part of the maintenance, GIS module wasn't 
 loading
 either - It would be good to try out from your end.

 regards,


 Sam Kasozi
 +256 788-993-565
 Skype: sam.kasoziug

 On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland <
 l...@dhis2.org> wrote:

>
>
> On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi 
> wrote:
>
>> GIS is failing to load in a new instance of 2.25; not sure if
>> this is a bug or whether some pre-configuration needs to happen.
>>
>> regards,
>>
>>
>
> Hi Sam,
>
> we

Re: [Dhis2-devs] Tracker - enter data for different stages in programme in different orgunits

2016-10-28 Thread Abyot Asalefew Gizaw
Just looked at your setting.

You need to give both clinic_dingo and lab_apple data view orgunit. I just
assigned Trainingland for both them and it works.


--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Oct 28, 2016 at 4:01 PM, Abyot Asalefew Gizaw 
wrote:

> I see... now I know the difference of scenarios we have been testing. I
> was using the same user with access to both facilities...
>
> with the scenario you are setting, seems we need to do some work from
> server side so that we allow not only access to TEI but also to related
> enrollments and events ... Seems we don't really need TEI Search orgunit
> rather data view orgunit which we already have ...
>
> Have you set data view orgunit to your user?
>
> May be Lars and Morten can comment on if we are using data view orgunits
> in enrollments and events
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Oct 28, 2016 at 3:52 PM, Olav Poppe  wrote:
>
>> Thanks, Abyot. I tried to set up user accounts on play.dhis2.org/demo so
>> that you could see, but for some reason I’m not able to assign "Search
>> orgunits", server returns this error:
>> {"httpStatus":"Internal Server Error","httpStatusCode":500,"s
>> tatus":"ERROR","message":"Month not valid [1,7]"}
>>
>> Will share logons to a different server privately.
>>
>> The steps to reproduce is:
>> One user assigned to facility A creates a TEI and enrols the TEI in a
>> program in his/her facility.
>>
>> Another user assigned to facility B searches for the TEI, and opens the
>> TEI dashboard. However, the enrolment done in facility A is not visible. At
>> the same time, it is not possible to enrol the TEI again in facility B,
>> because the TEI has an active enrolment in the same programme.
>>
>> Olav
>>
>>
>>
>>
>> 28. okt. 2016 kl. 09.21 skrev Abyot Asalefew Gizaw :
>>
>> Hi Olav,
>>
>> I am not able to reproduce. It works fine from my side when testing with
>> Child program.
>>
>> Can you tell the steps to reproduce?
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Thu, Oct 27, 2016 at 4:47 PM, Olav Poppe  wrote:
>>
>>> Hi devs,
>>> I struggling to set up tracker so that users in different orgunits can
>>> enter data for different stages in the same enrollement. I’ve been testing
>>> both in a dev database I’m working on and on play, with 2.24 and 2.25, and
>>> the result is the same:
>>> - User A in Facility A enrolls a TEI in a program
>>> - User B in Facility B searches for the TEI, but when opening the
>>> dashboard it just shows "No active enrollment.". At the same time,
>>> trying to enroll the person also fails, since the TEI is already enrolled…
>>>
>>> Any advice on what I’m missing? I’ve even tested with "superusers" with
>>> no luck, so I don’t think its a user role issue.
>>>
>>> Regards
>>> Olav
>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Tracker - enter data for different stages in programme in different orgunits

2016-10-28 Thread Abyot Asalefew Gizaw
I see... now I know the difference of scenarios we have been testing. I was
using the same user with access to both facilities...

with the scenario you are setting, seems we need to do some work from
server side so that we allow not only access to TEI but also to related
enrollments and events ... Seems we don't really need TEI Search orgunit
rather data view orgunit which we already have ...

Have you set data view orgunit to your user?

May be Lars and Morten can comment on if we are using data view orgunits in
enrollments and events

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Oct 28, 2016 at 3:52 PM, Olav Poppe  wrote:

> Thanks, Abyot. I tried to set up user accounts on play.dhis2.org/demo so
> that you could see, but for some reason I’m not able to assign "Search
> orgunits", server returns this error:
> {"httpStatus":"Internal Server Error","httpStatusCode":500,"
> status":"ERROR","message":"Month not valid [1,7]"}
>
> Will share logons to a different server privately.
>
> The steps to reproduce is:
> One user assigned to facility A creates a TEI and enrols the TEI in a
> program in his/her facility.
>
> Another user assigned to facility B searches for the TEI, and opens the
> TEI dashboard. However, the enrolment done in facility A is not visible. At
> the same time, it is not possible to enrol the TEI again in facility B,
> because the TEI has an active enrolment in the same programme.
>
> Olav
>
>
>
>
> 28. okt. 2016 kl. 09.21 skrev Abyot Asalefew Gizaw :
>
> Hi Olav,
>
> I am not able to reproduce. It works fine from my side when testing with
> Child program.
>
> Can you tell the steps to reproduce?
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Thu, Oct 27, 2016 at 4:47 PM, Olav Poppe  wrote:
>
>> Hi devs,
>> I struggling to set up tracker so that users in different orgunits can
>> enter data for different stages in the same enrollement. I’ve been testing
>> both in a dev database I’m working on and on play, with 2.24 and 2.25, and
>> the result is the same:
>> - User A in Facility A enrolls a TEI in a program
>> - User B in Facility B searches for the TEI, but when opening the
>> dashboard it just shows "No active enrollment.". At the same time,
>> trying to enroll the person also fails, since the TEI is already enrolled…
>>
>> Any advice on what I’m missing? I’ve even tested with "superusers" with
>> no luck, so I don’t think its a user role issue.
>>
>> Regards
>> Olav
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Tracker - enter data for different stages in programme in different orgunits

2016-10-28 Thread Abyot Asalefew Gizaw
Hi Olav,

I am not able to reproduce. It works fine from my side when testing with
Child program.

Can you tell the steps to reproduce?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Oct 27, 2016 at 4:47 PM, Olav Poppe  wrote:

> Hi devs,
> I struggling to set up tracker so that users in different orgunits can
> enter data for different stages in the same enrollement. I’ve been testing
> both in a dev database I’m working on and on play, with 2.24 and 2.25, and
> the result is the same:
> - User A in Facility A enrolls a TEI in a program
> - User B in Facility B searches for the TEI, but when opening the
> dashboard it just shows "No active enrollment.". At the same time, trying
> to enroll the person also fails, since the TEI is already enrolled…
>
> Any advice on what I’m missing? I’ve even tested with "superusers" with no
> luck, so I don’t think its a user role issue.
>
> Regards
> Olav
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug] Event Capture - rendering of Text type data element

2016-10-26 Thread Abyot Asalefew Gizaw
Hi,

Thank you for reporting this. This is fixed - just give sometime for our
build server to update before retesting.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Wed, Oct 26, 2016 at 1:32 PM, Archana Chillala  wrote:

> Hi,
>
> We are using the latest build of DHIS version 2.25. In Event Capture app,
> when filling data for one event of a program, we observed that the *data
> element of value type text* is rendered as two text fields - one below
> the other. The text entered in one field repeats in the other
> simultaneously.
>
> Please see the screenshot attached. In the image, *TrackDE3_text *is the data
> element of value type "*Text*" that depicts the issue.
>
> Could you please help fix the bug.
>
>
>
> *Cheers,*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> 
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Visualisation of Data Element of Value Type - Organisation Unit

2016-10-25 Thread Abyot Asalefew Gizaw
was fixed about 4 hours ago, see the commit here

https://github.com/dhis2/tracker-capture-app/commit/9757cf065c5710eac2a12bcd03431db258de8c26



--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Oct 25, 2016 at 3:25 PM, Calle Hedberg 
wrote:

> Mmm,
>
> I'm still seeing double text fields in the build from this morning?
>
> Regards
> Calle
>
> On 25 October 2016 at 15:16, Abyot Asalefew Gizaw  wrote:
>
>> except the issue with ORGANISATION_UNIT, the rest are fixed.
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Tue, Oct 25, 2016 at 3:12 PM, Calle Hedberg 
>> wrote:
>>
>>> Abyot,
>>>
>>> have you fixed the issue of the uid being displayed for value type
>>> ORGANISATION_UNIT instead of as expected the NAME?
>>>
>>> I saw when testing 2.25 yesterday the the COORDINATE data type is now
>>> having coordinates rounded to six decimals, so that's fixed.
>>>
>>> The double-display of TEXT value fields without optionsets is also
>>> critical to fix.
>>>
>>> Regards
>>> calle
>>>
>>> On 25 October 2016 at 12:16, Abyot Asalefew Gizaw 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Value types ORGANISATION_UNIT and COORDINATE are new additions.
>>>> Handling the data entry part is the first step, the next step is the
>>>> analysis part which is coming.
>>>>
>>>> Probably a mistake to have a half baked solutions. However, there are
>>>> users who export data and do visualizations using separate systems.
>>>>
>>>> --
>>>> Abyot A. Gizaw.
>>>> Senior Engineer, DHIS2
>>>> University of Oslo
>>>> http://www.dhis2.org
>>>>
>>>> On Tue, Oct 25, 2016 at 7:45 AM, Archana Chillala <
>>>> archa...@thoughtworks.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> We are now using the latest 2.25 DHIS version. The new feature "*Data
>>>>> Element of value type organisation unit*" proves to be extremely
>>>>> useful to us. We have a use-case where we want to record the geo-locations
>>>>> (villages) of each individual patient at the Heath Centre they attend. And
>>>>> this feature seems a right approach for us, to be used for this purpose
>>>>> where these locations will be part of the master organisation unit
>>>>> hierarchy and can be selected from the list shown for the data element.
>>>>>
>>>>> We have configured a tracker type data element of value type 'org
>>>>> unit', assigned to a Program and stored some data. However, when we tried
>>>>> to visualise this data collected for that data element, through Event
>>>>> Reports and Event Visualiser app, it gives an error saying "No series 
>>>>> items
>>>>> selected". Also, since the value of the data element is a string (which is
>>>>> the UID of the org. unit), we are not clear as to how we could visualise
>>>>> this data element. Ideally, what we need is a COUNT of the number of times
>>>>> a geo-location (some org. unit) selected.
>>>>>
>>>>> We also tried to use program indicators to form an expression that can
>>>>> give the desired result. But, that data element doesn't even come up in 
>>>>> the
>>>>> box, where we choose data elements and form expressions. Only number type
>>>>> data elements show up here.
>>>>>
>>>>> Is there any other way we could use aggregation and visualisation for
>>>>> this new data element type?
>>>>> Could you also please let us know the road map for the visualisation
>>>>> capabilities of this new data element.
>>>>>
>>>>> Any help here would be appreciated.
>>>>>
>>>>>
>>>>>
>>>>> *Cheers,*
>>>>>
>>>>> Archana Chillala
>>>>> Application Developer
>>>>> Email archa...@thoughtworks.com
>>>>> Telephone +91 9100960533 <+91+9100960533>
>>>>> [image: ThoughtWorks]
>>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
&g

Re: [Dhis2-devs] Visualisation of Data Element of Value Type - Organisation Unit

2016-10-25 Thread Abyot Asalefew Gizaw
except the issue with ORGANISATION_UNIT, the rest are fixed.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Oct 25, 2016 at 3:12 PM, Calle Hedberg 
wrote:

> Abyot,
>
> have you fixed the issue of the uid being displayed for value type
> ORGANISATION_UNIT instead of as expected the NAME?
>
> I saw when testing 2.25 yesterday the the COORDINATE data type is now
> having coordinates rounded to six decimals, so that's fixed.
>
> The double-display of TEXT value fields without optionsets is also
> critical to fix.
>
> Regards
> calle
>
> On 25 October 2016 at 12:16, Abyot Asalefew Gizaw  wrote:
>
>> Hi,
>>
>> Value types ORGANISATION_UNIT and COORDINATE are new additions. Handling
>> the data entry part is the first step, the next step is the analysis part
>> which is coming.
>>
>> Probably a mistake to have a half baked solutions. However, there are
>> users who export data and do visualizations using separate systems.
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Tue, Oct 25, 2016 at 7:45 AM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Hi,
>>>
>>> We are now using the latest 2.25 DHIS version. The new feature "*Data
>>> Element of value type organisation unit*" proves to be extremely useful
>>> to us. We have a use-case where we want to record the geo-locations
>>> (villages) of each individual patient at the Heath Centre they attend. And
>>> this feature seems a right approach for us, to be used for this purpose
>>> where these locations will be part of the master organisation unit
>>> hierarchy and can be selected from the list shown for the data element.
>>>
>>> We have configured a tracker type data element of value type 'org unit',
>>> assigned to a Program and stored some data. However, when we tried to
>>> visualise this data collected for that data element, through Event Reports
>>> and Event Visualiser app, it gives an error saying "No series items
>>> selected". Also, since the value of the data element is a string (which is
>>> the UID of the org. unit), we are not clear as to how we could visualise
>>> this data element. Ideally, what we need is a COUNT of the number of times
>>> a geo-location (some org. unit) selected.
>>>
>>> We also tried to use program indicators to form an expression that can
>>> give the desired result. But, that data element doesn't even come up in the
>>> box, where we choose data elements and form expressions. Only number type
>>> data elements show up here.
>>>
>>> Is there any other way we could use aggregation and visualisation for
>>> this new data element type?
>>> Could you also please let us know the road map for the visualisation
>>> capabilities of this new data element.
>>>
>>> Any help here would be appreciated.
>>>
>>>
>>>
>>> *Cheers,*
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Visualisation of Data Element of Value Type - Organisation Unit

2016-10-25 Thread Abyot Asalefew Gizaw
Hi,

Value types ORGANISATION_UNIT and COORDINATE are new additions. Handling
the data entry part is the first step, the next step is the analysis part
which is coming.

Probably a mistake to have a half baked solutions. However, there are users
who export data and do visualizations using separate systems.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Oct 25, 2016 at 7:45 AM, Archana Chillala  wrote:

> Hi,
>
> We are now using the latest 2.25 DHIS version. The new feature "*Data
> Element of value type organisation unit*" proves to be extremely useful
> to us. We have a use-case where we want to record the geo-locations
> (villages) of each individual patient at the Heath Centre they attend. And
> this feature seems a right approach for us, to be used for this purpose
> where these locations will be part of the master organisation unit
> hierarchy and can be selected from the list shown for the data element.
>
> We have configured a tracker type data element of value type 'org unit',
> assigned to a Program and stored some data. However, when we tried to
> visualise this data collected for that data element, through Event Reports
> and Event Visualiser app, it gives an error saying "No series items
> selected". Also, since the value of the data element is a string (which is
> the UID of the org. unit), we are not clear as to how we could visualise
> this data element. Ideally, what we need is a COUNT of the number of times
> a geo-location (some org. unit) selected.
>
> We also tried to use program indicators to form an expression that can
> give the desired result. But, that data element doesn't even come up in the
> box, where we choose data elements and form expressions. Only number type
> data elements show up here.
>
> Is there any other way we could use aggregation and visualisation for this
> new data element type?
> Could you also please let us know the road map for the visualisation
> capabilities of this new data element.
>
> Any help here would be appreciated.
>
>
>
> *Cheers,*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> 
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Tracker incident dates changes

2016-10-20 Thread Abyot Asalefew Gizaw
also, make sure calendar setting is not changed once data is collected.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Oct 20, 2016 at 9:41 AM, Markus Bekken 
wrote:

> Hi David,
> what is the time zone of the server? This is a known bug when you have a
> time zone different than UTC.
>
> Markus
>
> 20. okt. 2016 kl. 09.31 skrev David Itana :
>
> Dear DHIS community
>
>
> I am using tracker Version: 2.24, Build revision: e2f8d0e, Build date:
> 2016-10-13 06:20. I have configured a three stage program with registration
> which is giving the problemlisted below.
>
>
> After clicking complete button on the enrollment or refreshing/logging out
> of the system, the incident dates of all program stages changes to some
> strange dates as seen in the screenshot below. The calendar is set to ISO
> 8601 with date format set to dd-MM-yyy.
>
>
> Is this a known problem with this version or are there any settings which
> are not properly set up?
>
>
> 
>
>
> Best regards,
>
>
> David
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1625143] Re: The role/authority ‘Search tracked entity in all Org Units’ is not working, and even with this authority, a search will return only tracked entity instances that are re

2016-10-19 Thread Abyot Asalefew Gizaw
Hi Sam,

Yes, technically a bug. However, a solution we see from our side is to
remove "Search tracked entity instances in all org units" authority.

The problem with this authority is that, once assigned, users have no
control when to use it or not. It doesn't make sense to list all
patients in a country whose name contains an "a" for example.

With our new approach - assigning search organisation unit - users can
control the search scope. By default, there is no difference as the root
orgunit is used for searching. But users can narrow down the search by
selecting a lower level orgunit

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

Title:
  The role/authority ‘Search tracked entity in all Org Units’  is not
  working, and even with this authority, a search will return only
  tracked entity instances that are registered/enrolled within user's
  own assigned org units

Status in DHIS:
  New

Bug description:
  Hi all,

  The ‘search tracked entity instance in all Org Units’ authority
  doesn’t appear to be working in 2.24 – see section 26.2 of the 2.24
  User Guide for details of this authority.  (This feature has been
  documented for quite some time now, but I haven’t yet had a chance to
  check whether or not it’s working in earlier versions of DHIS2.)  Even
  after being given a role containing this authority, users do not
  appear to be able to search for tracked entity instances outside of
  their assigned ‘data capture’ Org Units.

  
  To reproduce this in the 2.24 stable demo:

  1. While logged in as ‘Admin’, go to ‘Tracker Capture’, select ‘MNCH /
  PNC (Adult Woman)’, and select the Njandama MCHP org unit.

  2. Type ‘Sarah’ in the search box – it should return a record for
  Sarah Thompson registered at Ngelehun CHC.

  3. Go to the User app, and update the role ‘MNCH / PNC (Adult Woman) program’ 
to include the following authorities:
  - Add/update tracked entity data value
  - Add/update tracked entity instance
  - Delete tracked entity data value
  - Delete tracked entity instance
  - Search tracked entity instance
  - Search tracked entity instance in All Org Units
  - See browser cache cleaner module
  - See dashboard integration module
  - See Tracker Capture Module

  4. Create a new user with just this role, and give it only the
  Njandama MCHP Org Unit.

  5. Log out and back in again with this new user.

  6. Go to ‘Tracker Capture’, select the Njandama MCHP Org Unit (it
  should be the only one showing), and select the ‘MNCH / PNC’ program.

  7. Type ‘Sarah’ in the search box – no records are returned; click to
  show ‘detailed search’, and only the Njandama Org Unit is showing
  (rather than the wider OU tree mentioned in the documentation),
  meaning this user is not able to search for tracked entity instances
  registered/enrolled at Ngelehun CHC.

  
  Tested on DHIS2 2.24 stable demo (revision fff20a3); Chrome version 
53.0.2785.116 (64-bit); Mac OSX 10.11.6 (15G1004)

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

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


Re: [Dhis2-devs] [Bug 1625143] Re: The role/authority ‘Search tracked entity in all Org Units’ is not working, and even with this authority, a search will return only tracked entity instances that are

2016-10-19 Thread Abyot Asalefew Gizaw
Hi Sam,

Yes, technically a bug. However, a solution we see from our side is to
remove "Search tracked entity instances in all org units" authority.

The problem with this authority is that, once assigned, users have no
control when to use it or not. It doesn't make sense to list all patients
in a country whose name contains an "a" for example.

With our new approach - assigning search organisation unit - users can
control the search scope. By default, there is no difference as the root
orgunit is used for searching. But users can narrow down the search by
selecting a lower level orgunit.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Oct 18, 2016 at 3:18 PM, Sam Johnson 
wrote:

> Hi Abyot,
>
> On reflection, I think this might still be a bug after all.
>
> If you can assign search org units to users, then why would the
> authority 'Search tracked entity instances in all org units' even exist?
> The very name of that authority seems to imply that it should override
> any specific assignments, and allow users to search _all_ tracked entity
> instances.
>
> My guess, looking at how these features have been named, is that the
> functionality should ideally work as follows:
> 1. By default, users can only search in their Data Capture org units (just
> as, by default, they can only see analytics for their Data Capture org
> units);
> 2. This can be overridden by assigning wider/specific Search org units (in
> the same way that you can assign wider/specific Data Output org units).
> 3. For searching, both of these assignments can be overridden by giving
> the user a role with the 'Search tracked entity instances in all org units'
> authority, which (as the documentation states and the authority name
> implies) gives you the same Search permissions as the ALL authority, and
> removes the need for specifying Search org unit assignments on a
> user-by-user basis.
>
> I'm thinking through our own (very typical) use case, which is that we
> want all users to be able to share a common list of patients (tracked
> entity instances) across a DHIS2 instance, while still only being able
> to record events for their own org unit.  Having to individually assign
> (and maintain) Search org units for each one of dozens/hundreds of users
> would be a logistical nightmare, whereas if the feature works as
> specified above (and as the documentation states), we can easily just
> add this authority into the role we set up for the program.  :-)
>
> I'd be very grateful for your feedback on this, and whether or not you
> would be happy to still keep this open as a bug.
>
> Many thanks, Sam.
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1625143
>
> Title:
>   The role/authority ‘Search tracked entity in all Org Units’  is not
>   working, and even with this authority, a search will return only
>   tracked entity instances that are registered/enrolled within user's
>   own assigned org units
>
> Status in DHIS:
>   New
>
> Bug description:
>   Hi all,
>
>   The ‘search tracked entity instance in all Org Units’ authority
>   doesn’t appear to be working in 2.24 – see section 26.2 of the 2.24
>   User Guide for details of this authority.  (This feature has been
>   documented for quite some time now, but I haven’t yet had a chance to
>   check whether or not it’s working in earlier versions of DHIS2.)  Even
>   after being given a role containing this authority, users do not
>   appear to be able to search for tracked entity instances outside of
>   their assigned ‘data capture’ Org Units.
>
>
>   To reproduce this in the 2.24 stable demo:
>
>   1. While logged in as ‘Admin’, go to ‘Tracker Capture’, select ‘MNCH /
>   PNC (Adult Woman)’, and select the Njandama MCHP org unit.
>
>   2. Type ‘Sarah’ in the search box – it should return a record for
>   Sarah Thompson registered at Ngelehun CHC.
>
>   3. Go to the User app, and update the role ‘MNCH / PNC (Adult Woman)
> program’ to include the following authorities:
>   - Add/update tracked entity data value
>   - Add/update tracked entity instance
>   - Delete tracked entity data value
>   - Delete tracked entity instance
>   - Search tracked entity instance
>   - Search tracked entity instance in All Org Units
>   - See browser cache cleaner module
>   - See dashboard integration module
>   - See Tracker Capture Module
>
>   4. Create a new user with just this role, and give it only the
>   Njandama MCHP Org Unit.
>
>   5. Log out and back in again with this new user.
>
>   6. Go to ‘Tracker Capture’, select the Njandama MCHP Org Unit (it
>   should be the only one showing), and select the ‘MNCH / PNC’ program.
>
>   7. Type ‘Sarah’ in the search box – no records are returned; click to
>   show ‘detailed search’, and only the Njandama Org Unit is showing
>   (rather than the wider OU tree mentioned in the documentation),
>   meaning 

[Dhis2-devs] [Bug 1625143] Re: The role/authority ‘Search tracked entity in all Org Units’ is not working, and even with this authority, a search will return only tracked entity instances that are re

2016-10-18 Thread Abyot Asalefew Gizaw
Hi,

Have you assigned "Search orgunits" to the user? Users can be assigned
searching orgunit scope. This is available under user management.

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

Title:
  The role/authority ‘Search tracked entity in all Org Units’  is not
  working, and even with this authority, a search will return only
  tracked entity instances that are registered/enrolled within user's
  own assigned org units

Status in DHIS:
  New

Bug description:
  Hi all,

  The ‘search tracked entity instance in all Org Units’ authority
  doesn’t appear to be working in 2.24 – see section 26.2 of the 2.24
  User Guide for details of this authority.  (This feature has been
  documented for quite some time now, but I haven’t yet had a chance to
  check whether or not it’s working in earlier versions of DHIS2.)  Even
  after being given a role containing this authority, users do not
  appear to be able to search for tracked entity instances outside of
  their assigned ‘data capture’ Org Units.

  
  To reproduce this in the 2.24 stable demo:

  1. While logged in as ‘Admin’, go to ‘Tracker Capture’, select ‘MNCH /
  PNC (Adult Woman)’, and select the Njandama MCHP org unit.

  2. Type ‘Sarah’ in the search box – it should return a record for
  Sarah Thompson registered at Ngelehun CHC.

  3. Go to the User app, and update the role ‘MNCH / PNC (Adult Woman) program’ 
to include the following authorities:
  - Add/update tracked entity data value
  - Add/update tracked entity instance
  - Delete tracked entity data value
  - Delete tracked entity instance
  - Search tracked entity instance
  - Search tracked entity instance in All Org Units
  - See browser cache cleaner module
  - See dashboard integration module
  - See Tracker Capture Module

  4. Create a new user with just this role, and give it only the
  Njandama MCHP Org Unit.

  5. Log out and back in again with this new user.

  6. Go to ‘Tracker Capture’, select the Njandama MCHP Org Unit (it
  should be the only one showing), and select the ‘MNCH / PNC’ program.

  7. Type ‘Sarah’ in the search box – no records are returned; click to
  show ‘detailed search’, and only the Njandama Org Unit is showing
  (rather than the wider OU tree mentioned in the documentation),
  meaning this user is not able to search for tracked entity instances
  registered/enrolled at Ngelehun CHC.

  
  Tested on DHIS2 2.24 stable demo (revision fff20a3); Chrome version 
53.0.2785.116 (64-bit); Mac OSX 10.11.6 (15G1004)

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

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


Re: [Dhis2-devs] Event Capture is not loading

2016-09-27 Thread Abyot Asalefew Gizaw
Clearing cache is going to help when there are metadata changes.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Sep 27, 2016 at 2:15 PM, Hannan Khan  wrote:

> Thanks Abyot.
>
> I tried several times clearing cache and using incognito mode as well.
>
> Tried several version  including the new release, version 2.22 release
> d031d6c.
>
> I am not sure if any metadata changed. But meta data changed how could we
> solve the problem?
>
> Regards
>
> Hannan
>
> On Tue, Sep 27, 2016 at 6:09 PM, Abyot Asalefew Gizaw 
> wrote:
>
>> Hi Hannan,
>>
>> Which version are you using?
>>
>> Seems you have had metadata change. Check if all your programs have
>> program stage and for the program stages to have data elements assigned to
>> them.
>>
>> Also, can you clear your browser cache and try one more time?
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Tue, Sep 27, 2016 at 8:36 AM, Hannan Khan  wrote:
>>
>>> Dear All
>>>
>>> Suddenly from few days ago out event capture is not loading. Only
>>> country Orgunit loaded and showing 'Loading meta-data'.
>>>
>>> [image: Inline image 1]
>>>
>>> There is no error log in the tomcat but I find error in the script which
>>> is
>>>
>>> Uncaught TypeError: Cannot read property 'programStageDataElements' of
>>> undefined
>>> at http://103.247.238.82:8080/dhismohfw/dhis-web-event-capture/
>>> scripts/event-capture.js:239:61
>>> at Array.forEach (native)
>>> at Function.j.each.j.forEach (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/underscore.min.js:5:599)
>>> at Object.filterMissingPrograms (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-event-capture/scripts/event-capture.js:238:7)
>>> at Object. (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:18263)
>>> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javas
>>> cripts/jQuery/jquery.min.js:2:16920)
>>> at Object.fireWith (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
>>> at Object.fire (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17744)
>>> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javas
>>> cripts/jQuery/jquery.min.js:2:16920)
>>> at Object.fireWith (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
>>>
>>> Please help me to resolve the problem.
>>>
>>> Muhammad Abdul Hannan Khan
>>> Secretary
>>> HISP Bangladesh
>>>
>>> T +880-2- 8816459, 8816412 ext 118
>>> F +88 02 8813 875
>>> M+88 01819 239 241
>>> M+88 01534 312 066
>>> E hann...@gmail.com
>>> S hannan.khan.dhaka
>>> B hannan-tech.blogspot.com
>>> L https://bd.linkedin.com/in/hannankhan
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
>
> --
> Muhammad Abdul Hannan Khan
> Secretary
> HISP Bangladesh
>
> T +880-2- 8816459, 8816412 ext 118
> F +88 02 8813 875
> M+88 01819 239 241
> M+88 01534 312 066
> E hann...@gmail.com
> S hannan.khan.dhaka
> B hannan-tech.blogspot.com
> L https://bd.linkedin.com/in/hannankhan
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Event Capture is not loading

2016-09-27 Thread Abyot Asalefew Gizaw
Hi Hannan,

Which version are you using?

Seems you have had metadata change. Check if all your programs have program
stage and for the program stages to have data elements assigned to them.

Also, can you clear your browser cache and try one more time?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Sep 27, 2016 at 8:36 AM, Hannan Khan  wrote:

> Dear All
>
> Suddenly from few days ago out event capture is not loading. Only country
> Orgunit loaded and showing 'Loading meta-data'.
>
> [image: Inline image 1]
>
> There is no error log in the tomcat but I find error in the script which
> is
>
> Uncaught TypeError: Cannot read property 'programStageDataElements' of
> undefined
> at http://103.247.238.82:8080/dhismohfw/dhis-web-event-
> capture/scripts/event-capture.js:239:61
> at Array.forEach (native)
> at Function.j.each.j.forEach (http://103.247.238.82:8080/
> dhismohfw/dhis-web-commons/javascripts/underscore.min.js:5:599)
> at Object.filterMissingPrograms (http://103.247.238.82:8080/
> dhismohfw/dhis-web-event-capture/scripts/event-capture.js:238:7)
> at Object. (http://103.247.238.82:8080/
> dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:18263)
> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/
> javascripts/jQuery/jquery.min.js:2:16920)
> at Object.fireWith (http://103.247.238.82:8080/
> dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
> at Object.fire (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/
> javascripts/jQuery/jquery.min.js:2:17744)
> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/
> javascripts/jQuery/jquery.min.js:2:16920)
> at Object.fireWith (http://103.247.238.82:8080/
> dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
>
> Please help me to resolve the problem.
>
> Muhammad Abdul Hannan Khan
> Secretary
> HISP Bangladesh
>
> T +880-2- 8816459, 8816412 ext 118
> F +88 02 8813 875
> M+88 01819 239 241
> M+88 01534 312 066
> E hann...@gmail.com
> S hannan.khan.dhaka
> B hannan-tech.blogspot.com
> L https://bd.linkedin.com/in/hannankhan
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] 'Search tracked entity instance in all Org Units' authority not working?

2016-09-19 Thread Abyot Asalefew Gizaw
Hi Sam,

Yes, please do that.

---

Thank you,
Abyot.
(sent from mobile)

On Sep 19, 2016 13:33, "Sam Johnson"  wrote:

> Hi Abyot,
>
>
>
> Should I report this as a bug on Launchpad?
>
>
>
> Cheers, Sam.
>
>
>
>
>
> *From: *Abyot Asalefew Gizaw 
> *Date: *Monday, 19 September 2016 at 10:18
> *To: *Brajesh Murari 
> *Cc: *Sam Johnson , DHIS2 Developers <
> dhis2-devs@lists.launchpad.net>
> *Subject: *Re: [Dhis2-devs] 'Search tracked entity instance in all Org
> Units' authority not working?
>
>
>
> Hi,
>
>
>
> Thank you for reporting.
>
>
>
> We will take a look to this very soon and do a fix if necessary.
>
>
> --
>
> Abyot A. Gizaw.
>
> Senior Engineer, DHIS2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
>
>
> *From: *Dhis2-devs  launchpad.net> on behalf of Sam Johnson 
> *Date: *Monday, 19 September 2016 at 12:31
> *To: *Brajesh Murari 
> *Cc: *DHIS2 Developers 
> *Subject: *Re: [Dhis2-devs] 'Search tracked entity instance in all Org
> Units' authority not working?
>
>
>
> Hi Brajesh,
>
>
>
> A short summary might be:
>
>
>
> The role/authority ‘Search tracked entity in all Org Units’ should enable
> a user to do a search that includes tracked entity instances outside of
> their own assigned org units; however, this is not working, and even with
> this authority, a search will return only tracked entity instances that are
> registered/enrolled within their own assigned org units.
>
>
>
> Cheers, Sam.
>
>
>
> On Mon, Sep 19, 2016 at 11:10 AM, Brajesh Murari 
> wrote:
>
> Dear Sam,
>
>
>
> I am getting exactly what your are talking about in your email, could you
> provide your elaboration on your issue in just 2 to 4 line ?
>
>
>
> On Mon, Sep 19, 2016 at 5:37 AM, Sam Johnson 
> wrote:
>
> Hi all,
>
>
>
> The ‘search tracked entity instance in all Org Units’ authority doesn’t
> appear to be working in 2.24 – see section 26.2 of the 2.24 User Guide for
> details of this authority.  (This feature has been documented for quite
> some time now, but I haven’t yet had a chance to check whether or not it’s
> working in earlier versions of DHIS2.)  Even after being given a role
> containing this authority, users do not appear to be able to search for
> tracked entity instances outside of their assigned ‘data capture’ Org Units.
>
>
>
> To reproduce this in the 2.24 stable demo:
>
> 1.   While logged in as ‘Admin’, go to ‘Tracker Capture’, select
> ‘MNCH / PNC (Adult Woman)’, and select the Njandama MCHP org unit.
>
> 2.   Type ‘Sarah’ in the search box – *it should return a record for
> Sarah Thompson registered at Ngelehun CHC*.
>
> 3.   Go to the User app, and update the role ‘MNCH / PNC (Adult
> Woman) program’ to include the following authorities:
> - Add/update tracked entity data value
> - Add/update tracked entity instance
> - Delete tracked entity data value
> - Delete tracked entity instance
> - Search tracked entity instance
>
> *- Search tracked entity instance in All Org Units *- See browser cache
> cleaner module
> - See dashboard integration module
> - See Tracker Capture Module
>
> 4.   Create a new user with just this role, and give it only the
> Njandama MCHP Org Unit.
>
> 5.   Log out and back in again with this new user.
>
> 6.   Go to ‘Tracker Capture’, select the Njandama MCHP Org Unit (it
> should be the only one showing), and select the ‘MNCH / PNC’ program.
>
> 7.   *Type ‘Sarah’ in the search box – no records are returned*;
> click to show ‘detailed search’, and *only the Njandama Org Unit is
> showing* (rather than the wider OU tree mentioned in the documentation),
> meaning this user is not able to search for tracked entity instances
> registered/enrolled at Ngelehun CHC.
>
>
>
> *Tested on DHIS2 2.24 stable demo (revision fff20a3); Chrome version
> 53.0.2785.116 (64-bit); Mac OSX 10.11.6 (15G1004)*
>
>
>
> I’d be very grateful if anyone can see anything that’s missing in what
> I’ve configured above, or is alternatively able to confirm this as a known
> bug.
>
>
>
> Many thanks,
>
>
>
> Sam.
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
> --
>
> Thanks and Regards
>
>
>
> Brajesh Murari
>
> | Senior Technical Annalist | www.sdrc.co.in | Ph.:(+91)-9430124938 |
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] 'Search tracked entity instance in all Org Units' authority not working?

2016-09-19 Thread Abyot Asalefew Gizaw
Hi,

Thank you for reporting.

We will take a look to this very soon and do a fix if necessary.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Sep 19, 2016 at 11:10 AM, Brajesh Murari 
wrote:

> Dear Sam,
>
> I am getting exactly what your are talking about in your email, could you
> provide your elaboration on your issue in just 2 to 4 line ?
>
> On Mon, Sep 19, 2016 at 5:37 AM, Sam Johnson 
> wrote:
>
>> Hi all,
>>
>>
>>
>> The ‘search tracked entity instance in all Org Units’ authority doesn’t
>> appear to be working in 2.24 – see section 26.2 of the 2.24 User Guide for
>> details of this authority.  (This feature has been documented for quite
>> some time now, but I haven’t yet had a chance to check whether or not it’s
>> working in earlier versions of DHIS2.)  Even after being given a role
>> containing this authority, users do not appear to be able to search for
>> tracked entity instances outside of their assigned ‘data capture’ Org Units.
>>
>>
>>
>> To reproduce this in the 2.24 stable demo:
>>
>> 1.   While logged in as ‘Admin’, go to ‘Tracker Capture’, select
>> ‘MNCH / PNC (Adult Woman)’, and select the Njandama MCHP org unit.
>>
>> 2.   Type ‘Sarah’ in the search box – *it should return a record for
>> Sarah Thompson registered at Ngelehun CHC*.
>>
>> 3.   Go to the User app, and update the role ‘MNCH / PNC (Adult
>> Woman) program’ to include the following authorities:
>> - Add/update tracked entity data value
>> - Add/update tracked entity instance
>> - Delete tracked entity data value
>> - Delete tracked entity instance
>> - Search tracked entity instance
>>
>> *- Search tracked entity instance in All Org Units *- See browser cache
>> cleaner module
>> - See dashboard integration module
>> - See Tracker Capture Module
>>
>> 4.   Create a new user with just this role, and give it only the
>> Njandama MCHP Org Unit.
>>
>> 5.   Log out and back in again with this new user.
>>
>> 6.   Go to ‘Tracker Capture’, select the Njandama MCHP Org Unit (it
>> should be the only one showing), and select the ‘MNCH / PNC’ program.
>>
>> 7.   *Type ‘Sarah’ in the search box – no records are returned*;
>> click to show ‘detailed search’, and *only the Njandama Org Unit is
>> showing* (rather than the wider OU tree mentioned in the documentation),
>> meaning this user is not able to search for tracked entity instances
>> registered/enrolled at Ngelehun CHC.
>>
>>
>>
>> *Tested on DHIS2 2.24 stable demo (revision fff20a3); Chrome version
>> 53.0.2785.116 (64-bit); Mac OSX 10.11.6 (15G1004)*
>>
>>
>>
>> I’d be very grateful if anyone can see anything that’s missing in what
>> I’ve configured above, or is alternatively able to confirm this as a known
>> bug.
>>
>>
>>
>> Many thanks,
>>
>>
>>
>> Sam.
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Thanks and Regards
>
> Brajesh Murari
> | Senior Technical Annalist | www.sdrc.co.in | Ph.:(+91)-9430124938 |
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Existing 2.23 event forms do not work in 2.24 (Only the reporting date field is visualized)

2016-09-08 Thread Abyot Asalefew Gizaw
No.

The reason for this is program rules. We might have program rules that take
action depending on report dates.

Is forcing users to enter report date first creating a problem for you?
What is your use case?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Sep 8, 2016 at 10:45 AM,  wrote:

> Yes, you are right. Is there any parameter/option to change this behavior
> or from
> 2.24 event capture will work this way?
>
> Thanks, Pedro
>
>
>
>
> > Hi Pedro,
> >
> > That is kind of by design...  the rest of the form will show-up if you
> fill
> > in the report date.
> >
> >
> > --
> > Abyot A. Gizaw.
> > Senior Engineer, DHIS2
> > University of Oslo
> > http://www.dhis2.org
> >
> > On Thu, Sep 8, 2016 at 10:06 AM, gerald thomas 
> > wrote:
> >
> >> Yes Pedro, you are right. My question is did you ran that script when
> your
> >> war file was 2.22? It seem like the issue is with the database; so
> please
> >> share the various log files.
> >>
> >>
> >> On Thursday, September 8, 2016,  wrote:
> >>
> >>> Yes but up to my knowledge this is a upgrade note from 2.22 to 2.23 not
> >>> from 2.23
> >>> to 2.24. In fact the upgrade note of the 2.24 version does not mention
> >>> nothing
> >>> about the need of running any script.
> >>>
> >>> Best, Pedro
> >>>
> >>> > Dear Pedro,
> >>> > Did you read the upgrade notes: https://www.dhis2.org/223-upgrade.
> >>> >
> >>> > There is an SQL upgrade script you need to run before moving to 2.24
> >>> >
> >>> > On Sep 8, 2016 7:24 AM,  wrote:
> >>> >
> >>> >> Hi,
> >>> >>
> >>> >> I upgraded to 2.24 by deploying the war file and using the existing
> >>> DHIS2
> >>> >> database.
> >>> >>
> >>> >> Best, Pedro
> >>> >>
> >>> >>
> >>> >> > Pedro,
> >>> >> > Can you be more specific, did you upgrade to 2.24 or are you
> running
> >>> a
> >>> >> new
> >>> >> > instance on 2.24 but with the same forms??
> >>> >> >
> >>> >> > On Sep 8, 2016 7:16 AM,  wrote:
> >>> >> >
> >>> >> >> Good morning,
> >>> >> >>
> >>> >> >> We have a set of forms (Created by default from a set of programs
> >>> >> without
> >>> >> >> registration, i.e. events) working in DHIS 2.23 (Event capture).
> >>> >> >>
> >>> >> >> We installed DHIS 2.24 over the existing 2.23 database schema,
> but
> >>> then
> >>> >> >> none of
> >>> >> >> the previous forms works. When we enter to any form, the screen
> only
> >>> >> shows
> >>> >> >> the
> >>> >> >> field 'reporting date' and ignores the rest of fields and
> sections.
> >>> >> >>
> >>> >> >> What could be the problem?
> >>> >> >>
> >>> >> >> Best regards,
> >>> >> >>
> >>> >> >> Pedro González
> >>> >> >> UPC-BarcelonaTech
> >>> >> >>
> >>> >> >>
> >>> >> >> ___
> >>> >> >> Mailing list: https://launchpad.net/~dhis2-users
> >>> >> >> Post to : dhis2-us...@lists.launchpad.net
> >>> >> >> Unsubscribe : https://launchpad.net/~dhis2-users
> >>> >> >> More help   : https://help.launchpad.net/ListHelp
> >>> >> >>
> >>> >> >
> >>> >>
> >>> >>
> >>> >>
> >>> >
> >>>
> >>>
> >>>
> >>
> >> --
> >> Regards,
> >>
> >> Gerald
> >>
> >>
> >> ___
> >> Mailing list: https://launchpad.net/~dhis2-users
> >> Post to : dhis2-us...@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~dhis2-users
> >> More help   : https://help.launchpad.net/ListHelp
> >>
> >>
> >
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Existing 2.23 event forms do not work in 2.24 (Only the reporting date field is visualized)

2016-09-08 Thread Abyot Asalefew Gizaw
Hi Pedro,

That is kind of by design...  the rest of the form will show-up if you fill
in the report date.


--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Sep 8, 2016 at 10:06 AM, gerald thomas 
wrote:

> Yes Pedro, you are right. My question is did you ran that script when your
> war file was 2.22? It seem like the issue is with the database; so please
> share the various log files.
>
>
> On Thursday, September 8, 2016,  wrote:
>
>> Yes but up to my knowledge this is a upgrade note from 2.22 to 2.23 not
>> from 2.23
>> to 2.24. In fact the upgrade note of the 2.24 version does not mention
>> nothing
>> about the need of running any script.
>>
>> Best, Pedro
>>
>> > Dear Pedro,
>> > Did you read the upgrade notes: https://www.dhis2.org/223-upgrade.
>> >
>> > There is an SQL upgrade script you need to run before moving to 2.24
>> >
>> > On Sep 8, 2016 7:24 AM,  wrote:
>> >
>> >> Hi,
>> >>
>> >> I upgraded to 2.24 by deploying the war file and using the existing
>> DHIS2
>> >> database.
>> >>
>> >> Best, Pedro
>> >>
>> >>
>> >> > Pedro,
>> >> > Can you be more specific, did you upgrade to 2.24 or are you running
>> a
>> >> new
>> >> > instance on 2.24 but with the same forms??
>> >> >
>> >> > On Sep 8, 2016 7:16 AM,  wrote:
>> >> >
>> >> >> Good morning,
>> >> >>
>> >> >> We have a set of forms (Created by default from a set of programs
>> >> without
>> >> >> registration, i.e. events) working in DHIS 2.23 (Event capture).
>> >> >>
>> >> >> We installed DHIS 2.24 over the existing 2.23 database schema, but
>> then
>> >> >> none of
>> >> >> the previous forms works. When we enter to any form, the screen only
>> >> shows
>> >> >> the
>> >> >> field 'reporting date' and ignores the rest of fields and sections.
>> >> >>
>> >> >> What could be the problem?
>> >> >>
>> >> >> Best regards,
>> >> >>
>> >> >> Pedro González
>> >> >> UPC-BarcelonaTech
>> >> >>
>> >> >>
>> >> >> ___
>> >> >> Mailing list: https://launchpad.net/~dhis2-users
>> >> >> Post to : dhis2-us...@lists.launchpad.net
>> >> >> Unsubscribe : https://launchpad.net/~dhis2-users
>> >> >> More help   : https://help.launchpad.net/ListHelp
>> >> >>
>> >> >
>> >>
>> >>
>> >>
>> >
>>
>>
>>
>
> --
> Regards,
>
> Gerald
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Extra tick box in tracker capture for every data element

2016-08-26 Thread Abyot Asalefew Gizaw
Hi Elmarie,

Go to your program stage configuration and make sure the data elements have
"Allow provided elsewhere" property not selected.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Aug 26, 2016 at 10:24 AM, Elmarie Claasen  wrote:

> Hi all,
>
>
>
> I have set up a tracker program but there is an extra tick box next to
> every data element in tracker capture. (see screenshot).
>
> Why are these there and how does one remove it?
>
>
>
> 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-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Event Capture problem using Google Chrome latest version - 52.0.2743.116 m

2016-08-26 Thread Abyot Asalefew Gizaw
@Antonia

This is now fixed in 2.22 (rev. 22095).

@Laura

Are you able to reproduce this in our demo server? This was an issue we
noticed sometime back in 2.23 and fixed. But missed to back port it to
2.22. We haven't seen this in 2.24.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Thu, Aug 25, 2016 at 8:33 PM, Knut Staring  wrote:

> Em Le Hong also recently reported inability to open App Management
> module with Chrome version 52. Previously there was a similar problem with
> the Maintenance module, but this has been taken care of (thanks, Mark).
>
> Knut
>
> On Thu, Aug 25, 2016 at 8:33 PM, Laura E. Lincks <
> laura.lin...@icap.columbia.edu> wrote:
>
>> The same thing is happening with us using Event Capture.
>>
>> Version:
>> ​ ​
>> 2.24
>> ​ ​
>> Build revision:
>> ​ ​
>> 23511
>> ​Google: Version 52.0.2743.116 m
>>
>> It doesn't happen in Firefox (46.0.1) -- although in Firefox we don't get
>> the Org Unit tree to appear without searching for a unit first.
>>
>> However, we generally recommend using Chrome over Firefox. Firefox is
>> there as a backup.​
>>
>>
>> *Laura E. Lincks*
>> Database Manager/Developer
>> ICAP - Columbia University
>> Mailman School of Public Health
>> 60 Haven Ave, Floor B1
>> New York, NY 10032
>> Tel: 212 304 7132
>>
>> On Thu, Aug 25, 2016 at 5:51 AM, Antonia Bezenchek I-PRO <
>> anto...@informa.pro> wrote:
>>
>>> -- Forwarded message --
>>> From: Antonia Bezenchek I-PRO 
>>> Date: 2016-08-25 11:45 GMT+02:00
>>> Subject: Event Capture problem using Google Chrome latest version -
>>> 52.0.2743.116 m
>>> To: DHIS 2 Users list 
>>> Cc: Antonia Bezenchekinfo 
>>>
>>>
>>> Dear community,
>>> after the last update of *Google Chrome (v. 52.0.2743.116 m),* the
>>> Event Capture, the primary application used by our users for data
>>> acquisition, presents a superposition of the two buttons - "Register event"
>>> and "Print list" over the Program selection drop-down list, which does not
>>> allow the selection of another program.
>>>
>>> [image: Immagine incorporata 1]
>>>
>>> It does not depend from the extensions installed on Chrome. The OS
>>> affected tested by me are: Windows 7, 8.1, 10, Android (with desktop
>>> browser version).
>>> The problem is not present on Firefox and Internet Explorer browsers,
>>> but the Google Chrome is the recommended browser and the majority of our
>>> users use it.
>>>
>>> Our *DHIS2 version is 2.22*
>>> Version: 2.22  Build revision: 22078   Build date: 2016-06-27 20:03User
>>> agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML,
>>> like Gecko) Chrome/52.0.2743.116 Safari/537.36
>>>
>>> The problem is not present on the Demo server with
>>> DHIS2 version: 2.24   Build revision: 23583   Build date: 2016-08-25
>>> 07:50
>>>
>>> Is it possible to fix this problem on the DHIS2 v.2.22?
>>>
>>> Thanks to everyone who can help us
>>> Antonia
>>>  www.informa.pro - *Seguici su *LinkedIn
>>>  [image: In]
>>> 
>>> INFORMAPRO S.r.l. - via Luigi Rava 43,  Rome 00149 , Italy
>>> tel. +39 06 5758926, fax +39  06 62207168, P.IVA IT08095781004
>>> Skype: informa_antonia.bezenchek
>>> Eng. Antonia Bezenchek - CIO - ICT Engineer
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Error in Tracker capture

2016-08-08 Thread Abyot Asalefew Gizaw
Hi Bridget,

If you are using chrome, go to tools -> developer tools -> Network

see for red lines, click on them and please send us more details.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Mon, Aug 8, 2016 at 9:28 AM, Bridget Magoba 
wrote:

> Dear all,
>
> I installed a DHIS2 instance (Version 2.23, Build 23048) using DHIS2
> tools. I configured org units, option sets, attributes, data elements and
> created a program with registration.
>
> Am trying to test data entry on tracker capture but get an error.
>
>
>
> Could someone have an idea of where the problem could be? Attached is the
> print screen of the error.
>
>
>
> Magoba Bridget
>
> Database Manager
>
> MIFUMI
>
> Mobile: +256 774659892
>
> Tel: +256 414666946/392174242
>
> P.O Box 274, Tororo
>
> Plot 13, Martyrs’ Drive, Ntinda
>
> Kampala
>
> www.mifumi.org
>
>
>
>
> --
> [image: Avast logo]
> 
>
> This email has been checked for viruses by Avast antivirus software.
> www.avast.com
> 
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Performance in TC app

2016-06-29 Thread Abyot Asalefew Gizaw
Haven't experience this before. Would be nice if you could share  us your
db.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Wed, Jun 29, 2016 at 4:27 PM, Olav Poppe  wrote:

> Hi devs,
> I’m struggling a bit with the performance of the TC app in trunk (I’ve had
> the same issue in previous version, but I feel it is slightly worse now
> compared to 2.22 - but that could be imagination). I have essentially the
> same programme configured for TC and EC. There is a bit of latency in EC
> when entering values and opening drop-downs, but in TC it is really quite
> bad - e.g. stuttering when entering a number.
>
> Some basic stats:
> - 1 stage
> - about 50 data elements
> - about 35 program rules
> - one huge optionset (but I don’t think that’s the problem, since it is
> the same in TC and EC)
>
> Is this a know issue? I can share or make the database available if
> someone would like to have a look…
>
> Olav
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Trunk tracker bugs/issues

2016-06-29 Thread Abyot Asalefew Gizaw
Hi Olav,

Thanks for reporting these issues. With Markus commenting on those issues
related to program rule, I can comment on the others.

The font size issue is fixed.

Event auto generation is also reported during our internal testing phase -
so that will be fixed for 2.24.

Adding event date in custom forms was something we had long before. Now
seems we no more allow for adding event date during custom form design - I
will try to investigate. But can't promise if this is going to make it
before 2.24.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Wed, Jun 29, 2016 at 1:46 AM, Markus Bekken 
wrote:

> Thanks Olav,
> see some inline comments.
>
> > 28. jun. 2016 kl. 14.52 skrev Olav Poppe :
> >
> > Hi devs,
> > this might all be known issues since this is trunk, but I’ve been
> testing the tracker (EC/TC) part of trunk the last two days and though I’d
> report the issues I’ve come over:
> > - TC: «auto-generate event» and «open data entry after enrollment» does
> not seem to work, at least not in the instance I’ve tested with (worked in
> 2.23)
> Thanks for the tip. We found it on the latest trunk in testing of 2.24,
> but then it might be a problem back to 2.23 as well.
> > - TC: the new «show error and prevent completion» program rule action is
> not triggered if there are also required/compulsory fields that are missing
> when clicking complete. I think it would make sense to show all errors that
> prevent the complete action when clicking complete?
> That is a sound suggestion. We could show a list of the required fields
> together with other errors and or warnings upon completion. Will make a
> 2.24 feature request and see if I get to it :)
> > - TC: I get an exception related to a program rule when enrolling new
> TEIs (see screenshots). It tries to access the trackedentityattribute.id
> of the «effect», which is null because the programruleaction is linked only
> to a data element. (This is an «ASSIGN» type action).
> I see. Will add a check that prevents this from failing. You can possibly
> also make a workarond by writing a rule that would not try to do an
> assignment of a dataelement when in the registration page.
> > - Backend/maintenance: the programruleaction table leaves «orphaned»
> actions, e.g. action not associated with a rule - I assume these should
> have been deleted?
> Yes, you are right that this might happen. This should be cleaned up -
> created a bug: https://bugs.launchpad.net/dhis2/+bug/1597137
> > - EC: would be nice if report date could be embedded in custom forms -
> support for this seems to have been going in and out over the last few
> versions
> > - TC/EC: Form/font sizes seems to be different for custom forms in the
> two apps. EC size (12pt) seems more «normal» to me (vs 14pt in TC)
> > - + a few program rule issues already sent to Markus…
> >
> > Regards
> > Olav
> >
> >  09.48.37.png>
> > ___
> > Mailing list: https://launchpad.net/~dhis2-devs
> > Post to : dhis2-devs@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-devs
> > More help   : https://help.launchpad.net/ListHelp
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Tracker Linking a Child to more than one Mother

2016-06-24 Thread Abyot Asalefew Gizaw
Hi,

We list all types of relationships that the TEI (the owner of the
dashboard) is linked to. The list also displays each relationship type.

The idea of implementing a warning is kind of redundant to me. The user has
kind of ignored what is already displayed and went to add another
relationship...

I like the idea of limiting the number of relationships one can have for a
given relationship type. However, the issue is that our model is not ready
for this - we need to rethink the entire relationship model.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Jun 24, 2016 at 2:36 PM, Knut Staring  wrote:

> Hi David,
>
> I certainly understand the value of having this as an option, and I think
> in general it would be nice to be able to (but not forced) to configure the
> system to display a warning about preexisting relationships for that
> particular TEI when the user creates a new relationship.
>
> One question that must be addressed is whether there should be a warning
> that lists all types of relationships, or just relationships of the same
> type as the user is trying to create.
>
> Knut
>
> On Fri, Jun 24, 2016 at 2:30 PM, David Muturi  wrote:
>
>> Hi Knut,
>> Thank you for you response. Looking at this outside the system, logically
>> a child cannot belong to more than one mother when both mothers are alive.
>> The system allows this to happen, another way of looking at it is when
>> people share names one would want to pick the correct child for each
>> mother, as it is now, one child may end up being assigned multiple mothers
>> in mnch program for instance.
>> I would not recommend restricting but rather a warning to the user that
>> the child already has an existing relationship. I will put in a blue print
>> for this as advised.
>> rgds
>> David
>>
>> 2016-06-24 15:21 GMT+03:00 Knut Staring :
>>
>>> Hi David,
>>>
>>> Obviously, often you would want to have multiple relationships, e.g. a
>>> mother often has more than one child. So I think what you are asking for is
>>> a new functionality to be able to restrict some relationships to be of type
>>> one-to-many, instead of many-to-many. You should probably write this up as
>>> a blueprint to be considered for 2.25.
>>>
>>> Knut
>>>
>>> On Fri, Jun 24, 2016 at 8:47 AM, David Muturi 
>>> wrote:
>>>
 Hi Devs,
 Are there any plans to address the issue below like issuing a warning
 message when someone tries to link a record in a relation ship thats
 already linked to another?
 rgds
 David
 On 23 Jun 2016 20:50, "David Muturi"  wrote:

> Hi Devs,
> I have noticed that it is possible to link a child enrolled in a child
> program to more than one mother. I have even tested on the online dhis2
> demo using the mnch and child programmes. Is it possible to prevent this 
> or
> atleast show a message that the child is already linked to a mother so 
> that
> the user knows that they are double linking the child ?
> rgds
> David
>

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


>>>
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522
>>> Skype: knutstar
>>> http://dhis2.org
>>>
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Searching for Event by Enrollment Date -- not working?

2016-06-21 Thread Abyot Asalefew Gizaw
Yes, from trunk all the way to 2.21.

---

Thank you,
Abyot.
(sent from mobile)
On Jun 21, 2016 5:33 PM, "Antonia - Pro"  wrote:

> Hi Lars and Abyot,
> is this fix ported also to the 2.22?
> we have the same problem in the v. 2.22 rev. 22067
> It will be helpful also for us (till now I bypass this problem, getting
> the right time interval manually).
>
> Thanks
> Antonia
>
> 2016-06-21 16:20 GMT+02:00 Lars Helge Øverland :
>
>>
>> Just to add, Abyot applied this fix down to version 2.21.
>>
>>
>>
>> On Tue, Jun 21, 2016 at 4:12 PM, Abyot Asalefew Gizaw 
>> wrote:
>>
>>> Hi Laura,
>>>
>>> Sorry that this slipped under the long list of issues to be fixed :(
>>>
>>> It is now fixed. Just give around half an hour for our server to build
>>> the latest war file and it will be ready for download.
>>>
>>> --
>>> Abyot A. Gizaw.
>>> Senior Engineer, DHIS2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Fri, Jun 10, 2016 at 8:57 AM, Lars Helge Øverland 
>>> wrote:
>>>
>>>> Hi Laura,
>>>>
>>>> just to say we are looking into this and will get back to you early
>>>> next week.
>>>>
>>>> regards,
>>>>
>>>> Lars
>>>>
>>>>
>>>> On Wed, Jun 8, 2016 at 5:37 PM, Laura E. Lincks <
>>>> laura.lin...@icap.columbia.edu> wrote:
>>>>
>>>>> Version:2.21
>>>>> Build revision:21018
>>>>>
>>>>> ​(We'll be upgrading to 2.23 soon)
>>>>>
>>>>> Our Program is set up with a Stage that uses *Date of Enrollment *as
>>>>> the *Report Date to Use. *We have given the *Description of Report
>>>>> date *its own name.
>>>>>
>>>>> When I search for an existing registration for an Enrollment date I
>>>>> KNOW exists I get no results for mysearch (other searchable attributes *do
>>>>> *return results.) Furthermore, in the search box, the text before the
>>>>> Date still reads "Enrollment date" rather than taking our descriptor...
>>>>> this defeats the purpose a bit of adding our own description and could
>>>>> prove confusing to our users. Furthermore still, when I generate an Event
>>>>> Report simply querying all data values for all data elements for the
>>>>> program area, the "Event Date" can be included as one of the column
>>>>> dimensions gets pulled into the output has a header reads "Event Date". 
>>>>> But
>>>>> it apparently represents "Enrollment Date". With so many date 
>>>>> possibilities
>>>>> the inconsistent naming of each really adds confusion to the whole Tracker
>>>>> process. Am I misunderstanding the functionality of these date fields or
>>>>> was some of this corrected in later versions of DHIS?
>>>>>
>>>>> *Laura E. Lincks*
>>>>> Database Manager/Developer
>>>>> ICAP - Columbia University
>>>>> Mailman School of Public Health
>>>>> 60 Haven Ave, Floor B1
>>>>> New York, NY 10032
>>>>> Tel: 212 304 7132
>>>>> ​r
>>>>>
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>> Post to : dhis2-us...@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Lars Helge Øverland
>>>> Lead developer, DHIS 2
>>>> University of Oslo
>>>> Skype: larshelgeoverland
>>>> l...@dhis2.org
>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to : dhis2-us...@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
>> l...@dhis2.org
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Searching for Event by Enrollment Date -- not working?

2016-06-21 Thread Abyot Asalefew Gizaw
Hi Laura,

Sorry that this slipped under the long list of issues to be fixed :(

It is now fixed. Just give around half an hour for our server to build the
latest war file and it will be ready for download.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Jun 10, 2016 at 8:57 AM, Lars Helge Øverland  wrote:

> Hi Laura,
>
> just to say we are looking into this and will get back to you early next
> week.
>
> regards,
>
> Lars
>
>
> On Wed, Jun 8, 2016 at 5:37 PM, Laura E. Lincks <
> laura.lin...@icap.columbia.edu> wrote:
>
>> Version:2.21
>> Build revision:21018
>>
>> ​(We'll be upgrading to 2.23 soon)
>>
>> Our Program is set up with a Stage that uses *Date of Enrollment *as the 
>> *Report
>> Date to Use. *We have given the *Description of Report date *its own
>> name.
>>
>> When I search for an existing registration for an Enrollment date I KNOW
>> exists I get no results for mysearch (other searchable attributes *do *return
>> results.) Furthermore, in the search box, the text before the Date still
>> reads "Enrollment date" rather than taking our descriptor... this defeats
>> the purpose a bit of adding our own description and could prove confusing
>> to our users. Furthermore still, when I generate an Event Report simply
>> querying all data values for all data elements for the program area, the
>> "Event Date" can be included as one of the column dimensions gets pulled
>> into the output has a header reads "Event Date". But it apparently
>> represents "Enrollment Date". With so many date possibilities the
>> inconsistent naming of each really adds confusion to the whole Tracker
>> process. Am I misunderstanding the functionality of these date fields or
>> was some of this corrected in later versions of DHIS?
>>
>> *Laura E. Lincks*
>> Database Manager/Developer
>> ICAP - Columbia University
>> Mailman School of Public Health
>> 60 Haven Ave, Floor B1
>> New York, NY 10032
>> Tel: 212 304 7132
>> ​r
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org 
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Testing the tracker capture changes

2016-06-21 Thread Abyot Asalefew Gizaw
ok, in that case what you can run only dhis-web-apps. This runs only 4 or 5
apps which runs a lot faster. You can also configure your IDE for hot
deployment.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Jun 21, 2016 at 2:49 PM, chathura widanage <
chathurawidan...@gmail.com> wrote:

> It is 2.23
>
> Thanks
> On 21 Jun 2016 18:12, "Abyot Asalefew Gizaw"  wrote:
>
>> Hi Chathura,
>>
>> Which version of DHIS 2 are you using?
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Tue, Jun 21, 2016 at 2:40 PM, chathura widanage <
>> chathurawidan...@gmail.com> wrote:
>>
>>> Hi Lars,
>>> I am referring to the web client and I want to add a new widget type to
>>> the tracker capture. My problem is, when ever I do a small code level
>>> change in the widget, I have to wait about 15mins to test the changes as it
>>> takes time to build the war. I would like to know if there is a mechanism
>>> to isolate the tracker capture and test the changes immediately without
>>> having to rebuild the whole thing.
>>>
>>> Thanks
>>> On 20 Jun 2016 23:22, "Lars Helge Øverland"  wrote:
>>>
>>>> Hi Chathura,
>>>>
>>>> are you referring to the Android client or the Web client? You can
>>>> check out the Web client on the /dev server, which is updated when the
>>>> continuous server is finished, something around every hour:
>>>>
>>>> http://play.dhis2.org/dev/
>>>>
>>>> http://ci.dhis2.org/
>>>>
>>>>
>>>> regards,
>>>>
>>>> Lars
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Mon, Jun 20, 2016 at 4:31 PM, chathura widanage <
>>>> chathurawidan...@gmail.com> wrote:
>>>>
>>>>> Hi devs,
>>>>>
>>>>> Could you please suggest me a efficient way to test the changes done
>>>>> to tracker capture, without having to build the whole thing which usually
>>>>> takes more than 15mins.
>>>>>
>>>>> Thanks
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to : dhis2-devs@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Lars Helge Øverland
>>>> Lead developer, DHIS 2
>>>> University of Oslo
>>>> Skype: larshelgeoverland
>>>> l...@dhis2.org
>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>
>>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Testing the tracker capture changes

2016-06-21 Thread Abyot Asalefew Gizaw
Hi Chathura,

Which version of DHIS 2 are you using?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Jun 21, 2016 at 2:40 PM, chathura widanage <
chathurawidan...@gmail.com> wrote:

> Hi Lars,
> I am referring to the web client and I want to add a new widget type to
> the tracker capture. My problem is, when ever I do a small code level
> change in the widget, I have to wait about 15mins to test the changes as it
> takes time to build the war. I would like to know if there is a mechanism
> to isolate the tracker capture and test the changes immediately without
> having to rebuild the whole thing.
>
> Thanks
> On 20 Jun 2016 23:22, "Lars Helge Øverland"  wrote:
>
>> Hi Chathura,
>>
>> are you referring to the Android client or the Web client? You can check
>> out the Web client on the /dev server, which is updated when the continuous
>> server is finished, something around every hour:
>>
>> http://play.dhis2.org/dev/
>>
>> http://ci.dhis2.org/
>>
>>
>> regards,
>>
>> Lars
>>
>>
>>
>>
>>
>> On Mon, Jun 20, 2016 at 4:31 PM, chathura widanage <
>> chathurawidan...@gmail.com> wrote:
>>
>>> Hi devs,
>>>
>>> Could you please suggest me a efficient way to test the changes done to
>>> tracker capture, without having to build the whole thing which usually
>>> takes more than 15mins.
>>>
>>> Thanks
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org 
>>
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1593574] Re: Tracker program hangs on data entry / event capture screen

2016-06-17 Thread Abyot Asalefew Gizaw
What do you have under your browser log. If chrome, Tools -> Developer
tools -> Console.

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

Title:
  Tracker program hangs on data entry / event capture screen

Status in DHIS:
  Incomplete

Bug description:
  After upgrading to 2.23 build 22982 the tracker program completes the
  registration, but on the programstage data entry screen the system
  just hangs. This can be replicated on play.dhis2.org.

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

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


[Dhis2-devs] [Bug 1593574] Re: Tracker program hangs on data entry / event capture screen

2016-06-17 Thread Abyot Asalefew Gizaw
Not able to reproduce on https://play.dhis2.org/demo

Just did registration and data entry to MNCH program and it went fine.
Would be nice if you could provide some screenshots or browser logs or
steps to reproduce.

** Changed in: dhis2
 Assignee: (unassigned) => Abyot Asalefew Gizaw (abyot)

** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  Tracker program hangs on data entry / event capture screen

Status in DHIS:
  Incomplete

Bug description:
  After upgrading to 2.23 build 22982 the tracker program completes the
  registration, but on the programstage data entry screen the system
  just hangs. This can be replicated on play.dhis2.org.

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

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


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

2016-06-12 Thread Abyot Asalefew Gizaw
Hi,

A fix is committed for this. Rev. 22063 and above should work...

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Jun 10, 2016 at 1:44 PM, Rodolfo Melia  wrote:

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

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

2016-06-09 Thread Abyot Asalefew Gizaw
Hi,

I think I missed that it was not required from the server side api ... it
is easy to fix from the client side.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Jun 10, 2016 at 4:59 AM, Jose Garcia Muñoz 
wrote:

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

 Dear devs,

 we realized that tracked attributes are always compulsory even if they
 are not marked like that in the program definition? so it is not possible
 at all to keep them blank using the Tracker Capture.

 In PSI (and I guess is the same for many different countries), we need
 to define unique patient's IDs, although several times it is not possible
 to collect them for many reasons, but now the system is not giving us the
 option of keeping the IDs blank

 Is this something that can be changed? Unique attributes can be
 compulsory just marking the attribute as compulsory in the program
 definition...

 Please, let us know, as we may need to reconsider some re-configuration
 for our programs.

 Many Thanks
 Jose



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


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

Re: [Dhis2-devs] Using Tracker Capture offline

2016-05-31 Thread Abyot Asalefew Gizaw
Hello Sergio,

No, that one for something else.

We have no plan to support offline functionality in tracker capture. If you
are planning offline implementation, the best solution at the moment is our
android app for tracker.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, May 31, 2016 at 4:35 PM, Sergio Valenzuela <
sergio.valenzu...@ehas.org> wrote:

> Hello devs,
>
> We are taking some decisions about the kind of deployment we would like to
> do in our project based on DHIS2. We are trying to avoid offline deployment
> (or even hybrid deployment) due to the disadvantages this kind of
> deployment has, but in some areas we will probably not have Internet
> connection at all, so we cannot discard these options.
> Just to be sure, will this blueprint:
> https://blueprints.launchpad.net/dhis2/+spec/tracker-hibernate-caching
> make Tracker Capture work is a similar way Event Capture works now with a
> non-stable Internet connection? I mean, will this allow to keep registering
> TEI on the system even when Internet connection is down and upload the
> changes when connection come back again? For the moment, I checked it and
> it allows you to finish the TEI you were registering, but not to save and
> register a new one when you are still offline, so I guess this is related
> with the second-level hibernate caching.
>
> Thanks!
>
> Regards!
>
>
> *Sergio Valenzuela*
> Fundación EHAS
> Telemedicina para países en desarrollo -* www.ehas.org
> *
> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
> Madrid - España
> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Scripting in custom event forms

2016-05-31 Thread Abyot Asalefew Gizaw
Hi Timothy,

Sorry, no it is not in our immediate plan.Tracker apps work a little
differently as they are developed using AngualrJs.

If you search for our mailing list, there were some conversations on how to
bring own custom scripts...



--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, May 31, 2016 at 7:07 PM, Timothy Harding 
wrote:

> Hello DHIS 2 Devs!
>
> Quick question: Will the data entry events
> 
> such as dhis2.de.event.formLoaded, dhis2.de.event.validationSuccess, etc...
> be made to work in the custom *event* forms as well? It would be helpful
> when developing custom form to have access to those functions/events.
>
>
>
>
> *Timothy Harding*
> Sr. Systems Analyst, BAO Systems
> +1 202-536-1541 | thard...@baosystems.com | http://www.baosystems.com | Skype:
> hardi...@gmail.com | 2900 K Street, Suite 404, Washington D.C. 20007
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1569793] Re: attribute unique in program not working

2016-04-28 Thread Abyot Asalefew Gizaw
The problem is during registration we are sending only attributes. When
some of these attributes have uniqueness scope per program defined, the
server doesn't know against which program to check the uniqueness. The
only point we send program information is during enrollment. However,
enrollment requires UID of tracked entity instance - which is not yet
registered in this case.

We either change our TrackedEntityInstance data model so that it becomes
possible to send program information at the time of registration or
change enrollment end point so that it becomes possible to do both
registration and enrollment at the same time.

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

Title:
  attribute unique in program not working

Status in DHIS:
  New

Bug description:
  When using the "unique in program scope" option for attributes,
  registering users will cause a crash on the server side.

  The workaround is to use other uniqueness scopes.

  In the way the calls is made, the registration of the Tracked
  entity(and the attribute values), happens before enrolling this
  tracked entity in a program. The first call(registration) fails
  because the program is not submitted. The program cannot be submitted
  until the second call(enrollment) is made.

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

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


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

2016-04-21 Thread Abyot Asalefew Gizaw
Hi,

I have made the change ... authority "ALL" grants access to programs.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Apr 15, 2016 at 3:47 PM, Jim Grace  wrote:

> Looping Tim back in, who started this thread but seems to have been
> dropped from it.
>
> On Fri, Apr 15, 2016 at 9:38 AM, Bob Jolliffe 
> wrote:
>
>> Its an interesting problem.  In general Role Based Access Control (RBAC)
>> is known to be an insufficient security mechanism/framework for handling
>> issues of patient confidentiality without some additional parameterization
>> to model things like legitimate relationships, patient consent management
>> etc.  In dhis2 we do in fact have just that sort of extension to RBAC by
>> having affinity to orgunits and programs.
>>
>> The problem is that this gets broken by the idea of a super-user, so I
>> understand where Abyot was going with this.   There is a reasonable
>> difference between having ALL roles and having a legitimate relationship
>> with all entities.  I don't think this is a question of inconsistency so
>> much as a misunderstanding of the refinement to RBAC that we have
>> implemented.
>>
>> Of course the problem with ALL is that, being god-like, it remains
>> possible for the superuser to assign him/herself access anyway so there is
>> possibly no point having an artificail barrier of "security theatre".
>> Unless we ensure that adequate alarms are sounded when a superuser accesses
>> individual records - messaging, WARNING logs etc.
>>
>>
>> On 14 April 2016 at 09:52, Abyot Asalefew Gizaw  wrote:
>>
>>> Thank you all !
>>>
>>> Seems I should give up and put back "All" authority on programs.
>>>
>>> It would have been nice if we get the view of those working in "patient"
>>> or clinical settings.
>>>
>>> One thing we need to keep in mind is the way we deal with programs is
>>> totally different from that of data sets. There is a lot more workflow and
>>> confidentially with programs, their attribute values and events.
>>>
>>> --
>>> Abyot A. Gizaw.
>>> Senior Engineer, DHIS2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Thu, Apr 14, 2016 at 12:55 AM, Rodolfo Melia 
>>> wrote:
>>>
>>>> Hi - I learned to live with this odd situation since at least 2.20,
>>>> which I have in multiple boxes. It doesn't make sense that you have access
>>>> to all data sets, but not to the programs. I really would like to see the
>>>> 'All' authority having access to all programs, for consistency sake.
>>>>
>>>> *R*
>>>>
>>>>
>>>> On 13 April 2016 at 21:32, Jim Grace  wrote:
>>>>
>>>>> Thank you all. I'm with Tim. I don't know if this is still up for
>>>>> reconsideration or reversal, but it seems to me a bad idea to ship with a
>>>>> "Superuser" role, and an "ALL" authority, neither of which gives access to
>>>>> all authorities.
>>>>>
>>>>> *For installations that do not use tracker for personal data that
>>>>> needs protection* (like DATIM, which uses tracker for site surveys),
>>>>> this is just confusing. User interface design is all about predictability,
>>>>> and words like "all" and "superuser" have unquestioned meanings in many of
>>>>> our heads. I know this wasted a bit of Tim's time, and it would have done
>>>>> the same for me. It would never occur to me that we would intentionally
>>>>> design software to use words like these and not have them mean the obvious
>>>>> things. For users who are just getting to know the product, either they
>>>>> don't know about these exceptions in which case they misunderstand the
>>>>> software and could be in for a surprise of unpredictable behavior, or they
>>>>> know about them in which case they will have the feeling that this is
>>>>> strangely-designed software that doesn't always live up to expectations.
>>>>> The more unpredictable or inconsistent our software is, the lower will be
>>>>> our users' opinion of it.
>>>>>
>>>>> *For installations that use tracker for personal data that needs
>>>>> protection*, they need to be serious about protecting the data.
>>>>> If they h

[Dhis2-devs] [Bug 1441705] Re: Event Capture not switchig to offline mode

2016-04-20 Thread Abyot Asalefew Gizaw
** Changed in: dhis2
   Status: New => Incomplete

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

Title:
  Event Capture not switchig to offline mode

Status in DHIS:
  Incomplete

Bug description:
  1)  event capture failing to load structure (CSS i think) when the server 
goes offline
  2) the application fails to bring login screen when the server is back on line
  3) the application no longer notifies the user on status online/offline
  4) the application no longer prompts the user to upoload data saved while 
offline.
  5) manifest error: Application Cache Error event: Manifest fetch failed (4) 
http://localhost:8082/dhis-web-event-capture/cacheManifest.action

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

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


[Dhis2-devs] [Bug 1560829] Re: Option set translation doesn't work in event capture module

2016-04-20 Thread Abyot Asalefew Gizaw
** Changed in: dhis2
   Status: New => Fix Committed

** Changed in: dhis2
 Assignee: (unassigned) => Abyot Asalefew Gizaw (abyot)

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

Title:
  Option set translation doesn't work in event capture module

Status in DHIS:
  Fix Committed

Bug description:
  Option set always show the default language, if there are translated
  names, they are not show when user change the database language

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

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


[Dhis2-devs] [Bug 1472519] Re: [tracker-capture]Program Stages not appearing on dashboard

2016-04-20 Thread Abyot Asalefew Gizaw
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  [tracker-capture]Program Stages not appearing on dashboard

Status in DHIS:
  Fix Released

Bug description:
  In our instance , we have many program stages(over 50) , and on the
  dashboard some of the stages are not appearing. This seems to be a
  problem with the initial loading of the meta data. Because paging is
  not false when the program stages are loaded from the "tracker-
  capture.js"

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

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


[Dhis2-devs] [Bug 1402278] Re: Attribute Groups not working with Tracker Capture

2016-04-20 Thread Abyot Asalefew Gizaw
This is problematic with the current data model.

** Changed in: dhis2
   Status: New => Won't Fix

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

Title:
  Attribute Groups not working with Tracker Capture

Status in DHIS:
  Won't Fix

Bug description:
  With individual records, Attribute Groups created sections when
  enrolling an entity. InTracker Capture, this does not work at all. Two
  screenshots attached to illustrate.

  
  Thanks.

  Regards,

  Busoye

   Version:
  2.17
  Build revision:
  17642

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

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


[Dhis2-devs] [Bug 1567905] Re: Tracker Capture - Attribute Yes/No display error

2016-04-20 Thread Abyot Asalefew Gizaw
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  Tracker Capture - Attribute Yes/No display error

Status in DHIS:
  Fix Released

Bug description:
  Using the latest version of 2.21 (8 April 2016), we have defined one
  attribute called "Driver's License" as have data type Yes/No.

  In the Tracker Capture form, this attribute is showing up with
  scrambled radio buttons:

  1. There are three buttons instead of 2
  2. The words "value" and "yes" is displaying just underneath the radio 
buttons.

  Screenshot has been sent to Abyot.

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

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


[Dhis2-devs] [Bug 1402276] Re: Radio buttons don't work on Programme Attributes

2016-04-20 Thread Abyot Asalefew Gizaw
** Changed in: dhis2
   Status: New => Fix Released

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

Title:
  Radio buttons don't work on Programme Attributes

Status in DHIS:
  Fix Released

Bug description:
  To reproduce this problem on demo

  1) Go to Child Programme and Edit
  2) Select Radio button for Data entry method for option sets  
  3)Go to Tracker Capture App and select Ngelehun CHC -> Child Programme
  4) Click on Register
  5) Observe that Gender option set attribute does not render

  I also understood that in programme stages, if you have radio buttons
  this would automatically default to a drop down if the list is more
  than 'n'. At the moment this doesn't seem to work that way. It just
  doesn't render at all.

  2.17
  Build revision:
  17642

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

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


  1   2   >