CDMed: Medication Recommendation via Causal Inference and Dual-Granularity Information Enhancement | Synapse