We need to invert the markets. Show the demand at a specific price the community is willing to pay for a given thing in a given area and let the grocery stores come down to that price, instead of having the markets guess and fail.
Like, basically how an exchange works. We should go massively capitalistic with purchasing everything, even gum.
Inelasticity and segmenting "the community" is the problem here, like always.
Demand price-point for antibiotics across the community when the average use-case is a road rash? Low.
Demand price-point for antibiotics for a community member with a life-threatening lung infection? Asymptotically higher.
See also: home insurance during wildfires, water during a drought/heatwave, masks during a pandemic.