Skip to content

[docs] Apps (ABDM, Filly, AI Vision) and additional fields for Care 3.1 - #134

Draft
billjohnc wants to merge 7 commits into
mainfrom
claude/docs-apps-extensions-3-1-aadbc2
Draft

billjohnc wants to merge 7 commits into
mainfrom
claude/docs-apps-extensions-3-1-aadbc2

Conversation

@billjohnc

@billjohnc billjohnc commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds documentation for apps (Care Apps / plugs) and additional fields (extensions) in Care 3.1, plus the operator and developer pages behind them. Written by the Ezhuthachan docs skill, session 2026-11-29-apps-extensions-ce20, as one of several module follow-ups to the 28-29 Nov review of 3.1 against docs main and the open PRs.

New user pages (version 3.1 only)

A new top-level Apps category in the 3.1 sidebar, between Flows and References:

  • apps/apps-in-care.mdx: Apps in Care (what an app is, who installs it, where app content can appear, app permissions)
  • ABDM (says it applies to deployments in India): concept apps/abdm/abdm.mdx, and flows Link your facility to ABDM, Create an ABHA number for a patient, Link a patient's existing ABHA number, View or print a patient's ABHA card, Find a patient by Scan and Share token, Fetch a patient's records over ABDM. This also gives the HMIS outpatient-registration playbook's "ABDM link step (flow coming soon)" a target.
  • Filly (voice form filling): concept, Turn on Filly for your account, Fill a form by voice
  • AI Vision (scan to fill): concept, Turn on AI Vision for your account, Fill a patient registration from a scanned form, Fill diagnostic report results from a scanned report, Fill a purchase delivery from a supplier invoice

New concept: concepts/platform/additional-fields.mdx: Additional fields (fields a deployment or an app adds to records, and every 3.1 screen that shows them).

Operator and developer pages

  • New deployment/configuration/ section ("Configure Care"): Install apps (REACT_ENABLED_APPS, runtime-env.js, the 3.1 App Store in Admin > Apps and REACT_APP_STORE_API_URL, backend plugs, matching app builds to 3.1, per-app notes for ABDM, Filly and AI Vision) and Define extension fields (CORE_EXTENSIONS__WRITE/_READ/_RETRIEVE, PlugExtension, the extensions API, x-ui hints and contexts). Linked from deployment/intro.md.
  • contributing/plugins.md updated for 3.1: shared @tanstack/react-router instead of raviger, the full manifest, the new Scribe contract (actions/invoke), encounter widgets and question groups, the App Store, REACT_MFE_REGISTERED_COMPONENTS, plug permissions and sync, device types, extension fields, and the Care Scribe link (now 10bedicu/care_scribe, with a note that its frontend is not yet on the 3.1 contract).

How it was verified

  • Pinned code: care ddfd840dbe314b4e53d2a719d2138324d970634b and care_fe 5e02f9aa4f690e08375da310511e14606985f788 (the latest develop on 2026-11-29). Apps: 10bedicu/care_abdm_fe develop d23b54d, 10bedicu/care_abdm develop 343dc7b, ohcnetwork/care_filly_fe care-3.1 cfce57a, ohcnetwork/care_filly develop 55fa66c, ohcnetwork/care_ai_vision_fe care-3.1 bf642ec.
  • Every statement was written from a numbered fact with a file, line and quote at those commits (about 610 facts); each page was then reviewed by a separate reviewer against the facts and the code.
  • The 3.1 App Store (experience.ohc.network/api/plugins/) was read on 2026-11-29. The public Filly and AI Vision 3.1 builds it serves have label files byte-identical to the pinned branch heads.
  • Screenshots and videos were recorded later on billjohnc's request (see Media below). No permission path was proved by execution (no role-by-role runs).
  • npm run build passes for en and ml.

Media

44 screenshots and 5 narrated videos on 14 of the 3.1 user pages. Deployment and contributing pages stay text.

Where it was recorded

  • Local stack ez-apps-ce20, started for this PR from the pinned commits (care ddfd840 with the ABDM and Filly backend plugs at care_abdm 343dc7b and care_filly 55fa66c; care_fe 5e02f9a with the ABDM, Filly and AI Vision apps built in). Data: a copy of the invented data of the shared docs stack. ABDM's gateway addresses pointed at a closed local port, so nothing went to ABDM, and no Aadhaar number, ABHA number or other government identifier was typed. The Health Facility Id on screen ("CGH-LOCAL-01") is a placeholder seeded into the database, not a real or sandbox id. One invented patient field set (Preferred language, Employer) shows where additional fields appear.
  • demo.ohc.network (backend staging-api.ohc.network, which reports its version as "unknown"; frontend built 2026-11-26 11:18 UTC, two minutes after the pinned care_fe commit) for the three flows that send content to Medispeak, because the local stack has no Medispeak key. Its AI Vision is the same care-3.1 build as researched (identical labels); its Filly is the vad build, the researched care-3.1 commit plus 6 commits that change voice detection only (identical labels). Recorded as the demo doctor account, not a superuser, with invented content only: a synthetic-voice dictation of vital signs, an invented registration form and an invented lab report. Names in these videos (Dr. Meera Nair, Ravi Rao, Divya Krishnan, Medicity) differ from the other pages. Other apps installed on demo (for example I/O Balance) can show in the frame.

