UX case study · Medication management

Adv. EHR

Making medication work understandable and traceable — from the order a prescriber writes to the dose a care worker records, and the review that follows.

Adv. EHR is my independent design exploration of a medication-focused EHR workspace for community and residential care. I reviewed domain research on medication workflows, turned it into an evidence-labelled MVP blueprint, and designed the core journeys in Figma: patient context, orders and versions, clinical review and MAR approval, scheduled and PRN administration, follow-up, inventory, reconciliation and oversight.

Role
UX Engineer (sole designer of this exploration)
Type
Independent design exploration — not an employer or client project
Scope
63 MVP screens specified; 60 with a designed state in Figma, 3 partly designed
Status · 12 Nov 2026
◇ Designed in Figma · not built · not usability-tested · not runtime-tested for accessibility
Today workspace for a direct-care worker: a shift timeline from 07:00 to 15:00 with a Now marker at 09:12, filter chips with counts, and a time-ordered list grouped as Overdue, Due now, Follow-up and Blocked. Expand image
Today (W01). Work is grouped by what needs attention, not by module. Every patient, medication and name in these screens is synthetic.

How to read the status labels

  • ◇ Designed exists in Figma; not built or tested with people.
  • ✓ Checked a design-time check I ran in Figma and can rerun.
  • ○ Proposed specified or suggested, not yet designed.
  • △ Needs validation depends on a policy decision, users or code.

All on-screen data is fictional.

Brief · At a glance

Four things to know in two minutes

Problem

In common care-platform patterns, medication work is spread across module pages. The home page is a list of links, a MAR can say “Approved” while also saying it is locked, and change review relies on colour highlights. Care staff have to piece together what to do next and why they can’t.

My contribution

I defined the project, directed the domain research and the 78-screen blueprint, set the evidence rules, chose the visual direction (I rejected the first shell and approved the minimal sidebar), and reviewed the Figma work screen by screen, including the critique that opens section 10.

Design response

A task-first Today view, a persistent patient header, versioned orders with side-by-side approval, explicit administration outcomes on separate status axes, and recovery states for interruptions, locks and uncertain saves.

Outcome and limits

60 of 63 MVP screens have a designed state, connected by 15 named prototype flows. A critical review found 8 issues that are still open. Nothing has been built, measured or tested with care staff, and no accessibility conformance is claimed.

Discover · The workflow

Every dose is one link in a seven-step chain

A dose on the MAR is the end of a chain. If anything earlier changes, the record at the bedside must change too — and staff need to understand why.

  1. 1

    Patient context

    Identity, allergies (including “unknown”), conditions, program and room.

  2. 2

    Order

    Source document, medication, strength, dose, route and a typed schedule — saved as a version.

  3. 3

    Clinical review

    A different person approves, returns or rejects the version.

  4. 4

    MAR approval

    The month’s MAR is rebuilt from approved versions and reviewed before recording resumes.

  5. 5

    Administration

    Scheduled or PRN: given or not given, actual time, amount, route, who.

  6. 6

    Follow-up

    PRN effect checks, refusals, escalations, stock counts and discrepancies.

  7. 7

    Oversight

    History, reconciliation, reviews, reports and audit.

Where it gets complex

  • Changes ripple backwards. In a common pattern, an order change locks the month’s MAR for data entry until it is re-approved.
  • One record, four kinds of status. A dose can be on time but recorded late, refused, or blocked by a lock. These are different facts, and status legends often mix them.
  • PRN doses create work. Each as-needed dose needs a reason and an effect check, owned by someone.
  • Stock follows care. Every administration and waste entry changes a count that someone may later need to explain.
  • History must survive corrections. Mistakes are amended, never overwritten.
Evidence for this model

Built from domain research into medication workflows, MAR configuration and safety locks, then written up as seven user flows in the blueprint: order intake and activation, scheduled administration, PRN and follow-up, order change with history preserved, stock count and discrepancy, transition reconciliation, and failure recovery.

