public MedicalRecordRepository(Stream <MedicalRecord> stream, IDiagnosisRepository diagnosisRepository, IMedicationRepository medicationRepository, IUserRepository userRepository) : base(stream, "Medical record") { illnessesRepository = diagnosisRepository; therapyRepository = medicationRepository; patientRepository = userRepository; }
public MedicationController(ApplicationDbContext dbContext, IHostingEnvironment hostingEnvironment, UserManager <ApplicationUser> userManager, IMedicationRepository medicationRepository) { context = dbContext; this.hostingEnvironment = hostingEnvironment; this.userManager = userManager; _medicationRepository = medicationRepository; }
public HealthService( IPatientRepository patientRepository, IAilmentRepository ailmentRepository, IMedicationRepository medicationRepository) { _medicationRepository = medicationRepository; _ailmentRepository = ailmentRepository; _patientRepository = patientRepository; }
public ReportService(IReportRepository reportRepository, ITreatmentRepository treatmentRepository, IMedicationRepository medicationRepository, IExaminationSurgeryRepository examinationSurgeryRepository, IRoomRepository roomRepository) { this.reportRepository = reportRepository; this.treatmentRepository = treatmentRepository; this.medicationRepository = medicationRepository; this.examinationSurgeryRepository = examinationSurgeryRepository; this.roomRepository = roomRepository; }
public SyncMedicationPollingAgent(IMedicationRepository medicationRepository, IMedicareApiService medicareApiService, ISettings setting, ILogManager logManager) { _medicationRepository = medicationRepository; _medicareApiService = medicareApiService; _setting = setting; _logger = logManager.GetLogger("SyncMedicationPollingAgent"); _isDevEnvironment = setting.IsDevEnvironment; _modifiedByService = new OrganizationRoleUser(1); }
public MedicationService(IOrganizationRoleUserRepository organizationRoleUserRepository, IMedicationUploadRepository medicationUploadRepository, IMedicationRepository medicationRepository, IMedicationFactory medicationFactory, ISyncMedicationPollingAgent syncMedicationPollingAgent, ILogManager logger) { _organizationRoleUserRepository = organizationRoleUserRepository; _medicationUploadRepository = medicationUploadRepository; _medicationRepository = medicationRepository; _medicationFactory = medicationFactory; _syncMedicationPollingAgent = syncMedicationPollingAgent; _logger = logger.GetLogger("MedicationService"); }
public VisitationManagementService(IVisitationRepository visitationRepository, IMedicationRepository medicationRepository, ITreatmentRepository treatmentRepository, ITestRepository testRepository) { _visitationRepository = visitationRepository; _medicationRepository = medicationRepository; _treatmentRepository = treatmentRepository; _testRepository = testRepository; }
public AdminViewModel() { _productRepository = new ProductRepository(); _categoryRepository = new CategoryRepository(); _locationRepository = new LocationRepository(); _serviceRepository = new ServiceRepository(); _allergyRepository = new AllergyRepository(); _immunizationRepository = new ImmunizationRepository(); _medicationRepository = new MedicationRepository(); _templateRepository = new TemplateRepository(); }
public BillingManagementService(IVisitationRepository visitationRepository, ITreatmentRepository treatmentRepository, ITestRepository testRepository, IDoctorRepository doctorRepository, IPatientRepository patientRepository, IMedicationRepository medicationRepository) { _visitationRepository = visitationRepository; _treatmentRepository = treatmentRepository; _testRepository = testRepository; _doctorRepository = doctorRepository; _patientRepository = patientRepository; _medicationRepositpry = medicationRepository; }
public static IMedicationRepository <T> GetMedicationRepository(string dbName, string productName, string userId) { try { IMedicationRepository <T> repo = null; //We only have 1 repository at this time, just return it repo = new MongoMedicationRepository <T>(dbName) as IMedicationRepository <T>; repo.UserId = userId; return(repo); } catch (Exception ex) { throw ex; } }
public PatientsController(IPatientRepository patients, IPatientDetailsRepository patientDetails, IAllergyRepository allergies, IMedicationRepository medications, IDiagnosisRepository diagnoses, IClinicalNoteRepository clinicalNotes, IContactRepository contacts) { this.Patients = patients; this.PatientDetails = patientDetails; this.Allergies = allergies; this.Medications = medications; this.Diagnoses = diagnoses; this.ClinicalNotes = clinicalNotes; this.Contacts = contacts; }
public MedicationUploadFileParserPollingAgent(IMedicationUploadRepository medicationUploadRepository, IMedicationUploadLogRepository medicationUploadLogRepository, IMedicationRepository medicationRepository, ICustomerRepository customerRepository, ICsvReader csvReader, IMedicationUploadHelper medicationUploadHelper, IUniqueItemRepository <File> fileRepository, ILogManager logManager, ISettings settings, IMediaRepository mediaRepository, INdcRepository ndcRepository, ISyncMedicationPollingAgent syncMedicationPollingAgent, IUnitRepository unitRepository) { _medicationUploadRepository = medicationUploadRepository; _medicationUploadLogRepository = medicationUploadLogRepository; _medicationRepository = medicationRepository; _customerRepository = customerRepository; _csvReader = csvReader; _medicationUploadHelper = medicationUploadHelper; _fileRepository = fileRepository; _mediaRepository = mediaRepository; _ndcRepository = ndcRepository; _syncMedicationPollingAgent = syncMedicationPollingAgent; _unitRepository = unitRepository; _logger = logManager.GetLogger("MedicationUploadFileParserPollingAgent"); _isDevEnvironment = settings.IsDevEnvironment; _pageSize = 100; }
public MedicationService(IMedicationRepository medicationRepository) { this.medicationRepository = new RepositoryWrapper <IMedicationRepository>(medicationRepository); }
/// <summary> /// Initializes a new instance of the <see cref="MedicationFactory"/> class. /// </summary> /// <param name="medicationRepository">The medication repository.</param> public MedicationFactory(IMedicationRepository medicationRepository) { _medicationRepository = medicationRepository; }
public ValidationMedicationRepository(Stream <ValidationMed> stream, IUserRepository userRepository, MedicationRepository medicationRepository) : base(stream, "Validation") { this.userRepository = userRepository; this.medicationRepository = medicationRepository; }
public MedicationService(IMedicationRepository IMedicationRepository) { _IMedicationRepository = IMedicationRepository; }
public MedicationService(IMedicationRepository medicationRepository) { _medicationRepository = medicationRepository; }
public TreatmentRepository(IMedicationRepository medicationRepository, IDepartmentRepository departmentRepository, Stream <Treatment> stream) : base(stream, "Treatment") { this.departmentRepository = departmentRepository; this.medicationRepository = medicationRepository; }
public MedicationController(IMedicationRepository repo) { this.repo = repo; }
// Constructor public MedicationsController(IMedicationRepository medicationRepo, IMapper mapper) { _meRepo = medicationRepo; _mapper = mapper; }
public MedicationService(IMedicationRepository medicationRepository, IUnitOfWork unitOfWork) { this._medicationRepository = medicationRepository; _unitOfWork = unitOfWork; }
public MedicationControllerTests() { repo = Substitute.For <IMedicationRepository>(); underTest = new MedicationController(repo); }
/// <summary> /// Initializes a new instance of the <see cref="GetMedicationByKeyRequestHandler"/> class. /// </summary> /// <param name="medicationRepository">The medication repository.</param> public GetMedicationByKeyRequestHandler(IMedicationRepository medicationRepository) { _medicationRepository = medicationRepository; }
public MedicationsController(IMedicationRepository apRepo, IResidentRepository reRepo, IEmailSender emailSender) { _meRepo = apRepo; _reRepo = reRepo; _emailSender = emailSender; }
public MedicationService(IMedicationRepository repository, IMapper mapper, MedicationFollowupService medicationFollowupService) { _repository = repository; _mapper = mapper; _medicationFollowupService = medicationFollowupService; }
/// <summary> /// Initializes a new instance of the <see cref="MedicationFactory"/> class. /// </summary> /// <param name="medicationRepository">The medication repository.</param> public MedicationFactory( IMedicationRepository medicationRepository ) { _medicationRepository = medicationRepository; }
public MedicationLoader(IMedicationRepository medicationRepository) { _medicationRepository = medicationRepository; }
public MedicationService(IMedicationRepository medicationRepository, IMapper autoMapper) { _autoMapper = autoMapper; _medicationRepository = medicationRepository; }
public HomeController(IMedicationRepository medicationRepository) { _medicationRepository = medicationRepository; }
public MedicationManager(IMedicationRepository medicationRepository, IMedicationLoader medicationLoader) { _medicationRepository = medicationRepository; _medicationLoader = medicationLoader; }
public MedicationService(IMedicationRepository medicationRepository, IValidationMedicationRepository validationMedicationRepository) { this.validationMedicationRepository = validationMedicationRepository; this.medicationRepository = medicationRepository; }