If a patient dies of a massive allergic reaction, but is otherwise healthy, would his organs still be viable for transplantation?
This would be an in-hospital death. The guy gets to the ER on foot, but doesn't make it any farther. He goes into cardiac arrest on the spot, and is card-carrying DNR / organ donor.
Is it really necessary to your story that the reader know where the donated organs come from? Is it enough for the audience to just know that the character was saved via an organ donor? Most of the time, these small details are not as important as the author thinks, but its your story, only you know that.
The organs from a person that suddenly died, will not be immediately used in another person. There are waiting lists, there are ethics, there is a pathology protocol, there is processing and there is tissue typing. The organs have to be flushed to reduce possibility of graft vs host disease, clots and crap and the organs must be packed to keep them from perishing in the event that they can be used as soon as testing is completed.
Even though the deceased person holds an organ donor card, doesn't mean their organs will be used for organ donation. That is just a permission slip to harvest. The medical history of the person may be consulted, the tissues must be screened for infectious diseases & tox, and they must be tested for compatibility. Not all hospital systems have the credentials to perform this type of testing, or the staff to perform it.
Keep in mind, just because an organ is deemed a 'perfect match' = 6 out of 6; this doesn't mean the transplant will work, it just means the data support that it
should work. The organ can reject the patient, just as much as the patient's body can reject the organ. Another thing to consider is age of the patient. You cannot put an infant's heart into a 40 year old man, or vice verse.
Good luck to you & your story!