Workflow
When this skill triggers, follow these steps in order.
Step 1 — Ingest Clinical Text and Target Audience
Ask the user for (or read from the prompt):
- Clinical text — the source document: discharge summary, after-visit note, lab result, prescription instructions, or any clinical snippet.
- Target audience — one of:
patient-friendly (plain English, reading level ~6th grade)
caregiver (slightly more technical, but still jargon-free)
spanish-patient (patient-friendly, translated into Spanish)
clinician (reverse direction — patient description back into clinical shorthand)
- Language override (optional) — any ISO language name, e.g. "Mandarin", "Portuguese". Overrides the audience language if set.
If the clinical text or target audience is missing, prompt:
"Please provide: (1) the clinical text you want translated, and (2) the target audience (patient-friendly, caregiver, spanish-patient, or clinician)."
Step 2 — Extract and Inventory Critical Values
Before writing a single word of translation, internally build an inventory:
- Dosages and concentrations: e.g.
500mg, 0.9% NaCl, 10 units
- Frequencies: e.g.
TID, BID, q8h, PRN
- Durations and intervals: e.g.
x7d, x14 days, 2 wks
- Thresholds and reference values: e.g.
>38.5°C, <90 mmHg, HbA1c >7%
- Numeric lab values: e.g.
WBC 12.4, Cr 1.1 mg/dL, INR 2.3
- Procedure and anatomy abbreviations: e.g.
s/p lap chole, RUQ, PCP, D/C
Record every item. These are the verbatim preservation list — none may be paraphrased or altered in the output.
Step 3 — Translate to the Target Register
Produce the translated document following these rules:
For patient-friendly / caregiver / language targets:
- Expand every abbreviation on first use, e.g.
TID (three times a day).
- Write dosages and frequencies as:
amoxicillin 500 mg (500mg), taken three times a day (TID) — preserve the original value in parentheses if space allows, or inline directly.
- Never substitute a numeric value:
500mg stays 500mg, never "half a gram". 38.5°C stays 38.5°C, not "slightly above normal".
- Use short sentences (≤20 words each).
- Avoid Latin phrases; use plain equivalents (
by mouth not per os).
- Organise the output with clear section headers: What happened, Your medications, Follow-up appointments, Warning signs — return to the ER if you notice any of these.
- Keep the Warning signs section visually prominent (bold header).
For clinician (reverse) direction:
- Convert plain-language descriptions back to standard clinical shorthand.
- Preserve all numeric values exactly as the patient stated them.
- Flag any values that appear clinically implausible with
[VERIFY].
Step 4 — Flag Ambiguities and Add the Verification Notice
After the translated document, always append two sections:
Things to verify with your provider
List every term or instruction from the source that is:
- Ambiguous or context-dependent (e.g. a PRN medication with no stated threshold)
- An abbreviation that could have multiple expansions (e.g.
MS = multiple sclerosis OR morphine sulfate)
- A value outside typical patient reference ranges that warrants explanation
- Any instruction requiring professional clinical judgement
Format as a numbered list. If nothing is ambiguous, write: "No ambiguous terms identified — still confirm all instructions with your provider before acting."
Verification notice
Always end with this exact block, adapted for the target language if translating:
Important: This translation is a communication aid only. It is not medical advice. Always confirm your medications, doses, and follow-up instructions directly with your healthcare provider or pharmacist before making any changes to your care.
Step 5 — Quality Check
Before returning output, verify the inventory from Step 2:
If any check fails, revise before returning.
Example
See examples/input.md for a realistic discharge-summary snippet with multiple dosages, numeric thresholds, and clinical abbreviations. See examples/output.md for the complete patient-friendly rewrite, verification list, and rubric.
1---2name: opalite-medical-translator3description: Translate clinical text between clinician jargon and patient-friendly language (or across spoken languages), preserving every dosage and numeric value verbatim, expanding all abbreviations correctly, and flagging anything that needs human verification.4---56# Workflow78When this skill triggers, follow these steps in order.910## Step 1 — Ingest Clinical Text and Target Audience1112Ask the user for (or read from the prompt):13141. **Clinical text** — the source document: discharge summary, after-visit note, lab result, prescription instructions, or any clinical snippet.152. **Target audience** — one of:16 - `patient-friendly` (plain English, reading level ~6th grade)17 - `caregiver` (slightly more technical, but still jargon-free)18 - `spanish-patient` (patient-friendly, translated into Spanish)19 - `clinician` (reverse direction — patient description back into clinical shorthand)203. **Language override** (optional) — any ISO language name, e.g. "Mandarin", "Portuguese". Overrides the audience language if set.2122If the clinical text or target audience is missing, prompt:23> "Please provide: (1) the clinical text you want translated, and (2) the target audience (patient-friendly, caregiver, spanish-patient, or clinician)."2425## Step 2 — Extract and Inventory Critical Values2627Before writing a single word of translation, internally build an inventory:2829- **Dosages and concentrations**: e.g. `500mg`, `0.9% NaCl`, `10 units`30- **Frequencies**: e.g. `TID`, `BID`, `q8h`, `PRN`31- **Durations and intervals**: e.g. `x7d`, `x14 days`, `2 wks`32- **Thresholds and reference values**: e.g. `>38.5°C`, `<90 mmHg`, `HbA1c >7%`33- **Numeric lab values**: e.g. `WBC 12.4`, `Cr 1.1 mg/dL`, `INR 2.3`34- **Procedure and anatomy abbreviations**: e.g. `s/p lap chole`, `RUQ`, `PCP`, `D/C`3536Record every item. These are the **verbatim preservation list** — none may be paraphrased or altered in the output.3738## Step 3 — Translate to the Target Register3940Produce the translated document following these rules:4142### For patient-friendly / caregiver / language targets:4344- Expand every abbreviation on first use, e.g. `TID (three times a day)`.45- Write dosages and frequencies as: `amoxicillin 500 mg (500mg), taken three times a day (TID)` — preserve the original value in parentheses if space allows, or inline directly.46- Never substitute a numeric value: `500mg` stays `500mg`, never "half a gram". `38.5°C` stays `38.5°C`, not "slightly above normal".47- Use short sentences (≤20 words each).48- Avoid Latin phrases; use plain equivalents (`by mouth` not `per os`).49- Organise the output with clear section headers: **What happened**, **Your medications**, **Follow-up appointments**, **Warning signs — return to the ER if you notice any of these**.50- Keep the **Warning signs** section visually prominent (bold header).5152### For clinician (reverse) direction:5354- Convert plain-language descriptions back to standard clinical shorthand.55- Preserve all numeric values exactly as the patient stated them.56- Flag any values that appear clinically implausible with `[VERIFY]`.5758## Step 4 — Flag Ambiguities and Add the Verification Notice5960After the translated document, always append two sections:6162### Things to verify with your provider6364List every term or instruction from the source that is:65- Ambiguous or context-dependent (e.g. a PRN medication with no stated threshold)66- An abbreviation that could have multiple expansions (e.g. `MS` = multiple sclerosis OR morphine sulfate)67- A value outside typical patient reference ranges that warrants explanation68- Any instruction requiring professional clinical judgement6970Format as a numbered list. If nothing is ambiguous, write: "No ambiguous terms identified — still confirm all instructions with your provider before acting."7172### Verification notice7374Always end with this exact block, adapted for the target language if translating:7576> **Important:** This translation is a communication aid only. It is not medical advice. Always confirm your medications, doses, and follow-up instructions directly with your healthcare provider or pharmacist before making any changes to your care.7778## Step 5 — Quality Check7980Before returning output, verify the inventory from Step 2:8182- [ ] Every dosage value from the source appears verbatim in the output (500mg not "500 milligrams" unless the original said that).83- [ ] Every frequency abbreviation is expanded AND the original abbreviation is preserved in parentheses on first use.84- [ ] Every duration and threshold appears unchanged.85- [ ] The **Things to verify with your provider** list is present.86- [ ] The **Important** verification notice is present.87- [ ] The `## Rubric` section is appended.8889If any check fails, revise before returning.9091## Example9293See `examples/input.md` for a realistic discharge-summary snippet with multiple dosages, numeric thresholds, and clinical abbreviations. See `examples/output.md` for the complete patient-friendly rewrite, verification list, and rubric.