Accessing Program Instances in the Web API

Hi all,

I’m trying to access Program Instances for Tracked Entity Instances using the WebAPI because I’m enrolling to stages in a mobile client, and I need to set duedate for which I need the registration date of the Program Instance. I couldn’t find it browsing the api, and I couldn’t find it in api/events, although I can easily find the Program Stage Instances. Is it possible to access it somehow? Perhaps I’m just not seeing it. A list of all Program Instances
would be good for bulk loading, and for a single Tracked Entity Instance on demand but I don’t know what’s possible.

Regards,
Simen

Hi Simen,

I think we call Program Instances for “Enrollments” in the api.

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s34.html#d5e3563

Ola

···

On 6 November 2014 18:24, Simen Skogly Russnes simen_russnes@hotmail.com wrote:

Hi all,

I’m trying to access Program Instances for Tracked Entity Instances using the WebAPI because I’m enrolling to stages in a mobile client, and I need to set duedate for which I need the registration date of the Program Instance. I couldn’t find it browsing the api, and I couldn’t find it in api/events, although I can easily find the Program Stage Instances. Is it possible to access it somehow? Perhaps I’m just not seeing it. A list of all Program Instances would be good for bulk loading, and for a single Tracked Entity Instance on demand but I don’t know what’s possible.

Regards,
Simen


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Ola Hodne Titlestad (Mr)
HISP
Department of Informatics
University of Oslo

Mobile: +47 48069736
Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps link

Hi all,

We have developed a Tracked entity database (single event without registration) and since that option is no longer available under individual records we are now using the event capture app. The problem we re currently having is that we had one of our developers write script to skip certain fields depending on the value captured in the previous questions.

This previously worked fine under individual records but when the custom form (with skip logic) is added to the event capture app we are unable to save a form.

Can anyone assist? Not sure if this is a bug or an error in how we set it up.

Elmarie Claasen
HISP-SA

Cell 0823742209

Tel 0413640757

Hi Elmarie,

the code in event capture is different from the old module. Abyot what do you think? I guess you will have your developer look at this again and look for errors in the javascript console of the browser.

regards,

Lars

···

On Sun, Nov 9, 2014 at 7:40 AM, Elmarie Claasen elmarie@hisp.org wrote:

Hi all,

We have developed a Tracked entity database (single event without registration) and since that option is no longer available under individual records we are now using the event capture app. The problem we re currently having is that we had one of our developers write script to skip certain fields depending on the value captured in the previous questions.

This previously worked fine under individual records but when the custom form (with skip logic) is added to the event capture app we are unable to save a form.

HISP-SA

Cell 0823742209

Tel 0413640757

Can anyone assist? Not sure if this is a bug or an error in how we set it up.

Elmarie Claasen


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Hi,

Yes things are different as the app is made with AngularJS. I was talking with Pooben to modify scope/model outside Angularjs … unfortunately it didn’t work … but promised Pooben that I will look his case sometime today … it is just that I have a lot at my hand right now.

···

On Mon, Nov 10, 2014 at 10:07 AM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Elmarie,

the code in event capture is different from the old module. Abyot what do you think? I guess you will have your developer look at this again and look for errors in the javascript console of the browser.

regards,

Lars


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Thank you,

Abyot.

On Sun, Nov 9, 2014 at 7:40 AM, Elmarie Claasen elmarie@hisp.org wrote:

Hi all,

We have developed a Tracked entity database (single event without registration) and since that option is no longer available under individual records we are now using the event capture app. The problem we re currently having is that we had one of our developers write script to skip certain fields depending on the value captured in the previous questions.

This previously worked fine under individual records but when the custom form (with skip logic) is added to the event capture app we are unable to save a form.

HISP-SA

Cell 0823742209

Tel 0413640757

Can anyone assist? Not sure if this is a bug or an error in how we set it up.

Elmarie Claasen


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Okay thanks, no problem.

···

On Mon, Nov 10, 2014 at 10:14 AM, Abyot Gizaw abyota@gmail.com wrote:

Hi,

Yes things are different as the app is made with AngularJS. I was talking with Pooben to modify scope/model outside Angularjs … unfortunately it didn’t work … but promised Pooben that I will look his case sometime today … it is just that I have a lot at my hand right now.


Thank you,

Abyot.

On Mon, Nov 10, 2014 at 10:07 AM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Elmarie,

