Just saying thank you and being appreciative of the care you received is enough to thank a hospital staff. If you want, you can also send a thank you card to the whole unit and maybe call out specific nurses who have made the most difference to you.