Skip to content

Setup

The DICOM Metadata Editor is usually set up for you automatically by Flywheel staff during installation. However, if you need to register the application manually or want to customize which container levels it's available from, follow the instructions below.

Need help? Contact Flywheel Support with setup questions.


Registering the Application

To use the DICOM Metadata Editor, it must first be registered in your Flywheel instance. You can choose to make it available site-wide (for all projects) or register it for just one specific project.

Step 1: Choose your registration scope

  • Site-wide registration — Makes the editor available across all projects on your Flywheel site
  • Project-level registration — Limits the editor to a single specific project

Step 2: Navigate to the registration page

For site-wide registration: 1. Go to the Applications tab in Flywheel's left-hand navigation panel 2. Click Register New Application (top right corner)

For project-level registration: 1. Navigate to your specific project 2. Click the three vertical dots (⋮) in the top toolbar
3. Select Applications from the dropdown menu 4. Click Register New Application

Step 3: Fill in the application details

When the registration form opens, provide:

  • Name: DICOM Metadata Editor
  • URL: The URL where the extension is hosted (provided by Flywheel staff)
  • Container Tags: The Flywheel container levels where the editor can be launched

Recommended container tags:

subject, session, acquisition, dicom

This configuration allows users to launch the editor at the subject, session, or acquisition level, as well as from individual DICOM files.

Step 4: Configure optional parameters

After registering the application, you can customize its behavior by adding a Parameters JSON object in the registration form. All parameters are optional.

Parameter Type Default Description
allowedTags string[] null Restrict which DICOM tags are displayed. Only tags whose keyword matches an entry in this list will be shown. If omitted or empty, all tags are displayed.
allowedProjectRoles string[] null Restrict who can launch the editor to users holding at least one of the listed project roles. If omitted or empty, anyone with normal access can launch. Role matching is case-insensitive.
editMode "both" | "dicom-only" "both" Controls which columns are shown. "both" shows the Flywheel Value and Sync columns alongside DICOM values. "dicom-only" hides those columns for sites that re-index Flywheel metadata via file-metadata-importer after edits. Invalid values fall back to "both" with a console warning.
requireESignature boolean false When true, users must select a reason and enter their MFA code before any DICOM update is submitted. Requires mfa-checker and file-esign gears installed.
signatureReasons object see below Defines the list of reasons shown in the e-signature dropdown under the IQC key. If omitted, default reasons are used.

Example — all parameters combined:

{
  "allowedTags": ["StudyDate", "PatientBirthDate"],
  "allowedProjectRoles": ["IQC"],
  "editMode": "dicom-only",
  "requireESignature": true,
  "signatureReasons": {
    "IQC": [
      "Data entry correction",
      "Quality assurance review",
      "De-identification remediation",
      "Subject identification correction"
    ],
    "admin": ["Admin reason 1", "Admin reason 2"]
  }
}

allowedProjectRoles

Restricts who can launch the editor to users holding a specific role on the project containing the target file. If omitted or empty, anyone with normal access can launch (default, unchanged behavior).

  • Only users holding at least one of the listed roles on the project can launch. Everyone else sees an "Access restricted" message instead of the editor.
  • Role matching is case-insensitive and ignores surrounding whitespace.
  • Unknown role labels are ignored — they simply never match.
  • Admins are not exempt; they must also hold a listed role to launch.

This is a UI-level gate. The underlying Flywheel API remains authoritative for actual writes.

requireESignature

When true, users must select a reason and enter their MFA code before any DICOM update is submitted. The signature record (reason, user identity, timestamp) is written to each file's metadata and is covered by Flywheel's audit log. Defaults to false if not provided.

Requires the mfa-checker gear to be installed on the instance and configured with the correct engine routing by SSE staff. Users must have MFA configured on their accounts.

signatureReasons

Defines the reasons shown in the e-signature dropdown, keyed by Flywheel role label. When a user submits, the extension looks up their role on the project and shows the matching reasons. If the user holds multiple roles, reasons from all matching roles are merged. If no match is found, the following defaults are used: Data entry correction, Quality assurance review, De-identification remediation, Subject identification correction.


Additional resources

For more detailed information about Flywheel extension registration, see the Flywheel Extension Registration Guide.