Some clarification is needed here, I think.
"onset" does not describe a mental disorder...it basically means "start/beginning"
"peripartum onset" means "starting in the last month of pregnancy or first few months after delivery"
peripartum /peri·par·tum/ (-pahr´tum) occurring during the last month of gestation or the first few months after delivery, with reference to the mother. Dorland's Medical Dictionary for Health Consumers. © 2007 by Saunders, an imprint of Elsevier, Inc. All rights reserved.
The 1994 edition of the DSM used the term "Major Depressive Disorder with postpartum onset" to describe depression starting after delivery.
The 2013 edition has changed the time frame...it is now "...with peripartum onset"...that is, the depression can start before delivery.
See
http://cognitive-psychiatry.com/peripartum-depression/I hope this clarifies the usage of "onset" here.