Fixes #6506 QuestionnaireResponse hooks,search (#6513)
commit67a3b166d698ebf094f2ba50088247c8801100cb
authorStephen Nielson <snielson@discoverandchange.com>
Mon, 5 Jun 2023 13:04:45 +0000 (5 09:04 -0400)
committerGitHub <noreply@github.com>
Mon, 5 Jun 2023 13:04:45 +0000 (5 09:04 -0400)
treec3b291c1c7dde38943a19610e94f0d3afd03eb71
parenta907cbc6340fdcaa59ba8367412a5dc038606c8f
Fixes #6506 QuestionnaireResponse hooks,search (#6513)

Add hooks to execute code whenever the questionnaire response is saved
or updated.

Added a helper search method to make querrying the repository easier,
and a method to grab a questionnaire by its id.
src/Services/QuestionnaireResponseService.php