← Back to team overview

dhis2-users team mailing list archive

Re: Surveillance rules

 

Hi Joao,

A surveillance-type validation rule should work as you say, comparing the
current values of the left side with previous values of the right side. I
don't know why you aren't seeing this behaviour.

When you create a new surveillance-type validation rule, be sure to give a
non-zero "Sequential sample count" to compare with periods immediately
preceding the current period, and/or a non-zero "Annual sample count" to
compare with the same period in past years. If you choose both, it will
compare the current data with a range of sequential periods in this year
and in past years.

If this is not the problem, I would need some more information to
understand better your situation. If you can reproduce the problem on the
demo system https://apps.dhis2.org/demo/, or on another system to which I
can be given access, that might help the most.

Cheers,
Jim


On Thu, May 14, 2015 at 4:22 AM, Joao Mazuze <Joao_Mazuze@xxxxxxxxxxxx>
wrote:

>  Hi guys,
>
> I know that surveillance rules compare data from previous periods with the
> current one. Now I need to compare data values from the same data
> elements(left and right side), but the rule ignores the previous value and
> compares only the current value itself which doesn´t make sense as
> surveillance rules compare current values with previous ones. How can I
> solve this?
>
>
>
> Kind regards,
>
> João
>
>
>
> Kind regards
>
> _____________________________________
>
> João Gabriel Mazuze
>
> National Database Manager
>
> Projecto CHASS-SMT
>
> Abt Associates Inc.
>
> Av. Marginal, 4067
>
> Cidade de Maputo, Moçambique
>
> Fax: (+ 258)  21486767
>
> Tel:  (+ 258)  21493525/6/8
>
> Cell: (+258) 82 4236279
>
> www.chasssmt.com
>
>
>
> [image: Description: Description: Description: Description: Description:
> Description: Description: Description: Description: Logotipo CHASS-SMT]
>
> *Somos um projecto financiado  pelo PEPFAR-II, através da USAID, para
> reforçar o Sistema de Saúde das Provincias de  Sofala, Manica e Tete.
> Pretendemos melhorar a ligação e integração do HIV  com os Cuidados
> Primários de Saúde e outros a ele relacionados em coordenação com as
> Direcções Provinciais de Saúde e outros parceiros. Através do projecto
> CHASS-SMT, o Governo Americano apoia o Governo Moçambicano na melhoria da
> qualidade dos Serviços de Saúde no país.*
>
>
>
>
>
>
> ------------------------------
> This message may contain privileged and confidential information intended
> solely for the addressee. Please do not read, disseminate or copy it unless
> you are the intended recipient. If this message has been received in error,
> we kindly ask that you notify the sender immediately by return email and
> delete all copies of the message from your system.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>

JPEG image


Follow ups

References