
Patient 2: You were admitted for bleeding from an ulcer in your stomach. This ulcer is at least
partially caused by naproxen. You should stop taking naproxen and take only tylenol for pain. […]
you are scheduled to get a repeat endoscopy next week. Prior to the procedure do not have
anything to drink or eat after midnight.
Input (Patient's Health Records)
Output (Patient Instruction)
Nursing
Notes
Radiology
Notes
Physician
Notes Medications
Admission
Notes
… …
Patient 1: Please shower daily including washing incisions gently with mild soap, no baths or
swimming, […] please no lotions, cream, powder, or ointments to incisions […] females: please
wear bra to reduce pulling on incision, avoid rubbing on lower edge.
Figure 1: Two examples of the Patient Instruction written by physicians which guide the patients how
to manage their conditions after discharge based on their health records during hospitalization.
What is my main health condition? (i.e., why was I in the hospital?) (2) What do I need to do? (i.e.,
how do I manage at home, and how should I best care for myself?) (3) Why is it important for me to
do this? Of the above, the second section is often considered to be the most important information.
For example, when a patient has had surgery while in the hospital, the PI might tell the patient to
keep the wound away from water to avoid infection.
Currently, the following skills are needed for physicians to write a PI [
24
,
28
,
7
]: (1) thorough
medical knowledge for interpreting the long patient’s clinical records, including diagnosis, medication,
and procedure records; (2) skills for carefully analyzing the extensive and complex patient’s data
acquired during hospitalization, e.g., admission notes, nursing notes, radiology notes, physician
notes, medications, and laboratory results; (3) the ability of extracting key information and writing
instructions appropriate for the lay reader. Therefore, writing PIs is a necessary but time-consuming
task for physicians, exacerbating the workload of clinicians who would otherwise focus on patient
care [
34
,
26
]. Besides, physicians need to read lots of patients’ long health records in their daily work,
resulting in a substantial opportunity for incompleteness or inappropriateness of wording [
30
,
35
].
Statistically, countries with abundant healthcare resources, such as the United States, have up to
54% of physicians experiencing some sign of burnout in one year of study [
27
], which is further
exacerbated in countries with more tightly resource-constrained healthcare resources.
The overloading of physicians is a well-documented phenomenon [
30
,
35
], and AI-related support
systems that can partly automate routine tasks, such as the generation of PIs for modification/approval
by clinicians is an important contribution to healthcare practice. To this end, we propose the novel
task of automatic PI generation, which aims to generate an accurate and fluent textual PI given input
health records of a previously-unseen patient during hospitalization. In this way, it is intended that
physicians, given the health records of a new patient, need only review and modify the generated
PI, rather than writing a new PI from scratch, significantly relieving the physicians from the heavy
workload and increasing their time and energy spent in meaningful clinical interactions with patients.
Such endeavors would be particularly useful in resource-limited countries [32].
In this paper, we build a dataset PI and propose a deep-learning approach named Re
3
Writer, which
imitates the physicians’ working patterns to automatically generate a PI at the point of discharge
from the hospital. Specifically, when a patient discharges from the hospital, physicians will carefully
analyze the patient’s health records in terms of diagnosis, medication, and procedure, then accurately
write a corresponding PI based on their working experience and medical knowledge [
6
,
7
]. In order
to model clinicians’ text production, the Re
3
Writer, which introduces three components: Retrieve,
Reason, and Refine, (1) first encodes working experience by mining historical PIs, i.e., retrieving
instructions of previous patients according to the similarity of diagnosis, medication and procedure;
(2) then reasons medical knowledge into the current input patient data by learning a knowledge
graph, which is constructed to model domain-specific knowledge structure; (3) at last, refines relevant
information from the retrieved working experience and reasoned medical knowledge to generate final
patient discharge instructions.
2