dynamic-modules
Runtime-configurable modules — ReactFlow-based workflow editor, dynamic tables, forms, and navigation tabs built from JSON configs.
dynamic-graph / edit-flow-management
ReactFlow-based clinical workflow editor and renderer.
dynamic-table
Column / filter config-driven table runtime.
dynamic-navigation-tab
Tab bars defined per role / feature.
dialog-patient-enquiry
Runtime patient enquiry dialog.
kit-book / lct-view
Kit book viewer + LCT viewer.
What it provides
dynamic-modules is the runtime that turns stored configuration into working UI.
Where most kits ship fixed components, this one ships interpreters: a workflow
graph that renders from saved node/edge definitions, a table that builds its
columns and filters from config rows, navigation tabs assembled per role or
feature, and dialogs/viewers driven by the same data. Configurations are loaded
through the shared dynamic-table / dynamic-flow services, so a deployment can
add or reshape a surface without a code change. The package is organized as nine
self-contained sub-areas, each exporting a small top-level component and its
supporting pieces.
Key exports
| Sub-area | Export | Purpose |
|---|---|---|
dynamic-graph | TestGraph, demo page | ReactFlow canvas that renders a clinical workflow from node/edge config. |
dynamic-flow-modal | DynamicFlowModal | Modal host that mounts a config-driven flow step in a dialog. |
edit-flow-management | DynamicFlowTemplate, DynamicMenuList | Authoring surface for workflow templates and their menu/action lists. |
dynamic-table | DynamicTableProvider, useDynamicTable | Provider + hook driving a column/filter config-driven table at runtime. |
dynamic-navigation-tab | DynamicNavigationTab | Main/sub tab bar assembled from DynamicTab config nodes, with per-tab totals. |
dialog-patient-enquiry | DialogPatientEnquiry | Runtime patient enquiry dialog (OPD service history, profile context). |
kit-book | KitBookMain, KitBookComponent | Viewer for kit "books" with option generation helpers. |
lct-view | LctView, LctViewMain | LCT viewer surface. |
Cell renderers (CellContentText, CellContentBadgeStatus, CellContentEsiLevel,
CellContentStatusPoint, and similar) back the dynamic table so config can pick a
column's display style by name rather than by hand-written JSX.
Used by
Consumed by miniapps and worklist surfaces that need config-defined workflows, tables, and tabs at runtime. The workflow pieces relate to the editor and transition model described in the Architecture overview; configurations are fetched through the platform's backend services.