public SpecimenController(ISpecimenService specimenService, IInventoryService inventoryService, IPhotoService photoService, IOriginService originService, IUserService userService)
 {
     _specimenService  = specimenService;
     _inventoryService = inventoryService;
     _photoService     = photoService;
     _originService    = originService;
     _userService      = userService;
 }
 public UnmatchedLabResultAlertsJob(
     ISpecimenService specimenService,
     IAlertRepository alertRepository,
     IAlertService alertService)
 {
     _specimenService = specimenService;
     _alertRepository = alertRepository;
     _alertService    = alertService;
 }
示例#3
0
 public UnmatchedLabResultAlertsJob(
     ISpecimenService specimenService,
     IAlertRepository alertRepository,
     IAlertService alertService,
     NtbsContext ntbsContext) : base(ntbsContext)
 {
     _specimenService = specimenService;
     _alertRepository = alertRepository;
     _alertService    = alertService;
 }
 public SurgeryService(
     IRequisitionService requisitionService,
     IAggregatedDataService aggregatedDataService,
     ISpecimenService specimenService)
 {
     AutoMapperConfig.RegisterAutoMapperConfig();
     this.requisitionService    = requisitionService;
     this.aggregatedDataService = aggregatedDataService;
     this.specimenService       = specimenService;
 }
 public ViewTestResultsModel(
     INotificationService service,
     IAuthorizationService authorizationService,
     INotificationRepository notificationRepository,
     ICultureAndResistanceService cultureAndResistanceService,
     ISpecimenService specimenService,
     IUserHelper userHelper) : base(service, authorizationService, userHelper, notificationRepository)
 {
     _cultureAndResistanceService = cultureAndResistanceService;
     _specimenService             = specimenService;
 }
示例#6
0
 public IndexModel(
     ISpecimenService specimenService,
     IUserService userService,
     INotificationRepository notificationRepository,
     IAuthorizationService authorizationService)
 {
     _specimenService        = specimenService;
     _userService            = userService;
     _notificationRepository = notificationRepository;
     _authorizationService   = authorizationService;
     ValidationService       = new ValidationService(this);
 }
        public TestResultsModel(
            INotificationService notificationService,
            IAuthorizationService authorizationService,
            INotificationRepository notificationRepository,
            IAlertRepository alertRepository,
            ICultureAndResistanceService cultureAndResistanceService,
            ISpecimenService specimenService) : base(notificationService, authorizationService, notificationRepository, alertRepository)
        {
            _cultureAndResistanceService = cultureAndResistanceService;
            _specimenService             = specimenService;

            CurrentPage = NotificationSubPaths.EditTestResults;
        }
 public NotificationService(
     INotificationRepository notificationRepository,
     IReferenceDataRepository referenceDataRepository,
     IUserService userService,
     ITreatmentEventRepository treatmentEventRepository,
     NtbsContext context,
     ISpecimenService specimenService,
     IAlertService alertService)
 {
     _notificationRepository   = notificationRepository;
     _referenceDataRepository  = referenceDataRepository;
     _userService              = userService;
     _treatmentEventRepository = treatmentEventRepository;
     _context         = context;
     _specimenService = specimenService;
     _alertService    = alertService;
 }
        public NotificationImportService(INotificationMapper notificationMapper,
                                         INotificationRepository notificationRepository,
                                         INotificationImportRepository notificationImportRepository,
                                         IImportLogger logger,
                                         IHub sentryHub,
                                         IMigrationRepository migrationRepository,
                                         IMigratedNotificationsMarker migratedNotificationsMarker,
                                         ISpecimenService specimenService,
                                         IImportValidator importValidator)
        {
            sentryHub.ConfigureScope(s =>
            {
                s.SetTag("context", "migration");
            });

            _notificationMapper           = notificationMapper;
            _notificationRepository       = notificationRepository;
            _notificationImportRepository = notificationImportRepository;
            _logger = logger;
            _migrationRepository         = migrationRepository;
            _migratedNotificationsMarker = migratedNotificationsMarker;
            _specimenService             = specimenService;
            _importValidator             = importValidator;
        }
 public SpecimenController(MasterManagementContext db, IMapper mapper)
 {
     _service = new SpecimenService(db, mapper);
 }
 public SpecimenImportService(IImportLogger logger, ISpecimenService specimenService)
 {
     _logger          = logger;
     _specimenService = specimenService;
 }