JSON Editor for Runtime Extensions
FlexView adds to OHIF’s extensibility model by introducing the ability to deploy plugins at runtime. This is crucial to enable the addition of new features dynamically, such as AI-based tools, without causing disruptions or system down-time.
The runtime configuration JSON represents an object with two main properties, "extensions" and "modes," each containing an array of objects. Here's a description of the structure:
1. extensions (Array):
-
- An array containing objects representing extensions.
- In this JSON, there's one extension object in the array.
-
id(String):- A unique identifier for the extension.
- In the example below, the
idis "flexview-runtime-extension-tmtv."
-
url(String):- A URL pointing to the location of the extension's JavaScript file.
- The URL in the example is "https://www.unpkg.com/flexview-runtime-extension-tmtv@0.1.2/dist/umd/flexview-runtime-extension-tmtv/index.umd.js. "
-
2. modes (Array):
-
- An array containing objects representing modes.
- In this JSON, there's one mode object in the array.
-
id(String):- A unique identifier for the mode.
- In the example below, the
idis "flexview-runtime-mode-tmtv."
-
url(String):- A URL pointing to the location of the mode's JavaScript file.
- The URL in this example is "https://www.unpkg.com/flexview-runtime-mode-tmtv@0.0.3/dist/umd/flexview-runtime-mode-tmtv/index.umd.js. "
-