To discontinue a prescription, edit an existing prescription ( e.g. from Prescriptions ) and press Discontinue as bellow:


Discontinue drug prescription


The prescription will appear as discontinued in the interface:


Discontinue drug prescription in timeline