Skip to content

[docs] Notes for 3.1 - #118

Draft
rithviknishad wants to merge 5 commits into
mainfrom
claude/notes-module-3-1-update-341ccb
Draft

rithviknishad wants to merge 5 commits into
mainfrom
claude/notes-module-3-1-update-341ccb

Conversation

@rithviknishad

Copy link
Copy Markdown
Member

What this changes

Brings the Notes docs for Care 3.1 in line with the 3.1 code. 3.0 pages are untouched.

Page Change
concepts/clinical/notes.mdx Replaced. Fixes 5 wrong claims (the module is "Notes", not "Clinical Notes"; discussions can belong to an encounter; messages keep an edit history; older messages load with Load older messages, not by scrolling; a deployment setting does widen who can write). Adds renaming, editing your own message, suggested titles, the 30-second refresh, that nothing can be deleted, and a Permissions section built from the real authorization path
references/clinical/notes.mdx Replaced (it was still identical to 3.0). Adds thread_type and its enum, endpoints, filters, ordering, pagination, validation errors and authorization; removes the "cascade deletes" claim (Notes has no delete; deletes are soft); message is not nullable
flows/clinical/notes/start-a-discussion.mdx Replaced. New encounter navigation; the duplicate-title rule applies only when starting a discussion
flows/clinical/notes/post-a-message.mdx Replaced. Fixes 6 wrong claims (no participant count, no "Select or create a thread" heading, send errors and Check delivery, write-denied message)
flows/clinical/notes/edit-a-message.mdx New. Only the author can edit; Edited and the edit history
flows/clinical/notes/rename-a-discussion.mdx New. Anyone who can see and write in the discussion can rename it
flows/clinical/notes/find-discussions.mdx Replaced. Load older messages, Refresh discussion, the 30-second refresh, the edit history, g n on wide screens, read-only discussions of other encounters
versioned_sidebars/version-3.1-sidebars.json Adds the two new flows: start, post, edit, rename, find
static/media/clinical/notes/ New narrated video, captions, poster and one screenshot per flow; the 3 old videos and screenshots (old encounter layout) are removed

Verified against

  • care develop @ ddfd840dbe314b4e53d2a719d2138324d970634b (23 Nov 2026)
  • care_fe develop @ 5e02f9aa4f690e08375da310511e14606985f788 (26 Nov 2026)

Every statement was traced to a cited line of code (598 facts, each quote checked at its line), then reviewed sentence by sentence by two reviewers who had not written the pages. Six behaviours were confirmed by running them on a local Care stack at those commits with a disposable database (no real patient data), among them: a closed encounter's discussions stay readable but read-only; the message time reads "today at 9:06 AM"; the g n shortcut works only at 1024 px wide and above; what Staff and Administrator users see. The five flows were recorded on the same stack, and nothing on screen contradicted the pages.

Differences from the house style, on purpose

  • Language: Simplified Technical English where it helps, not in every sentence.
  • Versions: 3.1 only. The 3.0 Notes pages were not re-verified and are left as they are.
  • Permissions: each table covers the whole path to the action (reaching the patient or encounter, then Notes), with where each permission must be held. Where the screen and the backend disagree, the pages follow the backend.
  • Concept page: Permissions is a ## section between Key Attributes and Related, as the concept skill and the sibling 3.1 concepts have it; the concept template only allows ### under Key Attributes for attributes. The two disagree; we followed the skill.
  • Reference page: lists every NoteThreadType value, including referral, though referral discussions are not described in these pages (product decision).
  • Flow headings: plain verb phrases ("Post a message"), as the checklist and sibling pages use, not the template's "How to …".
  • Media: a captions <track> on each video and one screenshot after the step it shows, as in the other 3.1 flow updates.

Narration

Each video has a voice that reads a short script per step: the step, then a sentence or two of context taken from the page. The subtitles show what it says. The voices are AI-generated with ElevenLabs (eleven_v4), using two cloned voices of the product team, Bill and Gauri, taking turns flow by flow in sidebar order. Where a line is longer than its step, the video holds a settled frame and the subtitles are timed to match.

