For some EMR programs, the office can pull over your prescription history from the pharmacy. This might also include that antibiotic you took for a UTI a year ago! Unless the nurse, or physician asked what you are currently taking, that antibiotic, or other meds, will stay on your chart.
Most of my physicians have a portal, and/or pre visit questionnaire where you can update your medical history before the visit. All fine and good if someone in the practice actually looks at it. I took a peek at one of my mother’s portal prior to a visit; she still has two different lipid medications listed and she hasn’t taken either in years! I could add new medication, but could not remove one. I know from working with an EMR that this is just a quirk of the program, but still annoying.