dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #29515
[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 1032: User manual validation rule group changes for 2.15
------------------------------------------------------------
revno: 1032
committer: Jim Grace <jimgrace@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Mon 2014-04-21 15:54:47 -0400
message:
User manual validation rule group changes for 2.15
modified:
src/docbkx/en/dhis2_user_man_creating_data_quality.xml
--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs
Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription
=== modified file 'src/docbkx/en/dhis2_user_man_creating_data_quality.xml'
--- src/docbkx/en/dhis2_user_man_creating_data_quality.xml 2013-12-23 09:16:02 +0000
+++ src/docbkx/en/dhis2_user_man_creating_data_quality.xml 2014-04-21 19:54:47 +0000
@@ -1,140 +1,141 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- This document was created with Syntext Serna Free. --><!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "docbookV4.4/docbookx.dtd" []>
-<chapter>
- <title>Setting up Data Quality functionality</title>
- <para>The data quality module provides means to improve the quality of the data in the system. This can be done through validation rules and various statistical checks.</para>
- <section>
- <title>Overview of data quality check</title>
- <para>Ensuring data quality is a key concern in building an effective HMIS. Data quality has different dimensions including:</para>
- <itemizedlist>
- <listitem>
- <para><emphasis>Correctness:</emphasis> Data should be within the normal range for data collected at that facility. There should be no gross discrepancies when compared with data from related data elements.</para>
- </listitem>
- <listitem>
- <para><emphasis>Completeness:</emphasis> Data for all data elements for all health facilities/blocks/Taluka/districts should have been submitted.</para>
- </listitem>
- <listitem>
- <para><emphasis>Consistency:</emphasis> Data should be consistent with data entered during earlier months and years while allowing for changes with reorganization, increased work load, etc. and consistent with other similar facilities.</para>
- </listitem>
- <listitem>
- <para><emphasis>Timeliness:</emphasis> All data from all health facilities/blocks/Taluka/districts should be submitted at the appointed time.</para>
- </listitem>
- </itemizedlist>
- </section>
- <section>
- <title>Data quality checks</title>
- <para>Data quality checking can be done through various means, including:</para>
- <orderedlist>
- <listitem>
- <para>At point of data entry, the software can check the data entered to see if it falls within the min-max ranges of that data element over the last six months or as defined by the user.</para>
- </listitem>
- <listitem>
- <para>Defining various validation rules, which can be run once the user has finished data entry. The user can also check the entered data for a particular period and Organization Unit(s) against the validation rules, and display the violations for these validation rules. </para>
- </listitem>
- <listitem>
- <para>Analysis of data sets, i.e. examining gaps in data.</para>
- </listitem>
- <listitem>
- <para>Data triangulation which is comparing the same data or indicator from different sources.</para>
- </listitem>
- </orderedlist>
- </section>
- <section>
- <title>Data quality check at the point of data entry </title>
- <para>Data quality can be checked at the point of data entry through setting the minimum and maximum value range for each element manually or generating the min-max values using the DHIS 2 if there is historical data available for that data element.
- </para>
- <section>
- <title>Setting the minimum and maximum value range manually </title>
- <para>If you are using the default entry screen click on the element for which you want to set the min-max value. A pop-up window will appear in which you can enter the values. On subsequent data entry if the value entered does not fall within the set min-max range the text box will change colour to red. The user will also get a pop-up as shown below. This change in colour is a prompt to check the data entered and make necessary correction. On the data entry screen the users also have the option to add a comment on how the discrepant figure might be explained (if required). This you can do by using the drop down menu of the ‘comment’ box. In case you are using the custom data entry screen which is displayed when you deselect the ‘default data entry form’ option on the top right corner of the screen. In this case the minimum and maximum values can be added by double-clicking on the data entry box instead of the data element.</para>
- </section>
- <section>
- <title>Generated min-max values </title>
- <para>It is possible to generate the min-max value, element-wise, using the DHIS2. In such case you merely need to click on the ‘Generate min-max’ button near the upper right corner. In case of default data entry screen the min and max values, when generated, will appear on the left and right side of the data entry box. In case you deselect the default data entry form the generated values will appear on the top right end of the screen.</para>
- </section>
- </section>
- <section id="validationRule">
- <title>Validation Rule</title>
- <para>This module provides management of validation rules. A validation rule is based on an expression which defines a relationship between a number of data elements. The expression has a left side and a right side and an operator which defines whether the former must be less than, equal to or greater than the latter. The expression forms a condition which should assert that certain logical criteria are met. For instance, a validation rule could assert that the total number of vaccines given to infants is less than or equal to the total number of infants.</para>
- <para>To add a validation rule, just follow these steps:</para>
- <itemizedlist>
- <listitem>
- <para>Click on the <emphasis role="italic">Add new</emphasis> button</para>
- </listitem>
- <listitem>
- <para>Provide a descriptive <emphasis role="italic">Name</emphasis> for the validation rule. The name must be unique among the validation rules.</para>
- </listitem>
- <listitem>
- <para>Provide a <emphasis role="italic">Description</emphasis> for the validation rule.</para>
- </listitem>
- <listitem>
- <para>Select the <emphasis role="italic">Importance</emphasis> you wish to assign to the validation rule: <emphasis role="italic">high</emphasis>, <emphasis role="italic">medium</emphasis> or <emphasis role="italic">low</emphasis>.</para>
- </listitem>
- <listitem>
- <para>Select the <emphasis role="italic">Rule type</emphasis>. For validating correct data, choose <emphasis role="italic">Validation</emphasis>. For monitoring data according to a rule, choose <emphasis role="italic">Surveillance</emphasis> and follow the extra instructions below.</para>
- </listitem>
- <listitem>
- <para>Select the <emphasis role="italic">Period type</emphasis> for the data being validated.</para>
- </listitem>
- <listitem>
- <para>Select an <emphasis role="italic">Operator</emphasis>. The operator options are <emphasis role="italic">equal</emphasis>, <emphasis role="italic">not equal</emphasis>, <emphasis role="italic">greater than</emphasis>, <emphasis role="italic">greater than or equal</emphasis>, <emphasis role="italic">less than</emphasis>, <emphasis role="italic">less than or equal to</emphasis> and <emphasis role="italic">compulsory pair</emphasis>.</para>
- </listitem>
- <listitem>
- <para>Define the <emphasis role="italic">left side</emphasis> and <emphasis role="italic">right side</emphasis> of the validation rule expression. First, provide a description for the expression. Second, build the expression with the expression builder. The expression is mathematical and contain data elements as well as integers and mathematical operators. Data elements can be included by double-clicking one in the available data elements list to the right. Alternatively one can select a data element and click the insert button. Mathematical operators can be included by clicking the corresponding button under the expression builder area.</para>
- </listitem>
- <listitem>
- <para>Save each expression by clicking <emphasis role="italic">Save</emphasis>, then save the validation rule by clicking <emphasis role="italic">Save</emphasis>.</para>
- </listitem>
- </itemizedlist>
- <para>When editing an expression, check the setting <emphasis role="italic">skip for missing values</emphasis> to require that all data element values in the expression must be present. If any values are missing, the validation rule will be skipped. If this setting is unchecked it means that the expression will be evaluated even if some of the values are missing.</para>
- <para>The compulsory pair operator allows you to require that data values must be entered for a form for both left and right sides of the expression, or for neither side. In other words, you can require that if one field in a form is filled, then one or more other fields must also be filled.</para>
- <para>To edit a validation rule, click the <emphasis role="italic">edit</emphasis>icon next to the relevant validation rule in the list. Then follow the same procedures as above.</para>
- <para>To delete a validation rule, click the <emphasis role="italic">delete</emphasis>icon next to the relevant validation rule in the list.</para>
- <para>To view validation rule details, click the <emphasis role="italic">view details</emphasis>icon next to the relevant validation rule in the list.</para>
- </section>
- <section>
- <title>Surveillance Rule</title>
- <para>As well as checking for correct data, you can use a validation rules to find unexpected data values when compared with data from previous time periods. This kind of validation rules are called <emphasis role="italic">surveillance</emphasis> rules.</para>
- <para>To add a surveillance rule, follow the steps above for validation rules, choosing a <emphasis role="italic">
- <emphasis role="italic">rule type</emphasis>
- </emphasis> of <emphasis role="italic">Surveillance</emphasis>. This adds the following validation rule options:</para>
- <itemizedlist>
- <listitem>
- <para>Choose an <emphasis role="italic">Organisation unit level</emphasis> for this surveillance rule. If the data you wish to monitor is not entered at this level, it will be aggregated from lower level organisation units in the organisation unit hierarchy.</para>
- </listitem>
- <listitem>
- <para>Enter a <emphasis role="italic">Sequential sample count</emphasis>. This is the number of time periods immediately preceding against which you wish to compare the data. For example, if the period type is <emphasis role="italic">Weekly</emphasis> and this count is 2, the current data will be compared with past data averaged over each of the 2 previous weeks.</para>
- </listitem>
- <listitem>
- <para>Enter an <emphasis role="italic">Annual sample count</emphasis>. This is the number of preceding years over which you will compare the data, from periods at the same time of preceding years. For example if the period type is Weekly and the count is 3, data for a week starting on the first of September will be compared with data averaged over the week containing September 1 in each of the past 3 years.</para>
- <para>The sequential sample count <emphasis role="italic">or</emphasis> annual sample count must be at least 1.</para>
- <para>You may use the sequential and annual sample counts together. For example, say the period type is <emphasis role="italic">Weekly</emphasis>, the sequential count is 2, and the annual count is 3. The data will be compared with the average of the following time periods: the 2 weeks immediately preceding, and for each of the previous 3 years the data at the same time of year, plus the preceding 2 weeks, plus the following 2 weeks. This makes a total of 17 past periods: 2 immediate past periods plus 5 periods for each of the 3 preceding years. Be aware that when you have many past periods like this, evaluating the surveillance rule may take significant time and system resources.</para>
- </listitem>
- <listitem>
- <para>Enter a number of <emphasis role="italic">High outliers</emphasis> of past data that you wish to exclude from comparison. This is useful if some past periods may have had unusually high data values, and you wish to compare against the average of all but the highest past period values. This gives the number of highest past period values to exclude before the past period values are averaged and compared with the current value.</para>
- </listitem>
- <listitem>
- <para>Enter a number of <emphasis role="italic">Low outliers</emphasis> of past data that you wish to exclude from comparison. This is like High outliers except that it gives the number of lowest past period values to exclude before the past period values are averaged and compared with the current value.</para>
- <para>You may use the high and low outliers in combination, but the sum of high outliers and low outliers must be less than the total number of past samples as determined by the sequential and annual sample counts. In the example above where there are 17 past periods, the sum of high and low outliers must be 16 or less.</para>
- <para>If data is not found for all the desired past periods, the high and low outliers will be reduced in proportion to the number of periods for which data is found. For example, say we are looking for 17 past periods with high outliers set to 4 and low outliers set to 2. If data is found for only 9 of these past periods, only 2 high outliers will be discarded, and only 1 low outlier will be discarded.</para>
- </listitem>
- </itemizedlist>
- <para>When a surveillance rule is evaluated, the <emphasis role="italic">left side</emphasis> of the equation is evaluated for the current period, and the <emphasis role="italic">right side</emphasis> is evaluated for each of the past periods. The right side values for past periods are averaged, and the average is compared to the left side value according to the operator. Any high or low outliers are removed before the right-side average is taken.</para>
- <para>A surveillance rule may contain data elements for periods that are longer than the period given for the rule. This is useful, for example, if you want to divide a data element value by the population count, and the population count is entered annually. The data for the longer period type (e.g. population count) must be entered for a period that overlaps with the start of the period being evaluated. For example, if the period being evaluated is the week starting January 6, 2014, the yearly population count must be entered for the year containing January 6 2014. If the data element is from a longer period type than the rule period type, it must have an aggregation operator of average, not sum. In other words, only data elements that don't sum through time (like population count) can be used from longer periods than the rule period.</para>
- <para>For surveillance rules, the <emphasis role="italic">skip for missing</emphasis> option is given an additional meaning when data is being collected and aggregated from lower levels of the organisation unit hierarchy. When this option is selected and the data is present for some descendants at a lower level, but not all descendants at that level, the rule is skipped.</para>
- </section>
- <section id="validationRuleGroup">
- <title>Validation Rule Group</title>
- <para>A validation rule group provides a mechanism for classifying related validation rules. Another advantage of using validation rule groups is that it can later be run separately, instead of running all validation rules.</para>
- <para>You can also use a validation rule group to configure how users are notified of alerts from scheduled validation runs. To do this, you should identify a set of validation rules you want to evaluate regularly, and a set of users who should be notified of any exceptions to these rules. Then:</para>
- <itemizedlist>
- <listitem>
- <para>Through User Management, make sure that a user role contains the users to be notified of theses results. This can be an existing role, or you may create a user role for this purpose.</para>
- </listitem>
- <listitem>
- <para>Define a validation rule group for a set of validation rules. In the section User roles to alert, select one or more roles to which the users belong who should be notified.</para>
- </listitem>
- </itemizedlist>
- <para>By repeating these two steps, you can build any set of relations between validation rules and users to fit your needs.</para>
- <para>To enable routine scheduling of data validation runs, choose Data Administration from the Maintenance menu. Then click on Scheduling. If scheduling is active, click on the Stop button, then select the Data monitoring strategy of All daily. Finally enable scheduling by clicking on the Start button.</para>
- </section>
-</chapter>
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- This document was created with Syntext Serna Free. --><!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "docbookV4.4/docbookx.dtd" []>
+<chapter>
+ <title>Setting up Data Quality functionality</title>
+ <para>The data quality module provides means to improve the quality of the data in the system. This can be done through validation rules and various statistical checks.</para>
+ <section>
+ <title>Overview of data quality check</title>
+ <para>Ensuring data quality is a key concern in building an effective HMIS. Data quality has different dimensions including:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>Correctness:</emphasis> Data should be within the normal range for data collected at that facility. There should be no gross discrepancies when compared with data from related data elements.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis>Completeness:</emphasis> Data for all data elements for all health facilities/blocks/Taluka/districts should have been submitted.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis>Consistency:</emphasis> Data should be consistent with data entered during earlier months and years while allowing for changes with reorganization, increased work load, etc. and consistent with other similar facilities.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis>Timeliness:</emphasis> All data from all health facilities/blocks/Taluka/districts should be submitted at the appointed time.</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ <section>
+ <title>Data quality checks</title>
+ <para>Data quality checking can be done through various means, including:</para>
+ <orderedlist>
+ <listitem>
+ <para>At point of data entry, the software can check the data entered to see if it falls within the min-max ranges of that data element over the last six months or as defined by the user.</para>
+ </listitem>
+ <listitem>
+ <para>Defining various validation rules, which can be run once the user has finished data entry. The user can also check the entered data for a particular period and Organization Unit(s) against the validation rules, and display the violations for these validation rules. </para>
+ </listitem>
+ <listitem>
+ <para>Analysis of data sets, i.e. examining gaps in data.</para>
+ </listitem>
+ <listitem>
+ <para>Data triangulation which is comparing the same data or indicator from different sources.</para>
+ </listitem>
+ </orderedlist>
+ </section>
+ <section>
+ <title>Data quality check at the point of data entry </title>
+ <para>Data quality can be checked at the point of data entry through setting the minimum and maximum value range for each element manually or generating the min-max values using the DHIS 2 if there is historical data available for that data element.
+ </para>
+ <section>
+ <title>Setting the minimum and maximum value range manually </title>
+ <para>If you are using the default entry screen click on the element for which you want to set the min-max value. A pop-up window will appear in which you can enter the values. On subsequent data entry if the value entered does not fall within the set min-max range the text box will change colour to red. The user will also get a pop-up as shown below. This change in colour is a prompt to check the data entered and make necessary correction. On the data entry screen the users also have the option to add a comment on how the discrepant figure might be explained (if required). This you can do by using the drop down menu of the ‘comment’ box. In case you are using the custom data entry screen which is displayed when you deselect the ‘default data entry form’ option on the top right corner of the screen. In this case the minimum and maximum values can be added by double-clicking on the data entry box instead of the data element.</para>
+ </section>
+ <section>
+ <title>Generated min-max values </title>
+ <para>It is possible to generate the min-max value, element-wise, using the DHIS2. In such case you merely need to click on the ‘Generate min-max’ button near the upper right corner. In case of default data entry screen the min and max values, when generated, will appear on the left and right side of the data entry box. In case you deselect the default data entry form the generated values will appear on the top right end of the screen.</para>
+ </section>
+ </section>
+ <section id="validationRule">
+ <title>Validation Rule</title>
+ <para>This module provides management of validation rules. A validation rule is based on an expression which defines a relationship between a number of data elements. The expression has a left side and a right side and an operator which defines whether the former must be less than, equal to or greater than the latter. The expression forms a condition which should assert that certain logical criteria are met. For instance, a validation rule could assert that the total number of vaccines given to infants is less than or equal to the total number of infants.</para>
+ <para>To add a validation rule, just follow these steps:</para>
+ <itemizedlist>
+ <listitem>
+ <para>Click on the <emphasis role="italic">Add new</emphasis> button</para>
+ </listitem>
+ <listitem>
+ <para>Provide a descriptive <emphasis role="italic">Name</emphasis> for the validation rule. The name must be unique among the validation rules.</para>
+ </listitem>
+ <listitem>
+ <para>Provide a <emphasis role="italic">Description</emphasis> for the validation rule.</para>
+ </listitem>
+ <listitem>
+ <para>Select the <emphasis role="italic">Importance</emphasis> you wish to assign to the validation rule: <emphasis role="italic">high</emphasis>, <emphasis role="italic">medium</emphasis> or <emphasis role="italic">low</emphasis>.</para>
+ </listitem>
+ <listitem>
+ <para>Select the <emphasis role="italic">Rule type</emphasis>. For validating correct data, choose <emphasis role="italic">Validation</emphasis>. For monitoring data according to a rule, choose <emphasis role="italic">Surveillance</emphasis> and follow the extra instructions below.</para>
+ </listitem>
+ <listitem>
+ <para>Select the <emphasis role="italic">Period type</emphasis> for the data being validated.</para>
+ </listitem>
+ <listitem>
+ <para>Select an <emphasis role="italic">Operator</emphasis>. The operator options are <emphasis role="italic">equal</emphasis>, <emphasis role="italic">not equal</emphasis>, <emphasis role="italic">greater than</emphasis>, <emphasis role="italic">greater than or equal</emphasis>, <emphasis role="italic">less than</emphasis>, <emphasis role="italic">less than or equal to</emphasis> and <emphasis role="italic">compulsory pair</emphasis>.</para>
+ </listitem>
+ <listitem>
+ <para>Define the <emphasis role="italic">left side</emphasis> and <emphasis role="italic">right side</emphasis> of the validation rule expression. First, provide a description for the expression. Second, build the expression with the expression builder. The expression is mathematical and contain data elements as well as integers and mathematical operators. Data elements can be included by double-clicking one in the available data elements list to the right. Alternatively one can select a data element and click the insert button. Mathematical operators can be included by clicking the corresponding button under the expression builder area.</para>
+ </listitem>
+ <listitem>
+ <para>Save each expression by clicking <emphasis role="italic">Save</emphasis>, then save the validation rule by clicking <emphasis role="italic">Save</emphasis>.</para>
+ </listitem>
+ </itemizedlist>
+ <para>When editing an expression, check the setting <emphasis role="italic">skip for missing values</emphasis> to require that all data element values in the expression must be present. If any values are missing, the validation rule will be skipped. If this setting is unchecked it means that the expression will be evaluated even if some of the values are missing.</para>
+ <para>The compulsory pair operator allows you to require that data values must be entered for a form for both left and right sides of the expression, or for neither side. In other words, you can require that if one field in a form is filled, then one or more other fields must also be filled.</para>
+ <para>To edit a validation rule, click the <emphasis role="italic">edit</emphasis>icon next to the relevant validation rule in the list. Then follow the same procedures as above.</para>
+ <para>To delete a validation rule, click the <emphasis role="italic">delete</emphasis>icon next to the relevant validation rule in the list.</para>
+ <para>To view validation rule details, click the <emphasis role="italic">view details</emphasis>icon next to the relevant validation rule in the list.</para>
+ </section>
+ <section>
+ <title>Surveillance Rule</title>
+ <para>As well as checking for correct data, you can use a validation rules to find unexpected data values when compared with data from previous time periods. This kind of validation rules are called <emphasis role="italic">surveillance</emphasis> rules.</para>
+ <para>To add a surveillance rule, follow the steps above for validation rules, choosing a <emphasis role="italic">
+ <emphasis role="italic">rule type</emphasis>
+ </emphasis> of <emphasis role="italic">Surveillance</emphasis>. This adds the following validation rule options:</para>
+ <itemizedlist>
+ <listitem>
+ <para>Choose an <emphasis role="italic">Organisation unit level</emphasis> for this surveillance rule. If the data you wish to monitor is not entered at this level, it will be aggregated from lower level organisation units in the organisation unit hierarchy.</para>
+ </listitem>
+ <listitem>
+ <para>Enter a <emphasis role="italic">Sequential sample count</emphasis>. This is the number of time periods immediately preceding against which you wish to compare the data. For example, if the period type is <emphasis role="italic">Weekly</emphasis> and this count is 2, the current data will be compared with past data averaged over each of the 2 previous weeks.</para>
+ </listitem>
+ <listitem>
+ <para>Enter an <emphasis role="italic">Annual sample count</emphasis>. This is the number of preceding years over which you will compare the data, from periods at the same time of preceding years. For example if the period type is Weekly and the count is 3, data for a week starting on the first of September will be compared with data averaged over the week containing September 1 in each of the past 3 years.</para>
+ <para>The sequential sample count <emphasis role="italic">or</emphasis> annual sample count must be at least 1.</para>
+ <para>You may use the sequential and annual sample counts together. For example, say the period type is <emphasis role="italic">Weekly</emphasis>, the sequential count is 2, and the annual count is 3. The data will be compared with the average of the following time periods: the 2 weeks immediately preceding, and for each of the previous 3 years the data at the same time of year, plus the preceding 2 weeks, plus the following 2 weeks. This makes a total of 17 past periods: 2 immediate past periods plus 5 periods for each of the 3 preceding years. Be aware that when you have many past periods like this, evaluating the surveillance rule may take significant time and system resources.</para>
+ </listitem>
+ <listitem>
+ <para>Enter a number of <emphasis role="italic">High outliers</emphasis> of past data that you wish to exclude from comparison. This is useful if some past periods may have had unusually high data values, and you wish to compare against the average of all but the highest past period values. This gives the number of highest past period values to exclude before the past period values are averaged and compared with the current value.</para>
+ </listitem>
+ <listitem>
+ <para>Enter a number of <emphasis role="italic">Low outliers</emphasis> of past data that you wish to exclude from comparison. This is like High outliers except that it gives the number of lowest past period values to exclude before the past period values are averaged and compared with the current value.</para>
+ <para>You may use the high and low outliers in combination, but the sum of high outliers and low outliers must be less than the total number of past samples as determined by the sequential and annual sample counts. In the example above where there are 17 past periods, the sum of high and low outliers must be 16 or less.</para>
+ <para>If data is not found for all the desired past periods, the high and low outliers will be reduced in proportion to the number of periods for which data is found. For example, say we are looking for 17 past periods with high outliers set to 4 and low outliers set to 2. If data is found for only 9 of these past periods, only 2 high outliers will be discarded, and only 1 low outlier will be discarded.</para>
+ </listitem>
+ </itemizedlist>
+ <para>When a surveillance rule is evaluated, the <emphasis role="italic">left side</emphasis> of the equation is evaluated for the current period, and the <emphasis role="italic">right side</emphasis> is evaluated for each of the past periods. The right side values for past periods are averaged, and the average is compared to the left side value according to the operator. Any high or low outliers are removed before the right-side average is taken.</para>
+ <para>A surveillance rule may contain data elements for periods that are longer than the period given for the rule. This is useful, for example, if you want to divide a data element value by the population count, and the population count is entered annually. The data for the longer period type (e.g. population count) must be entered for a period that overlaps with the start of the period being evaluated. For example, if the period being evaluated is the week starting January 6, 2014, the yearly population count must be entered for the year containing January 6 2014. If the data element is from a longer period type than the rule period type, it must have an aggregation operator of average, not sum. In other words, only data elements that don't sum through time (like population count) can be used from longer periods than the rule period.</para>
+ <para>For surveillance rules, the <emphasis role="italic">skip for missing</emphasis> option is given an additional meaning when data is being collected and aggregated from lower levels of the organisation unit hierarchy. When this option is selected and the data is present for some descendants at a lower level, but not all descendants at that level, the rule is skipped.</para>
+ </section>
+ <section id="validationRuleGroup">
+ <title>Validation Rule Group</title>
+ <para>A validation rule group provides a mechanism for classifying related validation rules. Another advantage of using validation rule groups is that it can later be run separately, instead of running all validation rules.</para>
+ <para>You can also use a validation rule group to configure how users are notified of alerts from scheduled validation runs. To do this, you should identify a set of validation rules you want to evaluate regularly, and a group of users who should be notified of any exceptions to these rules. Then:</para>
+ <itemizedlist>
+<?dbfo keep-together="always" ?> <listitem>
+ <para>Be sure that one or more user groups are defined containing all the users you wish to notify.</para>
+ </listitem>
+ <listitem>
+ <para>Define a validation rule group for a set of validation rules. In the section User groups to alert, select one or more user groups to be notified.</para>
+ </listitem>
+ </itemizedlist>
+ <para>By repeating these two steps, you can build any set of relations between validation rules and users to fit your needs.</para>
+ <para>When you create or edit a validation rule group, there is an option called <emphasis role="italic">Only organisation unit related users are alerted</emphasis>. If this is set to <emphasis role="italic">Yes</emphasis>, then each user in the group(s) will be alerted only for validation exceptions for an organisation unit to which the user has been assigned through user management -- or for any lower-level organisation unit under that organisation unit. If this is set to <emphasis role="italic">No</emphasis>, then each user in the assigned user group(s) will be alerted for all validation exceptions in the group, regardless of organisation unit.</para>
+ <para>To enable routine scheduling of data validation runs, choose Data Administration from the Maintenance menu. Then click on Scheduling. If scheduling is active, click on the Stop button, then select the Data monitoring strategy of All daily. Finally enable scheduling by clicking on the Start button.</para>
+ </section>
+</chapter>