Stored only on this phone. Never sent to any server. Works in airplane mode.
Also set up your phone's lock-screen Medical ID
iPhone: Health app → Medical ID → Show When Locked. Android: Settings → Safety & emergency → Medical information.