Skip to content

[docs] Observation for 3.1 - #124

Draft
rithviknishad wants to merge 7 commits into
mainfrom
claude/observation-module-update-e30eea
Draft

rithviknishad wants to merge 7 commits into
mainfrom
claude/observation-module-update-e30eea

Conversation

@rithviknishad

@rithviknishad rithviknishad commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Updates the Observation pages for Care 3.1 to match the 3.1 code, and adds five Observation flows. Version 3.1 only: the 3.0 pages stay as they are.

Pages

Page Change
concepts/clinical/observation.mdx Rewritten: what an observation is, the ways one is recorded, no editing (only entered in error), where observations appear on screen, and a permissions table with the names users see
references/clinical/observation.mdx Rewritten from the 3.1 model, specs and API: fields, enums, endpoints, the three write paths, and the permission for each action
flows/clinical/observation/record-observations-with-a-form.mdx New
flows/clinical/observation/check-vital-signs.mdx New
flows/clinical/observation/view-encounter-observations.mdx New
flows/clinical/observation/chart-observations-over-time.mdx New
flows/clinical/observation/correct-or-remove-a-test-result.mdx New
flows/clinical/diagnostic-report/enter-diagnostic-report-results.mdx Targeted corrections (see below)
flows/clinical/diagnostic-report/update-a-diagnostic-report.mdx Targeted corrections (see below)

Also: flows/clinical/observation/_category_.json, the Observation category in the 3.1 flow sidebar (after Diagnostic Report), and screenshots, posters, videos and subtitles in static/media/clinical/observation/.

Overlap with the Diagnostic Report work. The Diagnostic Report update (branch claude/diagnostic-report-update-6c11e7) rewrites enter-diagnostic-report-results.mdx and deletes update-a-diagnostic-report.mdx. These two corrections were kept here by the requester's decision, knowing that; whichever pull request merges second needs a hand merge on those two files. The new Observation flow does not link the page that the other branch deletes.

Verified against

  • care at ddfd840 (develop, 23 Nov 2026) and care_fe at 5e02f9a (develop, 26 Nov 2026).
  • From code: every statement on these pages rests on a fact read at those commits (file, lines and quote kept in the session). Three reviewers that had not seen the drafts checked each sentence against its fact.
  • By running it: all five flows were recorded on a fresh local stack built from those commits, with invented data and no real patient data. Each flow's API calls were compared with its permission path; every call succeeded as the flow's role, and no call or gate was found that changes what the pages say.

Where these pages differ from the house style on purpose

  • Language: Simplified Technical English rules for steps, warnings and tables; plain, consistent English for explanations.
  • Versions: written for 3.1 only, the version the code was verified against, rather than mirrored into 3.0.
  • Permissions: each table covers the whole path to the action (who by default, and in which department), not only the final permission. The concept page keeps a Permissions section, as its sibling concepts do, though the concept template has none.
  • Concept layout: "Where Care shows observations" sits under Key Attributes; the FHIR link is not bold, because bold is kept for on-screen labels.
  • Reference layout: the API notes are split into six sub-sections.
  • Media: each flow has a video with a subtitles track and step screenshots with alt text.
  • Narration: each video has a voice that reads a short script per step: the step and a sentence or two of context from the page. The subtitles show what it says. The voice is AI-generated with ElevenLabs (model eleven_v4), using cloned voices of two members of the product team, Bill (Bill-eng) and Gauri (Gauri-eng), taking turns flow by flow in sidebar order. Where a line is longer than its step, the video holds a frame and the subtitles are timed to match.

Left out, and open points

  • The "Check a patient's vital signs" video does not show step 4 (Abnormal only). Vitals recorded through a questionnaire carry no high/low flag, so the switch had nothing to show; the page still describes it.
  • Not traced, and not described: the permission for the unit lookup of quantity questions (value set module), and the gates for reaching an encounter (Encounter module), which the pages link instead.
  • The existing Diagnostic Report concept page says users can set any of four statuses, which the corrected flows contradict. Left to the Diagnostic Report work.
  • The existing "Add and edit questions" flow does not explain how to bind an observation code to a question.

Product issues found (none filed)

Kept in the session report; none filed on GitHub, by the requester's decision. The ones a reader might notice:

  • The Observations tab and a chart's Full History list observations marked entered in error with no marker; the other views leave them out.
  • The Observations tab shows no value for choice answers and for test results whose values are components, and does not list component groups.
  • A quantity answer is saved with the question's default unit, not the unit picked on the form.
  • An answer with several values records only its last value as an observation.
  • Body site, method and time taken are not stored on questionnaire observations; the builder's "Collect …" switches have no effect.
  • The Plots tab shows a spinner forever when the chart configuration fails to load; a failed chart request shows "No data available".
  • The default chart configuration has three Respiratory Support charts with empty codes.
  • Approve Results does not send values typed but not saved; each Save Results gives every saved result the save time.
  • Staff, Administrator and Volunteer see Create Report, Save Results and Approve Results, but the backend refuses them.
  • Some observation screens show untranslated English text and force an en-US time format.

One further finding is security-sensitive and is not described here; it is in the session report for private follow-up.

Skill changes

Moved to the consolidated Ezhuthachan skill update, #141. This PR no longer changes .claude/skills/.

🤖 Generated with Claude Code

Open Healthcare Network and others added 3 commits November 28, 2026 17:24
Rewrite the Observation concept and reference pages from the 3.1 code
(care ddfd840, care_fe 5e02f9a), add five Observation flows with step
screenshots, add the Observation flow category to the 3.1 sidebar, and
correct the two Diagnostic Report flows that describe entering and
updating test results.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Five videos recorded on a local stack at the pinned 3.1 commits, with
AI-generated narration (ElevenLabs eleven_v4, cloned voices Bill-eng and
Gauri-eng) and subtitles of the spoken words.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Before changing a neighbouring module's page, look for an open session
on that module. Claim a native stack's ports and Redis index in the
locks folder before use, and keep load_fixtures output out of the
session because it prints the fixture password.

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: d623b92
Status: ✅  Deploy successful!
Preview URL: https://b6567c75.coredocs.pages.dev
Branch Preview URL: https://claude-observation-module-up.coredocs.pages.dev

View logs

billjohnc and others added 4 commits November 29, 2026 00:30
PR #121 rewrites enter-diagnostic-report-results.mdx and deletes
update-a-diagnostic-report.mdx. Both PRs editing the same pages would
conflict, and the coordinator chose #121's pages. This restores main's
versions of the two pages, so this PR no longer touches them. The
save-before-approve and re-stamp points that this PR made there are now
in #121. The links from this PR's own pages go to
enter-diagnostic-report-results.mdx and view-a-diagnostic-report.mdx,
which exist on main and stay in #121.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The facility role pickers never offer Admin. The role sync keeps one
role per name, and the role-organization Admin comes after the facility
Admin, so the only role named Admin ends with the role-organization
context (care sync_permissions_roles.py:37-45, roles/role.py:57-67,83-95,
models/role.py:33-38). The facility pickers ask only for facility roles
(care_fe LinkFacilityUserSheet.tsx:207, EditFacilityUserRoleSheet.tsx:177,
LinkUserToDepartmentSheet.tsx:131, PatientUsers.tsx:164; care
api/viewsets/roles.py:10-15). This also replaces the two wrong
explanations (concept: "the Admin role of a facility"; reference: "Admin
is the facility role"). The questionnaire row keeps Admin, Manager and
Member for role organizations: a questionnaire is shared with role
organizations (care_fe OrganizationsField.tsx:124-126; care
permissions/questionnaire.py:32-48). 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>
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