Cardio prompt architecture
This is the practice module. You'll learn to build prompts according to the fixed formula role + context + task + format + uncertainty, and apply it to six typical cardio scenarios: differential diagnosis for chest pain, editing a discharge letter, patient information at B1 reading level, summarising ECG findings, providing imaging context, and creating teaching for residents.
What you'll learn: how a good clinical prompt is built, five live exercises (do each at least once), and which information you'd better not put in a prompt, regardless of the tool.
Lesson 4.1: The five building blocks of a clinical prompt
Goal: one checklist you mentally run through before every prompt.
The fifth step in particular is often skipped. Without it, the model defaults to a “know-it-all” tone. Adding one line, “name two assumptions you made and one point you're not sure about at the bottom”, often makes the entire answer much more usable, and puts you in verification mode in advance.
Questions for lesson 4.1
1. Why would you use the five building blocks, role, context, task, format, uncertainty?
2. What's the most important effect of adding “name two assumptions and one uncertainty”?
Lesson 4.2: Provide source, don't ask for source
The most important prompt rule to avoid hallucinated guideline citations.
From module 1 you know: an LLM doesn't “know” the guideline, it has memorised text patterns. As soon as you ask “what does the ESC guideline X say about Y?”, the model fills the form of a guideline citation with content that sounds statistically plausible. Sometimes it's right, sometimes not.
The rule
Want reliable guideline content? Paste the relevant chapter yourself into the prompt. Then the model works with your source, instead of its vague memory.
Example: correct form, wrong content
A model may answer with something like: “See Table 7 of the 2023 ESC AF Guidelines, Section 6.4.1.” That sounds like a real citation, but such a table/section often does not exist. Check within 30 seconds: open the real PDF, search for the section number. Form looks right but content is wrong? Classic hallucination. Hence: provide the source, don't ask for the source.
Two variants of the same question, see what the difference does:
Questions for lesson 4.2
3. What's the best prompt strategy to prevent hallucinating guideline citations?
Lesson 4.3: Differential diagnosis for chest pain
Goal: a DD prompt that structures instead of forcing conclusions.
What an LLM must not do: give a definitive clinical conclusion. What it can do well: generate a broad DD, order pro/con arguments, and help you not forget any category. Here's how it goes into a prompt:
Two deliberately built-in things:
- An additional investigation per item. Forces the model from “naming diagnosis” to “how do you proceed?”. Usable in practice.
- “Which information would change the DD most?” That's the question you'd also ask a good resident, and it keeps the conversation on “what don't we know” instead of “what's the answer”.
Teaching rule before you paste
End every DD prompt with: which two additional pieces of information would change this DD most? That forces the model to make uncertainty explicit and helps you see whether the reasoning holds.
Live exercise 1: DD for chest pain
Paste the whole template into the chat and supplement the case with this anonymised data:
Points to consider when assessing: (1) is NSTEMI at the top with correct pro/con? (2) do aortic dissection, pulmonary embolism and pericarditis appear? (3) what does the model name as “what would change the DD most”, does that match what you'd want to know?
Lesson 4.4: Editing a discharge letter
Goal: have a letter's form and tone polished without shifting clinical content.
This is one of the high-frequency wins: turning a first draft or rough notes into a clean discharge letter for the GP. Important: your clinical outcomes, doses, follow-ups are in the prompt. The model rewrites form, not content.
Four rules you must always include
- Don't change doses, numbers, or medication names from your dictation.
- Don't add clinical findings you didn't mention.
- Fixed length (forces 'compression' instead of addition).
- Fixed tone (otherwise you accidentally get “the patient is in fantastic health”).
Questions for lesson 4.4
4. Which rule keeps the model from “accidentally changing” doses as much as possible?
Live exercise 2: Discharge letter from raw points
Paste the template with these anonymised raw points:
Check literally: are the doses unchanged? Has nothing been added that you didn't mention? Is the tone professionally neutral (no “patient has recovered”-type phrasing)?
Lesson 4.5: Patient information at B1 reading level
Goal: explain a complex diagnosis clearly, without knowledge risk.
LLMs are strikingly good at simplifying. For a simple leaflet for a patient with new atrial fibrillation, a well-composed prompt is enough to get a first draft, that you'll clinically correct in a few minutes.
What B1 means
Average secondary education level, short sentences (max 15 words), active voice, no jargon without explanation, examples from everyday life. An LLM picks up this level quickly when you ask explicitly, but without specification you often get C1 level (too complex for a leaflet).
Questions for lesson 4.5
5. How do you consistently lower the language level of an AI-generated leaflet?
Live exercise 3: Leaflet for new AFib
Assess: sentence length, jargon-free terms, are alarm signals clinically correct? Is what it 'deliberately left out' truly confusing in this setting (e.g. ablation options at first leaflet) or would you yourself have mentioned it?
Lesson 4.6: Imaging and ECG, what to put or not to put to the LLM
Goal: realistic expectation of a text LLM with ECG and echo/CMR.
Today's text LLMs (ChatGPT, Claude) are not ECG interpretation models. Separate AI systems exist for that (PMcardio, Cardiologs, etc.), trained on millions of ECG signals. What a text LLM does do well:
- Summarise an ECG report in understandable language.
- Develop differential diagnosis after you have named the ECG findings in text.
- Order an echo report by abnormalities + severity.
- Create patient explanation for an imaging outcome.
What it shouldn't do: directly interpret an ECG image as basis for clinical management. Multimodal models (GPT-4 vision, Claude 3.5/4 with image) do see an ECG graphically, but make errors that a specialised ECG AI system or cardiologist wouldn't. For teaching or a second opinion that thinks along, fine, for management: not.
The practical division of labour
You or an ECG AI system interpret the ECG. The LLM then helps with language: summary, DD, patient information, letter.
Questions for lesson 4.6
6. What's a sensible role division between LLM and cardiologist around an ECG?
Live exercise 4: Order echo report for MDT
Paste this prompt into Claude Sonnet 5.5:
Paste into Claude Sonnet 5.5. Check that the output keeps exactly the six blocks and stays within 180 words. Then change one finding in the raw results (for example EF to 35% or AVA to 1.4 cm2) and see whether the key question and conclusion move with it. Note one sentence of what you would still adjust for your own MDT format.
Lesson 4.7: Summarising literature and guidelines
Goal: get an ESC guideline or paper into an MDT/CAT format, with source.
Deliberately combine here three things from earlier modules: provide source (module 4.2), question at the bottom (module 2.4), and uncertainty explicit (module 4.1).
Live exercise 5: Summarise your own guideline chapter
Grab a chapter of an (openly available) ESC guideline you need today. Copy the entire chapter and paste it into the template. Then test for contradiction: ask the model explicitly “which of your bullets might a fellow cardiologist dispute?”
For long guidelines (60+ pages): Claude (1M context) offers a smoother route than ChatGPT. For loose chapters, both work fine.
Lesson 4.8: Creating teaching for residents and trainees
Goal: quickly generate a case + 5 learning questions for teaching moments.
Cardiologists provide a lot of teaching. Making a good case + multiple choice questions takes 30–60 minutes. With a good template, a first draft is done in 5 minutes, that you then clinically refine.
Questions for lesson 4.8
7. Why would you explicitly put “give no guideline citations with paragraph/table numbers” in a teaching prompt?
Lesson 4.9: What you don't put in your prompt
Goal: a short red list to remember every working day.
For the extensive privacy explanation with the traffic-light model: see module 5. Here already the shortest summary, to be a rule of action already for the exercises in this module:
Not in a public chat (ChatGPT.com, Claude.ai, Gemini, DeepSeek chat)
- Patient name, BSN, date of birth, exact address or contact details.
- Full text of a record note or letter with the above data.
- DICOM files, original ECG trace files, photos with a recognisable patient.
- Combinations of rare diagnosis + location + timestamp that make the patient re-identifiable.
What is usually OK (at your own responsibility)
- Anonymised cases: age range, sex, complaint, findings, without identifiable details.
- Your own raw points / dictation without patient names.
- Entirely fictional cases.
- Your own letters from which you have first removed everything personal.
For “own environment” (hospital-approved Copilot/Claude Enterprise/Azure OpenAI with DPIA), wider rules often apply, ask ICT and the Data Protection Officer.
Lesson 4.10: Let AI interview you for a DD helper
Goal: in five to ten minutes get a plan for a small tool that supports your differential-diagnosis thinking, without taking it over.
You can ask an LLM to build a tool straight away. Better: briefly say what you want (for example support for DD formation), and ask the AI to interview you. That forces boundaries: no diagnosing, but structure, checklists and marking missing information. Use only fictional or anonymised case elements.
Talking is allowed. ChatGPT Voice/Live works on the free tier with a 24-hour limit (often a lighter Live variant). Gemini Live is often free with limits. Claude has less voice. If Voice fails, type. The prompt works for both.
Live exercise 6: Interview for a DD supporter
Open Claude or ChatGPT. Paste. Answer one question at a time. Then ask for the plan; only build once the plan is right.
Check that the plan explicitly says “no diagnosis, no policy”. If Voice is available: talk for 5-10 minutes and then ask for the written plan. Only build after that.
Take-home from module 4
Five building blocks
Role + context + task + format + uncertainty. One line of uncertainty makes every answer 30% more usable.
Provide source
Not “what does the guideline say?”, but: here is chapter X, only cite what's here. Anti-hallucination rule #1.
LLM = language
The LLM is a language machine for letters, summaries, leaflets, DD structure, teaching. ECG/echo interpretation stays with cardiologist or specialised AI system.
Interview first, then build
For a DD helper: let the AI question you for 5-10 minutes, check the plan (no diagnosis/policy), only then build.