I think you need to involve them, but it's a reactive thing. This is a palliative approach.
The issue of shortages and how you manage them is part of the problem, and part of the solution, as you correctly point out, is to involve pharmacists and physicians. Really, at the moment we don't have a system that allows that to happen in a way that's useful to the person writing the prescription.