opensrp / opensrp-client-tbr

Other
2 stars 4 forks source link

Filter out non-presumptives from OMRS sync #44

Open cafootitt opened 6 years ago

cafootitt commented 6 years ago

In the presumptive register, the screening form separates out presumptives (who get added to the register), and those who are non-presumptive (do not get added to the register). These non-presumptives should sync to Couch and Postgres like normal, but they should be filtered out of the sync to OpenMRS.

The variable name in the xlsform that distinguishes between presumptives and non-presumptives is presumptive = 'yes' for presumptives and 'no' for non-presumptives.