Losing data on same program enrollment

Hi=2C
Yes there is. Each enrollment and associated data is unique - there is no o=
verwriting. To enroll a TEI multiple times in a program=2C you first need t=
o either complete or terminate (in your case complete) previous enrollments=
. I know we have focused only with the "Active" enrollment and haven't prov=
ided 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=2C
Abyot.=0A=

ยทยทยท

On Mon=2C Nov 24=2C 2014 at 1:07 PM=2C Blai Samitier <blaisami@hotmail.com>= wrote:
=0A=
=0A=
=0A=
Hello=2C

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 attri=
butes on the old enrollments. Right now=2C if I enroll a tracked entity int=
o a program=2C all the attributes of older enrollments of that program get =
replaced by the new values.
Thanks! =0A=

_______________________________________________
=0A=
Mailing list: DHIS 2 Users in Launchpad
=0A=
Post to : dhis2-users@lists.launchpad.net
=0A=
Unsubscribe : DHIS 2 Users in Launchpad
=0A=
More help : ListHelp - Launchpad Help
=0A=

                 =

--_39b93abb-5378-414e-86cf-3fbbe4e2adfa_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hello=2C<br><br>Thank you for th=
e fast answer! We want to use the programs to keep track of the infrastruct=
ural state of a building. Each enrollment on the program will be a new infr=
astructure analysis=2C but we want to still be able to access older enrollm=
ents to view the progression. We will not modify old enrollments=2C we only=
want to access them.<br><br>We are doing this from an external APP via the=
web API. The idea was to have a "Multiple event with registration" program=
and=2C everytime someone make a new analysis=2C we enroll the TEI again in=
to that program=2C fill the data and complete it. Then show a list with all=
the enrollments of that TEI=2C showing their information when selected.<di=

<br></div><div>Thanks!<br><br><div><hr id=3D"stopSpelling">Date: Mon=2C 2=

4 Nov 2014 13:40:07 +0100<br>Subject: Re: [Dhis2-users] Losing data on same=
program enrollment<br>From: abyota@gmail.com<br>To: blaisami@hotmail.com<b=

CC: dhis2-users@lists.launchpad.net<br><br><div dir=3D"ltr">Hi=2C<div><br=
</div><div>Yes there is. Each enrollment and associated data is unique - t=

here is no overwriting. To enroll a TEI multiple times in a program=2C 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.<=
/div><div><br></div><div>Tell us more about your use case - what do you do =
with previous enrollments? how do you want the data to be displayed - in re=
port? do you want to edit previous enrollment data?</div><div class=3D"ecxg=
mail_extra"><div><div class=3D"ecxgmail_signature"><div dir=3D"ltr"><div><b=

</div><div>---</div><div>Thank you=2C<br></div><div>Abyot.</div></div></d=
</div>=0A=

<br><div class=3D"ecxgmail_quote">On Mon=2C Nov 24=2C 2014 at 1:07 PM=2C Bl=
ai Samitier <span dir=3D"ltr">&lt=3B<a href=3D"mailto:blaisami@hotmail.com"=
target=3D"_blank">blaisami@hotmail.com</a>&gt=3B</span> wrote:<br><blockqu=
ote class=3D"ecxgmail_quote" style=3D"border-left:1px #ccc solid=3Bpadding-=
left:1ex=3B">=0A=
=0A=
=0A=
<div><div dir=3D"ltr">Hello=2C<br><br><div>I would like to know if there is=
a way to enroll a tracked entity instance into the same program multiple t=
imes without losing the values of the attributes on the old enrollments. Ri=
ght now=2C if I enroll a tracked entity into a program=2C all the attribute=
s of older enrollments of that program get replaced by the new values.</div=

<div><br></div><div>Thanks!</div> </div></div>=0A=

<br>_______________________________________________<br>=0A=
Mailing list: <a href=3D"https://launchpad.net/~dhis2-users&quot; target=3D"_bla=
nk">https://launchpad.net/~dhis2-users&lt;/a&gt;&lt;br&gt;=0A=
Post to&nbsp=3B &nbsp=3B &nbsp=3B: <a href=3D"mailto:dhis2-users@lists.laun=
chpad.net">dhis2-users@lists.launchpad.net</a><br>=0A=
Unsubscribe : <a href=3D"https://launchpad.net/~dhis2-users&quot; target=3D"_bla=
nk">https://launchpad.net/~dhis2-users&lt;/a&gt;&lt;br&gt;=0A=
More help&nbsp=3B &nbsp=3B: <a href=3D"ListHelp - Launchpad Help"=
target=3D"_blank">https://help.launchpad.net/ListHelp&lt;/a&gt;&lt;br&gt;=0A=
<br></blockquote></div><br></div></div></div></div> </div></body=

</html>=

--_39b93abb-5378-414e-86cf-3fbbe4e2adfa_--