Commit Graph
48 Commits
Author SHA1 Message Date
isaaccladandCursor 3ee59a0956 Activate Care workflows across check-in and financial clearance.
Deploy Ladill Care / deploy (push) Failing after 1m9s
Enforce service-queue gates, cashier settlements, and clinical stage progression so patient journeys cannot bypass configured payment or authorization rules.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 21:13:06 +00:00
isaaccladandCursor 86bfce1e17 Add workflow-centric patient journey with financial gates.
Deploy Ladill Care / deploy (push) Failing after 45s
Introduces a facility workflow engine as Care's primary configuration
object: onboarding now leads with a facility category (which modules to
enable) and a workflow template (how patients move + where money is
collected), including standard herbal hospital/clinic templates.

Templates materialize into care_facility_workflows/care_workflow_stages.
The engine tracks a visit's position via care_visit_stage_advances and,
with FinancialGateService, gates a stage's queue behind a cleared
FinancialObligation (paid/authorized/waived/deferred) for "before"
payment timing while leaving "after" (pay-at-exit) flows unblocked.
Gated behavior is opt-in behind the workflow_engine/financial_gates
rollout flags; legacy orgs keep current behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 20:47:33 +00:00
isaaccladandCursor a3521247e0 Route pharmacy, lab, and billing tickets through a shared FIFO pool.
Deploy Ladill Care / deploy (push) Successful in 57s
Stop pre-assigning prescriptions to a default counter so Call next follows arrival order and each pharmacist only serves one active patient at a time.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 19:06:36 +00:00
isaaccladandCursor 94e53d05bf Keep consultation context on nested clinical pages and add Call again on patient queue cards.
Deploy Ladill Care / deploy (push) Successful in 1m7s
Doctors can return to the active consultation from forms, lab, prescriptions, pathways, and bills; queue cards can re-announce called/serving tickets via the existing Queue recall bridge.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 17:48:34 +00:00
isaaccladandCursor e73b39b678 Route Care tickets to per-staff service points instead of shared branch queues.
Deploy Ladill Care / deploy (push) Successful in 1m40s
Provision one consultation point per doctor (room + identity) and role-based
points for pharmacy, lab, billing, and triage. Fixed-doctor appointments and
walk-ins issue only to the assigned point; Call next respects that assignment
and flags unresolved patients rather than random routing.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 17:22:14 +00:00
isaaccladandCursor 015a4cc7fe Wire Care lists into Ladill Queue workflows instead of reception panels.
Deploy Ladill Care / deploy (push) Successful in 1m45s
When Queue integration is on, role pages issue tickets into their own
department queues and drive Call next → Serve → Complete on the native
lists. Integration off leaves existing UI unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 16:27:48 +00:00
isaaccladandCursor dec282d25d Embed Ladill Queue on role pages and add specialty modules under Settings.
Deploy Ladill Care / deploy (push) Successful in 53s
Remove the standalone Service Queues nav so call-next/now-serving lives on clinical queue, appointments, pharmacy, lab, and specialty surfaces; Pro orgs can activate dentistry and related modules with branch departments and queue stubs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 15:55:47 +00:00
isaaccladandCursor e0a7a64d38 Add clinical device registry, browser wedge scan, and local agent API.
Deploy Ladill Care / deploy (push) Successful in 1m39s
Branch-scoped Care devices with hashed agent tokens, patient barcode lookup/labels, and provenance-aware vitals from a minimal device agent (Pro for agent hardware; wedge free).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 14:28:46 +00:00
isaacclad 8706be3c95 fix(ui): lead diagnosis form with free-text, optional code
Deploy Ladill Care / deploy (push) Successful in 1m58s
Reorder consultation diagnoses so clinicians enter the diagnosis
first; retitle the ICD field as an optional code with a skip-friendly hint.
2026-07-17 06:47:31 +00:00
isaacclad 6c9051d2c6 fix(ui): use clinician-friendly assessment copy
Deploy Ladill Care / deploy (push) Successful in 1m22s
Replace internal design jargon (Layer 1, narrative source of truth,
pathway instruments) with plain clinical language on consultations,
patient charts, settings, and nav.
2026-07-16 23:17:08 +00:00
isaacclad f6780b9958 fix(assessments): enable engine by default and wire into live UI
Deploy Ladill Care / deploy (push) Successful in 54s
The assessment engine was built but opt-in and hidden: flag defaulted
off, no sidebar entry, and no settings toggle. Default assessments_engine
on, auto-seed catalog when empty, add Settings toggle and Assessments
nav, and surface guidance from the patients list.
2026-07-16 23:05:48 +00:00
isaacclad 2ce4bc8993 feat(assessments): layered clinical assessment engine end-to-end
Deploy Ladill Care / deploy (push) Successful in 1m26s
Add a template-driven assessment system with universal intake, clinical
pathways, disease instruments (stroke MVP + extended, diabetes, and ten
specialty packs), scoring, patient outcome trends, REST/API + FHIR
export, and Enterprise org-level assessment analytics. Seed packs and
design/licensing docs ship for deploy and pre-GA review.
2026-07-16 22:58:09 +00:00
isaacclad 2a00d4321b fix(care): point Messaging settings at suite defaults, not API keys
Deploy Ladill Care / deploy (push) Successful in 35s
Care still linked to Integrations for Bird/SMS credentials after zero-config
suite messaging. Update copy and readiness checks so suite platform keys
count as ready; Account Messaging is primary, product keys are advanced.
2026-07-16 11:31:34 +00:00
isaacclad 7a0a7fcb88 Add Paystack, Flutterwave, and Hubtel for encounter billing.
Deploy Ladill Care / deploy (push) Successful in 1m0s
Clinics on Pro/Enterprise can connect their own gateway in Integrations and collect card or MoMo on bills with 0% Ladill fee, while cash payments and balance totals stay correct for pending checkouts.
2026-07-16 10:24:28 +00:00
isaacclad 068c5aa63f Drop setup fee from Enterprise onboarding copy.
Deploy Ladill Care / deploy (push) Successful in 43s
Dedicated onboarding remains; setup fees apply only to VPS and dedicated servers.
2026-07-16 10:06:14 +00:00
isaacclad 85eb04d2a3 Gate Care branch management behind Pro like Frontdesk.
Deploy Ladill Care / deploy (push) Successful in 1m25s
Free plans keep a single setup branch but get an upgrade screen for Branches; Pro/Enterprise unlock multi-branch management via plan features.
2026-07-16 09:14:58 +00:00
isaacclad 0181c958f5 Nest Care branches under settings with Frontdesk-style UI.
Deploy Ladill Care / deploy (push) Successful in 1m25s
Move branch routes to /settings/branches, restyle list/create/edit with settings layout and breadcrumbs, and keep legacy /branches redirects.
2026-07-16 09:10:06 +00:00
isaacclad b092f9a934 Nest Care team under settings with Frontdesk-style UI.
Deploy Ladill Care / deploy (push) Successful in 46s
Move team routes to /settings/team, restyle list and invite pages with settings layout and breadcrumbs, and keep legacy /members redirects.
2026-07-16 09:08:24 +00:00
isaacclad 59ddf92642 Place Branches & team after Organization on settings.
Deploy Ladill Care / deploy (push) Successful in 1m10s
Keep facility details first so access links follow org settings instead of leading the page.
2026-07-16 09:03:00 +00:00
isaacclad eaf482b5a2 Move Branches and Team into settings; drop wallet from plan CTAs.
Deploy Ladill Care / deploy (push) Successful in 1m24s
Match Frontdesk by linking branches and team from settings instead of the admin sidebar, and simplify Care plan upgrade button copy.
2026-07-16 08:58:07 +00:00
isaacclad c6fd2547ef Add branch seat selector on Care plan checkout.
Deploy Ladill Care / deploy (push) Successful in 40s
Let operators pick how many branches to bill next to the monthly/prepaid toggles so Pro and Enterprise totals and charges use branches × per-branch rate.
2026-07-15 14:21:30 +00:00
isaacclad f9aa4a679f Tighten Care free tier and bill Pro/Enterprise per branch.
Deploy Ladill Care / deploy (push) Successful in 29s
Free keeps core records, appointments, and basic workflows; Pro unlocks lab, pharmacy, billing, and Queue. Both paid tiers bill per branch with unlimited branches. Enterprise adds multi-dept workflows, analytics, AI-assisted healthcare integration, and priority support (not Afia).
2026-07-15 14:14:35 +00:00
isaaccladandCursor 2f1ebd5387 Show patients in queue on the doctor dashboard.
Deploy Ladill Care / deploy (push) Successful in 25s
Clinical staff without admin KPIs get waiting and in-consultation lists in the empty space.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 00:54:28 +00:00
isaaccladandCursor a9cc70954e Bring Care service-queue console to Queue handoff parity.
Deploy Ladill Care / deploy (push) Successful in 24s
Staff can hand off patients between queues with ticket number kept, clearer actions, and success feedback.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 22:58:25 +00:00
isaaccladandCursor 50f515cf6a Hide finance and admin KPIs from roles that lack them.
Deploy Ladill Care / deploy (push) Successful in 33s
Doctors no longer see revenue, open bills, or org admin cards on the Care dashboard.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 22:32:41 +00:00
isaaccladandCursor c425aa12ac Replace Upgrade to Pro with Report Issue for staff.
Deploy Ladill Care / deploy (push) Successful in 1m4s
Non-owners submit tickets to Ladill admin via Identity support API.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 22:23:47 +00:00
isaaccladandCursor 3a7bd14b2b Add practitioners admin and staff-scoped Care UX.
Deploy Ladill Care / deploy (push) Successful in 43s
Hospital admins can manage assignable doctors and invite team members
from Ladill mailboxes; invited staff only see Care tools they need.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 21:59:39 +00:00
isaaccladandCursor d13d460e32 Add settings-gated appointment notifications and fix Bird key validation.
Deploy Ladill Care / deploy (push) Successful in 58s
Patients can be SMS/email notified on booking and video schedule when enabled in Settings. Bird validation now accepts only lsk_live_ keys, strips paste artifacts, and surfaces the platform error.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 13:31:28 +00:00
isaaccladandCursor 6c8a0e7e9f Brand patient emails with organization logo.
Deploy Ladill Care / deploy (push) Successful in 54s
Wrap Bird patient mail in a customer-branded layout and show the logo preview in settings.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-12 20:07:34 +00:00
isaaccladandCursor 6c14c3802c Cancel linked Meet rooms when Care appointments are cancelled.
Deploy Ladill Care / deploy (push) Successful in 1m10s
Appointment cancel now calls Meet's room cancel API when a video visit was scheduled, without blocking Care if Meet is unavailable.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-12 19:24:45 +00:00
isaaccladandCursor 8567209707 Use generic copy on messaging Integrations screens.
Deploy Ladill Care / deploy (push) Successful in 1m7s
Drop wallet/brand marketing language so credential setup reads as neutral configuration.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-12 18:40:04 +00:00
isaaccladandCursor 30b96b3956 Replace native browser confirms with Ladill confirm dialogs.
Deploy Ladill Care / deploy (push) Successful in 49s
Appointment cancel and other destructive actions now use the shared modal UI instead of window.confirm.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-12 17:51:13 +00:00
isaaccladandCursor f1e28c7af8 Add per-customer SMS and Bird Integrations for patient messaging.
Deploy Ladill Care / deploy (push) Successful in 37s
Patient SMS/email now use encrypted tenant keys via the platform relay instead of shared platform Care API keys.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-12 17:05:54 +00:00
isaaccladandCursor 2568b8a2f0 Add patient SMS/email messaging and fix Meet video visit errors.
Deploy Ladill Care / deploy (push) Successful in 43s
Wire Care to Ladill SMS and Bird management APIs on the patient page, and surface Meet auth/config failures as friendly validation errors instead of a 502 page.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-12 14:14:14 +00:00
isaaccladandCursor 6360035631 Replace ghost destructive actions with shared btn components in Care.
Deploy Ladill Care / deploy (push) Successful in 43s
Members, appointments, bills, prescriptions, and patients now use consistent warning/danger pill buttons.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-09 06:38:10 +00:00
isaaccladandCursor 0b6cad75a6 Add hero sections to Patients, Appointments, Queue, and admin index pages.
Deploy Ladill Care / deploy (push) Successful in 37s
Introduce shared x-care.page-hero with summary stats so key list views
match the Ladill app hero pattern used across Frontdesk and Link.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-05 22:57:54 +00:00
isaaccladandCursor eba408197c Standardize settings pages on shared centered card layout.
Deploy Ladill Care / deploy (push) Successful in 36s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-05 21:11:28 +00:00
isaaccladandCursor 2d06c92ddb Add Meet video visit scheduling for Care appointments.
Deploy Ladill Care / deploy (push) Successful in 38s
Schedule and start video visits via the Meet service API, persist join links on appointments, and propagate the shared copy-button component.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 22:53:42 +00:00
isaaccladandCursor 30ba94052e Switch team invites to email-only flow via identity API.
Deploy Ladill Care / deploy (push) Successful in 25s
Replace public ID member form with email invites, SSO provisioning, and
post-auth redirect for pending team access.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 06:45:36 +00:00
isaaccladandCursor 7663fd49f4 Add dashboard upgrade banner for free Care plans.
Deploy Ladill Care / deploy (push) Successful in 38s
Surface Pro and Enterprise pricing on the healthcare dashboard for orgs still on the free tier.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 18:13:18 +00:00
isaaccladandCursor 2960c5574e Show consolidated prepaid totals on plan pricing cards.
Deploy Ladill Care / deploy (push) Successful in 1m18s
When 6/12/24 month Paystack is selected, Pro and Business prices display the full term amount instead of /mo.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 11:39:26 +00:00
isaaccladandCursor 22646dfb62 Add Care Enterprise per-branch billing and Paystack prepaid plans.
Deploy Ladill Care / deploy (push) Successful in 1m46s
Mirrors Queue with GHS 499/branch Enterprise and 6/12/24 month Paystack checkout.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 01:55:38 +00:00
isaaccladandCursor 4bc485dfea Add Care Pro billing, renewal, and scheduler.
Deploy Ladill Care / deploy (push) Successful in 35s
Organizations can subscribe from wallet, expire correctly on free tier, and renew nightly via care:pro-renew.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 01:07:23 +00:00
isaaccladandCursor fd4896a5f0 Define btn-secondary to match btn-primary sizing and alignment.
Deploy Ladill Care / deploy (push) Successful in 1m8s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 21:59:18 +00:00
isaaccladandCursor 40c0eaa1a6 Add in-app Ladill Queue integration for service queue consoles.
Deploy Ladill Care / deploy (push) Successful in 37s
Settings toggle provisions Queue org via API; reception staff manage counters without leaving Care.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 21:51:17 +00:00
isaaccladandCursor a3b90656ca Fix Care billing icon to use Heroicons banknotes.
Deploy Ladill Care / deploy (push) Successful in 38s
Replace truncated credit-card path with the full banknotes icon used in Accounting.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 18:48:55 +00:00
isaaccladandCursor cf6120cb77 Align Care dashboard and sidebar with Ladill icon conventions.
Use Heroicons in indigo stat cards and match Frontdesk-style navigation styling.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 18:31:21 +00:00
isaaccladandCursor 6c9c742ed8 Initial Ladill Care release.
Deploy Ladill Care / deploy (push) Failing after 13s
Healthcare management app: patients, appointments, consultations, lab,
pharmacy inventory, billing, and reports at care.ladill.com.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 11:36:22 +00:00