It's not absolutely necessary to register - if you show up with a HKID card in labour, you'll still get a bed and be admitted etc - BUT you'll need to take medical history etc and while you're in labour, it will be more difficult than just being admitted and that's it. Honestly though, the chances of needing to go to a public hospital are small so up to you if you want to pre-register or not.