For seven days the yoledet should not be left alone, though a hospital is different. Keriat Shema or the study of Torah protects her, as Rashi explains. The Shulchan Aruch permits a kamea in her room, and The Rambam is cited against empty customs of forty days that have no source in the rabbis.