switch patientData PropType back to obj