Hello,

Thank you for the fast answer! We want to use the programs to keep track of the 
infrastructural state of a building. Each enrollment on the program will be a 
new infrastructure analysis, but we want to still be able to access older 
enrollments to view the progression. We will not modify old enrollments, we 
only want to access them.

We are doing this from an external APP via the web API. The idea was to have a 
"Multiple event with registration" program and, everytime someone make a new 
analysis, we enroll the TEI again into that program, fill the data and complete 
it. Then show a list with all the enrollments of that TEI, showing their 
information when selected.
Thanks!

Date: Mon, 24 Nov 2014 13:40:07 +0100
Subject: Re: [Dhis2-users] Losing data on same program enrollment
From: aby...@gmail.com
To: blais...@hotmail.com
CC: dhis2-users@lists.launchpad.net

Hi,
Yes there is. Each enrollment and associated data is unique - there is no 
overwriting. To enroll a TEI multiple times in a program, you first need to 
either complete or terminate (in your case complete) previous enrollments. I 
know we have focused only with the "Active" enrollment and haven't provided 
proper interface to deal with historical enrollment data.
Tell us more about your use case - what do you do with previous enrollments? 
how do you want the data to be displayed - in report? do you want to edit 
previous enrollment data?
---Thank you,
Abyot.

On Mon, Nov 24, 2014 at 1:07 PM, Blai Samitier <blais...@hotmail.com> wrote:



Hello,

I would like to know if there is a way to enroll a tracked entity instance into 
the same program multiple times without losing the values of the attributes on 
the old enrollments. Right now, if I enroll a tracked entity into a program, 
all the attributes of older enrollments of that program get replaced by the new 
values.
Thanks!                                           

_______________________________________________

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

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

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

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



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

Reply via email to