Renamed encounter_medication to patient_medication