Closed aeyates closed 9 months ago
Several records in REDCap have gotten in a weird state where the randomization form is marked complete and has a date but does not have any randomization value. This caused some strange behavior in the application. While this likely won't happen in production, I've added some guardrails to check that a value is present. If for some reason, we can't determine what the randomization value is, we set it to ENHANCED and log an error to the coach logs warning that this occurred.
The patient Pharmacology Advancing Treatment in the sandbox gets the enhanced view and recommendations, but the stoplight is not showing: