public AdverseEventReportQueryHandler(
     IPatientQueries patientQueries,
     ILinkGeneratorService linkGeneratorService,
     ILogger <AdverseEventReportQueryHandler> logger)
 {
     _patientQueries       = patientQueries ?? throw new ArgumentNullException(nameof(patientQueries));
     _linkGeneratorService = linkGeneratorService ?? throw new ArgumentNullException(nameof(linkGeneratorService));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
 public PatientTreatmentReportQueryHandler(
     IPatientQueries patientQueries,
     ILinkGeneratorService linkGeneratorService,
     IMapper mapper,
     ILogger <PatientTreatmentReportQueryHandler> logger)
 {
     _patientQueries       = patientQueries ?? throw new ArgumentNullException(nameof(patientQueries));
     _linkGeneratorService = linkGeneratorService ?? throw new ArgumentNullException(nameof(linkGeneratorService));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }