Skip to content

Handle QuestionnaireResponses with multiple SeriesAnswerIDs linked.

Hubbell, Harrison Taylor requested to merge hh_qnr_multi_submit into master

Resolves edge case where a submission AnswerID was linked to a series and appointment questionnaire, as well as multiple encounters. This was causing each permutation of AnswerID, SubmissionDTS, PatientEncounterID to be pulled. By selecting the first AnswerID + SubmissionDTS combo (min(SubmissionDTS)), this issue is resolved.

Merge request reports