migrating existing code from TestPatientGenerator library used to save pateint data criteria directly into to bonnie