It's not called yoga at the hospital, it's just an exercise class. You don't need a referral, but you do need an OK from your midwife/ob/gp and you can't go before a certain stage of pregnancy.

And Heaven you can totally borrow it! I hardly use it now, I virtually know it off by heart.