Factory Pattern. 1  Factory pattern is a creational design pattern. 2  Idea of the factory patterns is to localize the object creation code. 3  This prevents disturbing the entire system for a new type introduction.
The average maternity leave in the U.S. is about 10 weeks, but about half of new moms took at least five weeks, with about a quarter taking nine weeks or more, figures showed.
In 1970, the average length of stay for all hospital deliveries was 4.1 days (median: 4 days). By 1992, the average had decreased by 37% to 2.6 days (median: 2.0 days). The average length of stay for women who gave birth vaginally decreased by 46% (from 3.9 to 2.1 days) and for those who gave birth by cesarean section by 49% (from 7.8 to 4.0 days) Figure_1.