As luck would have it, there was a database of previously seen pediatric lupus patients being maintained in the hospital.
One of the paediatrician had digitized the charts and made them searchable with key words. Like any chronic medical condition, lupus generates a staggering amount of paperwork. Doctors follow each patient for years, even a decade.and all that data was accessible with a keystroke.
Immediately scrolling through the data led to intelligent information like how many pediatric lupus patient that had come through the hospital developed blood clots, and what the risk factors were. Based on that, the patient was given the anti-coagulant. Over time her lupus got better.
This is how the techology helped a dying patient. This is the fantastic application of usage of technology in medicine.