Skip to content

[configuration] Create Mapping Type Option #10458

@skarya22

Description

@skarya22
  • Create the ability to map values to other values in the configuration module
  • For example, LORIS visit names to External visit names
Image
  • In this example, you can set different key-value pairs of visits on LORIS (left) to visits on an external platform (right) for visit_mappings (example in screenshot)
  • The mappings should be set-up in a new table, such as ConfigMappings, ConfigMaps, ConfigPairs (TBD) which would include columns for an ID, ConfigTableID and Value. The Config.Value is the left side, and ConfigMappings.Value is the right side of the mapping.
  • Add mapping as a DataType in ConfigSettings
  • If you want a list of multiple mappings (such as the visits example) you would use allowMultiple=1 in ConfigSettings, and enter multiple rows in Config.

Metadata

Metadata

Assignees

Labels

Module: configurationPR or issue related to configuration modulemay_tasksfor special projects see CR or RA
No fields configured for Enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions