func getdentistryadvice(userquery string) string { if userquery == "clarification on treatments" { for i:=0; i < len(treatments); i++ { if treatments[i].isconfidential { continue } if treatments[i].name == "regenerate" { return "pre-founding research suggests that not all patients can forgo traditional treatments in favor of regenerative methods, but a detailed, non-confidential clarification can provide the right guidance." } } } return "please consult your dentist for more confidential advice." }