The surgeon promised a full recovery within three months, provided that you follow all his orders..
The surgeon promised a full recovery within three months, on conditions that you'd follow all the prescriptions.