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

2017-07-18 Thread Stanley Kalyati
Thanks Calle,

Very useful indeed.

Stanley



On Tue, Jul 18, 2017 at 3:49 PM, Calle Hedberg 
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
> 101 and 499, whereas all those without services range from 500
> to , 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  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  wrote:
>>
>>> Hi,
>>>
>>> There needs to be enrolment for each program.
>>>
>>> ---
>>>
>>> Thank you,
>>> Abyot.
>>> (sent from mobile)
>>>
>>>
>>> On Jul 18, 2017 14:54, "Knut Staring"  wrote:
>>>
>>> Probably not in 2.27maybe others have better ideas...
>>>
>>> On Tue, Jul 18, 2017 at 11:44 AM, Stanley Kalyati 
>>> 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 
 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 
> 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 
>> 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 <
>>> skaly...@gmail.com> 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-d...@lists.launchpad.net
 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-d...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@lists.launchpad.net
>> 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: 

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

2017-07-18 Thread Calle Hedberg
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
101 and 499, whereas all those without services range from 500
to , 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  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  wrote:
>
>> Hi,
>>
>> There needs to be enrolment for each program.
>>
>> ---
>>
>> Thank you,
>> Abyot.
>> (sent from mobile)
>>
>>
>> On Jul 18, 2017 14:54, "Knut Staring"  wrote:
>>
>> Probably not in 2.27maybe others have better ideas...
>>
>> On Tue, Jul 18, 2017 at 11:44 AM, Stanley Kalyati 
>> 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  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 
 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 
> 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 > > 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-d...@lists.launchpad.net
>>> 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-d...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> 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

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com

Skype: calle_hedberg

***
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


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

2017-07-18 Thread Stanley Kalyati
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  wrote:

> Hi,
>
> There needs to be enrolment for each program.
>
> ---
>
> Thank you,
> Abyot.
> (sent from mobile)
>
>
> On Jul 18, 2017 14:54, "Knut Staring"  wrote:
>
> Probably not in 2.27maybe others have better ideas...
>
> On Tue, Jul 18, 2017 at 11:44 AM, Stanley Kalyati 
> 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  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 
>>> 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 
 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 
> 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-d...@lists.launchpad.net
>> 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-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


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

2017-07-18 Thread Knut Staring
Probably not in 2.27maybe others have better ideas...

On Tue, Jul 18, 2017 at 11:44 AM, Stanley Kalyati 
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  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 
>> 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  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 
 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-d...@lists.launchpad.net
> 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
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


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

2017-07-18 Thread Stanley Kalyati
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  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 
> 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  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 
>>> 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-d...@lists.launchpad.net
 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
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


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

2017-07-18 Thread Knut Staring
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 
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  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 
>> 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-d...@lists.launchpad.net
>>> 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
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


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

2017-07-18 Thread Stanley Kalyati
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  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 
> 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-d...@lists.launchpad.net
>> 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
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


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

2017-07-18 Thread Knut Staring
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 
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-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp