Text this: Modeling the Medical Interview and an Approach to its Functional Invariants