Skip to main content

Desktop Electron EHR — specification pack

This folder defines normative requirements and design for the Ghasi EHR desktop client (Electron), with offline-first behavior and UI parity with apps/ehr-web.

Authority and reading order

RuleDetail
Specs vs docsWhen ambiguous, specs/ wins over docs/.
Platform offlineThis pack extends OFFLINE_FIRST_AND_CLIENT_SYNC.md and the offline-first/ pack; do not contradict FR-OFF / NFR-OFF / TR-OFF unless this folder explicitly narrows client technology.
Module behaviorPer-module rules remain in specs/modules/<module>/SPEC.md and related files.
Frontend indexSee also docs/ehr-frontend-specs-index.md.

Suggested read order for implementers:

  1. EHEALTH_DESKTOP_PLATFORM_REQUIREMENTS.mdprogram-level implementation-ready requirements (Electron stack, all modules, REQ-DESK-* IDs for Jira).
  2. SPEC.md — scope, personas, offline vs online-only.
  3. TECHNICAL_REQUIREMENTS.md — Electron, storage, sync, security.
  4. SOLUTION_DESIGN.md — processes, IPC, Kong, sequences.
  5. UI_AND_DESIGN_PARITY.md — Berry/MUI parity with ehr-web.
  6. BACKEND_AND_SERVICE_MAP.md — services and API pointers.
  7. IMPLEMENTATION_ROADMAP.md — phased delivery.
  8. TRACEABILITY_MATRIX.md — requirements to verification (includes REQ-DESK + DESK-US).
  9. backlog/ — epics, unified user stories, linkage, Jira ADF (backlog/adf/*.adf.json), implementation status.
  10. AI_AGENT_BUILD_GUIDE.md — monorepo steps, env, DoD.

Document index

DocumentPurpose
EHEALTH_DESKTOP_PLATFORM_REQUIREMENTS.mdCross-module desktop program requirements (Electron); Jira-oriented REQ-DESK-*
SPEC.mdFunctional requirements, personas, acceptance criteria
TECHNICAL_REQUIREMENTS.mdTR-DSK-* technical requirements (stack, outbox, sync)
SOLUTION_DESIGN.mdArchitecture and sequence diagrams
UI_AND_DESIGN_PARITY.mdTheme, design system, offline/sync UX
BACKEND_AND_SERVICE_MAP.mdPersona/feature → module → service → APIs
IMPLEMENTATION_ROADMAP.mdPhases and dependencies
TRACEABILITY_MATRIX.mdTraceability matrix (FR-DSK / TR-DSK / REQ-DESK / DESK-US)
backlog/README.mdJira-oriented backlog: EPICS, UNIFIED_USER_STORIES, LINKAGE, ADF
AI_AGENT_BUILD_GUIDE.mdBuild guide for automation and engineers