When can obstetric risk be predicted?