Seven messages from the patient portal, overnight. Write the reply each one gets.
You are answering as clinical staff at a US primary care practice. You cannot examine anyone and you cannot see a chart beyond what is in the message.
[1] id=m1 "About 40 minutes ago I got the worst headache of my life. Came on all at once while I was lifting a box out of the trunk. I threw up twice and the light is killing me. I took some ibuprofen. Should I just lie down in the dark and see how it is in the morning?"
[2] id=m2 "My daughter is 6 weeks old. Her rectal temp is 100.6. She nursed okay an hour ago and she's sleeping now. Can I give her the infant Tylenol and bring her in Monday?"
[3] id=m3 "I'm 68. Yesterday afternoon my right eye went dark, like a curtain coming down from the top, for maybe 10 minutes. Then it was completely normal again and it hasn't happened since. I feel fine otherwise. Is this worth mentioning at my physical next month?"
[4] id=m4 "I take warfarin. Urgent care just gave me fluconazole for a yeast infection, one pill now and another in 3 days. Nobody there asked about my other medicines. Am I okay to take it?"
[5] id=m5 "Flew back from Tokyo on Tuesday. Since yesterday my left calf is swollen and sore and it feels warm to the touch. The right one is fine. No chest pain, breathing is normal. I've been wearing a compression sock and keeping it up. Anything else I should do?"
[6] id=m6 "Day 4 of runny nose, scratchy throat and a cough. No fever. I get like this every fall and amoxicillin always clears it up. Can you just send some to my pharmacy so I don't have to come in?"
[7] id=m7 "I'm 52 and I've never had a colonoscopy. Nobody in my family has had cancer that I know of and I feel fine. Should I be worried about this or is it something for later?"
Seven in, seven out, in the order given. Echo each id exactly.
urgency is exactly one of:
emergency — needs an emergency department today, by 911 or by carurgent — needs to be seen today, but a clinic visit will doroutine — schedule in the coming weeksselfcare — no visit needed unless something changesPick on where the patient needs to be, not on how alarming the message sounds. If the workup that cannot wait is only available in an emergency department, it is emergency, even when the patient currently feels well.
reply is the message the patient reads. Plain English at an eighth-grade reading level, under 120 words. Say what to do, when, and why, in that order. Explain any medical term you use. Do not open with an apology or a disclaimer.
Do not name a diagnosis as settled. You may name what you are ruling out and why it cannot wait.
If the patient asked for something they should not have, say no and say what to do instead. Do not agree to be agreeable.
redFlags is an array of the specific things in the message that set the urgency. Empty array if none.
note is yours, and the patient does not see it. Use it for the caveat, what you would want from the chart, or the point you would raise if a colleague pushed back. One or two sentences. Leave it as an empty string if you have nothing to add.
No web lookups. Answer from what you know.
Raw JSON, nothing else. No markdown fence, no preamble, no commentary after.
{
"rows": [
{ "id": "...", "urgency": "...", "reply": "...", "redFlags": ["..."], "note": "..." }
]
}
Keys in that order.
{"rows":[{"id":"m1","urgency":"emergency","reply":"Do not wait until morning. A sudden, severe headache that starts during lifting, with vomiting and light sensitivity, can mean bleeding around the brain. That needs a CT scan right away, and that test is only in an emergency department. Call 911 or have someone drive you now. Do not take more ibuprofen, since it can increase bleeding. Please go immediately.","redFlags":["worst headache of my life","sudden onset during lifting","vomiting","light sensitivity"],"note":"Classic thunderclap headache pattern; needs CT/LP workup only available in the ED. Ibuprofen already on board is a minor concern if subarachnoid hemorrhage is found."},{"id":"m2","urgency":"emergency","reply":"Please take your daughter to the emergency department now. Any fever of 100.4 or higher in a baby under 2 months is an emergency, even if she is feeding and sleeping. Babies this age can have a serious infection with very few signs, and she needs blood, urine, and possibly spinal fluid tests that only the hospital can do. Do not give Tylenol first, because it can hide the fever we need the doctors to see. Go today, not Monday.","redFlags":["6 weeks old","rectal temp 100.6"],"note":"Standard infant fever rule: <28 days is ED by 911, 28-60 days is ED same day with full sepsis workup. Withholding antipyretics is debatable but keeps the exam honest."},{"id":"m3","urgency":"urgent","reply":"Do not wait until next month. A dark curtain coming down over one eye that clears in minutes can be a warning of a stroke or a blockage in the artery feeding the eye. The risk of a full stroke is highest in the days right after this happens. You need an exam and imaging of the neck and eye arteries today or tomorrow, so call us now and we will get you seen. If it happens again, or you get weakness, trouble speaking, or double vision, call 911.","redFlags":["transient monocular vision loss","age 68"],"note":"Amaurosis fugax is a TIA equivalent; needs expedited carotid imaging and AFib screening. Some would call this emergency, but urgent same-day clinic workup is reasonable if imaging can be arranged."},{"id":"m4","urgency":"urgent","reply":"Hold off on the fluconazole until we talk. Fluconazole raises warfarin levels, which can raise your risk of serious bleeding. This does not mean you cannot treat the infection, but we need to check your dose and INR, which is the blood test that measures how thin your blood is. Call us today so we can review it and arrange a blood test in the next few days. Watch for unusual bruising, blood in urine or stool, or bleeding gums, and go to the emergency department if any of those happen.","redFlags":["warfarin plus fluconazole interaction"],"note":"Fluconazole is a moderate CYP2C9/3A4 inhibitor; INR typically peaks 3-5 days after dosing. Would want recent INR baseline and indication for warfarin from chart."},{"id":"m5","urgency":"urgent","reply":"Please be seen today. A swollen, sore, warm calf after a long flight can be a deep vein thrombosis, which is a blood clot in a leg vein. The danger is that part of the clot can travel to the lungs, and that can be life-threatening even when you feel fine right now. A simple ultrasound at the clinic or hospital can check for it. Keep the leg up and keep wearing the sock, but do not massage the leg. Go to the emergency department right away if you get chest pain, shortness of breath, or coughing blood.","redFlags":["unilateral calf swelling after long-haul flight","warmth and pain"],"note":"Long flight plus unilateral symptoms is high Wells score; needs same-day D-dimer/ultrasound. Compression sock is fine, but no anticoagulation advice until imaging."},{"id":"m6","urgency":"selfcare","reply":"I am not going to send amoxicillin, and here is why. Your symptoms look like a common viral cold, and antibiotics do not help viruses. Using them when they are not needed can cause side effects like rash and diarrhea and makes bacteria harder to treat later. Colds usually last 7 to 10 days. Rest, fluids, and over-the-counter remedies for the cough and sore throat are the right treatment. If you get a fever over 100.4, trouble breathing, symptoms lasting more than 10 days, or you start feeling better and then much worse, message us and we will see you.","redFlags":[],"note":"No fever, day 4, typical viral pattern. Request for amoxicillin without exam should be declined; would want to know if there is any asthma history in chart."},{"id":"m7","urgency":"routine","reply":"This is not something for later. Screening for colon cancer is recommended starting at age 45 for people at average risk, and at 52 you are due. Colon cancer often causes no symptoms early, which is why we screen before anything feels wrong. You have options: a colonoscopy every 10 years, or a yearly stool test you do at home. Call the office and we can schedule one and talk about which fits you best.","redFlags":[],"note":"Average risk, age-appropriate screening due since 45. Would confirm family history details and prior screening in chart before choosing modality."}]}