← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] DISABLING A STAGE IN SOME ORG UNITS

 

Thanks Calle,

Very useful indeed.

Stanley



On Tue, Jul 18, 2017 at 3:49 PM, Calle Hedberg <calle.hedberg@xxxxxxxxx>
wrote:

> Stanley,
>
> You can use Program Rules to hide stages, as long as you have attributes
> and/or data elements already captured that can be utilised to trigger rules.
>
> OR that you use some kind of pattern to e.g. assign OrgUnitCodes to
> OrgUnits. If all OUs providing health services have OUcode numbers between
> 1000001 and 4999999, whereas all those without services range from 5000000
> to 99999999, you can use the  V{orgunit_code} function to retrieve the
> OUcode and the determine if stage x should be hidden.
>
> Just note that the current Tracker Capture apk for Android do not support
> HIDEPROGRAMSTAGE
>
> Regards
> Calle
>
> On 18 July 2017 at 15:20, Stanley Kalyati <skalyati@xxxxxxxxx> wrote:
>
>> Thats exactly what i thought Abyot.But in my case,i want one enrollment
>> but to disable some stages in certain OUs and allowing them to enable when
>> at certain OUs.
>>
>> On Tue, Jul 18, 2017 at 3:14 PM, Abyot Gizaw <abyota@xxxxxxxxx> wrote:
>>
>>> Hi,
>>>
>>> There needs to be enrolment for each program.
>>>
>>> ---
>>>
>>> Thank you,
>>> Abyot.
>>> (sent from mobile)
>>>
>>>
>>> On Jul 18, 2017 14:54, "Knut Staring" <knutst@xxxxxxxxx> wrote:
>>>
>>> Probably not in 2.27....maybe others have better ideas...
>>>
>>> On Tue, Jul 18, 2017 at 11:44 AM, Stanley Kalyati <skalyati@xxxxxxxxx>
>>> wrote:
>>>
>>>> So we have one enrollment form for someone to be part of the program.So
>>>> if i create two programs with each with 3 stages,will someone be able to
>>>> search the clients across the two programs?
>>>>
>>>> On Tue, Jul 18, 2017 at 11:40 AM, Knut Staring <knutst@xxxxxxxxx>
>>>> wrote:
>>>>
>>>>> Right...but why does that preclude you from having two programs, each
>>>>> with 3 stages?
>>>>>
>>>>> On Tue, Jul 18, 2017 at 11:38 AM, Stanley Kalyati <skalyati@xxxxxxxxx>
>>>>> wrote:
>>>>>
>>>>>> Thanks Knut but we are using Unique identifiers and we need to track
>>>>>> these individuals at all stages.Ofcourse right now it is going on well but
>>>>>> what we have noticed is that due to so many files,data clerks have ended up
>>>>>> capturing clinical data under an OU that does not offer such services.As we
>>>>>> wanted to limit these errors by enabling the system to lock forms on
>>>>>> certain OUs and open them on certain OUs.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Tue, Jul 18, 2017 at 11:34 AM, Knut Staring <knutst@xxxxxxxxx>
>>>>>> wrote:
>>>>>>
>>>>>>> Perhaps there are other ways, but obviously you could create two
>>>>>>> programs and assign them to different OUs.
>>>>>>>
>>>>>>> Knut
>>>>>>>
>>>>>>> On Tue, Jul 18, 2017 at 11:30 AM, Stanley Kalyati <
>>>>>>> skalyati@xxxxxxxxx> wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> I have a program with 4 stages but two of these stages should only
>>>>>>>> be enabled at selected OUs.Example stages for Clinic data should only be
>>>>>>>> enabled at a health facility OU and not other OU.This will avoid data
>>>>>>>> clerks to capture clinical data at an OU which does not offer clinical
>>>>>>>> services.
>>>>>>>>
>>>>>>>> Can anyone assist.
>>>>>>>>
>>>>>>>> Thank you.
>>>>>>>>
>>>>>>>> Stanley
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Knut Staring
>>>>>>> Dept. of Informatics, University of Oslo
>>>>>>> Norway: +4791880522 <+47%20918%2080%20522>
>>>>>>> Skype: knutstar
>>>>>>> http://dhis2.org
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Knut Staring
>>>>> Dept. of Informatics, University of Oslo
>>>>> Norway: +4791880522 <+47%20918%2080%20522>
>>>>> Skype: knutstar
>>>>> http://dhis2.org
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522 <918%2080%20522>
>>> Skype: knutstar
>>> http://dhis2.org
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
>
> *******************************************
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472 <+27%2021%20685%206472>
>
> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>
> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>
> Email: calle.hedberg@xxxxxxxxx
>
> Skype: calle_hedberg
>
> *******************************************
>
>

References