Text this: Domain Adaptation and Generalization of Functional Medical Data