basically the same way. the system would still be balkanized and terrible, but you would have a full searchable copy. it would basically be the equiv of itunes. you bring it to all youdt docs and u put your records on it, then they keep them to(like they do now) but you have a program that generates visual correlations.
you could also use it to interface with healthkit and fitbit. all data one place.
what if you were unconscious?
i imagine it in a bracelet with emergency contact with password. not 100% sure. the medical system should have your files anyway, but it is hard to balance privacy with a total stranger finding you in a state where you cant communicate. not sure what they do now, presumably treat with as much info as they could get from the person.