finish patient data