Danielle Brown, 31, was discharged even though a consultant had said she should remain in hospital until she gave birth