updated code to clean up string true on negations in the patient data criteria