Our obligation is to attend Mass on Sundays (or Saturday evening). If someone is unable to fulfill his Sunday obligation for valid reasons, then his obligation to attend is simply abrogated.