foiling definition of foiling by medical dictionary