/// <summary>
 /// Initializes a new instance of the <see cref="SaveMailAttachmentPatientDocumentRequestHandler"/> class.
 /// </summary>
 /// <param name="patientRepository">The patient repository.</param>
 /// <param name="mappingHelper">The mapping helper.</param>
 /// <param name="patientDocumentFactory">The patient document factory.</param>
 /// <param name="imapMessageFetcher">The imap message fetcher.</param>
 public SaveMailAttachmentPatientDocumentRequestHandler(
     IPatientRepository patientRepository,
     IDtoToDomainMappingHelper mappingHelper,
     IPatientDocumentFactory patientDocumentFactory,
     IImapMailMessageFetcher imapMessageFetcher)
 {
     _patientRepository      = patientRepository;
     _mappingHelper          = mappingHelper;
     _patientDocumentFactory = patientDocumentFactory;
     _imapMessageFetcher     = imapMessageFetcher;
 }
예제 #2
0
 /// <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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CreatePatientImportDocumentRequestHandler"/> class.
 /// </summary>
 /// <param name="patientRepository">The patient repository.</param>
 /// <param name="patientFactory">The patient factory.</param>
 /// <param name="agencyRepository">The agency repository.</param>
 /// <param name="mappingHelper">The mapping helper.</param>
 /// <param name="patientDocumentFactory">The patient document factory.</param>
 /// <param name="patientDocumentRepository">The patient document repository.</param>
 /// <param name="imapMessageFetcher">The imap message fetcher.</param>
 public CreatePatientImportDocumentRequestHandler(
     IPatientRepository patientRepository,
     IPatientFactory patientFactory,
     IAgencyRepository agencyRepository,
     IDtoToDomainMappingHelper mappingHelper,
     IPatientDocumentFactory patientDocumentFactory,
     IPatientDocumentRepository patientDocumentRepository,
     IImapMailMessageFetcher imapMessageFetcher)
 {
     _patientRepository         = patientRepository;
     _patientFactory            = patientFactory;
     _agencyRepository          = agencyRepository;
     _mappingHelper             = mappingHelper;
     _patientDocumentFactory    = patientDocumentFactory;
     _patientDocumentRepository = patientDocumentRepository;
     _imapMessageFetcher        = imapMessageFetcher;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GetImapFolderItemsRequestHandler"/> class.
 /// </summary>
 /// <param name="imapMessageFetcher">The imap message fetcher.</param>
 public GetImapFolderItemsRequestHandler(IImapMailMessageFetcher imapMessageFetcher)
 {
     _imapMessageFetcher = imapMessageFetcher;
 }