The mother was hospitalized for one month until five days prior to delivery.
 high risk pregnancy
(ROOT (S (NP (DT The) (NN mother)) (VP (VBD was) (VP (VBN hospitalized) (PP (IN for) (NP (CD one) (NN month))) (PP (IN until) (NP (NP (CD five) (NNS days)) (ADJP (RB prior) (PP (TO to) (NP (NN delivery)))))))) (. .)))
(ROOT (NP (JJ high) (NN risk) (NN pregnancy)))
( ( The mother ) ( ( was ( ( hospitalized ( for ( one month ) ) ) ( until ( ( five days ) ( prior ( to delivery ) ) ) ) ) ) . ) )
( high ( risk pregnancy ) )