Limitation: the lock blocks data entry; the research does not show that it prevents physical administration.

Discover · People and tasks

Who the work is for

△ Role-based assumptions These come from the domain research and the proposed permission matrix. I did not interview or observe care staff, so there are no personas or quotes here.

Roles, their main tasks, the information they need and the risks the design must reduce
RoleMain tasksNeeds at the moment of workRisk if the UI fails
Direct-care staff (DSP)Record scheduled and PRN doses, record refusals, check PRN effect, count stockRight person, right medication, what is due now, why something is blockedWrong patient or duplicate record; a dose missed because a lock wasn’t explained
Nurse / clinical authorEnter and change orders from source documents, reconcile lists, respond to escalationsSource document, current version, what will change and whenTranscription error; a change taking effect at the wrong time
Clinical reviewerApprove, return or reject order versions and MAR changesBefore and after, removals, checks, affected dosesApproving a change they can’t see; reviewing their own work
SupervisorClear overdue work, investigate count discrepancies, oversee follow-upsExceptions with age and owner; counts that match the listWork with no owner; numbers nobody trusts
QAReports, record history, auditDefinitions, scope, time zone, who changed what and whyReports that mix timing with outcome; exports with too much personal data
Pharmacist (conditional)Author or review orders in defined programs; pharmacy intake if commissionedSource message, match to patient and orderWrong-patient match; duplicate intake

Discover · Evidence

Evidence first, interpretation second

The research set covered workflow guides, diagrams, conceptual data models and a 48-item audit checklist. I labelled every requirement by where it came from, and kept what we saw apart from what we inferred.

  • OBS directly visible in a capture
  • REF described in documents, not runtime-verified
  • GAP no complete evidence — not proof of absence
  • PROP my redesign requirement
Five discoveries, separated into what was observed, how I read it, what I proposed and what still needs validation
Observed evidenceInterpretationProposed responseValidation still required
OBS The home “To Do” tab lists module rows with counts — a link list, not a task list.Staff must translate modules into work.Today: work grouped by time and state, each row opening the exact task.Time to locate due work, with care staff.
OBS A MAR page header says “Approved” while its lock notice says data entry is locked.Two status signals contradict each other.MAR readiness shown once, with reason, owner and waiting time.Lock scope decision (D-07); DSP and reviewer walkthrough.
OBS A nine-item colour legend mixes due, overdue, outcomes and deleted states.Timing, outcome and documentation are conflated and colour carries meaning.Four separate status axes, always icon + text.Grayscale and screen-reader comprehension in code.
REF Change review relies on highlighted rows; removed items may not have a row.Removals can be missed at approval.Before/after with labels, a card for every change including removals, and a calendar preview.Nurse review of add, change and stop cases.
GAP No capture shows the dose-entry or refusal form.The entry form must be designed from documents, not copied.Record-dose drawer labelled REF + PROP, not observed.Usability test of the drawer; outcome vocabulary (D-06).
Corrections I made to my own blueprint before designing
  • The dose-entry and refusal screens were relabelled from “observed” to “referenced + proposed”: their audit links showed the MAR list, not the form.
  • A common example overdue rule (more than 60 minutes after the slot) was not adopted. Timing windows are site policy and stay an open decision (D-05).
  • Renaming “Missed” to “Not administered” was moved from an assumed change to an open decision (D-06).
  • 27 screens had no entry point other than global navigation; each now has one in the coverage matrix.

Define · Information architecture

Three layers: where you work, who it’s about, what you’re doing

The blueprint defines 78 screens and surfaces with 640 field definitions. The architecture keeps that from feeling like 78 places to look.

1 · Global, by role

  • Today — assigned work
  • Inbox — notifications that link to work
  • Patients — search and list
  • MAR rounds — due doses across people
  • Approvals or Inventory, by role
  • Reports
  • All modules — the complete map

2 · Patient workspace

