Repository navigation
Conversation
Rewrite the four Billing concepts and the 20 existing Billing flows against care@ddfd840 and care_fe@5e02f9a (develop), and add 13 flows the section was missing: rebalance, account tags, linking an encounter, Quick Add packages, bed charges, printing charge items, editing draft invoice items, printing invoices, advance payments, credit notes, finding payments, payment receipts and transfers. Permission tables now list the whole path to each action. Every flow has screenshots from a local stack at the same commits, and six key flows have captioned videos. The new flows are added to the 3.1 flow sidebar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Teach the recording guide what the Billing session learned: record against a production build (the dev server shows a devtools button in every frame), rename fixture data to authentic, globally understandable names with placeholder contacts, give each recorded patient two tags so the name stays on one line, and clear repeated-run records before list screenshots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sonzsara
marked this pull request as ready for review
November 27, 2026 09:24
Each video now has a spoken narration and subtitles of the spoken words. The voices are AI clones of Gauri and Bill, made with ElevenLabs, taking turns by video. Each line reads the step and a sentence or two of context from the page's own text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The account flow pages used the same template alt text for every screenshot ("Care screen for step N, <heading>"). The alt text now says which screen or dialog each image shows and what is highlighted or filled in, written from the images themselves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The charge item flow pages used the same template alt text for every screenshot. The alt text now says which screen or dialog each image shows and what is highlighted or filled in, written from the images themselves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The invoice flow pages used the same template alt text for every screenshot. The alt text now says which screen or dialog each image shows and what is highlighted or filled in, written from the images themselves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The payment reconciliation flow pages used the same template alt text for every screenshot. The alt text now says which screen or dialog each image shows and what is highlighted or filled in, written from the images themselves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The list of ways charge items appear left out encounter forms. The form editor offers each Structured question type whose subjects include the form's subject (care_fe QuestionTypePicker.tsx:103-110), and Charge Items declares subjects ["encounter"] (structured/definitions/chargeItem.ts:6-10, en.json structured_type__charge_item). Staff pick charge item definitions in it; each row carries the encounter (ChargeItemQuestion.tsx:244-253), and submitting the form posts them to apply_charge_item_defs (chargeItem.ts:12-32), which checks Can Create Charge Item and adds one charge item per row (care viewsets/charge_item.py:334-428). Pinned care ddfd840, care_fe 5e02f9a. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reference said `locked` freezes the invoice against further edits. The viewset checks the lock only when a single invoice is retrieved (care viewsets/invoice.py:100-102 -> check_invoice_lock_permission, :410-414, Can Manage Locked Invoice) and in the lock and unlock actions (:417-457). Update, attach and remove items, status changes and cancel_invoice never read it (:176-408). This matches ohcnetwork#109's concept: "A lock does not stop changes". Pinned care ddfd840. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reference said `number` is generated for return invoices. Both ways an invoice is created fill it from the facility's invoice_number_expression: the invoice API when the request sends no number (care viewsets/invoice.py:151-155) and generate_return_invoice (resources/invoice/return_items_invoice.py:54-57). With no expression the number is an empty string (default_expression_evaluator.py:15-19). Pinned care ddfd840. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Collect Payment / Record Credit Note sheet renders the deployment's additional (extension) fields for payment reconciliation at the end of the form, after Notes, and nothing when none are configured (care_fe PaymentReconciliationSheet.tsx:230-233, 248-253, 461, 802, 819; useExtensions.tsx:549-556). Record payment, advance payment and credit note all open this sheet (InvoiceShow.tsx:1502-1508, PaymentStatusBanner.tsx:727-732, AccountShow.tsx:407, 459, 752-757). Pinned care ddfd840, care_fe 5e02f9a. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ive account report template care_fe 6a40c4913 (#16440) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
care_fe 6a40c4913 (#16440) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 30, 2026
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
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.
Updates the Care 3.1 Billing docs to match the 3.1 code, and adds the tasks the section was missing. Every statement was checked against the code, and the flows were recorded on a running Care built from the same commits.
What changed (version 3.1 only)
Replaced (24 pages): the 4 Billing concepts (Account, Charge Item, Invoice, Payment Reconciliation) and all 20 existing Billing flows.
Added (13 flows):
The new flows are added to
versioned_sidebars/version-3.1-sidebars.json.Media: annotated screenshots on all 33 flow pages (178 images, downscaled to 1440 px), and narrated, subtitled videos for six key flows: create account, settle and close, add charge items, create invoice, issue invoice and record payment. Media adds about 47 MB under
static/media/billing/.The biggest corrections
Verified against
careddfd840dbe314b4e53d2a719d2138324d970634b(develop, 23 Nov 2026)care_feabf39459484735a57a5139d5c66438ec8b490ad1(develop, 30 Nov 2026)The pages were written against
care_fe5e02f9a(26 Nov 2026). On 30 Nov 2026 they were re-checked against the later changes that touch them. #17346 only re-aligns the checkboxes of the charge items table, so nothing changed. #16440 adds a Reports section to the account page's more-options (⋮) menu and shows Generate Report only with Can Read Template and an active account report template; "View an account" now says so. The screenshots of the open more-options menu (view-account-8,record-credit-note-1,transfer-payment-2) were taken before #16440 and do not show the Reports section yet.From code: 792 facts with file, lines and quotes, and a permission path for each flow.
At runtime: a local stack started from those commits, with fixture data renamed to invented people.
Reviews: each page had a separate review against the facts by a reviewer who did not write it.
Intentional differences from the house style
concept-template.mdhas none.<track>with subtitles, and screenshots are placed after the step they show.eleven_v4). They are cloned voices of Gauri and Bill, alternating by video: Gauri reads create account, add charge items and issue invoice; Bill reads settle and close, create invoice and record payment.Left out, and open questions
Not written:
Open questions:
Product bugs found on the way
Recorded in the session; not filed from here unless listed with an issue link.
can_manage_locked_invoice_in_facility, which is not a permission name. So when any item is on a locked invoice, only superusers can print.Skill update
Moved to the consolidated Ezhuthachan skill update, #141. This PR no longer changes
.claude/skills/.🤖 Generated with Claude Code