public PatientsController(IRequestService requests, IPatientService patients, IDentistService dentists, IMedicalRecordService medicalRecords)
 {
     this.requests = requests;
     this.patients = patients;
     this.dentists = dentists;
     this.medicalRecords = medicalRecords;
 }
Exemple #2
0
 public ManageController(IPatientService patientService, IPhysicianService physicianService,
     IExperimentAdminService experimentAdminService)
 {
     _patientService = patientService;
     _physicianService = physicianService;
     _experimentAdminService = experimentAdminService;
 }
 public PatientServiceTest()
 {
     patientRepository = Substitute.For<IPatientRepository>();
     unitOfWork = Substitute.For<IUnitOfWork>();
     validatorService = Substitute.For<IValidatorService>();
     patientService = new PatientService(patientRepository, unitOfWork, validatorService);
 }
 public PatientController(
     IPatientService patientService,
     IUnitOfWorkAsync unitOfWork) : base(unitOfWork)
 {
     _patientService = patientService;
      _logger = LogManager.GetLogger(GetType().Name);
 }
 public RecommendationsController(IDoctorService doctorService, IRecommendationService recommendationService,
     IPatientService patientService)
 {
     _doctorService = doctorService;
     _recommendationService = recommendationService;
     _patientService = patientService;
 }
 public PatientAppointmentService(IUnitOfWork uow, IPatientAppointmentRepository patientAppointment,
                                  IPatientAdmissionRepository patientAdmission, IPatientService PService)
 {
     _uow = uow;
     _patientAppointment = patientAppointment;
     _patientAdmission = patientAdmission;
     _PService = PService;
 }
Exemple #7
0
 public HistoryController(IConversationService conversationService, IRecommendationService recommendationService, IPatientService patientService, SiteUserManager userManager, IDoctorService doctorService)
 {
     _conversationService = conversationService;
     _recommendationService = recommendationService;
     _patientService = patientService;
     _userManager = userManager;
     _doctorService = doctorService;
 }
Exemple #8
0
 public EventsController(IAppointmentEventService appointmentEventService,
     ITimeSpanEventService timeSpanEventService, IDoctorService doctorService, IPatientService patientService)
 {
     _appointmentEventService = appointmentEventService;
     _timeSpanEventService = timeSpanEventService;
     _doctorService = doctorService;
     _patientService = patientService;
 }
Exemple #9
0
 public CalendarController(ITimeSpanEventService timeSpanEventService, IUserEventsService eventsService,
     SiteUserManager siteUserManager, IAppointmentEventService appointmentEventService,
     IPatientService patientService)
 {
     _timeSpanEventService = timeSpanEventService;
     _eventsService = eventsService;
     _siteUserManager = siteUserManager;
     _appointmentEventService = appointmentEventService;
     _patientService = patientService;
 }
 public PatientsController(IPatientService patientService, IStateService stateService,
     IPracticeService practiceService, INPIService npiService, IPayerService payerService,
     IInsuranceService insuranceService)
 {
     _patientService = patientService;
     _stateService = stateService;
     _practiceService = practiceService;
     _npiService = npiService;
     _payerService = payerService;
     _insuranceService = insuranceService;
 }
 public RequestsController(
     IPatientRequestService requests,
     IPatientService patients,
     IUsersService users,
     IDoctorsService doctors)
 {
     this.requests = requests;
     this.patients = patients;
     this.users = users;
     this.doctors = doctors;
 }
Exemple #12
0
        public _HomeController(IPatientService patientService, SiteUserManager siteUserManager, IDoctorService doctorService,
            ISpecializationService specializationService,
            ITimeSpanEventService timeSpanEventService, IUserEventsService userEventsService)
        {
            _patientService = patientService;
            _siteUserManager = siteUserManager;
            _doctorService = doctorService;
            _specializationService = specializationService;
            _timeSpanEventService = timeSpanEventService;
            _userEventsService = userEventsService;

        }
