changes with jason and added test code to patients/search