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: [email protected] On Mon, Jan 14, 2013 at 8:57 PM, Víctor García <[email protected]> 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 : [email protected] > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

