Resolve: "Edited Therapy Follow-ups: HCP data view not updating"
About the issue
The error comes when a question in the user's symptom check has no anwsers. In this case, the Report
class has no entries for that question, therefore it wasn't showing up as a question (which was based on the unique question IDs from the entries)
About the fix
I added an optional constructor argument for the report, allowing for a manually given list of question IDs, when provided, the call to report.questionIds
returns this manual list, instead of the calculated list based on the number of entries.
This is incidentally also faster, as the question count is otherwise O(n), where n
is the length of entries
Closes #1000 (closed)