/// <summary> /// Initializes a new instance of the <see cref="GetDataFromC32RequestHandler"/> class. /// </summary> /// <param name="mappingHelper">The mapping helper.</param> /// <param name="codedConceptLookupBaseRepository">The coded concept lookup base repository.</param> /// <param name="patientDocumentRepository">The patient document repository.</param> /// <param name="c32Builder">The C32 builder.</param> public GetDataFromC32RequestHandler( IDtoToDomainMappingHelper mappingHelper, ICodedConceptLookupBaseRepository codedConceptLookupBaseRepository, IPatientDocumentRepository patientDocumentRepository, IC32Builder c32Builder) { _mappingHelper = mappingHelper; _codedConceptLookupBaseRepository = codedConceptLookupBaseRepository; _patientDocumentRepository = patientDocumentRepository; _c32Builder = c32Builder; }
/// <summary> /// Initializes a new instance of the <see cref="QueryPatientByDocumentRequestHandler"/> class. /// </summary> /// <param name="patientRepository">The patient repository.</param> /// <param name="codedConceptLookupBaseRepository">The coded concept lookup base repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> /// <param name="c32Builder">The C32 builder.</param> /// <param name="imapMessageFetcher">The imap message fetcher.</param> public QueryPatientByDocumentRequestHandler( IPatientRepository patientRepository, ICodedConceptLookupBaseRepository codedConceptLookupBaseRepository, ILookupValueRepository lookupValueRepository, IC32Builder c32Builder, IImapMailMessageFetcher imapMessageFetcher) { _patientRepository = patientRepository; _codedConceptLookupBaseRepository = codedConceptLookupBaseRepository; _lookupValueRepository = lookupValueRepository; _c32Builder = c32Builder; _imapMessageFetcher = imapMessageFetcher; }