Exemple #13
0
 public DoctorController(
     IAccountService accountService,
     IMapper mapper,
     IApplicationUser applicationUser,
     IDoctorService doctorService,
     IPatientService patientService)
 {
     _accountService  = accountService;
     _mapper          = mapper;
     _applicationUser = applicationUser;
     _doctorService   = doctorService;
     _patientService  = patientService;
 }
 public AppointmentsViewModelFactory(
     IReservationService reservationService,
     IScheduleService scheduleService,
     IPatientService patientService,
     ISpecializationService specializationService,
     IDoctorService doctorService)
 {
     _reservationService    = reservationService;
     _scheduleService       = scheduleService;
     _patientService        = patientService;
     _specializationService = specializationService;
     _doctorService         = doctorService;
 }
Exemple #15
0
 public ConversationService(
     IDbContextProvider dbContextProvider, 
     SiteUserManager userManager, 
     IDoctorService doctorService, 
     IPatientService patientService, 
     IPaymentHistoryService paymentService)
 {
     _dbContext = dbContextProvider.Context;
     _userManager = userManager;
     _doctorService = doctorService;
     _patientService = patientService;
     _paymentService = paymentService;
 }
 public DonorsController(
     UserManager <ApplicationUser> userManager,
     IDonorsPatientsService donorsPatientsService,
     ICloudinaryService cloudinaryService,
     IPatientService patientService,
     IDonorService donorService)
 {
     this.userManager           = userManager;
     this.donorsPatientsService = donorsPatientsService;
     this.cloudinaryService     = cloudinaryService;
     this.patientService        = patientService;
     this.donorService          = donorService;
 }
Exemple #17
0
 public PrescriptionController(IPrescriptionService PrescriptionService,
                               IDrugService DrugService,
                               IPatientService PatientService,
                               UserManager <IdentityUser> UserManager,
                               IAppUserService AppUserService,
                               IAppAuthorisationService AppAuthorisationService,
                               IUserOrgRoleService UserOrgRoleService
                               ) : base(UserManager, AppUserService, AppAuthorisationService, UserOrgRoleService)
 {
     _prescriptionService = PrescriptionService;
     _drugService         = DrugService;
     _patientService      = PatientService;
 }
Exemple #18
0
 public AccountController(UserManager <User> userManager,
                          RoleManager <IdentityRole> roleManager,
                          SignInManager <User> signInManager,
                          IPatientService patientService, IDoctorService doctorService,
                          MedClinicContext db)
 {
     _userManager        = userManager;
     this.roleManager    = roleManager;
     _signInManager      = signInManager;
     this.patientService = patientService;
     this.doctorService  = doctorService;
     this.db             = db;
 }
Exemple #19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FhirResourceDelegateAuthorizationHandler"/> class.
 /// </summary>
 /// <param name="logger">the injected logger.</param>
 /// <param name="configuration">The Configuration to use.</param>
 /// <param name="httpContextAccessor">The HTTP Context accessor.</param>
 /// <param name="patientService">The injected Patient service.</param>
 /// <param name="resourceDelegateDelegate">The ResourceDelegate delegate to interact with the DB.</param>
 public FhirResourceDelegateAuthorizationHandler(
     ILogger <FhirResourceDelegateAuthorizationHandler> logger,
     IConfiguration configuration,
     IHttpContextAccessor httpContextAccessor,
     IPatientService patientService,
     IResourceDelegateDelegate resourceDelegateDelegate)
     : base(logger, httpContextAccessor)
 {
     this.logger = logger;
     this.resourceDelegateDelegate = resourceDelegateDelegate;
     this.patientService           = patientService;
     this.maxDependentAge          = configuration.GetSection("Authorization").GetValue <int?>("MaxDependentAge");
 }
Exemple #20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestMedicationStatementService"/> class.
 /// </summary>
 /// <param name="logger">Injected Logger Provider.</param>
 /// <param name="httpAccessor">The injected http context accessor provider.</param>
 /// <param name="patientService">The injected patient registry provider.</param>
 /// <param name="drugLookupDelegate">Injected drug lookup delegate.</param>
 /// <param name="medicationStatementDelegate">Injected medication statement delegate.</param>
 public RestMedicationStatementService(
     ILogger <RestMedicationStatementService> logger,
     IHttpContextAccessor httpAccessor,
     IPatientService patientService,
     IDrugLookupDelegate drugLookupDelegate,
     IMedStatementDelegate medicationStatementDelegate)
 {
     this.logger = logger;
     this.httpContextAccessor         = httpAccessor;
     this.patientService              = patientService;
     this.drugLookupDelegate          = drugLookupDelegate;
     this.medicationStatementDelegate = medicationStatementDelegate;
 }
