Drug shortages are harming patients because GPs are being forced to dole out second-choice medicines