Research questionHow can medical concept encoders adapt text-attributed knowledge-graph context to each patient for EHR prediction?A clinical code can have different meaning and predictive value across patients and their trajectories. Models must determine how much relational context each code needs while connecting that structure with its textual semantics.