Repository navigation
[docs] Patient for 3.1 - #113
Draft
rithviknishad wants to merge 7 commits into
Draft
rithviknishad wants to merge 7 commits into
rithviknishad wants to merge 7 commits into
Conversation
Re-verify the Patient concept, reference and nine flows against care ddfd840 and care_fe 5e02f9a, and add two flows: Open Patient Home and View an organization's patients. Each flow page gets a narrated, subtitled video and step screenshots. Pages are written for 3.1 only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claim ports and a Redis index before starting a stack, and never stop a stack another session reuses. Snapshot the shared cast, fix the fixture government organizations' level types and the facility phone before recording. Check quotes mechanically, give researchers separate fact ranges, read recordings' API logs against each path. Note the flow H1 contradiction, cap loud narration clips, and link per-flow recordings for the narration scripts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying coredocs with
|
| Latest commit: |
18922b0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ec3b02c8.coredocs.pages.dev |
| Branch Preview URL: | https://docs-patient-7da6.coredocs.pages.dev |
The profile header squeezed the patient's name onto two lines in update-patient-details and view-organization-patients. The cast patients now carry two tags, which keep the name and age on one line. Narration reuses the existing speech; videos, posters and screenshots replaced. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tments page PR 113 and PR 119 both rewrote view-patient-appointments.mdx. This page stays with PR 113, so the points that only PR 119 had are added here, each checked in the code: - The View all appointments number counts only today's appointments at the facility with an Upcoming status, and the link opens nothing when the Appointments tab is hidden (UpcomingAppointmentCard.tsx:41-54,66-74; PatientHome.tsx:141-146; PatientHomeTabs.tsx:38-46,82-86). - The Bookings tab of the Book Appointment sheet lists the same appointments (BookAppointmentSheet.tsx:61-88). - Opening an appointment needs Can list bookings on Object at its facility (care booking.py:138-145), and it opens on Appointment Details. - A deployment setting can open any patient's profile, off by default (care patient.py:99-101, config.py:301-302). PR 119's token text and its two permission names were wrong and are not copied; this page already had the right token list (PatientTokensList.tsx:48-57). Pinned care ddfd840, care_fe 5e02f9a. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Requests row said only that Create Request "starts a request". The button opens the Create Request form for a resource request from the current facility, with the patient linked and shown as Linked Patient; the user picks the facility that provides the resource (ResourceRequests.tsx:50-60, ResourceForm.tsx:71,104-110,186-199,257-279). Pinned care ddfd840, care_fe 5e02f9a. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rofile The Clinical History row linked "View the clinical history", a page that covers only symptoms and diagnoses. The clinical history page has eight tabs (clinicalHistoryTabs.tsx:41-105), and the encounter workspace can change the set (ClinicalHistoryWorkspace.tsx:44-47,85-130). The row now names the tabs and the link text says what the linked page covers. Pinned care ddfd840, care_fe 5e02f9a. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 28, 2026
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
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.
What this changes
Brings the Patient docs for 3.1 in line with the Care 3.1 code. The existing pages were published in August "verbatim from care_docs source" and had never been checked against code; nearly every one was materially wrong for 3.1 (wrong navigation, labels, permissions, tabs and steps).
Updated (3.1 only)
concepts/clinical/patient.mdxreferences/clinical/patient.mdxflows/clinical/patient/: search-patient, register-patient, view-patient-profile, update-patient-details, mark-patient-deceased, manage-patient-identifiers, manage-patient-tags, manage-patient-users, view-patient-appointmentsNew
flows/clinical/patient/open-patient-home.mdx: Patient Home, where search and registration both leadflows/clinical/patient/view-organization-patients.mdx: a government organization's Patients tabMedia: every flow page has a narrated, subtitled video and step screenshots, under
static/media/clinical/patient/. 11 videos (27 to 81 seconds, recorded as the roles each page names: front desk, doctor, nurse, facility admin), 66 step screenshots with alt text, 99 files, 36 MB. The cast is invented (from the shared personas file); phone numbers on screen are invented test values. Two cast patients carry two tags so the profile header keeps the name on one line (see PH1 below). Place names on screen (Kerala, Ernakulam, an address in Kaloor) and one PIN code on a token card come from Care's test fixtures and the recording data; they differ from the team's saved preference for fully invented places, and were kept by the session user's decision.3.0 pages are untouched: the 3.0 code was not pinned, so nothing here is verified for 3.0.
Verified against
caredevelop @ddfd840dbe314b4e53d2a719d2138324d970634b(2026-11-23)care_fedevelop @5e02f9aa4f690e08375da310511e14606985f788(2026-11-26)How it was verified
Intended differences from the house style
# Search for a patient), as all 192 flow pages on the 3.1 site do;care-flow-doc/SKILL.mdcontradicts itself on this.eleven_v4), using cloned voices of Gauri and Bill (voices "Gauri-eng" and "Bill-eng"), taking turns flow by flow. Where a line is longer than its step, the video holds a settled frame and the subtitles are timed to match.Left out, on purpose
Needs follow-up
i18n/ml/.../concepts/clinical/patient.mdx,.../references/clinical/patient.mdx) still describe the old behaviour; they need re-translation.condition/view-clinical-historyandscheduling/token/create-tokenmiss the patient-page start points.Product defects found (not filed yet)
Certain defects, each with file and lines at the pinned commits; filed only with the product team's agreement:
care/emr/resources/patient/spec.py:142-147care/emr/api/viewsets/patient.py:416-420care/emr/api/viewsets/encounter.py:401,414care/emr/models/patient.py:90-96care/emr/resources/patient/spec.py:214src/components/Facility/DuplicatePatientDialog.tsx:95src/components/Facility/DuplicatePatientDialog.tsx:98src/components/Patient/PatientRegistration.tsx:1077-1078src/components/Patient/PatientProfile.tsx:170-183care/security/roles/role.pycare/emr/resources/patient/spec.py:192-193; care_fe src/components/QuestionnaireV2/structured/definitions/timeOfDeath.tscare_fe src/components/Patient/PatientDetailsTab/PatientUsers.tsx:137-140, 280-281src/components/Patient/PatientHeader.tsx:197 (md:max-w-1/2)src/config/keyboardShortcuts.json:32-34src/pages/Patient/home/PatientHomeTabs.tsx:40-46Notes that are not certain defects (permission scope differences, a role-context check the backend does not make, a silent 403 on Patient Home's encounter list, a Remove dialog quirk, and others) are in the session report.
Ezhuthachan skill changes (separate commit)
media.md: claim ports and a Redis index before starting a stack (two sessions collided on 26 Nov); a stack another session reuses is not stopped at wrap-up; snapshot the cast from the shared personas file; set the fixture government organizations' level types and clear the fixture facility's phone before recording.research.md: check every quote mechanically, give parallel researchers separate fact ranges, have subagents return findings as text, and read the recordings' API logs against each path (it found three missing Permissions rows here).writing.md: the# How tovs plain H1 contradiction incare-flow-doc/SKILL.md; follow the site.🤖 Generated with Claude Code