Repository navigation
Conversation
…'s printouts Re-recorded the six report-template flows (create, preview, edit, view, generate, print) with a discharge summary template laid out like Care's own printouts (Figtree, facility header with the Care logo, grey-headed tables), invented data in every section, and the PDF filling the report viewer. New YouTube embeds for the six pages, 33 screenshots as 1440 px WebP, and three alt texts updated to match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying coredocs with
|
| Latest commit: |
556af4e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5a39a017.coredocs.pages.dev |
| Branch Preview URL: | https://docs-report-template-restyle.coredocs.pages.dev |
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.
Follow-up to #140 and #148 for the Care 3.1 report template pages: the report in the videos and screenshots now looks like a Care printout, has data in every section, and fills the report viewer.
Why
The report-template flows were recorded with Care's starter template from the Template Builder: plain Arial (which prints as DejaVu Sans), blue section rules, no facility header, and empty Allergies, Symptoms and Diagnoses tables. The PDF also showed small in a corner of the report viewer.
What changed
scripts/webp.pyand keep the same file names.The report template used in the recordings
It is laid out like Care's own printouts (
care_fe/src/print/typst/care.typ):It prints no phone number, address, date of birth or identifier. The font and logo are embedded in the template, because the report container has only DejaVu fonts and no allowed remote origin.
The demo encounters (Maya Raman, Arjun Rao) got invented allergies, symptoms, diagnoses, a care team, investigations and discharge advice.
Product issue found while documenting (not filed)
Care's starter template (
DEFAULT_TEMPLATEinsrc/pages/Encounters/TemplateBuilder/templateUtils.ts) does not look like Care's other printouts:Its
{% if encounter.allergy_intolerances %}checks are always true, because report context lists are always truthy. So an encounter with no allergies prints empty table headers instead of "No known allergies recorded."Notes
🤖 Generated with Claude Code