In the hospitals there are kiosks where you fill out the information to get the birth certificate, the social insurance number and the health card all at once. It would be similar to that, especially if you're in a NICU or PICU situation. If something does happen, it can be done right there, with the help of medical staff. The technology already exists.
On November 1st, 2018. See this statement in context.