Text this: Case formulation using pattern-based formulation (PBF) methodology