changed medication_id key