Meet Berry.Agentic AI for healthcare. Made in Canada.A lighter clinic day.See how providers use Berry
Black FridayA year of Pro + a free remote for $999Pro + free remote, $999Ends in–d––h––m––sLearn more

Clinical template

HPI template with examples

The history of present illness (HPI) is the story of this problem, from onset to this room. OLDCARTS and OPQRST are checklists so you do not skip character, radiation, or what they already tried. Use the blank below, then three fictional Canadian cases: chest pain, migraine, and abdominal pain.

Write this note with Scribeberry

HPI

Recording

Drafting from the visit

Onset
Character
Severity
Associated symptoms

Key takeaways

  • The history of present illness (HPI) is the story of this problem, from onset to this room.
  • The template on this page can be copied or downloaded as a text file and customized for your clinic; the worked examples are fictional Canadian cases written for teaching, not real patients.
  • Before signing or filing, check four things: explicit reason for the encounter, negatives that change management, consent for any disclosure, and a follow-up owner with a date.

Blank HPI template

Copy this into the Subjective section of a SOAP, a consult, or a Scribeberry custom template. Write in paragraphs or in labelled lines. Pertinent negatives belong here, not in a 14-system ROS.

HPI (OLDCARTS / OPQRST)

Patient: [initials, age, sex]  |  Setting:  |  Historian: patient / caregiver (reliability)
Chief complaint (their words if useful):

O: Onset: when it started, sudden vs gradual, what they were doing
L: Location: point with one finger if they can; laterality
D: Duration: constant vs intermittent; length of each episode; overall course
C: Character: sharp, dull, pressure, burning, colicky, thunderclap, tearing
A: Aggravating / associated: movement, food, exertion, position, inspiration; associated symptoms
R: Relieving / radiation: rest, antacids, triptan, heat; radiation path
T: Timing: night, after meals, menstrual, circadian; progression
S: Severity: 0–10 now and at worst; effect on work, sleep, walking

Treatments tried (drug, dose, effect):
Pertinent negatives / red flags asked:
Relevant context: similar episodes, risk factors, last menstrual period if applicable, substances

OPQRST mapping if you prefer: Onset, Provocation/Palliation, Quality, Region/Radiation, Severity, Time
Write it with Scribeberry →

Fictional patients

Every example on this page uses made-up names and findings. They are teaching material. They are not a substitute for college standards or your own clinical judgment. Review every generated HPI before it enters the chart.

OLDCARTS and OPQRST

Both mnemonics cover the same ground. OLDCARTS (Onset, Location, Duration, Character, Aggravating, Relieving, Timing, Severity) is common in Canadian clerkship teaching. OPQRST (Onset, Provocation/Palliation, Quality, Region/Radiation, Severity, Time) is common in emergency medicine. Pick one and finish it. The failure mode is stopping after onset and a pain score.

LetterQuestion to askExample of a usable phrase
OnsetWhen did this start, and what were you doing?Sudden at 06:40 while shovelling; not a slow build over days
Location / regionPoint to it. Does it move?Retrosternal, one finger, no radiation to arm or jaw
Duration / timeHow long does each bout last? Is it getting worse?Each episode 20–40 min; three episodes in 24 h
Character / qualityIf this were a sound or a texture, what would it be?Pressure, 'an elephant,' not sharp, not tearing through to the back
Aggravating / provocationWhat makes it worse? Food, stairs, breath, touch?Worse first flight of stairs; not worse with swallowing
Relieving / palliationWhat did you try, including drugs and rest?Sat down, Tums x 2, no change; GTN not available
Severity0–10 now and at worst, and what you cannot do7/10 at worst, 3/10 now; could not finish shovelling

Associated symptoms are where red flags live: diaphoresis and dyspnea with chest pain; neck stiffness and fever with headache; pregnancy and shoulder-tip pain with abdominal pain. Write that you asked. CMPA and college files on missed ACS, SAH, and ectopic often show a complete-looking note that never recorded the negative.

How to write an HPI that another clinician can use

Open with a one-line frame: age, relevant risk, and the complaint in time. Then tell the story in order. End with treatments tried and the negatives that change the differential. Do not put your diagnosis in the HPI. 'Here for ACS' is an assessment leaking backward.

Quantify. 'A few days' becomes 72 hours. 'A lot of ibuprofen' becomes 400 mg x 6 yesterday. For abdominal pain, last stool, last menstrual period, and ability to keep water down belong in the HPI, not as an afterthought in ROS. For headache, worst-onset, trauma, anticoagulation, and visual change belong in the same paragraph as the pain.

Example 1: chest pain

Family medicine / urgent visit

55-year-old man, Mississauga. 18-minute same-day appointment. Fictional.

55M, known hypertension and 25 pack-year smoking history (quit 2022), presents with retrosternal chest pressure.

Onset: Today 06:40 while shovelling snow, sudden over 1–2 minutes. Similar milder ache walking to the bus twice in the last 10 days, each lasting <10 min, which he ignored.
Location: Retrosternal, palm-sized; no epigastric start.
Duration: 25 minutes at worst this morning; now 40 minutes later, still 3/10 in clinic.
Character: Pressure, "like someone sitting on me." Not sharp, not pleuritic, not tearing through to the back, not positional.
Aggravating / associated: Exertion (shovelling, stairs). Associated diaphoresis and mild dyspnea this morning. No nausea, no syncope, no palpitations, no cough, no fever, no calf swelling.
Relieving / radiation: Sat in the car, eased from 7/10 to 3/10 over 15 min. No radiation to arm, jaw, or back. Antacid not tried. No GTN at home.
Timing: Morning, with exertion; not nocturnal, not after meals specifically.
Severity: 7/10 at worst, 3/10 now. Could not finish the driveway.

Tried: Rest only.
Red flags asked: no thunderclap, no neuro deficit, no GI bleed history.
Context: Brother CABG at 58. Takes ramipril 10 mg, amlodipine 5 mg. No cocaine. Walks dog daily until this week.
Write it with Scribeberry →

Example 2: migraine

Neurology-adjacent family practice

27-year-old woman, Montreal. Known migraine, this attack different. Fictional.

27F with migraine without aura since age 16, presents with a 36-hour headache that is worse than her usual and has not responded to her usual triptan.

Onset: Yesterday 14:00 at her desk, gradual over 30 min (usual is 15 min). No trauma. Not thunderclap. She woke today with it still present.
Location: Right frontotemporal, behind the eye; usual side.
Duration: Continuous 36 h; usual attacks last 8–12 h if she treats early.
Character: Throbbing, photophobia, phonophobia. Not the "worst of my life." No neck stiffness. No fever.
Aggravating / associated: Light, screens, bending. Associated nausea, one vomit this morning. No diplopia, no unilateral weakness, no speech change, no confusion, no seizure. Visual: usual blur, no scintillating scotoma this time (she sometimes has that; absent today).
Relieving / radiation: Dark room helps a little. Rizatriptan 10 mg at 14:30 yesterday and again at 20:00: partial, pain from 8/10 to 6/10. Ibuprofen 400 mg x 3. No radiation to neck.
Timing: Day 2 of menses (usual trigger). Sleep-deprived after a deadline.
Severity: 8/10 last night, 6/10 now. Missed work today.

Tried: Rizatriptan x 2, ibuprofen, ondansetron ODT from old script (helped nausea).
Red flags asked: no thunderclap, no fever/stiff neck, no new neuro deficit, not pregnant (LMP 2 days ago, contraception implant), no anticoagulation, no cancer.
Context: Baseline 3–4 migraines/month. No MOH pattern (triptan <8 days/month). No head injury.
Write it with Scribeberry →

Example 3: abdominal pain

After-hours clinic

36-year-old woman, Calgary. Right-upper-quadrant pain. Fictional.

36F, previously well, presents with 18 hours of right-upper-quadrant and epigastric pain after a fatty meal.

Onset: Last night 22:00, 90 min after fried chicken, gradual then steadily worse. Not instantaneous. No trauma.
Location: RUQ, radiates to the right scapula. She points under the right costal margin.
Duration: Constant since 22:00, waves of worse pain lasting 20 min.
Character: Deep, aching, colicky waves. Not tearing. Not burning up into the chest.
Aggravating / associated: Worse lying on the right side and after sips of coffee this morning. Associated nausea, two vomits of food then bile. No diarrhea. No dysuria, no vaginal bleeding, no discharge. No fever at home (no thermometer). No jaundice noticed. No pruritus. LMP 3 weeks ago, regular, not pregnant to her knowledge, IUD in situ.
Relieving / radiation: Unsure acetaminophen 1 g at 23:00, no change. Radiation to right scapula, not to left arm or groin.
Timing: Post-prandial, nocturnal start; no prior identical attacks (occasional "indigestion" after pizza x 1 year).
Severity: 8/10 at 02:00, 6/10 now. Could not sleep. Walking hunched.

Tried: Acetaminophen 1 g, rest, heating pad.
Red flags asked: no hypotension symptoms (no syncope), no GI bleeding, no pregnancy symptoms, no rigid-board description, no inability to pass stool/gas (flatus this morning).
Context: BMI 31. No alcohol binge. No anticoagulant. No prior cholecystectomy. Last travel 8 months ago (no hepatitis risk she knows).
Write it with Scribeberry →

Mistakes that show up in HPIs

  • Stopping after onset and a pain score.
  • Putting the diagnosis in the first line ('patient here for cholecystitis').
  • Skipping pregnancy status in abdominal pain in a person who can be pregnant.
  • Skipping exertional detail in chest pain, then calling the pain 'atypical' without data.
  • Thunderclap never asked in a severe headache.
  • Treatments tried with no dose, so the next clinician repeats a failed 400 mg of ibuprofen.
  • Copy-forwarding last visit's HPI for a new complaint.

CMPA's documentation advice is consistent: the record has to show that red flags were considered. Colleges expect the signed note to match the visit you did. An AI HPI that invents 'no chest pain' when you never asked is your problem once you sign it.

Who writes an HPI, and when

Every clinician who takes a history writes an HPI: it is the narrative core of consults, emergency notes, and primary-care visits. The HPI converts a chief complaint into a timeline with character, modifiers, and context that a differential can be built on.

  • New-problem visits in primary and urgent care.
  • Emergency presentations where onset and trajectory drive triage.
  • Consult requests where the referring story must travel with the patient.
  • Follow-ups where interval change is the story.

Documentation, privacy, and record-keeping in Canada

Clinical notes and forms form part of the legal medical record in Canada. Provincial regulators expect entries that are contemporaneous, factual, attributable, and legible; health information is handled under provincial privacy law (such as PHIPA in Ontario, the HIA in Alberta, and Law 25 in Quebec) and PIPEDA where it applies. Disclose the minimum necessary, with patient consent, and record amendments as amendments — never by overwriting the original entry.

For hPI, that standard is practical, not abstract: dates and times that can be reconstructed, negatives that change management recorded explicitly, consent documented wherever information leaves the circle of care, and a named follow-up owner with a date. If a reviewer, a receiving clinician, or a college investigator cannot rebuild what happened from the record alone, the record is not finished.

Common mistakes to avoid

  • A list of symptoms with no timeline — onset, sequence, and trajectory missing.
  • Pertinent negatives never asked, so the differential cannot be narrowed.
  • Character and modifiers skipped (what makes it better or worse).
  • The patient's story rewritten in jargon that loses meaning.
  • Interval change at follow-up described as 'same' with no specifics.

The signing checklist

Before signing: Is the reason for the encounter explicit? Are negatives that change management recorded? Does every problem have a plan with an owner and a date? Are results, counselling, consent, and follow-up documented — or only intended?

HPI inside SOAP, referrals, and ED notes

In SOAP, the HPI is the body of Subjective. In a referral, it is the 'history of present problem' paragraph. In ED, it is often a tighter OPQRST plus EMS times. The content does not change; the length does. Do not hide the only pertinent negative inside a ROS nobody reads.

Draft the HPI from the visit

Scribeberry listens to the encounter, or takes dictation, and drafts OLDCARTS in your SOAP or consult template. Edit the negatives and the numbers, then Smart Push into Accuro, OSCAR, Jane, or any web EMR. Pro is $99/month after the free trial.

Try Scribeberry free

Frequently asked questions

The history of present illness is the chronological story of this complaint: onset, location, duration, character, what makes it better or worse, radiation, timing, severity, associated symptoms, and treatments already tried. It sits under the chief complaint and above the past history.

Either. OLDCARTS is common in Canadian clinics and clerkship. OPQRST is common in emergency medicine. Finish the list. The mnemonic is a memory aid, not a heading the patient needs to hear.

Long enough that another clinician can reconstruct the timeline and the red flags you asked. Uncomplicated presentations often fit in a short paragraph. Chest pain, headache, and abdominal pain usually need the full mnemonic plus associated symptoms.

Yes. Record or dictate the history, generate into your template, and check that every negative in the draft is one you actually asked. Custom templates can lock OLDCARTS headings in place.

Yes. Every template block on this page has Copy and Download (.txt) buttons. Customize headings, defaults, and phrasing for your clinic, then save it in your EMR template library or as a Scribeberry custom template so it is generated in your structure automatically.

Yes, once completed for a real patient it forms part of the health record governed by your provincial college's documentation standard and provincial privacy law. Keep entries contemporaneous and factual, and record any later amendment as an amendment rather than editing the original.

References

  1. Good practices in medical record keeping — Canadian Medical Protective Association (CMPA)
  2. Medical Records Documentation — practice standard — College of Physicians and Surgeons of Ontario (CPSO)
  3. Personal Health Information Protection Act (PHIPA) — Government of Ontario
  4. College of Family Physicians of Canada — CFPC

Examples on this page are fictional and for illustration only; they do not describe real patients. Templates reflect the corresponding built-in template in Scribeberry at the date above.

Browse all 50 free templates →

Stop Charting. Start Living.