Per page

  • Apps in Care: 1 screenshot (local). Additional fields: 2 screenshots (local).
  • ABDM: Link your facility to ABDM 5, Create an ABHA number 2, Link an existing ABHA number 2, Find a patient by Scan and Share token 2, Fetch records over ABDM 1 (all local; stopped before any ABDM call). View or print the ABHA card has none: it needs a linked ABHA number.
  • Filly: Turn on Filly, video + 4 (local); Fill a form by voice, video + 5 (demo).
  • AI Vision: Turn on AI Vision, video + 4 (local); Fill a patient registration from a scanned form, video + 6 (demo); Fill diagnostic report results from a scanned report, video + 8 (demo); Fill a purchase delivery from a supplier invoice, 2 screenshots up to the banner (local; the demo doctor cannot add stock deliveries).

Narration: each video has a voice that reads a short script per step (the step and a sentence of context from the page) and subtitles of what it says. The voices are AI-generated with ElevenLabs (model eleven_v4), cloned voices "Gauri-eng" and "Bill-eng", taking turns flow by flow in sidebar order. Where a line is longer than its step, the video holds a settled frame and the subtitles are timed to match.

Records created on demo.ohc.network (invented, as the demo doctor): Vitals Form response 937b2bb4 on Ravi Rao's existing encounter 55042deb; patient Divya Krishnan 5d43b6d2; Complete Blood Count service request 39f61b9e with its automatic charge item 73f55e4f, specimen 5c915dd6 (marked collected) and diagnostic report 29601b4d (observation 360146b6, kept file ea92a409). AI Vision was switched on for the demo doctor for the run and switched off again.

Differences from the house style, on purpose

  • Versions: pages go to 3.1 only; the apps and the App Store differ in 3.0.
  • Language: Simplified Technical English rules apply to steps, prerequisites and tables, and plain English to overviews and concepts.
  • Permissions: tables cover the whole path to the action (what shows the control, what the backend checks, where the permission must be held), not only the last permission. "Admin" is not listed as a facility role: the two "Admin" roles are one role-organization role.
  • Media markup: a captions track on each video and screenshots after the steps, as in other recent docs PRs.
  • App labels: many ABDM labels are hard-coded English in care_abdm_fe rather than locale keys; the pages quote them exactly.

Left out, and open questions (for the product team)

  • TeleICU devices: no 3.1 build, not in the 3.1 App Store, loading on 3.1 not confirmed. Research is kept for when it is ported.
  • Excalidraw (Drawings): left out per the later app list; it needs no backend plug, and a tanstack-router branch is not merged yet.
  • ABDM Scan & Pay: needs a payment provider plug that care_abdm does not ship. Which plug do deployments use?
  • Search by ABHA number in the patient search: expected from the code, not seen at runtime.
  • AI Vision backend: AI Vision asks care_filly for document sessions; care_filly develop drops that field and only its ocr branch forwards it. Which branch should deployments run?
  • Pharmacist and "Can Use Filly": Pharmacist does not hold it by default, so invoice scanning needs a role change. Intended?
  • Filly "terms and conditions" text with no matching step in the code: what terms?
  • Other apps stay README-only for now: Imports, System Diagnostics, Serial Scanner, HCX, LiveKit, Hello, AI Widgets, Analytics, Pretty Print, Doctor Connect, Cash Management, Kutumba. Scribe is not ported to 3.1.

Product issues noticed (not filed)

Apps platform:

  • The App Store routes (/admin/apps) have no superuser check in the frontend; a staff user who opens the URL can press Install, and the backend refuses it with 403.
  • Built-in apps (REACT_ENABLED_APPS) and App Store apps use different slugs, so the store offers Install for an app that is already built in.
  • The patient_edit extension context is never used by any screen, so a field cannot be hidden on registration and shown on edit.
  • ADDITIONAL_PLUGS is a build argument in docker/prod.Dockerfile but is read at runtime by plugs/manager.py (read in code, not run).
  • Malformed JSON in a CORE_EXTENSIONS_* variable raises on every read (read in code, not run).
  • App entries in the user menu go to /facility/undefined/... when opened outside a facility.
  • App labels load only from the Care origin, which breaks apps hosted on another host or sub-path.
  • care_apps_registry is no longer read by 3.1, lists repository URLs that 404, and has no compatibility field; the store's care_version is not checked.
  • DoctorConnectButtons slot and the manifest extends field are declared but unused.

