Text this: From trial data to personalized medicine: a validated framework with an application to Crohn’s disease