This would close #28 by removing the usage of resetSurveyAndGetCodes to return both the hash and return_code; instead using the REDCap EM functions getSurveyReturnCode and getSurveyLink instead to obtain this information.
getSurveyReturnCode always returns a forcefully uppercased text string, so the comparison needs to happen in a case-insensitive way.
This would close #28 by removing the usage of
resetSurveyAndGetCodes
to return both the hash and return_code; instead using the REDCap EM functionsgetSurveyReturnCode
andgetSurveyLink
instead to obtain this information.getSurveyReturnCode
always returns a forcefully uppercased text string, so the comparison needs to happen in a case-insensitive way.