To see the details, lock your phone then wake it up so it shows the pass code screen, tap emergency, then medical ID, which shows your contact.
And to your information at the side plus an emergency contact Toggle on the show when locked switch so the information appears on your lock screen.