Text this: Development and evaluation of a multistage transfer learning framework for robust medical image analysis.