[Dhis2-users] [validation rules] Validating an entry based on last period's value of a given data element

2017-10-20 Thread Mugisha, Jean F.
Dear all,

I am having difficulty creating a validation rule that checks an entry (data 
element) with the last period's value of the same data element. I read the 
documentation and noticed 18.7.1.1. About sliding windows, a feature that I 
think might be helpful 
(https://docs.dhis2.org/2.27/en/user/html/manage_validation_rule.html ). 
However, there is no clear guide on how to use/set it up. If I am on the right 
track, does anyone know how to use it?

Scenario:

  Data Entry:
 Period 0: Data element “Malaria” 
[Malaria_Period_0] has value 10
 Period 1: Data element “Malaria” 
[Malaria_Period_1] has value 20
 Period 2: Data element “Malaria” 
[Malaria_Period_2] has value 30

Validation rule to create: Current data element value = last period’s data 
element value
Period 1: Checks “Malaria_Period_1” = “Malaria_Period_0”
 Period 2: Checks “Malaria_Period_2” = 
“Malaria_Period_1”

Info:
DHIS2 version: 2.27
  Domain type: Aggregate

Any help is much appreciated.

Thanks,
Jean
___
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


[Dhis2-users] Measure criteria for program indicators

2017-10-20 Thread Shurajit Dutta
Hi,

I was looking through the measure criteria feature in the pivot table app.
It seems to work well for aggregate data. When I try and apply this to
program indicators however, the filter does not seem to be applied. Is
there a plan to implement this feature for program indicators as well?

Thanks,
Nick
___
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] [WISCENTDs] Users disappearing from user groups

2017-10-20 Thread Ramón José Jiménez Pomareta
Analyzing the log, I think (and hope) this disappearing users issue could
be due to the problem Viet Nguyen mentions on our ticket
https://jira.dhis2.org/browse/DHIS2-2394

The mentioned problem (https://jira.dhis2.org/browse/DHIS2-1969) could be
the cause.

Our 2.27 version is from July 28th while this multiselect problem was fixed
on 2.27 July 31th :)

We will keep you informed.

That's the log that induces me to think that.

* INFO  2017-08-06 22:13:05,231 'auseradmin' update
org.hisp.dhis.user.User, name: User NAME, uid: USERNAMEID
(AuditLogUtil.java [ajp-bio-8010-exec-21])
* INFO  2017-09-14 11:53:07,411 'theconcerneduser' update
org.hisp.dhis.user.User, name: User NAME, uid: USERNAMEID
(AuditLogUtil.java [ajp-bio-8010-exec-20])
* INFO  2017-10-17 12:39:30,002 'auseradmin' update
org.hisp.dhis.user.UserGroup, name: GROUPNAME, uid: GROUPID
(AuditLogUtil.java [ajp-bio-8010-exec-12])
* INFO  2017-10-18 11:48:19,825 'auseradmin' update
org.hisp.dhis.user.UserGroup, name: GROUPNAME, uid: GROUPID
(AuditLogUtil.java [ajp-bio-8010-exec-5])
* INFO  2017-10-18 11:54:08,088 'auseradmin' update
org.hisp.dhis.user.UserGroup, name: GROUPNAME, uid: GROUPID
(AuditLogUtil.java [ajp-bio-8010-exec-6])
* INFO  2017-10-18 13:19:54,414 'astandardUser??' update
org.hisp.dhis.user.UserGroup, name: GROUPNAME, uid: GROUPID
(AuditLogUtil.java [ajp-bio-8010-exec-7])
* INFO  2017-10-18 14:54:48,160 'auseradmin' update
org.hisp.dhis.user.User, name: User NAME, uid: USERNAMEID
(AuditLogUtil.java [ajp-bio-8010-exec-11])
* INFO  2017-10-18 14:54:48,161 'auseradmin' update
org.hisp.dhis.user.User, name: User NAME, uid: USERNAMEID
(AuditLogUtil.java [ajp-bio-8010-exec-11])
* INFO  2017-10-18 14:54:48,172 'auseradmin' update
org.hisp.dhis.user.UserGroup, name: GROUPNAME , uid: GROUPID
(AuditLogUtil.java [ajp-bio-8010-exec-11])




2017-10-19 21:46 GMT+02:00 Greg Rowles :

> Hi Lise
>
> Is it possible to look at server log files to monitor any unusual activity?
>
> On Thu, Oct 19, 2017 at 7:09 PM, GROUT, Lise  wrote:
>
>> Dear all,
>>
>>
>>
>> We are having a problem for the last two days: users are disappearing
>> from user groups!
>>
>>- they used to be part of a user group and they previously entered
>>data in programs available for this user groups
>>- but yesterday and today, when they loged in, they were not granted
>>acces to the program in event capture and when we checked, they were not
>>part anymore to the user group...
>>
>> This happened to (to our knowledge...) 2 users, in 2 different user
>> groups and 2 different programs...
>>
>> Additionally to this, when I go to normal User App and try to add them
>> back to the user group, it does not work... Unless we do it through the Web
>> API...
>>
>> Any idea of why this is happening? And how we can solve the problem?
>>
>> I have opened a JIRA: https://jira.dhis2.org/browse/DHIS2-2394
>>
>> Please this is quite a serious problem as it prevents users from entering
>> data in the platform, and the behavior is quite unpredictable, so other
>> users may disappear from their user groups…
>>
>>
>>
>> Thanks!
>>
>> Lise.
>>
>>
>>
>>
>>
>> Dr. Lise Grout
>>
>> *Epidemiologist*
>>
>>
>>
>> *World Health Organization*
>>
>> *Department of Neglected Tropical Diseases (HTM/NTD/IDM)*
>> *Innovative and Intensified Disease Management Unit*
>> *20, Avenue Appia; CH-1211 Geneva 27*
>> *Tel. **+41 22 791 2341 <+41%2022%20791%2023%2041>*
>>
>> *Mobile +41 79 290 68 61 <+41%2079%20290%2068%2061>*
>>
>> *Skype: tigrouveto*
>>
>> http://www.who.int/neglected_diseases
>>
>>
>>
>> ___
>> 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
>>
>>
>
>
> --
> *Health Information Systems Program - South Africa*
> *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - -
> - *
> Mobile  :073 246 2992
> Landline:   021 851 2216
> Skype:  gregory_rowles
>
> ___
> 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
>
>
___
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