Linkingpatient_profile with new_exam