Exemple #21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DependentService"/> class.
 /// </summary>
 /// <param name="logger">Injected Logger Provider.</param>
 /// <param name="userProfileDelegate">The profile delegate to interact with the DB.</param>
 /// <param name="patientService">The injected patient registry provider.</param>
 /// <param name="notificationSettingsService">Notification settings service.</param>
 /// <param name="userDelegateDelegate">The User Delegate delegate to interact with the DB.</param>
 public DependentService(
     ILogger <DependentService> logger,
     IUserProfileDelegate userProfileDelegate,
     IPatientService patientService,
     INotificationSettingsService notificationSettingsService,
     IUserDelegateDelegate userDelegateDelegate)
 {
     this.logger                      = logger;
     this.patientService              = patientService;
     this.userDelegateDelegate        = userDelegateDelegate;
     this.notificationSettingsService = notificationSettingsService;
     this.userProfileDelegate         = userProfileDelegate;
 }
        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 HomeController(IPrescriptionService PrescriptionService,
                       IPatientService PatientService,
                       UserManager <IdentityUser> UserManager,
                       IAppUserService AppUserService,
                       IAppAuthorisationService AppAuthorisationService,
                       IUserOrgRoleService UserOrgRoleService
                       ) : base(UserManager, AppUserService, AppAuthorisationService, UserOrgRoleService)
 {
     _prescriptionService = PrescriptionService;
     _patientService      = PatientService;
     //_appUserService = AppUserService;
     //_userManager = UserManager;
     //_appAuthorisationService = AppAuthorisationService;
 }
Exemple #24
0
 public FormHandler(IPatientService patientService,
                    IWorkFlowService workflowService,
                    IRepositoryInt <DatasetElement> datasetElementRepository,
                    IRepositoryInt <FieldType> fieldTypeRepository,
                    ITypeExtensionHandler modelExtensionBuilder,
                    IUnitOfWorkInt unitOfWork)
 {
     _patientService           = patientService ?? throw new ArgumentNullException(nameof(patientService));
     _workflowService          = workflowService ?? throw new ArgumentNullException(nameof(workflowService));
     _datasetElementRepository = datasetElementRepository ?? throw new ArgumentNullException(nameof(datasetElementRepository));
     _fieldTypeRepository      = fieldTypeRepository ?? throw new ArgumentNullException(nameof(fieldTypeRepository));
     _modelExtensionBuilder    = modelExtensionBuilder ?? throw new ArgumentNullException(nameof(modelExtensionBuilder));
     _unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
 }
Exemple #25
0
 public MenuHandler
 (
     IMedicineService medicines,
     IDoctorService doctors,
     IPatientService patients,
     IReportService reports
 )
 {
     menuBuilder    = new MenuBuilder();
     this.medicines = medicines;
     this.doctors   = doctors;
     this.patients  = patients;
     this.reports   = reports;
 }
Exemple #26
0
 public AppointmentController(IClinicService clinicService,
                              //IRepository<DentHubUser> userRepository,
                              UserManager <DentHubUser> userManager,
                              IAppointmentService appointmentService,
                              IDentistService dentistService,
                              IPatientService patientService)
 {
     this._userManager   = userManager;
     this._clinicService = clinicService;
     //this._userRepository = userRepository;
     this._appointmentService = appointmentService;
     this._dentistService     = dentistService;
     this._patientService     = patientService;
 }
        public PatientController(IPatientService patientService, ILogger<PatientController> logger,  IConfiguration configuration)
        : base (logger)
        {
            _patientService = patientService;
            _logger = logger;
            _configuration = configuration;

            settings = new JsonSerializerSettings
            {
                ContractResolver = new PrivateSetterContractResolver(),
                NullValueHandling = NullValueHandling.Ignore,
                MissingMemberHandling = MissingMemberHandling.Ignore
            };            
        }
