← Back to team overview

dhis2-devs team mailing list archive

Re: Tracker - enter data for different stages in programme in different orgunits

 

Just looked at your setting.

You need to give both clinic_dingo and lab_apple data view orgunit. I just
assigned Trainingland for both them and it works.


--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Oct 28, 2016 at 4:01 PM, Abyot Asalefew Gizaw <abyot@xxxxxxxxx>
wrote:

> I see... now I know the difference of scenarios we have been testing. I
> was using the same user with access to both facilities...
>
> with the scenario you are setting, seems we need to do some work from
> server side so that we allow not only access to TEI but also to related
> enrollments and events ... Seems we don't really need TEI Search orgunit
> rather data view orgunit which we already have ...
>
> Have you set data view orgunit to your user?
>
> May be Lars and Morten can comment on if we are using data view orgunits
> in enrollments and events
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Oct 28, 2016 at 3:52 PM, Olav Poppe <olav.poppe@xxxxxx> wrote:
>
>> Thanks, Abyot. I tried to set up user accounts on play.dhis2.org/demo so
>> that you could see, but for some reason I’m not able to assign "Search
>> orgunits", server returns this error:
>> {"httpStatus":"Internal Server Error","httpStatusCode":500,"s
>> tatus":"ERROR","message":"Month not valid [1,7]"}
>>
>> Will share logons to a different server privately.
>>
>> The steps to reproduce is:
>> One user assigned to facility A creates a TEI and enrols the TEI in a
>> program in his/her facility.
>>
>> Another user assigned to facility B searches for the TEI, and opens the
>> TEI dashboard. However, the enrolment done in facility A is not visible. At
>> the same time, it is not possible to enrol the TEI again in facility B,
>> because the TEI has an active enrolment in the same programme.
>>
>> Olav
>>
>>
>>
>>
>> 28. okt. 2016 kl. 09.21 skrev Abyot Asalefew Gizaw <abyot@xxxxxxxxx>:
>>
>> Hi Olav,
>>
>> I am not able to reproduce. It works fine from my side when testing with
>> Child program.
>>
>> Can you tell the steps to reproduce?
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Thu, Oct 27, 2016 at 4:47 PM, Olav Poppe <olav.poppe@xxxxxx> wrote:
>>
>>> Hi devs,
>>> I struggling to set up tracker so that users in different orgunits can
>>> enter data for different stages in the same enrollement. I’ve been testing
>>> both in a dev database I’m working on and on play, with 2.24 and 2.25, and
>>> the result is the same:
>>> - User A in Facility A enrolls a TEI in a program
>>> - User B in Facility B searches for the TEI, but when opening the
>>> dashboard it just shows "No active enrollment.". At the same time,
>>> trying to enroll the person also fails, since the TEI is already enrolled…
>>>
>>> Any advice on what I’m missing? I’ve even tested with "superusers" with
>>> no luck, so I don’t think its a user role issue.
>>>
>>> Regards
>>> Olav
>>>
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>

Follow ups

References