openpharma / clinsight

ClinSight - An application for medical monitoring within clinical trials
https://openpharma.github.io/clinsight/
Other
3 stars 0 forks source link

Default value needed for region if region information is missing #106

Open LDSamson opened 1 month ago

LDSamson commented 1 month ago

If no region is available, the region should default to something like other or Unknown. It is now not possible to select sites to review in mod_review_config if a region is not set:

grafik

Currently, regions are only added in apply_study_specific_fixes which is not ideal.

LDSamson commented 1 month ago

One way to generalize regions/ make them customizable:

We could add a new variable region_code in column_names in the metadata.

Then we can add somewhere in the metadata information about the regions, which we can use to create the region variable using a new add_regions() helper function grafik.