Data Quality Validation Rules - LogicalOutcomes/DHIS2-FAQ GitHub Wiki

Task:

  • Create Data Validation rules in DHIS2.

Notes:

  • Setting Data Validation Rules will minimize data entry errors applied during data entry.

    • Though helpful for guarding against entering highly deviant values, Data Validation Rules do not prevent errors within a logically acceptable range from being entered.
  • Click Here to see a walkthrough video from the Online Curriculum that is related to this task.

Instructions:

Step 1: Go to the 'Data Quality' app:

Step 2: Click 'Validation Rule'.

Step 3: Click 'Add new', you will see this screen:

Step 4: Fill out:

  • Name

  • Description

  • Instruction

  • Importance

  • Select 'Rule type' from the following options in the drop-down menu (Validation is default). Note that 'Validation' is for aggregate data validation rules and 'Surveillance' is for Tracker Capture validation rules.

  • Select an 'Operator' from the following options in the drop-down menu

  • Click 'Edit left side'.

    i. Double click the required Data Element(s), and use the mathematical function buttons, to form the required calculation. ii. Click Save when finished.

  • Click 'Edit right side' and follow the same process.

 

Step 5: Click 'Save' at the bottom of the screen to save your new Data Validation Rule.