Re: [Dhis2-devs] problems building dhis-service-reporting

2017-07-18 Thread Jason Pickering
Hi Adam, We have seen this type of error before, and it seems to be connectivity related, but not sure of the exact cause. https://ci.dhis2.org/job/dhis2-trunk/ and https://travis-ci.org/dhis2/dhis2-core are both running fine, so I suspect it is something local. Which version are you

Re: [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. > >

Re: [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

Re: [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. > >

Re: [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

Re: [Dhis2-devs] Detect password expiry via WebAPI

2017-07-18 Thread Stian Sandvold
Hi Farai, You can use the /api/users endpoint to get information about password expiry. The expiry is based on time after last password change, and not set to a certain date of expiry, so when you use this endpoint you only get the last time the password was updated, so you need to calculate

[Dhis2-devs] Detect password expiry via WebAPI

2017-07-18 Thread Farai Mutero
Hi All Which WebAPI end-point can one use to check when a users password is set to expire? Regards -- Farai Mutero ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe :

Re: [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

Re: [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

Re: [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

Re: [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

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

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