the code in event capture is different from the old module. Abyot what do you think? I guess you will have your developer look at this again and look for errors in the javascript console of the browser.

regards,

Lars


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

On Sun, Nov 9, 2014 at 7:40 AM, Elmarie Claasen elmarie@hisp.org wrote:

Hi all,

We have developed a Tracked entity database (single event without registration) and since that option is no longer available under individual records we are now using the event capture app. The problem we re currently having is that we had one of our developers write script to skip certain fields depending on the value captured in the previous questions.

This previously worked fine under individual records but when the custom form (with skip logic) is added to the event capture app we are unable to save a form.

HISP-SA

Cell 0823742209

Tel 0413640757

Can anyone assist? Not sure if this is a bug or an error in how we set it up.

Elmarie Claasen


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Would it maybe make sense to make a new format for the custom forms that are Angular-dependent? With Angular, the custom forms could potentially become much more powerful? Or is backward compatibility critical?

Lars

···

2014-11-10 10:14 GMT+01:00 Abyot Gizaw abyota@gmail.com:

Hi,

Yes things are different as the app is made with AngularJS. I was talking with Pooben to modify scope/model outside Angularjs … unfortunately it didn’t work … but promised Pooben that I will look his case sometime today … it is just that I have a lot at my hand right now.


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Thank you,

Abyot.

On Mon, Nov 10, 2014 at 10:07 AM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Elmarie,

the code in event capture is different from the old module. Abyot what do you think? I guess you will have your developer look at this again and look for errors in the javascript console of the browser.

regards,

Lars


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

On Sun, Nov 9, 2014 at 7:40 AM, Elmarie Claasen elmarie@hisp.org wrote:

Hi all,

We have developed a Tracked entity database (single event without registration) and since that option is no longer available under individual records we are now using the event capture app. The problem we re currently having is that we had one of our developers write script to skip certain fields depending on the value captured in the previous questions.

This previously worked fine under individual records but when the custom form (with skip logic) is added to the event capture app we are unable to save a form.

HISP-SA

Cell 0823742209

Tel 0413640757

Can anyone assist? Not sure if this is a bug or an error in how we set it up.

Elmarie Claasen


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Lars Kristian Roland

Research Fellow, Department of Informatics, University of Oslo

Email: lars@roland.bz - roland@ifi.uio.no

Phone: +47 90733036

Hi Elmarie,

It seems plausible to me that the work Abyot is currently doing on Ebola could be generalized and leveraged for your case. However, we are extremely busy getting everything ready for training and launch this week, so if you could wait until next week, that would be really helpful.

Thanks,

Knut

···

On Mon, Nov 10, 2014 at 9:14 AM, Abyot Gizaw abyota@gmail.com wrote:

Hi,

Yes things are different as the app is made with AngularJS. I was talking with Pooben to modify scope/model outside Angularjs … unfortunately it didn’t work … but promised Pooben that I will look his case sometime today … it is just that I have a lot at my hand right now.


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Thank you,

Abyot.

On Mon, Nov 10, 2014 at 10:07 AM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Elmarie,

the code in event capture is different from the old module. Abyot what do you think? I guess you will have your developer look at this again and look for errors in the javascript console of the browser.

regards,

Lars


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

On Sun, Nov 9, 2014 at 7:40 AM, Elmarie Claasen elmarie@hisp.org wrote:

Hi all,

We have developed a Tracked entity database (single event without registration) and since that option is no longer available under individual records we are now using the event capture app. The problem we re currently having is that we had one of our developers write script to skip certain fields depending on the value captured in the previous questions.

This previously worked fine under individual records but when the custom form (with skip logic) is added to the event capture app we are unable to save a form.

HISP-SA

Cell 0823742209

Tel 0413640757

Can anyone assist? Not sure if this is a bug or an error in how we set it up.

Elmarie Claasen


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 036 837

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Hi Knut,

No problem, we need to get some test data captured urgently but we will find a workaround for this week so next week will be fine.

Regards,

Elmarie Claasen

Hisp logo

Project Manager

Health Information Systems Programme

Tel: 041-367 1027

Cell: 082 374 2209

E-mail: elmarie@hisp.org

Skype: elmarie.claasen52

···

From: Knut Staring [mailto:knutst@gmail.com]
Sent: 10 November 2014 11:17 AM
To: Abyot Gizaw; Elmarie Claasen
Cc: Lars Helge Øverland; dhis2-users@lists.launchpad.net; Hendrick Bheki Kunene
Subject: Re: [Dhis2-users] Skip logic not working on custom form in Event capture app

Hi Elmarie,

It seems plausible to me that the work Abyot is currently doing on Ebola could be generalized and leveraged for your case. However, we are extremely busy getting everything ready for training and launch this week, so if you could wait until next week, that would be really helpful.

Thanks,

Knut

On Mon, Nov 10, 2014 at 9:14 AM, Abyot Gizaw abyota@gmail.com wrote:

Hi,

Yes things are different as the app is made with AngularJS. I was talking with Pooben to modify scope/model outside Angularjs … unfortunately it didn’t work … but promised Pooben that I will look his case sometime today … it is just that I have a lot at my hand right now.


Thank you,

Abyot.

On Mon, Nov 10, 2014 at 10:07 AM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Elmarie,

the code in event capture is different from the old module. Abyot what do you think? I guess you will have your developer look at this again and look for errors in the javascript console of the browser.

regards,

Lars

On Sun, Nov 9, 2014 at 7:40 AM, Elmarie Claasen elmarie@hisp.org wrote:

Hi all,

We have developed a Tracked entity database (single event without registration) and since that option is no longer available under individual records we are now using the event capture app. The problem we re currently having is that we had one of our developers write script to skip certain fields depending on the value captured in the previous questions.

This previously worked fine under individual records but when the custom form (with skip logic) is added to the event capture app we are unable to save a form.

Can anyone assist? Not sure if this is a bug or an error in how we set it up.

Elmarie Claasen

HISP-SA

Cell 0823742209

Tel 0413640757


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


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


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

Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 036 837

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Thanks Elmarie.

image

···

On Mon, Nov 10, 2014 at 12:36 PM, Elmarie Claasen elmarie@hisp.org wrote:

Hi Knut,

No problem, we need to get some test data captured urgently but we will find a workaround for this week so next week will be fine.

Regards,

Elmarie Claasen

Project Manager

Health Information Systems Programme

Tel: 041-367 1027

Cell: 082 374 2209

E-mail: elmarie@hisp.org

Skype: elmarie.claasen52

From: Knut Staring [mailto:knutst@gmail.com]
Sent: 10 November 2014 11:17 AM
To: Abyot Gizaw; Elmarie Claasen
Cc: Lars Helge Øverland; dhis2-users@lists.launchpad.net; Hendrick Bheki Kunene
Subject: Re: [Dhis2-users] Skip logic not working on custom form in Event capture app

Hi Elmarie,

It seems plausible to me that the work Abyot is currently doing on Ebola could be generalized and leveraged for your case. However, we are extremely busy getting everything ready for training and launch this week, so if you could wait until next week, that would be really helpful.

Thanks,

Knut

On Mon, Nov 10, 2014 at 9:14 AM, Abyot Gizaw abyota@gmail.com wrote:

Hi,

Yes things are different as the app is made with AngularJS. I was talking with Pooben to modify scope/model outside Angularjs … unfortunately it didn’t work … but promised Pooben that I will look his case sometime today … it is just that I have a lot at my hand right now.


Thank you,

Abyot.

On Mon, Nov 10, 2014 at 10:07 AM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Elmarie,

the code in event capture is different from the old module. Abyot what do you think? I guess you will have your developer look at this again and look for errors in the javascript console of the browser.

regards,

Lars

On Sun, Nov 9, 2014 at 7:40 AM, Elmarie Claasen elmarie@hisp.org wrote:

Hi all,

We have developed a Tracked entity database (single event without registration) and since that option is no longer available under individual records we are now using the event capture app. The problem we re currently having is that we had one of our developers write script to skip certain fields depending on the value captured in the previous questions.

This previously worked fine under individual records but when the custom form (with skip logic) is added to the event capture app we are unable to save a form.

Can anyone assist? Not sure if this is a bug or an error in how we set it up.

Elmarie Claasen

HISP-SA

Cell 0823742209

Tel 0413640757


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


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


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

Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 036 837

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Thanks Knut,

I am happy to hear this, waiting for this release next week. As we are implementing the same project for tracking outbreak.

Regards!

···

“Better Information, better Decisions, better Health”

  • MUHIRE Andrew*

Head of HMIS / Ministry of Health

“A mind is a terrible thing to waste”

