Thanks a lot for the explanation, it was really clear and helpful. But I still think something is going wrong with "single event with registration".
Everything is fine in "multiple individual records" programs. I have noticed that it can be assigned a different service orgunit to each event in the program, which is great. But it is not the same with "single event with registration" programs. If a person has been added using the "add/find person" module, when entering data value for the single-event I think the service orgunit is not properly assigned. On 16 January 2013 00:54, Thu Tran <1099...@bugs.launchpad.net> wrote: > Hi Victor, > > We have two concepts for orgunits in tracker module. > > The first one is registration orgunit. This is a place where person is > living. It's registered into system for each person when they register > their information. > > The second is service orgunit. This is a facility where person visited for > his event. > > .................... > > When a person enrolls into a certain program, the system creates a visit > schedule ( it is program-stage-instances as you saw ) for him according to > the program-stages defined automatically. > > A person lives in an orgunit, but he can come to other orgunit for his > events in schedule. So, when to enrolls into program, we don't set orgunit > for created events because the registration orgunit in this case is not the > same service orgunit. > > Service orgunit is updated when to open data entry form to enter data > values for each event. And this orgunit is the one selected on left panel. > > ....................... > > In tabular report, we based on the service orgunit to get corresponding > events, not registration one. So, only persons enrolled into a certain > program and have data value for selected event are displayed in result. > > Best regards, > ------------------------------------------------ > Châu Thu Trân > HISP Viet Nam > Email: tran.hispviet...@gmail.com > > > On Mon, Jan 14, 2013 at 8:57 PM, Víctor García <vgarcia...@gmail.com> > wrote: > > > Public bug reported: > > > > A person that is enrolled in a program by the "add/find person" module > > doesn't appear in the tabular report. But if the person is enrolled by > > the "single event with registration" module, it does. > > > > I have checked and compared the database entries for both types of > > registrations. This is the main difference that I found out: when > > enrolling a patient by the "add/find person" module the > > "organisationunitid" field in the "programstageinstance" table is left > > empty. I manually assigned a value to that empty field and, after that, > > the person appeared in the tabular report. So I think the problem is > > there. > > > > ** Affects: dhis2 > > Importance: Undecided > > Status: New > > > > -- > > You received this bug notification because you are a member of DHIS 2 > > developers, which is subscribed to DHIS. > > https://bugs.launchpad.net/bugs/1099406 > > > > Title: > > enrolled person doesnt appear in tabular report > > > > Status in DHIS 2 - District Health Information Software: > > New > > > > Bug description: > > A person that is enrolled in a program by the "add/find person" module > > doesn't appear in the tabular report. But if the person is enrolled by > > the "single event with registration" module, it does. > > > > I have checked and compared the database entries for both types of > > registrations. This is the main difference that I found out: when > > enrolling a patient by the "add/find person" module the > > "organisationunitid" field in the "programstageinstance" table is left > > empty. I manually assigned a value to that empty field and, after > > that, the person appeared in the tabular report. So I think the > > problem is there. > > > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/dhis2/+bug/1099406/+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 > > > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1099406 > > Title: > enrolled person doesnt appear in tabular report > > Status in DHIS 2 - District Health Information Software: > New > > Bug description: > A person that is enrolled in a program by the "add/find person" module > doesn't appear in the tabular report. But if the person is enrolled by > the "single event with registration" module, it does. > > I have checked and compared the database entries for both types of > registrations. This is the main difference that I found out: when > enrolling a patient by the "add/find person" module the > "organisationunitid" field in the "programstageinstance" table is left > empty. I manually assigned a value to that empty field and, after > that, the person appeared in the tabular report. So I think the > problem is there. > > To manage notifications about this bug go to: > https://bugs.launchpad.net/dhis2/+bug/1099406/+subscriptions > -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1099406 Title: enrolled person doesnt appear in tabular report Status in DHIS 2 - District Health Information Software: New Bug description: A person that is enrolled in a program by the "add/find person" module doesn't appear in the tabular report. But if the person is enrolled by the "single event with registration" module, it does. I have checked and compared the database entries for both types of registrations. This is the main difference that I found out: when enrolling a patient by the "add/find person" module the "organisationunitid" field in the "programstageinstance" table is left empty. I manually assigned a value to that empty field and, after that, the person appeared in the tabular report. So I think the problem is there. To manage notifications about this bug go to: https://bugs.launchpad.net/dhis2/+bug/1099406/+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