Exemple #28
0
 public PatientController(IPatientService patientService,
                          PatientLocalization patientLocalization,
                          MedicDataLocalization medicDataLocalization,
                          ICacheable medicCache,
                          IMedicLoggerService medicLoggerService,
                          IToEHRConverter toEHRConverter,
                          IFormattableFactory formattableFactory)
     : base(patientService, medicCache, medicDataLocalization)
 {
     PatientLocalization = patientLocalization ?? throw new ArgumentNullException(nameof(patientLocalization));
     MedicLoggerService  = medicLoggerService ?? throw new ArgumentNullException(nameof(medicLoggerService));
     ToEHRConverter      = toEHRConverter ?? throw new ArgumentNullException(nameof(toEHRConverter));
     FormattableFactory  = formattableFactory ?? throw new ArgumentNullException(nameof(formattableFactory));
 }
 public PatientController(IGPService GPService, IWardService ward, IPatientService patientService,
                         IPatientDailyDiaryService patientDailyDiaryService, ICarePlanService carePlan,
                         IPatientVitalSignService patientVital, IAssesmentQuestionService assesment,
                         IPatientAppointmentService appointment)
 {
     this._GPService = GPService;
     this._ward = ward;
     this._patientService = patientService;
     this._patientDailyDiaryService = patientDailyDiaryService;
     this._carePlan = carePlan;
     _patientVital = patientVital;
     _assesment = assesment;
     _appointment = appointment;
 }
Exemple #30
0
        public HandlerTests()
        {
            _patient = new PatientDto()
            {
                Id = 99
            };
            var list = new List <PatientDto> {
                _patient
            };

            _patientService = Substitute.For <IPatientService>();
            _patientService.GetPatient().Returns(list);
            _patientService.GetPatient(Arg.Any <int>()).Returns(_patient);
        }
Exemple #31
0
 public DentistController(UserManager <DentHubUser> userManager,
                          IDentistService dentistService,
                          IPatientService patientService,
                          IAppointmentService appointmentService,
                          IRatingService ratingService,
                          IClinicService clinicService)
 {
     this._userManager        = userManager;
     this._dentistService     = dentistService;
     this._patientService     = patientService;
     this._appointmentService = appointmentService;
     this._ratingService      = ratingService;
     this._clinicService      = clinicService;
 }
Exemple #32
0
 public AppointmentService(
     IUnitOfWork unitOfWork,
     IMongoUnitOfWork mongoUnitOfWork,
     IDoctorService doctorService,
     IPatientService patientService,
     IUsersService usersService
     )
 {
     _unitOfWork      = unitOfWork;
     _mongounitOfWork = mongoUnitOfWork;
     _doctorService   = doctorService;
     _patientService  = patientService;
     _usersService    = usersService;
 }
Exemple #33
0
 public BaseViewModel()
 {
     patientService             = new PatientService();
     mdtService                 = new MDTService();
     dentalProceduresService    = new DentalProceduresService();
     procedureCellService       = new ProcedureCellService();
     proceduresTableService     = new ProceduresTableService();
     dentistAppointmentsService = new DentistAppointmentService();
     doctorService              = new DoctorService();
     activityService            = new ActivityService();
     reminderService            = new ReminderService();
     videoService               = new VideoService();
     diseaseService             = new DiseaseService();
     diagnoseService            = new DiagnoseService();
 }
Exemple #34
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DependentService"/> class.
 /// </summary>
 /// <param name="logger">Injected Logger Provider.</param>
 /// <param name="userProfileDelegate">The profile delegate to interact with the DB.</param>
 /// <param name="patientService">The injected patient registry provider.</param>
 /// <param name="notificationSettingsService">Notification settings service.</param>
 /// <param name="resourceDelegateDelegate">The ResourceDelegate delegate to interact with the DB.</param>
 /// <param name="configuration">The configuration service.</param>
 public DependentService(
     ILogger <DependentService> logger,
     IUserProfileDelegate userProfileDelegate,
     IPatientService patientService,
     INotificationSettingsService notificationSettingsService,
     IResourceDelegateDelegate resourceDelegateDelegate,
     IConfigurationService configuration)
 {
     this.logger                      = logger;
     this.patientService              = patientService;
     this.resourceDelegateDelegate    = resourceDelegateDelegate;
     this.notificationSettingsService = notificationSettingsService;
     this.userProfileDelegate         = userProfileDelegate;
     this.configurationService        = configuration;
 }
