This may be a good idea, BUT be warned by my own experience: I once bought an electronic medical alert device, which was basically a computer memory stick on which could be recorded as much medical information as you liked. This was worn on a necklet, originally designed for bikers who might be involved in serious road traffic accidents. I thought it would be useful for me, as besides my diabetes I have multiple health issues and a very long list of medications. The selling point of the device was that "it can speak for you when you cannot speak for yourself". The problem was that on the one occasion when I was admitted to hospital in an emergency, not in a fit state to pass on reliable information about my medical history and medications, the hospital would not use the device...they were forbidden to use them on their computers because of the risk of importing malware. So the whole thing was a waste of money, and I no longer carry it.
It is altogether possible that the same prohibitions would apply to this....I hope I'm wrong!
I now wear an SoS pendant which contains a paper record of relevant information... its small an unobtrusive, but would be found by a paramedic and can be read by anyone who opens it up . Its relatively cheap, and doesn't rely on electronic gadgetry or on accessing a remote database which could possibly be offline when needed.