Months of medicine shortages threaten health of state patients