removed patient link when no patient ID