Herbal medicine and pattern identifica