Gravar-mail: A principled framework for phenotyping postpartum hemorrhage across multiple levels of severity