Exemple #35
0
 public PlannedController(IPlannedService plannedService,
                          IPatientService patientService,
                          IHealthRegionService healthRegionService,
                          MedicDataLocalization medicDataLocalization,
                          ICacheable medicCache,
                          IMedicLoggerService medicLoggerService,
                          IToEHRConverter toEHRConverter,
                          IFormattableFactory formattableFactory)
     : base(patientService, healthRegionService, medicCache, medicDataLocalization)
 {
     PlannedService     = plannedService ?? throw new ArgumentNullException(nameof(plannedService));
     MedicLoggerService = medicLoggerService ?? throw new ArgumentNullException(nameof(medicLoggerService));
     ToEHRConverter     = toEHRConverter ?? throw new ArgumentNullException(nameof(toEHRConverter));
     FormattableFactory = formattableFactory ?? throw new ArgumentNullException(nameof(formattableFactory));
 }
 public BookingController(IServiceSupplyService serviceSupplyService,
                          IWorkContext workContext,
                          IServicesService servicesService,
                          IPatientService patientService,
                          IAppointmentsManager appointmentsManager,
                          IIPAsManager iPAsManager,
                          IDoctorServiceManager doctorServiceManager) : base(workContext)
 {
     _serviceSupplyService = serviceSupplyService;
     _healthServiceService = servicesService;
     _patientService       = patientService;
     _doctorServiceManager = doctorServiceManager;
     _appointmentsManager  = appointmentsManager;
     _iPAsManager          = iPAsManager;
 }
 public PatientsController(
     IDonorService donorService,
     UserManager <ApplicationUser> userManager,
     IDonorsPatientsService donorsPatientsService,
     ICloudinaryService cloudinaryService,
     IPatientService patientService,
     IEmailSender emailSender)
 {
     this.donorService          = donorService;
     this.userManager           = userManager;
     this.donorsPatientsService = donorsPatientsService;
     this.cloudinaryService     = cloudinaryService;
     this.patientService        = patientService;
     this.emailSender           = emailSender;
 }
Exemple #38
0
        public HomeController(UserManager <ApplicationUser> userManager,
                              IMapper mapper,
                              IVisitService visitService,
                              IDoctorService doctorService,
                              ISpecializationService specializationService,
                              IPatientService patientService)
        {
            _visitService          = visitService;
            _doctorService         = doctorService;
            _specializationService = specializationService;
            _patientService        = patientService;
            _mapper = mapper;

            _userManager = userManager;
        }
Exemple #39
0
 public VerifiableCredentialService(
     ApiDbContext context,
     IHttpContextAccessor httpContext,
     IMapper mapper,
     IVerifiableCredentialClient verifiableCredentialClient,
     IImmunizationClient immunizationClient,
     IPatientService patientService,
     ILogger <VerifiableCredentialService> logger)
     : base(context, httpContext)
 {
     _mapper = mapper;
     _verifiableCredentialClient = verifiableCredentialClient;
     _immunizationClient         = immunizationClient;
     _logger = logger;
 }
Exemple #40
0
 public PatientController(
     IAccountService accountService,
     IIlnessService ilnessService,
     IDeviceService deviceService,
     IMapper mapper,
     IApplicationUser applicationUser,
     IPatientService patientService)
 {
     _accountService  = accountService;
     _ilnessService   = ilnessService;
     _deviceService   = deviceService;
     _mapper          = mapper;
     _applicationUser = applicationUser;
     _patientService  = patientService;
 }