Persistent header: name, ID, room, allergy status, MAR readiness.

  • Overview
  • MAR
  • Medications (orders and versions)
  • Allergies
  • Conditions
  • History
  • More — diet and directives, other orders

3 · Focused surfaces

  • Drawers for one record: record a dose, PRN effect, count
  • Full pages for multi-part work: order composer, approval comparison, reconciliation
  • Dialogs only for short confirmation: hold, stop, session ended

No nested dialogs. Breadcrumbs on every detail page.

Scope

MVP — 63 screens

Medication management with the records it depends on. 60 have at least one designed state; G02 (unsaved changes and conflicts), G03 (empty, no-access and unavailable states) and M05 (corrections) are partly designed.

  • Patients & records · 11
  • Orders · 11
  • Administration · 10
  • Inventory · 5
  • Oversight · 5
  • MAR setup · 4
  • Access · 4
  • Admin settings · 4
  • Work · 3
  • Reviews · 3
  • Shared · 3

Conditional — 7 surfaces

Only if an integration is commissioned. Manual intake is the complete baseline, so none of these are claimed as working.

  • Pharmacy intake inbox
  • Message review
  • Patient and order matching
  • Intake exceptions
  • Barcode-assisted verification
  • Terminology and integration health
  • Label printing

Later — 8 expansion areas

Bounded starting points that need their own discovery. Not designed.

  • Bulk administration
  • Appointments
  • Diagnostics
  • Incident reporting
  • Care plans
  • Patient and family access
  • Billing
  • Advanced regimens and infusions

Design · Interactive journey

Follow one change from order to report

Seven steps through the prototype’s synthetic scenario — mostly a nurse increasing Rosa Delgado’s sertraline. Each step shows what that person sees. All steps are listed below.

  1. 1 Patient context
  2. 2 Order
  3. 3 Clinical review
  4. 4 MAR approval
  5. 5 Administration
  6. 6 Follow-up
  7. 7 History & reporting

1 · Patient context

Patient overview for Rosa Delgado: header with preferred name, age, date of birth, ID and room, an allergy chip and a MAR-ready chip; today’s medications with times and timing badges; recent events with outcomes; allergies, orders, conditions and care contacts in a side column. Expand image
Patient overview (P02)
User goal
Confirm who this is and what matters today before changing anything.
Key decision
One compact header replaces repeated demographic blocks: name, preferred name, DOB, ID, room, allergy status and MAR readiness.
System response
Today’s medications, recent outcomes and the last order change appear together.
Exception / recovery
Two patients share a surname (Okafor). Search and lists show ID, DOB and room so they stay distinguishable. “Allergy status unknown” is never shown as “no known allergies”.

2 · Order

Change order form for sertraline: what is changing (Dose selected), new strength and give fields with previous values as hints, takes-effect time and source, read-back confirmation for a verbal order and a reason. On the right, a before-and-after table and the doses affected. Expand image
Change order (O08)
User goal
Enter a verbal dose increase exactly as given, without losing the current version.
Key decision
A change creates version v3. v2 stays active until v3 and the MAR change are approved. A verbal order needs read-back.
System response
Before → after, and which doses are affected: one already given stays on v2; the November doses from 12 Nov use v3.
Exception / recovery
Submitting warns that November recording will pause for this patient. △ The dose is expressed as a strength change — see finding F6.

3 · Clinical review

Clinical review of the sertraline change: before v2 and after v3 table with Changed labels, source details for the verbal order, automated checks, and a decision panel with Approve, Return for clarification and Reject, an attestation checkbox and an Approve order change button. Expand image
Clinical review (O07)
User goal
Decide on the change with the source, the difference and the checks on one screen.
Key decision
Approve, return or reject — return and reject need a comment. The author can’t approve their own order.
System response
Signed with the reviewer’s name; the server records the time.
Exception / recovery
Checks state their limits: one uncoded allergy is listed as “not checked”, not as “no match”. △ Who may approve is decision D-04.

4 · MAR approval

