public string QueryIdPatient() { PatientDAO patientDAO = new PatientDAO(); Debug.Log(inputPatientId.text); int idPatient = patientDAO.GetIdPatient(inputPatientId.text); string idPatientStr = idPatient.ToString(); if (idPatientStr != "0") { statePatient = true; Debug.Log(statePatient); } return(idPatientStr); }