Viewer application composition
The viewer application is the host layer that turns configuration and registered platform capabilities into a medical image viewing experience. It starts the web app, joins modes with data sources and extensions, protects and builds routes, and hosts the selected viewer layout in the shared UI context.
Application boundary
The application provides one shell for stand-alone and embedded viewer use. Deployment configuration chooses the data source, modes, routes, authentication, and UI behavior while the shell keeps their common lifecycle together. Build-time plugin declarations provide the bundled capabilities, and startup configuration can add or replace them. (platform/…/index.js• L9-42, platform/…/README.md• L33-42, platform/…/pluginConfig.json• L1-100, platform/…/pluginConfig.schema.json• L5-22)
The package also defines development, deployment, and test entry points. Its build and dev scripts invoke the shared Rsbuild configuration, while APP_CONFIG selects profiles for standard, CI, QA, demo, AWS, Orthanc, DCM4CHEE, static, and end-to-end runs. It requires Node.js 24 or newer. (platform/…/package.json• L9-12, platform/…/package.json• L19-45)
The application does not define one fixed viewing workflow. A mode describes a viewing purpose and its route behavior. An extension adds shared capabilities. A data source supplies study data. The host joins these parts so one shell can serve different workflows and archives.
Startup composition
Startup moves from browser entry to a ready application in a fixed order. This diagram shows how the host turns a page load into routed viewer content.
flowchart TD
A[Browser entry] --> B[Load optional runtime configuration]
B --> C[Combine app configuration with bundled modes and extensions]
C --> D[Create managers and shared services]
D --> E[Load extensions and modes]
E --> F[Apply startup customization]
F --> G[Register extensions and prepare modes]
G --> H[Create providers and routes]
H --> I[Select a worklist or viewer route]
I --> J[Initialize data source and viewer layout]
The browser entry waits for the optional configuration load before it renders the root React component. The application then creates managers and services before it registers extension and mode behavior. Runtime module checks and startup customization happen before registration, so only accepted modules become part of the host. This order gives extensions access to the shared host and lets startup customization affect later registration. (platform/…/index.js• L18-42, platform/…/appInit.js• L34-145, platform/…/runtimeExtensionLoader.ts• L269-406)
For a closer description of startup phases and route runtime behavior, see Application startup and runtime.
Project creation and plugin packaging are described in Project scaffolding and plugin distribution.
Runtime configuration
Runtime configuration is an optional replacement for the page's initial configuration. When enabled, the host resolves the configUrl query value to the URL the browser will fetch and requires an origin list or an anchored regular expression. A valid response becomes the configuration used to assemble the application. An absent or rejected URL leaves the original configuration in place. (platform/…/loadDynamicConfig.js• L12-23, platform/…/loadDynamicConfig.js• L32-65, platform/…/loadDynamicConfig.js• L68-122)
The secure default configuration leaves this feature off. Controlled development and deployment configurations keep the same option available for explicit use, but still require the setting to be enabled. This boundary lets one built viewer serve different deployments without a rebuild while keeping URL-based configuration out of an ordinary production build. (platform/…/default.js• L3-18, platform/…/dev.js• L119-124, platform/…/netlify.js• L114-119, platform/…/kheops.js• L40-49)
References: platform/…/loadDynamicConfig.js• L12-23 platform/…/loadDynamicConfig.js• L32-65 platform/…/loadDynamicConfig.js• L68-122 platform/…/default.js• L3-18 platform/…/dev.js• L119-124 platform/…/netlify.js• L114-119 platform/…/kheops.js• L40-49
Manager and service layer
The manager and service layer is the shared control plane for the viewer. Managers coordinate commands, extensions, service providers, and hotkeys. Registered services provide common behavior for notices, dialogs, measurements, display sets, toolbars, viewport grids, hanging protocols, authentication, panels, workflows, study prefetch, and customization. (platform/…/appInit.js• L1-25, platform/…/appInit.js• L39-82)
The extension manager connects extension modules to these services. The service provider manager supplies additional React providers later, so an extension can add shared UI state without changing the application shell. For the wider service model, see Core platform services.
References: platform/…/appInit.js• L27-82 platform/…/App.tsx• L104-149
Configuration assembly
Configuration assembly combines the host configuration with modules bundled into the build and modules named by the configuration. The build declaration controls which packages can be resolved as bundled plugins. The result is one application state object that carries routes, modes, data sources, authentication settings, and UI choices into the rest of the app. (platform/…/pluginConfig.json• L1-100, platform/…/pluginConfig.schema.json• L5-22)
The host applies defaults for capabilities that need a usable baseline. It also creates the loaded mode list and removes duplicate mode identifiers. A missing mode definition stops startup because the application cannot provide a meaningful viewer route without one. Runtime plugin failures are recorded and surfaced without taking down the whole viewer when the failed module is optional. (platform/…/appInit.js• L44-53, platform/…/appInit.js• L102-145, platform/…/appInit.js• L151-203, platform/…/runtimeExtensionLoader.ts• L256-317)
The build also makes optional display-set split rules available as customization data when the metadata package supplies them. Each rule is enabled through the common split-rule profile first, so a deployment can add metadata-driven grouping without adding executable code to the URL customization path. (platform/…/optionalSplitRulesCopyPattern.js• L4-23, platform/…/webpack.pwa.js• L100-127)
Deployment configurations
Deployment configurations choose the operating boundary of the same viewer shell. The secure default uses a read-only public data source and leaves local files, URL-driven data sources, and URL customizations disabled. Development, end-to-end, and public demo configurations enable broader data and customization paths for controlled testing or demonstration. Kheops selects a focused mode set and changes mode display rules for its host. (platform/…/default.js• L3-18, platform/…/default.js• L80-122, platform/…/dev.js• L3-32, platform/…/e2e.js• L18-48, platform/…/netlify.js• L3-27, platform/…/kheops.js• L3-39)
The Docker configurations adapt the same contract to DICOMweb servers such as DCM4CHEE and Orthanc. Their route base and selected data source match the reverse proxy and authentication setup used by the deployment. This keeps server-specific endpoints at the configuration boundary rather than in viewer routes. (platform/…/docker-nginx-dcm4chee.js• L2-30, platform/…/docker-nginx-dcm4chee-keycloak.js• L2-30, platform/…/docker-nginx-orthanc.js• L2-36, platform/…/docker-nginx-orthanc-keycloak.js• L2-47)
The configuration set also includes focused profiles for direct DICOMweb servers, relative deployment paths, cloud authentication, multiple data sources, and browser tests. These profiles change the data and access boundary while keeping the same application composition model. (platform/…/dicomweb-server.js• L1-49, platform/…/dicomweb_relative.js• L1-58, platform/…/google.js• L1-73, platform/…/multiple.js• L1-133, platform/…/public_dicomweb.js• L1-28)
References: platform/…/default.js• L3-18 platform/…/default.js• L80-122 platform/…/dev.js• L3-32 platform/…/e2e.js• L18-48 platform/…/netlify.js• L3-27 platform/…/kheops.js• L3-50 platform/…/dicomweb-server.js• L1-49 platform/…/dicomweb_relative.js• L1-58 platform/…/google.js• L1-73 platform/…/multiple.js• L1-133 platform/…/public_dicomweb.js• L1-28 platform/…/docker-nginx-dcm4chee.js• L2-30 platform/…/docker-nginx-dcm4chee-keycloak.js• L2-30 platform/…/docker-nginx-orthanc.js• L2-36 platform/…/docker-nginx-orthanc-keycloak.js• L2-47
Customization layers
Customization is the rule layer that lets deployment, URL, extension, and mode choices change the viewer without replacing its host. Startup customization is applied before extensions register. Global customization is applied after extension defaults are known. Mode customization is applied when a mode becomes active. (platform/…/appInit.js• L101-145, platform/…/Mode.tsx• L242-371)
This timing lets later layers build on earlier defaults. A mode supplies layout and toolbar choices, while application or URL settings can alter those choices for a deployment or a single viewing session. The development, end-to-end, and public demo configurations use a startup GPU preset and global modules; a URL-selected profile can then replace the preset for that session. (platform/…/dev.js• L19-32, platform/…/e2e.js• L40-48, platform/…/netlify.js• L14-27)
URL-loaded customizations can also extend shared viewer details without replacing the host or a mode. The shipped catalog at platform/…/index.html presents profiles and themes, validates the selected values, and builds a safe viewer URL. It exposes display-set split profiles and an ECG hanging protocol as data-driven choices alongside tool, worklist, segmentation, veterinary, and GPU profiles. GPU profiles set a named Cornerstone GPU preset at bootstrap. The low and medium profiles support weaker or mid-range devices, while the high-texture control is for testing and is not a production choice. (platform/…/index.html• L145-159, platform/…/index.html• L187-225, platform/…/index.html• L291-341, platform/…/low.jsonc• L1-7, platform/…/medium.jsonc• L1-7, platform/…/high-texture-4096.jsonc• L1-9, platform/…/ecg.jsonc• L1-23)
The catalog can combine profiles in order and can add a viewer theme to the same launch URL. It sanitizes profile tokens and accepts only HTTP or HTTPS viewer targets before it creates the link. This makes the catalog a user-facing entry point for supported customization data rather than a second application shell. (platform/…/index.html• L145-159, platform/…/index.html• L403-438)
Optional display-set rules
Optional display-set rules extend the way image instances become display sets before the viewer selects a layout. The shipped profiles cover cases such as mixed regular and irregular volume images, scout images, large-series reduction, ultrasound time groups, and image-size groups. They are opt-in because each rule changes how a study is arranged for viewing. (platform/…/enableNewSplit.jsonc• L1-39, platform/…/regularVolume.jsonc• L1-38, platform/…/scoutSeries.jsonc• L1-35, platform/…/decimation.jsonc• L1-35, platform/…/usTimeClusters.jsonc• L1-34, platform/…/singleImagesBySize.jsonc• L1-24)
The rule profiles are data rather than code. A profile can enable the split system or add a rule to its ordered set, while the mode's existing SOP class handlers still receive specialized display sets. This keeps study arrangement configurable without changing the viewer host. (platform/…/enableNewSplit.jsonc• L25-39, platform/…/scoutSeries.jsonc• L11-33)
References: platform/…/appInit.js• L101-145 platform/…/Mode.tsx• L242-371 platform/…/dev.js• L19-32 platform/…/e2e.js• L40-48 platform/…/netlify.js• L14-27 platform/…/index.html• L145-159 platform/…/index.html• L187-225 platform/…/index.html• L291-341 platform/…/index.html• L403-438 platform/…/enableNewSplit.jsonc• L1-39 platform/…/regularVolume.jsonc• L1-85 platform/…/scoutSeries.jsonc• L1-64 platform/…/decimation.jsonc• L1-69 platform/…/usTimeClusters.jsonc• L1-63 platform/…/singleImagesBySize.jsonc• L1-53
Mode and extension assembly
Modes and extensions form the platform's main variation points. Extensions load and register first as shared capabilities. Modes then become distinct viewing workflows in the final application configuration. Mode-specific extensions load when the user enters a mode, which keeps mode-only behavior with that workflow. Runtime descriptors can supply additional extensions or modes when their origin and version rules allow them. (platform/…/appInit.js• L93-145, platform/…/Mode.tsx• L90-189, platform/…/runtimeExtensionLoader.ts• L269-406)
Each mode can provide a route, a layout, a data retrieval plan, a hanging protocol, and entry and exit actions. The host owns the lifecycle around those choices. This keeps the mode focused on its workflow while the application controls setup, cleanup, and access to shared services.
References: platform/…/appInit.js• L93-203 platform/…/Mode.tsx• L70-115 platform/…/Mode.tsx• L315-521 platform/…/runtimeExtensionLoader.ts• L269-406
Runtime plugin composition
Runtime plugins are optional extensions or modes supplied by application configuration instead of the build. The host treats them as controlled additions to the viewer and keeps an audit record for accepted and refused loads.
The plugin loader resolves a runtime descriptor into a module only after it checks the URL origin and any required host-version range. Cross-origin modules also require an integrity value. A loaded module must match its declared package identity, and a module that fails to load or register is reported without replacing an already bundled plugin. (platform/…/runtimeExtensionLoader.ts• L256-317, platform/…/runtimeExtensionLoader.ts• L318-413)
Runtime modules use one of two explicit formats. A UMD module exposes its package through the declared global name. An ESM module provides a default export. The loader does not guess between these formats, which makes a format mismatch visible as a load failure. (platform/…/runtimeExtensionLoader.ts• L358-406)
References: platform/…/runtimeExtensionLoader.ts• L12-60 platform/…/runtimeExtensionLoader.ts• L256-317 platform/…/runtimeExtensionLoader.ts• L318-413
Shared runtime dependencies
Shared runtime dependencies give external plugins the same host copies of core UI, routing, localization, and viewer packages. The host publishes this stable set before it fetches the first runtime plugin, so a plugin can use the host's singleton services instead of loading competing copies. (platform/…/runtimeExtensionLoader.ts• L92-114, platform/…/runtimeShared.ts• L1-30)
The shared set is a compatibility contract between the viewer and runtime plugin builds. Removing a shared package or changing its public API can break plugins that were built against the earlier contract. (platform/…/runtimeShared.ts• L15-23, platform/…/runtimeShared.ts• L37-75)
References: platform/…/runtimeExtensionLoader.ts• L92-121 platform/…/runtimeExtensionLoader.ts• L171-202 platform/…/runtimeShared.ts• L15-75
React host composition
The React host supplies the contexts that connect configuration, authentication, services, commands, localization, theme, viewport state, dialogs, notifications, and other UI behavior. It creates these contexts only after application initialization succeeds. Runtime extension failures are surfaced after the notification provider is ready. (platform/…/App.tsx• L71-131, platform/…/App.tsx• L133-162)
The host uses an ordered provider composition. Extension providers are placed into the shared provider stack before dialog and modal providers, so their state is available to content rendered by those UI services. The router then receives the final application routes under the configured base path. The host renders this tree only after startup has produced the managers and services that the providers need. (platform/…/App.tsx• L80-109, platform/…/App.tsx• L122-201)
Provider composition
Provider composition turns independent services into one usable viewer tree. Compose nests providers in order and passes the resulting context to its child. The same pattern is used for application providers and for context providers contributed by extensions. (platform/…/Compose.tsx• L4-19, platform/…/Mode.tsx• L582-599)
This arrangement keeps cross-cutting behavior at the host boundary. A route component can use the services and context it needs without knowing how the application created or grouped those providers.
References: platform/…/App.tsx• L114-162 platform/…/Compose.tsx• L4-19 platform/…/Mode.tsx• L440-498 platform/…/Mode.tsx• L582-599
Route composition
Route composition maps application choices to navigable entry points. The host builds one route family for each mode and data source, plus a mode route that uses the active data source. The worklist, local file loading, debug views, custom routes, and not-found views join that same route set. The worklist route selects the current study-list variant during route creation, so URL-loaded global customization can choose the legacy list before route rendering. (platform/…/buildModeRoutes.tsx• L4-23, platform/…/index.tsx• L98-145)
Routes are private by default in the assembled route tree. The authentication service decides how to handle an unauthenticated user. Each route also has an error boundary, so a route failure can be reported in the context of the route that failed. (platform/…/index.tsx• L147-199, platform/…/PrivateRoute.tsx• L1-11)
References: platform/…/buildModeRoutes.tsx• L24-88 platform/…/index.tsx• L98-207 platform/…/PrivateRoute.tsx• L1-11 platform/…/legacyWorkList.jsonc• L1-31
Viewer runtime composition
When a mode route is entered, the host connects the URL to a data source and then prepares the viewer layout. The data source reads route parameters and query values, while the mode supplies the layout and workflow rules. The host waits for the required study information and layout data before it renders the viewer. (platform/…/Mode.tsx• L25-43, platform/…/Mode.tsx• L125-218)
The runtime sequence is:
- Select the named data source or keep the active data source.
- Load mode-dependent extensions.
- Initialize the data source with route and query values.
- Resolve the studies named by the route.
- Obtain the mode's layout and panel choices.
- Apply mode behavior and hanging protocol choices.
- Retrieve metadata and turn it into display sets.
- Render the layout with the viewport grid and extension contexts.
This sequence separates access to study data from the visual layout. It also gives the mode a clear entry point for workflow setup and a clear exit point for cleanup. The Viewer UI system describes the user-facing layer hosted at this point.
Data source selection
Data source selection connects a URL to the system that can query and retrieve its studies. A route may name a data source directly. If it does not, the host uses the configured or active source. The data source is initialized with route parameters and query values before study queries begin. (platform/…/DataSourceWrapper.tsx• L35-109, platform/…/Mode.tsx• L80-139)
The worklist uses this selection to provide study data to its layout. A change to the active source clears the prior load state and starts a new query, so the visible list stays aligned with the selected source. (platform/…/DataSourceWrapper.tsx• L111-139)
References: platform/…/DataSourceWrapper.tsx• L20-26 platform/…/DataSourceWrapper.tsx• L35-139 platform/…/Mode.tsx• L80-139
Study and display-set preparation
Study preparation turns the selected study identifiers into image content that the viewer can arrange. Metadata retrieval feeds the display-set service. The hanging protocol then uses the available display sets and study information to choose the initial viewport arrangement. (platform/…/defaultRouteInit.ts• L26-55, platform/…/defaultRouteInit.ts• L57-155)
The host starts the series needed for the initial hanging protocol before it starts the remaining series. This gives the user an initial layout sooner while the rest of the study continues to load. A URL series filter is passed into retrieval and can produce a notice when it does not match the current study. (platform/…/defaultRouteInit.ts• L57-82, platform/…/defaultRouteInit.ts• L118-155)
References: platform/…/defaultRouteInit.ts• L16-55 platform/…/defaultRouteInit.ts• L57-155 platform/…/studiesList.ts• L23-63
Layout and viewport hosting
The selected mode layout is the final composition point for the viewing experience. The host supplies it with resolved layout properties and a viewport grid bound to the active data source. It wraps the layout with image-viewer, drag-and-drop, and extension context providers. (platform/…/Mode.tsx• L432-469)
The viewport grid is the runtime bridge between the selected layout and the display sets prepared by the hanging protocol. It turns each layout pane into a viewport component for its display-set type. Empty or unsupported panes use a safe fallback so the rest of the layout can still render. (platform/…/ViewportGrid.tsx• L171-206, platform/…/ViewportGrid.tsx• L320-359)
The grid also responds to hanging protocol changes and user actions. It applies new pane assignments, reports readiness after its viewports are ready, and sends dropped display sets through the customization layer before the default matching rules. This lets the viewer adapt the layout without changing the application shell. (platform/…/ViewportGrid.tsx• L29-97, platform/…/ViewportGrid.tsx• L128-169, platform/…/ViewportGrid.tsx• L250-315)
The result is a mode-specific interface that still uses common platform behavior for viewports, panels, tools, dialogs, notifications, and extension state. This is the main relationship between the configurable platform shell and the concrete viewer experience.
References: platform/…/Mode.tsx• L182-218 platform/…/Mode.tsx• L432-469 platform/…/ViewportGrid.tsx• L29-169 platform/…/ViewportGrid.tsx• L171-315 platform/…/ViewportGrid.tsx• L320-359 platform/…/App.tsx• L122-189
Local study loading
Local study loading is a special route for viewing files without sending them to a remote archive. The local route creates a local data source, converts dropped files or folders into studies, and navigates into a viewer mode with the resulting study identifiers. (platform/…/Local.tsx• L52-110)
The browser keeps the local study data in its own session. The route therefore uses the same mode and viewer composition as remote studies while changing only the source of the study data.
References: platform/…/Local.tsx• L52-110 platform/…/index.tsx• L72-94
Change checklist
When these files or sections are changed, remember to consider these:
- Changes to the application configuration shape must remain compatible with both the entry-point merge and the
Approute/provider inputs. - Changes to mode or data source identifiers must keep the generated route paths aligned with URL selection and active data source lookup.
- Changes to provider order must preserve access to service context for modal, dialog, and other content rendered outside the route tree.
- Changes to customization phases must preserve the order between extension defaults, global settings, URL settings, and mode settings.
- Changes to study retrieval or display-set timing must preserve the handoff to hanging protocol selection and the layout's initial viewport state.
- Changes to authentication behavior must cover both route protection and the route-level unauthenticated handler.
- Changes to study-browser customization item names or sources must keep URL-loaded customization data aligned with the registered thumbnail detail sources and tests.
- Changes to the worklist variant must keep the customization value, route-time selection, and the data-source paging contract aligned; the legacy list is not compatible with the current client-paging behavior.
- Changes to package scripts, supported Node.js versions, or selected build paths must keep deployment commands aligned with the configuration files and build tools they invoke.
- Changes to a deployment configuration must preserve its intended data-source exposure, customization allowlist, route base, and authentication pairing.
- Changes to pluginConfig.json or its schema must keep package names, default registration, generated imports, and public asset paths aligned across build and runtime configuration.
- Changes to runtime plugin descriptors must keep origin checks, integrity rules, host version ranges, module format, package identity, and registration audit status aligned.
- Changes to the shared runtime package list must remain compatible with the external packages used by published runtime plugins.
- Changes to runtime failure reporting must preserve notifications after the UI notification provider mounts.
- Changes to a GPU profile must keep its URL token, catalog entry, bootstrap value, and downsampling behavior aligned.
- Changes to the customization catalog must keep generated query values compatible with the configured prefix allowlist and the viewer theme contract.
- Changes to an optional split rule must keep its copied asset, customization token, prerequisite split profile, and rule order aligned across both build systems.
- Changes to the ECG profile must keep its customization key aligned with the hanging protocol URL selector and the display-set shape expected by the ECG handler.
- Changes to viewport selection or pane behavior must keep hanging protocol assignments, viewport component support, readiness signaling, and drag-and-drop customization aligned.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| No modes are defined in the assembled configuration | Startup stops because no viewer workflow can be created | Require at least one mode in the application configuration before deployment |
| A route names a data source that is not registered | The route cannot initialize its data source and viewer loading fails | Keep route data source names aligned with registered data source modules |
| Runtime configuration is enabled without an origin list or anchored regular expression | The requested configuration is refused | Define at least one explicit gate and match the URL that will be fetched |
| A secure default deployment enables a local or URL-driven data source without its intended trust boundary | The viewer exposes a broader input surface than the deployment expects | Keep config/default.js locked down and enable wider sources only in controlled configurations |
| A customization URL uses a prefix that the active configuration does not allow | Startup rejects the customization instead of applying the requested profile | Keep catalog tokens and customizationUrlPrefixes aligned |
| A runtime plugin comes from a non-allowlisted origin | The plugin is refused before code is fetched | Add only trusted origins to runtimePluginOrigins |
| A cross-origin runtime plugin has no valid integrity value | The plugin is not loaded | Publish a matching sha256, sha384, or sha512 integrity value |
| A runtime descriptor uses the wrong UMD or ESM shape | The script loads but no usable extension or mode is found | Set globalName only for UMD and default-export ESM modules |
| A runtime plugin package name matches a bundled plugin | The runtime copy is skipped and the bundled copy remains active | Remove the duplicate descriptor or remove the bundled declaration before rebuilding |
| A shared runtime package changes in a breaking way | Existing external plugins can fail during module loading or rendering | Treat the shared package list and its public exports as a versioned plugin contract |
| An optional split profile is copied without its required split enablement or is not copied by one build path | The profile fails to load or has no effect in that deployment | Keep the optional copy pattern and split profile prerequisites aligned in Rsbuild and Rspack |
| The ECG customization is loaded without selecting its protocol | The viewer has the profile data but does not open the ECG arrangement | Use the profile with hangingProtocolId=@ohif/ecg |
| The high-texture GPU control is used in production | A device can fail to allocate the requested texture | Restrict the control profile to testing and use a device-appropriate preset |
| Required study retrieval fails or a study is not found | The user is sent to the study-not-found view instead of receiving a partial viewer | Check archive access and study identifiers before opening a mode route |
| A provider that an external UI service needs is placed too low in the tree | Dialog or modal content cannot read the required context | Keep extension providers ahead of dialog and modal providers |
| A display-set type has no matching viewport component | The pane falls back to an empty viewport and reports that the display set is unsupported | Register a viewport component for every display-set type that a mode can load |
| A deployment uses a package script with an unsupported Node.js version or wrong build path | The viewer build or development server fails before the application starts | Use Node.js 24 or newer and keep each script's configuration path available |
Key files
| File | Why to read it |
|---|---|
| platform/…/package.json | Shows the viewer package boundary, supported Node.js version, and scripts that select the shared Rsbuild build, development, deployment, and test paths. |
| platform/…/pluginConfig.json | Shows which extensions and modes the build makes available and which are enabled by default. |
| platform/…/pluginConfig.schema.json | Defines the contract for bundled plugins and copied public assets. |
| platform/…/webpack.pwa.js | Shows how the legacy build selects an explicit or environment-based app configuration and publishes viewer assets. |
| platform/…/optionalSplitRulesCopyPattern.js | Shows how optional metadata split rules become URL customization data during a build. |
| platform/…/index.js | Shows the browser entry point and the handoff from configuration loading to React rendering. |
| platform/…/appInit.js | Shows the main assembly boundary for managers, services, extensions, modes, runtime registration, and customization. |
| platform/…/App.tsx | Shows the application shell, provider stack, router, authentication integration, and runtime failure reporting. |
| platform/…/runtimeExtensionLoader.ts | Shows runtime plugin loading, security checks, module formats, caching, and audit status. |
| platform/…/runtimeShared.ts | Defines the shared dependency contract used by external runtime plugins. |
| platform/…/index.tsx | Shows how worklist, mode, custom, local, and error routes become one route tree. |
| platform/…/buildModeRoutes.tsx | Shows the relationship between modes, data sources, and viewer URLs. |
| platform/…/Mode.tsx | Shows the lifecycle that turns a mode route into a hosted viewer layout. |
| platform/…/defaultRouteInit.ts | Shows how study metadata becomes display sets and an initial hanging protocol layout. |
| platform/…/ViewportGrid.tsx | Shows how the selected layout becomes display-set viewports and responds to protocol or user changes. |
| platform/…/DataSourceWrapper.tsx | Shows how the worklist selects and initializes its data source. |
| platform/…/Compose.tsx | Shows the shared provider composition pattern used by the host and modes. |
| platform/…/Local.tsx | Shows the local-file path through the same viewer route model. |
| platform/…/loadDynamicConfig.js | Shows the optional runtime configuration boundary. |
| platform/…/default.js | Shows the secure baseline and which data and customization paths remain disabled by default. |
| platform/…/dev.js | Shows the broad local-development configuration and its startup customization behavior. |
| platform/…/netlify.js | Shows the full-featured public demo configuration. |
| platform/…/kheops.js | Shows a focused deployment configuration with mode display rules. |
| platform/…/docker-nginx-dcm4chee.js | Shows the DCM4CHEE reverse-proxy data-source configuration. |
| platform/…/docker-nginx-orthanc.js | Shows the Orthanc proxy configuration and its extra local data paths. |
| platform/…/index.html | Shows how shipped customization profiles and viewer themes become validated viewer URLs. |
| platform/…/enableNewSplit.jsonc | Shows how the metadata-driven display-set split system is enabled as URL data. |
| platform/…/regularVolume.jsonc | Shows how a split profile keeps regular volume slices together when a series also has irregular images. |
| platform/…/ecg.jsonc | Shows how a data-only hanging protocol supports ECG and prior-ECG layouts. |
| platform/…/medium.jsonc | Shows the normal mid-range GPU profile used by the broad development and demo configurations. |
| platform/…/high-texture-4096.jsonc | Shows the testing-only high-texture control and its production limit. |
| platform/…/legacyWorkList.jsonc | Shows the global customization that selects the deprecated study-list variant and its compatibility limits. |