This section contains a set of scripts to be used to clean ANC data
- This data cleaning script will void any duplicate CURRENT PREGNANCY encounter that was recorded in the same pregnancy after the first visit
- on the root dir of the project, run the following script
rails r bin/fix_patients_with_dup_lmp.rb
- This data cleaning script will update quantity of drug orders SP (3 tablets) with zero quantity from 0 to 3
- on the root dir of the project, run the following script
rails r bin/clean_zero_dispensed_sp.rb