There is a difference between legalizing recreational heroin, as the parent comment and activists like Dr. Carl Hart suggest, and providing maintenance doses in a medical setting under supervised and monitored conditions. Switzerland does the latter.
Portgul is relevant because their program of decriminalization is frequently referenced in media and by US policymakers.
What does Portugal have to do with it?
[0] https://en.m.wikipedia.org/wiki/Heroin-assisted_treatment