Medication records, treatment plans, and withdrawal rules