set_ipd function

Set up individual patient data