Exemple #41
0
        //private readonly ICacheService _cacheService;
        //private readonly IUserOrgRoleService _userOrgRoleService;
        //private readonly IAppAuthorisationService _appAuthorisationService;
        //public readonly UserManager<IdentityUser> _userManager;
        //private readonly ApplicationUser _userManager;

        //public AppUserController(IUserClaimsPrincipalFactory<ApplicationUser> UserClaimsPrincipalFactory

        public AppUserController(IPatientService PatientService,
                                 UserManager <IdentityUser> UserManager,
                                 IAppUserService AppUserService,
                                 IAppAuthorisationService AppAuthorisationService,
                                 IUserOrgRoleService UserOrgRoleService
                                 ) : base(UserManager, AppUserService, AppAuthorisationService, UserOrgRoleService)
        {
            //_userClaimsPrincipalFactory = UserClaimsPrincipalFactory;
            //_applicationUserClaimsPrincipalFactory = UserClaimsPrincipalFactory;
            _patientService = PatientService;
            //_userOrgRoleService = UserOrgRoleService;
            //_cacheService = cacheService;
            //_appAuthorisationService = AppAuthorisationService;
            //_userManager = UserManager;
        }
        // Constructors
        #region Constructors

        public ReservationDetailsViewModel(
            int reservationId,
            IReservationService reservationService,
            IPatientService patientService)
        {
            _reservationId      = reservationId;
            _reservationService = reservationService;
            PatientPicker       = new PatientPickerViewModel(patientService);

            PatientPicker.SelectedPatientChanged += PatientPicker_SelectedPatientChanged;

            CloseCommand             = new RelayCommand((obj) => DetailsClosed?.Invoke());
            SubmitReservationCommand = new AsyncRelayCommand(SubmitReservation, CanSubmitReservation, (ex) => throw ex);

            LoadReservation();
        }
        public void Initialize()
        {
            _data = new Mock <PatientTestingDataContext>();
            _data.SetupGet(i => i.Images).Returns(mockImages);
            _data.SetupGet(a => a.Appointments).Returns(mockAppointments);
            _data.SetupGet(p => p.Patients).Returns(mockPatients);

            var config = new MapperConfiguration(cfg =>
            {
                cfg.CreateMap <PatientInfo, PatientView>();
            });
            IMapper mapper = config.CreateMapper();

            _mapper  = mapper;
            _service = new PatientInfoService(_data.Object, mapper);
        }
Exemple #44
0
        public void SetUp()
        {
            //Initialize database context
            _dataContext = new DataContext();
            _dataContext.Database.Initialize(true);

            //Initialize support services
            _cnsExplorationService  = new CnsExplorationService(_dataContext);
            _analysisService        = new AnalysisService(_dataContext);
            _nbrSurveillanceService = new NbrSurveillanceService(_dataContext, _cnsExplorationService, _analysisService);
            _hypothermiaService     = new HypothermiaService(_dataContext, _cnsExplorationService, _analysisService);
            _monitoringService      = new MonitoringService(_dataContext);

            //Initialize service
            _patientService = new PatientService(_dataContext, _nbrSurveillanceService, _hypothermiaService);
        }
        public ActionResult All(int id = 1)
        {
            var doctorId = this.User.Identity.GetUserId();

            var search = this.Request.QueryString["search"];
            var page = id;
            var allItemsCount = this.patients.GetAllByDoctorId(doctorId)
                .Count();

            var totalPages = (int)Math.Ceiling(allItemsCount / (decimal)ItemsPerPage);
            var skip = (page - 1) * ItemsPerPage;

            //this.patients.GetAllByDoctorId(doctorId).To<PatientViewModel>().ToList();

            List<PatientViewModel> patients;
            if (search != null)
            {

                patients = this.patients
                  .GetAllByDoctorId(doctorId)
                   .Where(x => x.SSN.Contains(search))
                   .To<PatientViewModel>()
                   .ToList();
            }
            else
            {
                patients = this.patients
                   .GetAllByDoctorId(doctorId)
                   .OrderBy(x => x.Id)
                   .Skip(skip)
                   .Take(ItemsPerPage)
                   .To<PatientViewModel>()
                   .ToList();
            }

            var resultModel = new PagingPatientViewModel
            {
                CurrentPage = page,
                TotalPages = totalPages,
                Patients = patients
            };


            return this.View(resultModel);
        }
 public HomeController(IPatientService patients)
 {
     this.patients = patients;
 }
 public HomeController(IPatientService patientService, IUnitOfWork unitOfWork)
 {
     _patientService = patientService;
     _unitOfWork = unitOfWork;
 }
 public PatientsController(IPatientService patients, IDocumentsService documents)
 {
     this.patients = patients;
     this.documents = documents;
 }
 public RecommendationController(IRecommendationService recommendationService, IPatientService patientService)
 {
     _recommendationService = recommendationService;
     _patientService = patientService;
 }
 public PatientController(IPatientService patientService)
 {
     _patientService = patientService;
 }
