patientlist and patient detail plugged together