--------------------------------------

** Cell:(+250)788436150**

*** Twitter :muhire_andrew***

**** skype:muhire_andrew****

link to HMIS system: https://hmis.moh.gov.rw/hmis

On Monday, November 10, 2014 11:17 AM, Knut Staring knutst@gmail.com wrote:

Hi Elmarie,

It seems plausible to me that the work Abyot is currently doing on Ebola could be generalized and leveraged for your case. However, we are extremely busy getting everything ready for training and launch this week, so if you could wait until next week, that would be really helpful.

Thanks,

Knut

On Mon, Nov 10, 2014 at 9:14 AM, Abyot Gizaw abyota@gmail.com wrote:

Hi,

Yes things are different as the app is made with AngularJS. I was talking with Pooben to modify scope/model outside Angularjs … unfortunately it didn’t work … but promised Pooben that I will look his case sometime today … it is just that I have a lot at my hand right now.


Thank you,

Abyot.

On Mon, Nov 10, 2014 at 10:07 AM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Elmarie,

the code in event capture is different from the old module. Abyot what do you think? I guess you will have your developer look at this again and look for errors in the javascript console of the browser.

regards,

Lars

On Sun, Nov 9, 2014 at 7:40 AM, Elmarie Claasen elmarie@hisp.org wrote:

Hi all,

We have developed a Tracked entity database (single event without registration) and since that option is no longer available under individual records we are now using the event capture app. The problem we re currently having is that we had one of our developers write script to skip certain fields depending on the value captured in the previous questions.

This previously worked fine under individual records but when the custom form (with skip logic) is added to the event capture app we are unable to save a form.

Can anyone assist? Not sure if this is a bug or an error in how we set it up.

Elmarie Claasen
HISP-SA

Cell 0823742209

Tel 0413640757


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 036 837

Norway: +4791880522

Skype: knutstar

http://dhis2.org


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

Hi Knut/Abyot,

Any progress yet with fixing the skip logic on event app?

I would also like to ask if it is possible to prevent the user to switch between the default capture form and custom form (enforce the use of the custom form) since the default form would not have the skip logic. Can one include a setting somewhere in the datafile settings or custom form or somewhere?

Regards,

Elmarie Claasen

Hisp logo

Project Manager

Health Information Systems Programme

Tel: 041-367 1027

Cell: 082 374 2209

E-mail: elmarie@hisp.org

Skype: elmarie.claasen52

···

From: Dhis2-users [mailto:dhis2-users-bounces+elmarie=hisp.org@lists.launchpad.net] On Behalf Of Elmarie Claasen
Sent: 10 November 2014 01:37 PM
To: ‘Knut Staring’; ‘Abyot Gizaw’
Cc: dhis2-users@lists.launchpad.net; ‘Hendrick Bheki Kunene’
Subject: Re: [Dhis2-users] Skip logic not working on custom form in Event capture app

Hi Knut,

No problem, we need to get some test data captured urgently but we will find a workaround for this week so next week will be fine.

Regards,

Elmarie Claasen

Hisp logo

Project Manager

Health Information Systems Programme

Tel: 041-367 1027

Cell: 082 374 2209

E-mail: elmarie@hisp.org

Skype: elmarie.claasen52

From: Knut Staring [mailto:knutst@gmail.com]
Sent: 10 November 2014 11:17 AM
To: Abyot Gizaw; Elmarie Claasen
Cc: Lars Helge Øverland; dhis2-users@lists.launchpad.net; Hendrick Bheki Kunene
Subject: Re: [Dhis2-users] Skip logic not working on custom form in Event capture app

Hi Elmarie,

It seems plausible to me that the work Abyot is currently doing on Ebola could be generalized and leveraged for your case. However, we are extremely busy getting everything ready for training and launch this week, so if you could wait until next week, that would be really helpful.

Thanks,

Knut

On Mon, Nov 10, 2014 at 9:14 AM, Abyot Gizaw abyota@gmail.com wrote:

Hi,

Yes things are different as the app is made with AngularJS. I was talking with Pooben to modify scope/model outside Angularjs … unfortunately it didn’t work … but promised Pooben that I will look his case sometime today … it is just that I have a lot at my hand right now.


Thank you,

Abyot.

On Mon, Nov 10, 2014 at 10:07 AM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Elmarie,