Exemple #51
0
 public ConsultationController(IConversationService conversationService, IPatientService patientService)
 {
     _conversationService = conversationService;
     _patientService = patientService;
 }
Exemple #52
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="patientDataService">Service object for accessing patient data database functions.</param>
 /// <param name="zephyrAccelService">Service object for accessing Zephyr Accelerometer database functions.</param>
 /// <param name="breathingService">Service object for accessing Zephyr Breathing Waveform database functions.</param>
 /// <param name="ecgService">Service object for accessing Zephyr ECG Waveform database functions.</param>
 /// <param name="eventDataService">Service object for accessing Zephyr Event Data database functions.</param>
 /// <param name="summaryService">Service object for accessing Zephyr Summary database functions.</param>
 /// <param name="brRrService">Service object for accessing Zephyr BR RR database functions.</param>
 /// <param name="patientService">Service object for accessing patient database functions.</param>
 /// <param name="basisPeakService">Service object for accessing basis peak summary database functions.</param>
 /// <param name="msBandAccelService">Service object for accessing Microsoft Band Accelerometer database functions.</param>
 /// <param name="msBandCaloriesService">Service object for accessing Microsoft Band Calories database functions.</param>
 /// <param name="msBandDistanceService">Service object for accessing Microsoft Band Distance database functions.</param>
 /// <param name="msBandGyroscopeService">Service object for accessing Microsoft Band Gyroscope database functions.</param>
 /// <param name="msBandHeartRateService">Service object for accessing Microsoft Band Heart Rate database functions.</param>
 /// <param name="msBandPedometerService">Service object for accessing Microsoft Band Pedometer database functions.</param>
 /// <param name="msBandTemperatureService">Service object for accessing Microsoft Band Temperature database functions.</param>
 /// <param name="msBandUVService">Service object for accessing Microsoft Band UV database functions.</param>
 /// <param name="physicianService">Service object for accessing physician database functions.</param>
 public ExportController(IPatientDataService patientDataService, IZephyrAccelService zephyrAccelService,
                             IZephyrBreathingService breathingService, IZephyrECGService ecgService,
                             IZephyrEventDataService eventDataService, IZephyrSummaryService summaryService,
                             IZephyrBrRrService brRrService, IPatientService patientService, 
                             IBasisPeakSummaryService basisPeakService, IMSBandAccelService msBandAccelService,
                             IMSBandCaloriesService msBandCaloriesService, IMSBandDistanceService msBandDistanceService,
                             IMSBandGyroscopeService msBandGyroscopeService, IMSBandHeartRateService msBandHeartRateService,
                             IMSBandPedometerService msBandPedometerService, IMSBandTemperatureService msBandTemperatureService,
                             IMSBandUVService msBandUVService, IPhysicianService physicianService)
 {
     _patientDataService = patientDataService;
     _zephyrAccelService = zephyrAccelService;
     _breathingService = breathingService;
     _ecgService = ecgService;
     _eventDataService = eventDataService;
     _summaryService = summaryService;
     _brRrService = brRrService;
     _patientService = patientService;
     _basisPeakService = basisPeakService;
     _msBandAccelService = msBandAccelService;
     _msBandCaloriesService = msBandCaloriesService;
     _msBandDistanceService = msBandDistanceService;
     _msBandGyroscopeService = msBandGyroscopeService;
     _msBandHeartRateService = msBandHeartRateService;
     _msBandPedometerService = msBandPedometerService;
     _msBandTemperatureService = msBandTemperatureService;
     _msBandUVService = msBandUVService;
     _physicianService = physicianService;
 }
 public PatientController(IPatientService _patientService)
 {
     patientService = _patientService;
 }
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="patientDataService">Service object for accessing patient data database functions.</param>
 /// <param name="zephyrAccelService">Service object for accessing Zephyr Accelerometer database functions.</param>
 /// <param name="zephyrBreathingService">Service object for accessing Zephyr Breathing Waveform database functions.</param>
 /// <param name="zephyrEcgService">Service object for accessing Zephyr ECG Waveform database functions.</param>
 /// <param name="eventDataService">Service object for accessing Zephyr Event Data database functions.</param>
 /// <param name="summaryService">Service object for accessing Zephyr Summary database functions.</param>
 /// <param name="brRrService">Service object for accessing Zephyr BR RR database functions.</param>
 /// <param name="patientService">Service object for accessing patient database functions.</param>
 /// <param name="basisPeakService">Service object for accessing basis peak summary database functions.</param>
 /// <param name="msBandHeartRateService">Service object for accessing Microsoft Band Heart Rate database functions.</param>
 /// <param name="medicalDeviceService">Service for accessing medical devices.</param>
 public PatientDataController(IPatientDataService patientDataService, IZephyrAccelService zephyrAccelService,
                             IZephyrBreathingService zephyrBreathingService, IZephyrECGService zephyrEcgService,
                             IZephyrEventDataService eventDataService, IZephyrSummaryService summaryService,
                             IZephyrBrRrService brRrService, IPatientService patientService, IBasisPeakSummaryService basisPeakService,
                             IMSBandHeartRateService msBandHeartRateService, IMedicalDeviceService medicalDeviceService)
 {
     _patientDataService = patientDataService;
     _zephyrAccelService = zephyrAccelService;
     _zephyrBreathingService = zephyrBreathingService;
     _zephyrEcgService = zephyrEcgService;
     _eventDataService = eventDataService;
     _summaryService = summaryService;
     _brRrService = brRrService;
     _patientService = patientService;
     _basisPeakService = basisPeakService;
     _msBandHeartRateService = msBandHeartRateService;
     _medicalDeviceService = medicalDeviceService;
 }
