1,366. A Minor Who Loses a Relative

217:2 If a child loses a close relative, even if he reaches the age of majority during the week of shiva, he is exempt from all the requirements of mourning since he was exempt at the time of the relative’s passing. He should, however, observe the mourning practices of the twelve months for a parent, which are done to honor them.

217:3 If a sick person lost a close relative and he was informed of it, then he became well during the week of shiva, he observes the remaining days. The same is true if he recuperated during shloshim: the recovered patient observes the remaining days and he need not make up the days that passed while he was ill. This is because even then he observed some form of mourning and this counts. Similarly, a woman who has given birth need not make up the days that passed during the childbirth; she need only observe the days remaining.