the code in event capture is different from the old module. Abyot what do you think? I guess you will have your developer look at this again and look for errors in the javascript console of the browser.

regards,

Lars

On Sun, Nov 9, 2014 at 7:40 AM, Elmarie Claasen elmarie@hisp.org wrote:

Hi all,

We have developed a Tracked entity database (single event without registration) and since that option is no longer available under individual records we are now using the event capture app. The problem we re currently having is that we had one of our developers write script to skip certain fields depending on the value captured in the previous questions.

This previously worked fine under individual records but when the custom form (with skip logic) is added to the event capture app we are unable to save a form.

Can anyone assist? Not sure if this is a bug or an error in how we set it up.

Elmarie Claasen

HISP-SA

Cell 0823742209

Tel 0413640757


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


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


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

Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 036 837

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Hello Elmarie,

Sorry that it took us a while to respond to your case. We are still busy with the Ebola app. However, I just looked at Pooben’s case using the db he sent me…it is solved and I am sending him another email for that.

The other question you asked on preventing from switching to custom form, we can provide some kind of setting … but will need some time for that.

image

···

On Mon, Nov 17, 2014 at 11:02 AM, Elmarie Claasen elmarie@hisp.org wrote:

Hi Knut/Abyot,

Any progress yet with fixing the skip logic on event app?

I would also like to ask if it is possible to prevent the user to switch between the default capture form and custom form (enforce the use of the custom form) since the default form would not have the skip logic. Can one include a setting somewhere in the datafile settings or custom form or somewhere?

Regards,

Elmarie Claasen

Project Manager

Health Information Systems Programme

Tel: 041-367 1027

Cell: 082 374 2209

E-mail: elmarie@hisp.org

Skype: elmarie.claasen52

From: Dhis2-users [mailto:dhis2-users-bounces+elmarie=hisp.org@lists.launchpad.net] On Behalf Of Elmarie Claasen
Sent: 10 November 2014 01:37 PM
To: ‘Knut Staring’; ‘Abyot Gizaw’
Cc: dhis2-users@lists.launchpad.net; ‘Hendrick Bheki Kunene’

Subject: Re: [Dhis2-users] Skip logic not working on custom form in Event capture app

Hi Knut,

No problem, we need to get some test data captured urgently but we will find a workaround for this week so next week will be fine.

Regards,

Elmarie Claasen

Project Manager

Health Information Systems Programme

Tel: 041-367 1027

Cell: 082 374 2209

E-mail: elmarie@hisp.org

Skype: elmarie.claasen52

From: Knut Staring [mailto:knutst@gmail.com]
Sent: 10 November 2014 11:17 AM
To: Abyot Gizaw; Elmarie Claasen
Cc: Lars Helge Øverland; dhis2-users@lists.launchpad.net; Hendrick Bheki Kunene
Subject: Re: [Dhis2-users] Skip logic not working on custom form in Event capture app

Hi Elmarie,

It seems plausible to me that the work Abyot is currently doing on Ebola could be generalized and leveraged for your case. However, we are extremely busy getting everything ready for training and launch this week, so if you could wait until next week, that would be really helpful.

Thanks,

Knut

On Mon, Nov 10, 2014 at 9:14 AM, Abyot Gizaw abyota@gmail.com wrote:

Hi,

Yes things are different as the app is made with AngularJS. I was talking with Pooben to modify scope/model outside Angularjs … unfortunately it didn’t work … but promised Pooben that I will look his case sometime today … it is just that I have a lot at my hand right now.


Thank you,

Abyot.

On Mon, Nov 10, 2014 at 10:07 AM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Elmarie,

the code in event capture is different from the old module. Abyot what do you think? I guess you will have your developer look at this again and look for errors in the javascript console of the browser.

regards,

Lars

On Sun, Nov 9, 2014 at 7:40 AM, Elmarie Claasen elmarie@hisp.org wrote:

Hi all,

We have developed a Tracked entity database (single event without registration) and since that option is no longer available under individual records we are now using the event capture app. The problem we re currently having is that we had one of our developers write script to skip certain fields depending on the value captured in the previous questions.

This previously worked fine under individual records but when the custom form (with skip logic) is added to the event capture app we are unable to save a form.

Can anyone assist? Not sure if this is a bug or an error in how we set it up.

Elmarie Claasen

HISP-SA

Cell 0823742209

Tel 0413640757


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


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


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

Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 036 837

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Thank you,

Abyot.