"At the hospital" usually refers to someone visiting the hospital, "in the hospital" refers to a patient at the hospital.
"In the year" isn't really something I'd ever say, it just sounds weird. Maybe "within the year" or "in the next year." "During the year" means what's happening during the year. Like, if you said "I live in Toronto during the school year" it would mean that for the school year, you live in Toronto.