list icon indicating copy to clipboard operation
list copied to clipboard

Custom field creator for curator portal

Open iamleeg opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. When we start up new Global.health instances for new emerging infectious diseases, we will start with the day-zero schema collecting basic line list data. As the epidemic develops, we will learn that there is specific information we want to collect. Currently, adding fields requires engineering effort across the curator API, data service API, database validation, curator portal UI, and export scripts.

Describe the solution you'd like I would like for certain roles in the system to be allowed to add new fields with basic types and validation rules, and optionally a default value for existing cases. When they configure that, the field should be available in the curator portal and API, stored in the database, and included in subsequent data exports.

Describe alternatives you've considered We could switch to any one of a number of external form-builder products for the portal, which would be a much bigger up-front engineering effort but potentially allow more flexibility. We would need to look into options that are compatible with our use of mongodb, and we would still need to support all of the API and export scenarios ourselves.

iamleeg avatar Jun 14 '22 08:06 iamleeg