Hi Thu Tran, I understand what you explain. But I think I have not explained myself properly.
Supposed that a person already exists in the system and has been added by the "Find/add person" function. When entering data values for a "single event" program, the event is not assigned to any service orgunit. That field is left empty even when the data values are saved. On 16 January 2013 14:07, Thu Tran <[email protected]> wrote: > Hi Victor, > > We use Single event with registration for certificate of birth/death > progam. So as normally, in this case, the registration orgunit and > service orgunit are the same. > > But we can have some exception cases. It means the registration > orgunit is different from service one. > > E.g If we want to find an available person in whole system from Find > and Add function / Single event data enry form one, the orgunit where > he lives is not the same select orgunit in the left panel, and open > his data entry form to enter data, then service orgunit of this event > is the selected one, not his registration one. > > On 1/16/13, Víctor García <[email protected]> wrote: > > 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 <[email protected]> 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: [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 > >> > > >> > >> -- > >> 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 : [email protected] > > Unsubscribe : https://launchpad.net/~dhis2-devs > > More help : https://help.launchpad.net/ListHelp > > > > > -- > Best regards, > ------------------------------------------------ > Châu Thu Trân > HISP Viet Nam > Email: [email protected] > > -- > 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 : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

