Repository navigation
Conversation
Concept, reference and four flows (record, update, mark as entered in error, view) for Care's Procedure module, verified against care ddfd840 and care_fe 5e02f9a. Each flow has a narrated, subtitled video and step screenshots. 3.1 only: the module is not on the 3.0 branches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…search tips - permissions.md: screens inside a record also load the parent record, whose read has its own rule (the encounter page loads the patient). - media.md: wait for the owner session's .recording.lock when sharing its environment; value-set option names can carry the matched synonym; type into a popover's own input. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying coredocs with
|
| Latest commit: |
82fbaf3
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a767f0bb.coredocs.pages.dev |
| Branch Preview URL: | https://docs-procedure-c3d6.coredocs.pages.dev |
A report template reads only the fields that Care declares for it, and no report context has procedures: the encounter context offers symptoms, diagnoses, allergies, diagnostic reports, form responses, prescriptions and service requests (care emr/reports/context_builder/data_points/encounter.py:348-392; no procedure module in data_points/). The sandbox blocks anything else (reports/renderer/template_engine.py:23-57). Procedure answers do not come in through form responses either, because the form leaves structured answers out of the response (care_fe serializeQuestionResults.ts:60-65). Pinned care ddfd840, care_fe 5e02f9a. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pages listed Admin as a default facility role and said it was the facility role, not the role-organization one. The code says the opposite. The permission definitions name an Admin role for facilities (care security/permissions/encounter.py:24-29, security/permissions/patient.py:43-62), but roles are stored by name and the role-organization Admin is synced last, so the only role named Admin has the ROLE_ORG context (security/roles/role.py:57-67, management/commands/sync_permissions_roles.py:37-45). The facility role pickers ask only for FACILITY roles (care_fe RoleSelect.tsx used with RoleContext.FACILITY in LinkFacilityUserSheet.tsx:207, EditFacilityUserRoleSheet.tsx:177, LinkUserToDepartmentSheet.tsx:131; care security/api/viewsets/roles.py:10-15), so no one is offered Admin in a facility. Each explanation now uses the shared wording from #117. 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>
billjohnc
marked this pull request as ready for review
November 29, 2026 17:19
This was referenced Nov 30, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds user documentation for Care's Procedure module to docs version 3.1: the record of procedures that were done on a patient, or not done, or stopped. The PR has one concept page, four flow pages and one reference page. Each flow has a narrated, subtitled video and step screenshots.
All pages are new; no existing page is replaced. Procedure exists only on
develop(Care 3.1). It is absent from the3.0branches ofcareandcare_fe, so nothing is written toversion-3.0.Pages
versioned_docs/version-3.1/concepts/clinical/procedure.mdxversioned_docs/version-3.1/references/clinical/procedure.mdxversioned_docs/version-3.1/flows/clinical/procedure/. They appear in the sidebar under Flows › Clinical › Procedure, after Condition:Media for these pages is in
static/media/clinical/procedure/: 4 videos with posters and captions, and 22 step screenshots.The pages keep Procedure apart from Service Request and Activity Definition. A procedure records something done; ordering a procedure is a service request, and nothing in Care turns a service request into a procedure.
Verified against
careatddfd840dbe314b4e53d2a719d2138324d970634b(develop, 23 Nov 2026)care_feat5e02f9aa4f690e08375da310511e14606985f788(develop, 26 Nov 2026)How the pages were verified
From code. Every statement in the pages rests on a recorded fact, each with the file, the lines and a quote. The facts break down as follows:
A script checked every quote against its lines at the pinned commits.
At runtime. The flows were recorded on a local Care backend at the
carecommit above, with a frontend built from thecare_fecommit above. The data is fictional only. 16 facts come from what the screen or the API showed, among them:Permissions. The permission tables trace the whole path to each action, not only the final permission. That path includes opening the encounter page, which also loads the patient and has its own rule. Two rules were also checked by calling the API:
Review. Each page was reviewed by a reader who had not written it, against the facts, the templates and
.github/references/review-checklist.md. The findings were fixed and the pages checked again.Where the pages differ from the house style on purpose
care-concept-docrequires and the template lacks.<track>, and screenshots sit after their steps. The build passes for every language with this markup.Narration
eleven_v4).Left out, and open questions
/encounter/undefined, and "Reported by" never shows (see the issues below).Suspected product issues (not filed)
ProcedureReadSpec, which has noencounterorcreated_by.ProcedureTablebuilds the link and the recorder from those fields. Confirmed at runtime: list responses lack both, while opening one procedure returns them.What the skill learned (separate commit)
Moved to the consolidated Ezhuthachan skill update, #141. This PR no longer changes
.claude/skills/.🤖 Generated with Claude Code