Are you saying the medicine that costs 30 at the pharmacy is only two at the hospital?

Hospitals and clinics generally use centrally procured medicines, while pharmacies buy their stock from provincial- or municipal-level pharmaceutical distributors. By the time the products leave the manufacturer and reach pharmacies, they’ve already passed through two or three intermediaries, so it’s normal for their prices to be somewhat higher than hospitals’ purchase prices. Also, the medicines hospitals procure centrally are generally from relatively inexpensive, lesser-known manufacturers.

Did you use your health insurance?

The quality is somewhat different, but generic medicines are more or less the same.