ABDM:

  • With Configure Health Facility open, the Configurations menu stays open behind the sheet and swallows letter and number keys, so Counter Name (and probably the Health Facility Id field) cannot be typed into; Backspace works. Seen on the local stack; the QR in the screenshot uses the default counter name.
  • Consent cards with no artefacts say the request was rejected for Expired and other statuses.
  • The consent form accepts an empty list of health information types.
  • The health information endpoint returns only the last file of an artefact.
  • The registration form's save watcher can try to link twice.
  • The invoice "More Options" dropdown can open empty when ABDM is loaded.
  • The counter-name hint says no spaces, but spaces pass; the "Health Facility Id is required" message is unused.
  • README drift: the backend README installs from ohcnetwork/care_abdm (404; the code is at 10bedicu/care_abdm) and its snippet names two different variables; the frontend README is out of date for 3.1; the Scan & Pay doc and settings name different providers.

Filly and AI Vision:

  • AI Vision fills the emergency phone number but not the host's Use a different emergency contact number switch, so on save Care stores the main phone as the emergency number (seen on demo; the page now tells staff to turn the switch on).
  • The REACT_ENABLED_APPS example in the care_abdm_fe README (and the TeleICU entry in care_fe's .example.env) gives only a host; Care imports the address as given, and such entries fail to load (seen on the local stack; the Install apps page now gives a working example).
  • care_filly develop drops the modality field that AI Vision sends (see the question above).
  • Filly's profile section ignores whose profile it is on, so on another user's profile it shows and toggles the viewer's own switch.
  • The care_filly README says the backend refuses sessions while the switch is off; develop removed that check.
  • AI Vision's "Keep these docs with the report" starts unticked but is ticked after Discard; its package.json still lists raviger.

TeleICU and Excalidraw (no pages yet): broken location link on the camera card, "Update" preset shown to Doctors whom the backend refuses, a single-brace placeholder, doubled colons, a shortcut missing its modifier, an endless loading state on error, an and/or slip in gateway authentication; Excalidraw offers Save without write permission.

A few further findings touch access control. They are not listed in this public PR; they are in the session report for the team to route privately.

What the Ezhuthachan skill learned (own commit)

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

Notes for other docs PRs

Sent to the coordinating session for the owners of those pages: the payment sheet, token print, appointment print and delivery order print can show additional fields (PRs 109, 102/119, 122); the facility and resource-request references omit extensions; the device concept calls the core camera stub "the bundled example"; view-patient-profile.mdx describes "Additional Details" wrongly for 3.1; some 3.1 pages list "Admin" as a facility role.

🤖 Generated with Claude Code

billjohnc and others added 3 commits November 29, 2026 01:24
New top-level "Apps" category in the 3.1 sidebar: Apps in Care, ABDM
(concept and six flows, marked for deployments in India), Filly (concept
and two flows) and AI Vision (concept and four flows). New concept
concepts/platform/additional-fields.mdx for fields a deployment or an app
adds to records. Verified against care ddfd840 and care_fe 5e02f9a and the
pinned app repositories.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New deployment/configuration section (Install apps, Define extension
fields), linked from the deployment intro. Update contributing/plugins.md
for 3.1: shared @tanstack/react-router, the manifest, the new Scribe
contract, the App Store, plug permissions, device types, extension fields
and the Care Scribe link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Care 3.1 reads its app catalog from REACT_APP_STORE_API_URL, not from
care_apps_registry; several registry URLs moved to 10bedicu; and a hosted
app build can be newer than the catalog's approved commit.

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: 23117ee
Status: ✅  Deploy successful!
Preview URL: https://66f2b0b8.coredocs.pages.dev
Branch Preview URL: https://claude-docs-apps-extensions.coredocs.pages.dev

View logs

billjohnc and others added 4 commits November 29, 2026 15:54
Care imports a built-in app's URL as given, so an entry must end in the
app's remoteEntry.js; host-only entries failed to load on a test stack.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
44 screenshots and 5 narrated videos (ElevenLabs eleven_v4, voices
Gauri-eng and Bill-eng). ABDM, additional fields and the settings flows
were recorded on a local stack from the pinned commits; Filly's form fill
and AI Vision's registration and report fills on demo.ohc.network with
invented content. Also tells staff to turn on "Use a different emergency
contact number" after an AI Vision scan, which AI Vision does not do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The buttons only exist on a Vite dev server and cover page buttons in the
frame. The medications session fixed this in its own copy of the kit.

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.

1 participant