LORIS instrument fields naming rules clash with REDCap import #9526
Labels
Area: Instruments
PR or issue related instruments
Category: Bug
PR or issue that aims to report or fix a bug
While working on the REDCap module, I encountered a bug where two fields of a REDCap instrument imported in LORIS would be present in the generated LINST file but absent in the
NDB_BVL_Instrument_LINST
data dictionary:work_status
andmarital_status
.This bug seems to come from these lines, which basically ignore any field with
_status
in its name:Loris/php/libraries/NDB_BVL_Instrument_LINST.class.inc
Lines 401 to 403 in a6b8648
This is annoying as we would prefer to not have this kind of naming restrictions for the REDCap instruments we wish to import. From a quick glance at the code, there are probably other LINST naming requirements that need to be addressed in the REDCap module.
Here is my quick guess at the potential solutions:
There may be other solutions I have not thought of. The last two are not really feasible on the short term.
These naming requirements might also affect other instrument-related features that do not handle them ?
The text was updated successfully, but these errors were encountered: