correct strsplit functions for patient id extraction