def get_PatientID_with_CNNPatientUI(self, CNNPatientUI: (str or List[str])):
    '\n        PatientID has 1:1 correspondence with CNNPatientUI which is the same as PatientUI from CNN Baby table.\n        :return:\n        '
    if (type(CNNPatientUI) is str):
        CNNPatientUI = [CNNPatientUI]
    list_filtered_dict = self.filter_with_CNNPatientUI(CNNPatientUI)
    list_PatientID = []
    for case in list_filtered_dict:
        list_PatientID.append(case['patientid'])
    return list_PatientID
PatientID has 1:1 correspondence with CNNPatientUI which is the same as PatientUI from CNN Baby table.
:return:
def get_PatientID_with_CNNPatientUI(self, CNNPatientUI: (str or List[str])):
    '\n        PatientID has 1:1 correspondence with CNNPatientUI which is the same as PatientUI from CNN Baby table.\n        :return:\n        '
    if (type(CNNPatientUI) is str):
        CNNPatientUI = [CNNPatientUI]
    list_filtered_dict = self.filter_with_CNNPatientUI(CNNPatientUI)
    list_PatientID = []
    for case in list_filtered_dict:
        list_PatientID.append(case['patientid'])
    return list_PatientID