ARMR: Adaptively Responsive Network for Medication Recommendation