November MAR changes for Rosa Delgado: filter by all, added, changed, stopped and removed; a Changed card for sertraline and an Added card for atorvastatin with before and after values; a week calendar preview; and an approval panel with Approve, Return with a question and Approve and resume recording. Expand image
MAR change comparison (C02)
User goal
Approve the month’s schedule knowing exactly which future doses change.
Key decision
Every change is a labelled card — including removals, which get their own — plus a week calendar preview. Colour is never the only signal.
System response
“Approve and resume recording” returns the MAR to ready with the new revision.
Exception / recovery
If anything changes during review, the reviewer sees the new comparison before approving. While the MAR is locked, staff see why, who it’s waiting on and for how long.

5 · Administration

Record dose drawer over the daily MAR: patient and medication summary with give amount, route, strength and scheduled time; Given selected; identity confirmation checkbox; time given with a hint that it can’t be in the future and a Use current time link; amount given; route; comment; Continue to review. Expand image
Record dose drawer (M03)
User goal
Record exactly what happened for one dose, for the right person.
Key decision
No outcome is preselected. “Given” asks for identity confirmation, actual time, amount and route; “Not given” asks for a reason.
System response
A check-and-confirm step, then a receipt in place with a record reference — not a toast.
Exception / recovery
If the connection drops after Confirm, the drawer says it is checking whether the dose was saved and warns not to record it again. If the order changes mid-entry, the entry is kept and the change is shown.

6 · Follow-up

Record PRN effect drawer opened from Today: the acetaminophen dose given at 08:30 with its reason; checked-at time; effect choices Effective, Partly effective, Not effective and Unable to assess; unwanted reaction None seen, Yes, Not sure; notes; Escalate to nurse and Save effect. Expand image
Record PRN effect (M07)
User goal
Close the loop on an as-needed dose: did it work?
Key decision
Giving a PRN dose creates a follow-up task with an owner and due time, from the order’s own instruction.
System response
The task appears in Today under Follow-up and opens straight into this drawer.
Exception / recovery
“Not effective” or a reaction asks what was done and routes a task to the nurse. The follow-up never closes just because time passed. △ The PRN count is inconsistent — see F2.

7 · History & reporting

Sertraline order detail: version switcher with v3 proposed, v2 active and v1 superseded; current order facts; a timeline of submissions, approvals and doses filtered by changes, approvals and administrations; MAR readiness showing November MAR locked; checks and reference links. Expand image
Order detail and timeline (O06)
User goal
Answer later: what was ordered, who approved it, what was given under which version?
Key decision
Versions are tabs; one timeline links submissions, approvals and administrations. Oversight metrics show their numerator, denominator, exclusions and time zone.
System response
Reports and audit views drill into the same records rather than separate copies.
Exception / recovery
Corrections are appended with a reason and keep the original. △ The correction form itself is not designed yet — see F5.

Design · Decisions

Five decisions carry the design

Each one follows the same path: problem → evidence → decision → trade-off → what would prove it.

01 Start the day with work, not modules

Problem
Staff open a list of module links and have to work out what is due.
Evidence
OBS home “To Do” tab is a link list with counts; audit findings on landing pages.
Decision
Today groups work by time and state — Overdue, Due now, Follow-up, Blocked — on a shift timeline. Rarely used destinations moved to an “All modules” map that keeps the familiar by-area structure.
Trade-off
One extra step to reach less frequent modules; counts must be trustworthy or the view loses its value.
Validation needed
Time to locate due work. Counts currently disagree (sidebar 9, list 7) — finding F8.

02 Keep the patient visible everywhere

Problem
Patient selection and context can be ambiguous; demographic blocks repeat.
Evidence
REF four audit findings on patient context; OBS repeated individual blocks.
Decision
A compact patient header on every patient page, and every drawer repeats patient + medication + scheduled time. Recording a dose asks the user to confirm identity with the site’s approved method.
Trade-off
Vertical space, especially on tablet; repeated identity checks slow a round.
Validation needed
Same-surname scenarios; whether identity is confirmed once per round or per dose (D-08).

03 Make every change a version you can compare

Problem
Change review relies on highlights; removals can be missed; the lock message is generic.
Evidence
REF highlight-based review; OBS “Approved” shown with a lock notice.
Decision
Orders keep versions (proposed, active, superseded). Review and MAR approval use labelled before/after cards and a calendar preview. The lock explains what changed, who it waits on and for how long.
Trade-off
A second review step and a waiting period before recording resumes.
Validation needed
Nurse review of add/change/stop cases; approval roles (D-04) and lock scope (D-07).

04 Record outcomes explicitly, on separate axes

Problem
Timing, outcome and documentation are blended; status leans on colour.
Evidence
OBS mixed nine-item legend; GAP no capture of the entry or refusal form.
Decision
No preselected outcome. Status is always icon + text on four axes: timing, outcome, documentation, readiness. Actual time given is separate from the time it was recorded.
Trade-off
One more decision per dose than a quick-entry button; vocabulary isn’t final (D-06).
Validation needed
Documentation error rate and comprehension with care staff; grayscale and screen-reader checks in code.

05 Design for interruption and uncertain saves

Problem
No evidenced recovery for concurrent entries, orders changing mid-entry, timeouts or downtime.
Evidence
GAP items on concurrency, order change during a pass, and uncertain saves.
Decision
States for “save not confirmed — don’t record again”, “order changed while recording”, a session-ended dialog that says what the server saved, and downtime reconciliation with an explicit duplicate check.
Trade-off
More states to design and build; depends on idempotent saves on the server.
Validation needed
Timeout-after-commit and two-users-one-dose tests. The outcome screens after “checking” are still missing — finding F5.

Design · Actual UI

The screens, with what they’re doing

Exported from the current Figma file. Select any image to see it full size, then switch to a readable detail crop where one exists.

Critique · Evaluation and iteration

What my review found — and what is still open

I reviewed the prototype against its own scenario. On 12 Nov 2026 I re-inspected the current Figma file: all eight findings still apply. Proposed fixes below are not completed redesigns.

Fixed in the 12 Nov iteration (from my annotated review)
  • ✓ Hint text moved under inputs, so labels and 44 px inputs align across paired fields (44 rows).
  • ✓ Selected radio cards show a filled dot; cards in a row share a height.
  • ✓ Truncated status badges and 21 unbalanced tables fixed; inbox items separated.
  • ✓ 52 back links replaced with breadcrumbs; sign-in redesigned with clearer labels and error messages.
  • ✓ A personal “Display & accessibility” panel added to every page — not an overlay, and not a substitute for conformance.

F1 · Round mode skips dose steps

Observed: “Dose 1 of 3” leads straight to “09:00 round complete · 3 doses recorded”, including a refusal nobody entered.

User impact
Reviewers can’t evaluate doses 2 and 3 or the refusal path, and the prototype implies outcomes that were never recorded.
Proposed improvement
○ Proposed Design dose 2 (given) and dose 3 (refused) steps; the summary lists only what was entered.
Evidence needed to close
A complete prototype path, then a walkthrough with direct-care staff; decision on whether round mode is allowed at all.
Round mode drawer at dose 1 of 3. Round complete drawer listing three recorded doses.

F2 · PRN totals disagree

Observed: the PRN drawer shows “Last given: yesterday 15:40” and “In the last 24 h: 0 of 4 tablets” at 09:20 — 17 h 40 min later.

User impact
A wrong cumulative count could let someone exceed the order’s limit, or doubt every number on the screen.
Proposed improvement
○ Proposed Derive the count from the listed events and show those events beside it; add boundary cases to the scenario sheet.
Evidence needed to close
Approved PRN test scenarios (interval, limit, boundary times) and clinical review.
Give PRN dose drawer showing last given yesterday 15:40 and 0 of 4 tablets in the last 24 hours.

F3 · Conflicting medication start dates

