Skip to main content

dynamic-modules

Runtime-configurable modules — ReactFlow-based workflow editor, dynamic tables, forms, and navigation tabs built from JSON configs.

9
sub-areas
JSON
config-driven
ReactFlow
workflow editor
Workflow

dynamic-graph / edit-flow-management

ReactFlow-based clinical workflow editor and renderer.

dynamic-graphdynamic-flow-modaledit-flow-management
Tables

dynamic-table

Column / filter config-driven table runtime.

dynamic-table
Nav

dynamic-navigation-tab

Tab bars defined per role / feature.

dynamic-navigation-tab
Enquiry

dialog-patient-enquiry

Runtime patient enquiry dialog.

dialog-patient-enquiry
Books

kit-book / lct-view

Kit book viewer + LCT viewer.

kit-booklct-view

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-areaExportPurpose
dynamic-graphTestGraph, demo pageReactFlow canvas that renders a clinical workflow from node/edge config.
dynamic-flow-modalDynamicFlowModalModal host that mounts a config-driven flow step in a dialog.
edit-flow-managementDynamicFlowTemplate, DynamicMenuListAuthoring surface for workflow templates and their menu/action lists.
dynamic-tableDynamicTableProvider, useDynamicTableProvider + hook driving a column/filter config-driven table at runtime.
dynamic-navigation-tabDynamicNavigationTabMain/sub tab bar assembled from DynamicTab config nodes, with per-tab totals.
dialog-patient-enquiryDialogPatientEnquiryRuntime patient enquiry dialog (OPD service history, profile context).
kit-bookKitBookMain, KitBookComponentViewer for kit "books" with option generation helpers.
lct-viewLctView, LctViewMainLCT 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.