Exemple #55
0
 public PatientController(IRecommendationService recommendationService, IConversationService conversationService, IPatientService patientService)
 {
     _recommendationService = recommendationService;
     _conversationService = conversationService;
     _patientService = patientService;
 }
Exemple #56
0
 public PatientController(IPatientService patientService, IMasterService masterService)
 {
     _patientService = patientService;
     _masterService = masterService;
 }
Exemple #57
0
 public ExperimentController(IExperimentAdminService expAdminService, IExperimentService expService, IPatientService patientService,
                             IZephyrAccelService zephyrAccelService, IZephyrBreathingService zephyrBreathingService, IZephyrECGService zephyrEcgService,
                             IZephyrEventDataService eventDataService, IZephyrSummaryService summaryService,
                             IZephyrBrRrService brRrService, IBasisPeakSummaryService basisPeakService,
                             IMSBandHeartRateService msBandHeartRateService, IPatientDataService patientDataService)
 {
     _experimentAdminService = expAdminService;
     _experimentService = expService;
     _patientService = patientService;
     _patientDataService = patientDataService;
     _zephyrAccelService = zephyrAccelService;
     _zephyrBreathingService = zephyrBreathingService;
     _zephyrEcgService = zephyrEcgService;
     _eventDataService = eventDataService;
     _summaryService = summaryService;
     _brRrService = brRrService;
     _patientService = patientService;
     _basisPeakService = basisPeakService;
     _msBandHeartRateService = msBandHeartRateService;
 }
Exemple #58
0
 public ConversationController(IConversationService conversationService, IPaymentHistoryService paymentService, IPatientService patientService)
 {
     _conversationService = conversationService;
     _paymentService = paymentService;
     _patientService = patientService;
 }
 public AccountController(IPatientService service)
 {
     this.patientService = service;
 }