public PatientExpandedQueryHandler( IRepositoryInt <CohortGroup> cohortGroupRepository, IRepositoryInt <CohortGroupEnrolment> cohortGroupEnrolmentRepository, IRepositoryInt <ConditionMedDra> conditionMeddraRepository, IRepositoryInt <Patient> patientRepository, IRepositoryInt <PatientClinicalEvent> patientClinicalEventRepository, IRepositoryInt <PatientCondition> patientConditionRepository, IRepositoryInt <PatientMedication> patientMedicationRepository, IRepositoryInt <SelectionDataItem> selectionDataItemRepository, IReportInstanceQueries reportInstanceQueries, ITypeExtensionHandler modelExtensionBuilder, ILinkGeneratorService linkGeneratorService, IMapper mapper, ILogger <PatientExpandedQueryHandler> logger, ICustomAttributeService customAttributeService) { _cohortGroupRepository = cohortGroupRepository ?? throw new ArgumentNullException(nameof(cohortGroupRepository)); _cohortGroupEnrolmentRepository = cohortGroupEnrolmentRepository ?? throw new ArgumentNullException(nameof(cohortGroupEnrolmentRepository)); _conditionMeddraRepository = conditionMeddraRepository ?? throw new ArgumentNullException(nameof(conditionMeddraRepository)); _patientRepository = patientRepository ?? throw new ArgumentNullException(nameof(patientRepository)); _patientClinicalEventRepository = patientClinicalEventRepository ?? throw new ArgumentNullException(nameof(patientClinicalEventRepository)); _patientConditionRepository = patientConditionRepository ?? throw new ArgumentNullException(nameof(patientConditionRepository)); _patientMedicationRepository = patientMedicationRepository ?? throw new ArgumentNullException(nameof(patientMedicationRepository)); _selectionDataItemRepository = selectionDataItemRepository ?? throw new ArgumentNullException(nameof(selectionDataItemRepository)); _reportInstanceQueries = reportInstanceQueries ?? throw new ArgumentNullException(nameof(reportInstanceQueries)); _modelExtensionBuilder = modelExtensionBuilder ?? throw new ArgumentNullException(nameof(modelExtensionBuilder)); _linkGeneratorService = linkGeneratorService ?? throw new ArgumentNullException(nameof(linkGeneratorService)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _customAttributeService = customAttributeService ?? throw new ArgumentNullException(nameof(customAttributeService)); }
public AddSelectionValueCommandHandler( ICustomAttributeService customAttributeService, ILogger <AddSelectionValueCommandHandler> logger) { _customAttributeService = customAttributeService ?? throw new ArgumentNullException(nameof(customAttributeService)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public CustomAttributeConfigController(ICustomAttributeService customAttributeService, IUnitOfWorkInt unitOfWork) { Check.IsNotNull(customAttributeService, "customAttributeService may not be null"); Check.IsNotNull(unitOfWork, "unitOfWork may not be null"); this.customAttributeService = customAttributeService; _unitOfWork = unitOfWork; }
public SendEmailWhenTaskCancelledDomainEventHandler(ISMTPMailService smtpMailService, ICustomAttributeService attributeService, IRepositoryInt <PatientClinicalEvent> patientClinicalEventRepository) { _smtpMailService = smtpMailService ?? throw new ArgumentNullException(nameof(smtpMailService)); _attributeService = attributeService ?? throw new ArgumentNullException(nameof(attributeService)); _patientClinicalEventRepository = patientClinicalEventRepository ?? throw new ArgumentNullException(nameof(patientClinicalEventRepository)); }
public ChangeCustomAttributeDetailsCommandHandler( ICustomAttributeService customAttributeService, IUnitOfWorkInt unitOfWork, ILogger <ChangeCustomAttributeDetailsCommandHandler> logger) { _customAttributeService = customAttributeService ?? throw new ArgumentNullException(nameof(customAttributeService)); _unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public ExcelDocumentService(IUnitOfWorkInt unitOfWork, ICustomAttributeService attributeService, IPatientService patientService, IRepositoryInt <DatasetInstance> datasetInstanceRepository) { _unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork)); _attributeService = attributeService ?? throw new ArgumentNullException(nameof(attributeService)); _patientService = patientService ?? throw new ArgumentNullException(nameof(patientService)); _datasetInstanceRepository = datasetInstanceRepository ?? throw new ArgumentNullException(nameof(datasetInstanceRepository)); }
public WorkFlowService(IUnitOfWorkInt unitOfWork, ICustomAttributeService attributeService, IPatientService patientService, IArtefactService artefactService) { Check.IsNotNull(unitOfWork, "unitOfWork may not be null"); Check.IsNotNull(artefactService, "artefactService may not be null"); Check.IsNotNull(attributeService, "attributeService may not be null"); Check.IsNotNull(patientService, "patientService may not be null"); _unitOfWork = unitOfWork; _artefactService = artefactService; _attributeService = attributeService; _patientService = patientService; }
public AddCustomAttributeCommandHandler( ICustomAttributeService customAttributeService, IRepositoryInt <CustomAttributeConfiguration> customAttributeRepository, ILinkGeneratorService linkGeneratorService, IMapper mapper, ILogger <AddCustomAttributeCommandHandler> logger) { _customAttributeService = customAttributeService ?? throw new ArgumentNullException(nameof(customAttributeService)); _customAttributeRepository = customAttributeRepository ?? throw new ArgumentNullException(nameof(customAttributeRepository)); _linkGeneratorService = linkGeneratorService ?? throw new ArgumentNullException(nameof(linkGeneratorService)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public PatientClinicalEventDetailQueryHandler( IRepositoryInt <PatientClinicalEvent> patientClinicalEventRepository, IRepositoryInt <SelectionDataItem> selectionDataItemRepository, ITypeExtensionHandler modelExtensionBuilder, ILinkGeneratorService linkGeneratorService, ICustomAttributeService customAttributeService, IMapper mapper, ILogger <PatientClinicalEventDetailQueryHandler> logger) { _patientClinicalEventRepository = patientClinicalEventRepository ?? throw new ArgumentNullException(nameof(patientClinicalEventRepository)); _selectionDataItemRepository = selectionDataItemRepository ?? throw new ArgumentNullException(nameof(selectionDataItemRepository)); _modelExtensionBuilder = modelExtensionBuilder ?? throw new ArgumentNullException(nameof(modelExtensionBuilder)); _linkGeneratorService = linkGeneratorService ?? throw new ArgumentNullException(nameof(linkGeneratorService)); _customAttributeService = customAttributeService ?? throw new ArgumentNullException(nameof(customAttributeService)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public WorkFlowService(IUnitOfWorkInt unitOfWork, ICustomAttributeService attributeService, IPatientService patientService, IRepositoryInt <Activity> activityRepository, IRepositoryInt <ReportInstance> reportInstanceRepository, IRepositoryInt <WorkFlow> workFlowRepository, IRepositoryInt <User> userRepository, IHttpContextAccessor httpContextAccessor) { _unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork)); _attributeService = attributeService ?? throw new ArgumentNullException(nameof(attributeService)); _patientService = patientService ?? throw new ArgumentNullException(nameof(patientService)); _activityRepository = activityRepository ?? throw new ArgumentNullException(nameof(activityRepository)); _reportInstanceRepository = reportInstanceRepository ?? throw new ArgumentNullException(nameof(reportInstanceRepository)); _workFlowRepository = workFlowRepository ?? throw new ArgumentNullException(nameof(workFlowRepository)); _userRepository = userRepository ?? throw new ArgumentNullException(nameof(userRepository)); _httpContextAccessor = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor)); }
public ArtefactService( IRepositoryInt <DatasetElement> datasetElementRepository, IRepositoryInt <DatasetInstance> datasetInstanceRepository, IRepositoryInt <PatientClinicalEvent> patientClinicalEventRepository, IRepositoryInt <PatientMedication> patientMedicationRepository, IRepositoryInt <ReportInstance> reportInstanceRepository, ICustomAttributeService attributeService, IPatientService patientService, IWordDocumentService wordDocumentService) { _datasetElementRepository = datasetElementRepository ?? throw new ArgumentNullException(nameof(datasetElementRepository)); _datasetInstanceRepository = datasetInstanceRepository ?? throw new ArgumentNullException(nameof(datasetInstanceRepository)); _patientClinicalEventRepository = patientClinicalEventRepository ?? throw new ArgumentNullException(nameof(patientClinicalEventRepository)); _patientMedicationRepository = patientMedicationRepository ?? throw new ArgumentNullException(nameof(patientMedicationRepository)); _reportInstanceRepository = reportInstanceRepository ?? throw new ArgumentNullException(nameof(reportInstanceRepository)); _attributeService = attributeService ?? throw new ArgumentNullException(nameof(attributeService)); _patientService = patientService ?? throw new ArgumentNullException(nameof(patientService)); _wordDocumentService = wordDocumentService ?? throw new ArgumentNullException(nameof(wordDocumentService)); }
public CustomAttributeParser(ICustomAttributeService customAttributeService) { this._customAttributeService = customAttributeService; }
public CustomAttributeParser(ICustomAttributeService customAttributeService, ILocalizationService localizationService) { this._customAttributeService = customAttributeService; this._localizationService = localizationService; }