Observed: the locked-MAR banner says the sertraline change is “effective today 09:00” (11 Nov). The change order, clinical review and approval screens say Thu 12 Nov, 09:00. A hold on the same order also starts 12/11/2026 09:00, written in a different date format.

User impact
Staff could give or withhold on the wrong day; reviewers can’t trust the preview.
Proposed improvement
○ Proposed One shared scenario sheet for all synthetic data; one date format with weekday and month name; effective time read from the order version everywhere.
Evidence needed to close
A scripted scenario audit across every frame, then a reviewer walkthrough.
Locked MAR banner stating the change is effective today 09:00. Hold dialog starting 12/11/2026 09:00.

F4 · Lock behaviour is unresolved

Observed: the locked MAR blocks every dose for the patient’s month (“current rule: whole month — D-07”). The policy screen lists “What a lock prevents” as Not set.

User impact
Doses unaffected by the change may be blocked; the urgent-dose route is only a link.
Proposed improvement
○ Proposed iteration Design a per-order lock variant to compare with the whole-month baseline; keep the urgent-dose and downtime path visible.
Evidence needed to close
A clinical-governance decision on lock scope (D-07), then a test with a DSP and a reviewer.
Policy screen listing five rules marked Not set.

F5 · Correction and uncertain-save recovery are incomplete

Observed: “We can’t confirm this dose was saved yet” exists with Check again, but there is no next state for “saved” or “not received”. The record detail is read-only, and “Open correction” from the discrepancy screen leads there.

User impact
Duplicate entries or abandoned records; mistakes that can’t be corrected in the design.
Proposed improvement
○ Proposed Design both receipt outcomes and a correction form with before/after values, reason and stock effect.
Evidence needed to close
Timeout-after-commit and two-users-one-dose scenarios, tested in code with idempotent saves.
Drawer stating the dose save can’t be confirmed yet.

F6 · Dose and product strength are blurred

Observed: a dose increase is entered as “Strength 50 mg per tablet → 75 mg per tablet, give 1 tablet”, and the calendar shows “75 mg”.

User impact
A dose change looks like a product change. A 75 mg tablet may not be stocked, or the intent might be 1½ × 50 mg.
Proposed improvement
○ Proposed Separate product strength, prescribed dose and give quantity; show a product change explicitly; connect to stock.
Evidence needed to close
Review by a pharmacist and a nurse.
Before and after table showing strength changing from 50 to 75 mg per tablet.

F7 · Witness flow is incomplete

Observed: count and waste drawers show the witness as “Not confirmed” with “Witness signs in here” and “Send to their device”. There is no confirmed, declined or timed-out state, and the witness rule (D-09) is Not set.

User impact
Submit stays blocked; the second-person step can’t be evaluated.
Proposed improvement
○ Proposed Design the witness confirmation states, driven by policy per transaction type.
Evidence needed to close
Decision D-09; a two-person test of the sign-in hand-off.
Count drawer with a variance and a witness section marked not confirmed.

F8 · Counts, timestamps and navigation drift

Observed:

  • Sidebar “Today 9” versus “All 7” on the page.
  • “Approvals 3” versus “2 of 5 in your queue”.
  • The same change has waited “1 h 31 min” on one screen and “2 h 45 min” on another.
  • On the MAR, the “Rosa Delgado” breadcrumb leads to Today — introduced in my breadcrumb migration.
  • The prototype has a duplicate and an unnamed flow start.
  • A reviewer’s login code is truncated in the sidebar.
User impact
People stop trusting counts; navigation surprises them.
Proposed improvement
○ Proposed Counts generated from the same query as the list; a breadcrumb destination map; a cleaned flow list; a single scenario clock.
Evidence needed to close
A scripted count and link audit in Figma, then behaviour checks in code.

Prove · Accessibility

Designed in, not yet proven

The target is WCAG 2.2 AA. A Figma file can show intent; it can’t prove how a screen reader, keyboard or zoomed browser will behave. So I keep three lists apart.

