/// <summary> /// Initializes a new instance of the <see cref="DeletePatientDocumentRequestHandler"/> class. /// </summary> /// <param name="patientDocumentRepository">The patient document repository.</param> /// <param name="patientDocumentFactory">The patient document factory.</param> /// <param name="getPatientDocumentsByPatientRequestHandler">The get patient documents by patient request handler.</param> public DeletePatientDocumentRequestHandler( IPatientDocumentRepository patientDocumentRepository, IPatientDocumentFactory patientDocumentFactory, GetPatientDocumentsByPatientRequestHandler getPatientDocumentsByPatientRequestHandler) { _patientDocumentRepository = patientDocumentRepository; _patientDocumentFactory = patientDocumentFactory; _getPatientDocumentsByPatientRequestHandler = getPatientDocumentsByPatientRequestHandler; }
/// <summary> /// Initializes a new instance of the <see cref="SavePatientDocumentRequestHandler"/> class. /// </summary> /// <param name="patientRepository">The patient repository.</param> /// <param name="mappingHelper">The mapping helper.</param> /// <param name="patientDocumentFactory">The patient document factory.</param> public SavePatientDocumentRequestHandler( IPatientRepository patientRepository, IDtoToDomainMappingHelper mappingHelper, IPatientDocumentFactory patientDocumentFactory) { _patientRepository = patientRepository; _mappingHelper = mappingHelper; _patientDocumentFactory = patientDocumentFactory; }
/// <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; }
/// <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; }