Medically Treated for Hours: How to Offer Prayers?

Can I offer prayer in the hospital during the dialysis session especially my location is agains ...