Cervix question

What does it mean when my cervix is dilated on the outside but not inside? I had a routine checkup today and my doctor ended up sending me over to hospital for contractions and that’s what she said about my cervix.