Dear Claude, if data is entered at district level, that will be easy with a surveillance rule. Please see this for more information. https://www.dhis2.org/doc/snapshot/en/user/html/ch12s05.html
Alex On Mon, Jun 15, 2015 at 11:25 AM, henri claude moungui < [email protected]> wrote: > Hi to all. > > In disease surveillance, if a district reports 3 measles cases in 4 weeks, > this district is in alert of a possible measles outbreak. I want to > automatically be notified if a district reaches the alert threshold. > One way could be that the control is done in data entry form. > > I am thinking on an indicator that could get the value yes/no if a > district reaches the alert thereshold in DHIS2. > I wrote this code hoping this would help but I don't know how to implement > it. In fact, this code is just the way I see the procedure. > > Read week x ; > Read District1; > Write week x ; > Write number_measles_cases (week x); > If number_measles_cases (week x) + number_measles_cases (week x-1) + > number_measles_cases (week x-2) + number_measles_cases (week x-3)>=3 > Then District1.MeaslesEpiStatus= « yes » ; > End > > > > Week x is the current week for which data are being entered. > District1 is the district for which data are being entered. > MeaslesEpiStatus is an indicator which value could be yes/no. > > A warmly mercy for all the DHIS2 support team and users all around the > world! > > Henri. > > > > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > > -- Alex Tumwesigye Technical Advisor - DHIS2 (Consultant), Ministry of Health/AFENET Kampala Uganda IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya IT Specialist (Servers, Networks and Security, Health Information Systems - DHIS2 ) & Solar Consultant +256 774149 775, + 256 759 800161 "I don't want to be anything other than what I have been - one tree hill "
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp

