Re: [Dhis2-devs] ProgramInstance + wish we had more code comments

2017-03-15 Thread Stian Sandvold
Hi Ime, you are right to assume that ProgramInstance is an enrollment. My way of looking at the Program/ProgramStage/TrackedEntity and their instances is like this: Assume we have a TrackedEntity "Person", a Program "Life" and two ProgramStages "Birth" and "Death". All these objects tells us h

Re: [Dhis2-devs] ProgramInstance + wish we had more code comments

2017-03-15 Thread Morten Olav Hansen
Hi Ime You are right, basically: a) ProgramInstance = enrollment b) ProgramStageInstance = event I know it can be confusing as we are exposing the internals with different names, but its a bigger task of renaming it internally (sql tables etc) then externally. For sure everyone on the team know

[Dhis2-devs] ProgramInstance + wish we had more code comments

2017-03-15 Thread Ime Asangansi
Hi Devs, Please can anyone kindly clarify what a ProgramInstance is? I see that it is different from instances of Program or TEI which are quite well described. I've missed where ProgramInstance is described in the manual. For example, a new test database we've been using has 333 ProgramInsta