Fetching details from the dictionary...

visit (to someone affected by illness or misfortune); call; inquiry (about someone's health); expression of sympathy
letter of inquiry; letter of sympathy; get-well letter; gift (in token of one's sympathy)
病院にお見舞に行ってきた。
I went to visit someone at the hospital.
お見舞の品を持って行った。
I brought a gift when visiting the patient.
お見舞に来てくれてありがとう。
Thank you for coming to visit me.