A 30 year old primigravida at 34 weeks gestation presents with a 3 day history of headache and visual disturbance. Her blood pressure is 168 over 112 mmHg and urinalysis shows 3 plus protein. She has generalised hyperreflexia but no seizures. What is the most appropriate initial management?