Accessibility work by what can be assessed where
Topic✓ Assessed in Figma◇ Specified for implementation△ Needs browser and assistive-technology testing
ContrastAll 14 token pairs computed: body text ≥ 5.43:1, status pairs ≥ 5.60:1, control borders 4.61:1, focus ring 7.85:1Focus ring with white inner + blue outer ring so it shows on blue buttonsRendered contrast in both themes, including disabled and hover states
Target sizeScripted check: no interactive target under 24 px. Sidebar links (40 px) and segments (36 px) are below the 44 px product preference44 px controls at point of careReal pointer and touch use on tablets
Status meaningEvery status is icon + text; nothing relies on colour aloneLinear list alternative to the monthly MAR gridGrayscale and screen-reader comprehension
StructureAnnotations for headings, landmarks and focus order on framesOne H1, landmarks, breadcrumbs with the current page marked, aria-expanded on disclosuresHeading and landmark navigation with NVDA, JAWS and VoiceOver
Focus and dialogs—Focus moves to the drawer heading and returns to the triggering row; Escape guarded for unsaved changesKeyboard-only runs of every journey
Errors and statusError summary and inline errors designedFocused error summary; polite live region for saves, assertive only for failuresAnnouncement timing and wording with real assistive tech
ReflowTablet frames at 1024 and 768 for the MAR and roundDrawers become full screen on narrow widths200% and 400% zoom and 320 px reflow in code
Clinical clarityStrength, give amount and route separately labelled; plain-language actionsTimes always shown with site time zoneComprehension testing with care staff

No WCAG conformance or screen-reader compatibility is claimed for Adv. EHR.

Prove · System thinking

A proposed logical architecture

○ Proposed How the UI modules could map to conceptual services. It’s a design aid for conversations with engineers — not a verified backend and not a database schema.

Proposed logical architecture for Adv. EHR Eight UI modules sit above an identity, access and policy boundary. Below it are eight conceptual services: patient records, orders and versions, scheduling, administration events, tasks and notifications, inventory ledger, reviews and reconciliation, and reporting and audit. A transactional store, a background worker, protected document storage and restricted audit events sit underneath. Optional pharmacy and drug-catalog adapters connect from the side. UI MODULES Today & Inbox Patients Orders MAR &approvals Administration& PRN Inventory Reconcile& reviews Reports& admin Identity, access & policy boundary — tenant, site, patient, action and record-state checks CONCEPTUAL SERVICES Patient recordsidentity · allergies · notes Orders & versionssource · review · lifecycle Schedulingoccurrences · MAR revisions Administration eventsoutcomes · corrections Tasks & notificationsowner · due · escalation Inventory ledgercounts · discrepancies Reviews & reconciliationdecisions · snapshots Reporting & auditmetrics · history · exports Transactional store Outbox &background worker Protecteddocument storage Restrictedaudit events Optional, only if commissioned: pharmacy and drug-catalog adapters with validated, idempotent intake
Proposed logical architecture. One write — record a dose — would check access, the order version and an operation key, then save the event, its stock effect, task and audit entry together, and return a receipt.
Text version of the diagram
UI modules and the conceptual services they rely on
UI moduleMain services
Today & InboxTasks & notifications; Scheduling
PatientsPatient records
OrdersOrders & versions; Patient records (allergies)
MAR & approvalsScheduling; Orders & versions; Reviews
Administration & PRNAdministration events; Tasks; Inventory ledger
InventoryInventory ledger; Tasks
Reconcile & reviewsReviews & reconciliation; Orders & versions
Reports & adminReporting & audit; Identity, access & policy

Prove · Outcomes

What exists, and how I’d measure the rest

Delivered

  • ◇ MVP blueprint: 78 screens and surfaces, 640 field definitions, 7 user flows, 30 prioritised gaps, all 48 audit checklist items mapped.
  • ◇ Figma: 60 of 63 MVP screens with a designed state; 86 frames across the current design sections; 15 named prototype flows.
  • ◇ A provisional token set with its own type, spacing and colour, and components with their states.
  • ✓ Design-time checks: contrast pairs, target sizes, no unstyled text or hard-coded colours in the design sections.
  • △ Not built, not usability-tested, not runtime-tested for accessibility, not clinically validated.

