Null check for patient id type (in case RAMA, Mutuelle, etc. aren't set)