Left out (not verifiable, or not for these readers)

  • How a message's time reads for earlier days (only same-day messages could be recorded).
  • Superuser behaviour.
  • Referral discussions (product decision).

Suspected product bugs found on the way (not filed)

  • The patient Notes tab shows New and the message box to users the backend then refuses (PatientNotes.tsx passes access and write as always true).
  • The encounter Notes section's write check tests no permission, only facility, current encounter and status.
  • The encounter Notes section refuses Staff ("You cannot access this discussion.") although the backend would list the discussions.
  • A closed encounter shows "You do not have permission to send or edit messages in this discussion." though the reason is its status.
  • Unique discussion titles are enforced only in the browser, and only when starting a discussion, not when renaming.
  • The start dialog has no 255-character limit; a longer title fails with a generic error.
  • The New button in the small-screen sheet can never be seen.
  • The suggested titles are not translated.
  • With default roles, Administrator can post to patient discussions but cannot read them.
  • A message's encounter in the request is checked but not stored.

What the Ezhuthachan skill learned (separate commit)

  • references/issues.md: findings that expose data are security findings. They stay out of issues, pages, commits and pull requests, and are reported privately as care's SECURITY.md asks.
  • assets/recording/pointer.ts: scroll horizontally only when an element is really outside the window. An item near the left edge counted as off screen, and the centring scroll moved the whole page in a recording.

🤖 Generated with Claude Code

Open Healthcare Network and others added 3 commits November 28, 2026 07:00
Rewrite the Notes concept and reference pages and the three Notes flows
against care@ddfd840 and care_fe@5e02f9a, and add two new flows: Edit a
message and Rename a discussion. Add the new flows to the 3.1 flow
sidebar. Replace the old screenshots, which showed the previous
encounter layout, with one screenshot and a poster per flow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One video per Notes flow, recorded on Care 3.1 (care@ddfd840,
care_fe@5e02f9a). An AI voice (ElevenLabs eleven_v4, cloned voices of
Bill and Gauri, alternating flow by flow) reads a short script per step,
and the captions track shows what it says. Frames are held where a line
is longer than its step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…croll

- issues.md: findings that expose data stay out of issues, pages, commits
  and pull requests, and are reported privately as care's SECURITY.md asks.
- pointer.ts: scroll horizontally only when an element is really outside
  the window. An item near the left edge counted as off screen, and the
  centring scroll moved the whole page during a recording.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Deploying coredocs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d55ea5a
Status: ✅  Deploy successful!
Preview URL: https://9c682132.coredocs.pages.dev
Branch Preview URL: https://claude-notes-module-3-1-upda.coredocs.pages.dev

View logs

billjohnc and others added 2 commits November 29, 2026 00:34
The facility role pickers never offer a role named Admin. Care defines two
roles with that name; the role sync looks roles up by name, so the database
keeps one Admin role, for role organizations (care
sync_permissions_roles.py:37-45, roles/role.py:57-67,81-93), and the facility
screens list roles with context FACILITY (care_fe RoleSelect.tsx:140,
LinkFacilityUserSheet.tsx:207, LinkUserToDepartmentSheet.tsx:131; care
security/api/viewsets/roles.py:10-15). The pages also said the second Admin
role holds none of these permissions; the one Admin role in the database
gets the permissions of both definitions (sync_permissions_roles.py:52-65).
The explanation now says why Admin is left out. Every other role in the
lists matches care security/permissions/patient.py, encounter.py,
schedule.py and tag_config.py.

Pinned care ddfd840, care_fe 5e02f9a.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each narrated video now plays from the Open Healthcare Network YouTube
channel (playlist "Care 3.1 documentation"), with its subtitles on
YouTube. The .mp4, .vtt and poster files are removed from this branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants