Text this: CHGRec: causal heterogeneous graph-enhanced medication recommendation with personalized refinement