public MedicationFollowUpController(IMedicationService objControllerHelper,
                                     ILogger <MedicationFollowUpController> logger, MedicationFollowupService medicationFollowupService)
 {
     _objControllerHelper = objControllerHelper;
     _logger = logger;
     _medicationFollowupService = medicationFollowupService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MedicationController"/> class.
 /// </summary>
 /// <param name="medicationService">The injected medication data service.</param>
 /// <param name="httpAccessor">The injected http context accessor provider.</param>
 /// <param name="authZService">The injected authService authorization provider.</param>
 /// <param name="patientService">The injected patientService patient registry provider.true</param>
 public MedicationController(IMedicationService medicationService, IHttpContextAccessor httpAccessor, ICustomAuthorizationService authZService, IPatientService patientService)
 {
     this.medicationService    = medicationService;
     this.httpContextAccessor  = httpAccessor;
     this.authorizationService = authZService;
     this.patientService       = patientService;
 }
Esempio n. 3
0
 public MedicationController(IMediaRepository mediaRepository, ISessionContext session, IUniqueItemRepository <File> fileRepository,
                             IFileHelper fileHelper, ICsvReader csvReader, ISettings settings, IMedicationUploadHelper medicationUploadHelper,
                             IMedicationUploadRepository medicationUploadRepository, IMedicationService medicationService, INdcRepository ndcRepository,
                             ILookupRepository lookupRepository, IUnitRepository unitRepository)
 {
     _mediaRepository            = mediaRepository;
     _session                    = session;
     _fileRepository             = fileRepository;
     _fileHelper                 = fileHelper;
     _csvReader                  = csvReader;
     _javaScriptSerializer       = new JavaScriptSerializer();
     _medicationUploadHelper     = medicationUploadHelper;
     _medicationUploadRepository = medicationUploadRepository;
     _medicationService          = medicationService;
     _ndcRepository              = ndcRepository;
     _pageSize                   = settings.DefaultPageSizeForReports;
     _lookupRepository           = lookupRepository;
     _unitRepository             = unitRepository;
 }
 public MedicationController(ILogger <MedicationController> logger, IMedicationService medicationService)
 {
     _logger            = logger;
     _medicationService = medicationService;
 }
 public MedicationsController(IMedicationService medicationsService, IMapper mapper)
 {
     _medicationsService = medicationsService;
     _mapper             = mapper;
 }
Esempio n. 6
0
 public MedicationController(IMedicationService medicationService)
 {
     _medicationService = medicationService;
 }
 public MedicationAPIController(IMedicationService IMedicationService)
 {
     _IMedicationService = IMedicationService;
 }
Esempio n. 8
0
 public MedicationController(IFhirService fhirService, IMedicationService medicationService)
 {
     _medicationService = medicationService;
     fhirService.Initialize();
 }
 public MedicationController(IMedicationService objControllerHelper,
                             ILogger <MedicationController> logger)
 {
     _objControllerHelper = objControllerHelper;
     _logger = logger;
 }
 public MedicationController(IValidator <Medication> validator, IMedicationService merdicationService)
 {
     this.validator          = validator;
     this.merdicationService = merdicationService;
 }