Not claimed

No efficiency gains, error reductions, safety outcomes or satisfaction scores. There is no baseline to compare against yet.

Evaluation plan — measures to establish with a baseline before any improvement is claimed
MeasureWhat it would showHowStatus
Task completionWhether people finish core journeysModerated scenarios with care staff, on the current product and the prototype○ Not measured
Time to locate due workWhether Today beats module navigationTimed first-click and find tasks○ Not measured
Documentation errorsWrong patient, outcome, time or amountSeeded scenarios with known correct answers○ Not measured
Recovery successUncertain save, order change mid-entry, downtimeFault-injected prototype in code○ Not measured
Approval turnaroundTime a MAR stays locked after a changeEvent timestamps in a pilot○ Not measured
PRN follow-up completionEffect checks done and ownedTask data in a pilot○ Not measured
Accessibility task successJourneys completed with keyboard, screen readers and zoomSessions with assistive-technology users, plus automated and manual audits○ Not measured

Next · Lessons

Lessons and next steps

  1. Write the scenario before the screens. Dates, counts and PRN totals drifted because each frame invented its own numbers. One shared scenario sheet would have prevented F2, F3 and F8.
  2. Finish critical journeys before adding breadth. I reached 60 screens with the round and uncertain-save journeys still incomplete. Depth on the riskiest paths matters more than coverage.
  3. Policy is a design input. Lock scope, timing windows and witness rules decide the screens. Showing them as “Not set” was more honest than inventing values.
  4. Evidence labels keep the work honest. Re-labelling the dose-entry form as referenced, not observed, changed how much confidence I put in it.
  5. Consistency belongs in components. Fixing hint placement once in the text field fixed 44 rows across the file.

Open items for the next iteration

  • ✓ Done Form alignment, radio states, table widths, breadcrumbs and sign-in identity (12 Nov).
  • ○ Next Shared scenario sheet; fix counts, dates, PRN totals and the MAR breadcrumb.
  • ○ Next Complete round mode, uncertain-save outcomes, corrections and the witness states.
  • △ Next Resolve workflow policies D-04 to D-10 with clinical governance.
  • ○ Later Build the core journeys in code and run usability and assistive-technology testing with care staff.

Close · Sources

Evidence register

Private material is described, not linked. Nothing here contains real patient information.

Sources used in this case study and how each one was used
SourceUsed forAccess and limits
Domain research notesWorkflow model, common UI patterns, 48-item audit checklistSummarised here; source material not published
Adv. EHR MVP blueprint v0.1 (11 Nov 2026)Screen catalogue, fields, flows, gaps, architecture, decisionsPrivate. Proposals, not a validated clinical system
Build plan and coverage matrix v0.2 (11–12 Nov 2026)Change log, status per screen, review fixesPrivate project documents
Figma file, “Adv EHR” pageAll screenshots; re-inspected 12 Nov 2026 for the findingsPrivate design file
Project discussion threadDecisions, milestones and evidence limitsPrivate workspace channel; not linked
W3C WCAG 2.2Accessibility target and criteriaw3.org/TR/WCAG22
WAI-ARIA Authoring PracticesTabs and dialog patterns used on this pagew3.org/WAI/ARIA/apg
HL7 FHIR R4 MedicationRequest / MedicationAdministrationSeparating orders from actual administration eventsMedicationRequest · MedicationAdministration
OWASP API Security Top 10 (2023), API1Server-side object-level access checksowasp.org
A11yPilot case studyPresentation reference for this pagePublished case study

Thanks for reading. Adv. EHR is an independent design exploration by Shahriar Shanto; it isn’t endorsed by any employer or organisation. All patients, staff, organisations and figures shown are fictional.

Please visit my portfolio here: https://shahriarshanto.online/