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 my hospitalized friend.
お見舞いに花束を持って病院に向かった。
I headed to the hospital with flowers for a visit.
見舞いの言葉をカードに書いて送った。
I wrote words of sympathy on a card and sent it.