public HospitalProtocolsController()
 {
     _ealertFacilitiesService = new EAlertFacilitiesService();
     _lookUpService           = new LookupService();
     _Protocols                = new HospitalprotocolServices();
     _facilityService          = new FacilityService();
     _facilityPhysicianService = new FacilityPhysicianService();
 }
예제 #2
0
 public FacilityController()
 {
     _lookUpService           = new LookupService();
     _facilityService         = new FacilityService();
     _facilityContractService = new FacilityContractService();
     _uCLService               = new UCLService();
     _OnBoardedServices        = new OnBoardedServices();
     _facilityPhysicianService = new FacilityPhysicianService();
 }
 public LookupController()
 {
     _lookupService           = new LookupService();
     _physicianService        = new FacilityPhysicianService();
     _physicianStatusService  = new PhysicianStatusService();
     _uCLService              = new UCLService();
     _casCancelledTypeService = new CasCancelledTypeService();
     _adminService            = new AdminService();
 }
 public PhysicianView()
 {
     InitializeComponent();
     _physicianService          = new PhysicianService(new MVCHContext());
     _physicianListViewModel    = new PhysicianListViewModel(_physicianService);
     _specialtyService          = new SpecialtyService(new MVCHContext());
     _facilityService           = new FacilityService(new MVCHContext());
     _physicianSpecialtyService = new PhysicianSpecialtyService(new MVCHContext());
     _facilityPhysicianService  = new FacilityPhysicianService(new MVCHContext());
     DataContext = _physicianListViewModel;
 }
예제 #5
0
 public MockCaseController() : base()
 {
     _mockCaseService          = new MockCaseService();
     _contactService           = new ContactService();
     _uclService               = new UCLService();
     _lookUpService            = new LookupService();
     _adminService             = new AdminService();
     _entityNotesService       = new EntityNoteService();
     _facilityPhysicianService = new FacilityPhysicianService();
     _facilityService          = new FacilityService();
 }
예제 #6
0
 public UserProfileController()
 {
     _adminService              = new AdminService();
     _physicianService          = new PhysicianService();
     _physicianStatus           = new PhysicianStatusService();
     _physicianStatusLogService = new PhysicianStatusLogService();
     _userLogService            = new AspNetUsersLogService();
     _physicianLicenseService   = new PhysicianLicenseService();
     _facilityPhysicianService  = new FacilityPhysicianService();
     _UserProfileService        = new UserProfileServices();
 }
        public FacilityGridView()
        {
            InitializeComponent();
            _facilityService          = new FacilityService(new MVCHContext());
            _facilityListViewModel    = new FacilityListViewModel(_facilityService);
            _physicianService         = new PhysicianService(new MVCHContext());
            _facilityPhysicianService = new FacilityPhysicianService(new MVCHContext());


            DataContext = _facilityListViewModel;
        }
 public AddFacilityView(FacilityListViewModel facilityListViewModel,
                        FacilityService facilityService,
                        PhysicianService physicianService,
                        FacilityPhysicianService facilityPhysicianService)
 {
     _toAddFacility = new AddFacilityViewModel(facilityListViewModel,
                                               facilityService,
                                               physicianService,
                                               facilityPhysicianService);
     DataContext = _toAddFacility;
     InitializeComponent();
 }
예제 #9
0
        public AddFacilityViewModel(FacilityListViewModel facilityListViewModel,
                                    FacilityService facilityService,
                                    PhysicianService physicianService,
                                    FacilityPhysicianService facilityPhysicianService)
        {
            _facilityListViewModel    = facilityListViewModel;
            _facilityService          = facilityService;
            _physicianService         = physicianService;
            _facilityPhysicianService = facilityPhysicianService;

            Physicians = new ObservableCollection <Physician>(_physicianService.GetPhysicians());
        }
 public AddPhysicianView(PhysicianListViewModel physicianListViewModel,
                         PhysicianService physicianService,
                         PhysicianSpecialtyService physicianSpecialtyService,
                         SpecialtyService specialtyService,
                         FacilityService facilityService,
                         FacilityPhysicianService facilityPhysicianService)
 {
     InitializeComponent();
     _toAddPhysician = new AddPhysicianViewModel(physicianListViewModel,
                                                 physicianService,
                                                 facilityService,
                                                 specialtyService,
                                                 physicianSpecialtyService,
                                                 facilityPhysicianService);
     DataContext = _toAddPhysician;
 }
        public AddPhysicianViewModel(PhysicianListViewModel physicianListViewModel,
                                     PhysicianService physicianService,
                                     FacilityService facilityService,
                                     SpecialtyService specialtyService,
                                     PhysicianSpecialtyService physicianSpecialtyService,
                                     FacilityPhysicianService facilityPhysicianService)
        {
            _physicianListViewModel    = physicianListViewModel;
            _physicianService          = physicianService;
            _facilityService           = facilityService;
            _specialtyService          = specialtyService;
            _physicianSpecialtyService = physicianSpecialtyService;
            _facilityPhysicianService  = facilityPhysicianService;

            Specialties         = new ObservableCollection <Specialty>(_specialtyService.GetSpecialties());
            Facilities          = new ObservableCollection <Facility>(_facilityService.GetFacilities());
            SelectedSpecialties = new ObservableCollection <Specialty>();
            SelectedFacilities  = new ObservableCollection <Facility>();
        }
예제 #12
0
        public void AddFacilityPhysicianTest()
        {
            var serv = new FacilityPhysicianService(new MVCHContext());

            serv.AddFacilityPhysician(new FacilityPhysician
            {
                PhysicianId  = "PER-000020",
                FacilityId   = "FAC-000001",
                DateAssigned = DateTime.Now
            });
            serv.AddFacilityPhysician(new FacilityPhysician
            {
                PhysicianId  = "PER-000019",
                FacilityId   = "FAC-000002",
                DateAssigned = DateTime.Now
            });
            serv.AddFacilityPhysician(new FacilityPhysician
            {
                PhysicianId  = "PER-000018",
                FacilityId   = "FAC-000003",
                DateAssigned = DateTime.Now
            });
            serv.AddFacilityPhysician(new FacilityPhysician
            {
                PhysicianId  = "PER-000017",
                FacilityId   = "FAC-000004",
                DateAssigned = DateTime.Now
            });
            serv.AddFacilityPhysician(new FacilityPhysician
            {
                PhysicianId  = "PER-000016",
                FacilityId   = "FAC-000005",
                DateAssigned = DateTime.Now
            });
            serv.AddFacilityPhysician(new FacilityPhysician
            {
                PhysicianId  = "PER-000015",
                FacilityId   = "FAC-000006",
                DateAssigned = DateTime.Now
            });
            serv.AddFacilityPhysician(new FacilityPhysician
            {
                PhysicianId  = "PER-000014",
                FacilityId   = "FAC-000007",
                DateAssigned = DateTime.Now
            });
            serv.AddFacilityPhysician(new FacilityPhysician
            {
                PhysicianId  = "PER-000013",
                FacilityId   = "FAC-000008",
                DateAssigned = DateTime.Now
            });
            serv.AddFacilityPhysician(new FacilityPhysician
            {
                PhysicianId  = "PER-000012",
                FacilityId   = "FAC-000009",
                DateAssigned = DateTime.Now
            });
            serv.AddFacilityPhysician(new FacilityPhysician
            {
                PhysicianId  = "PER-000011",
                FacilityId   = "FAC-000010",
                DateAssigned = DateTime.Now
            });
        }
 public FacilityPhysicianController()
 {
     _facilityPhysicianService = new FacilityPhysicianService();
     _LookupService            = new LookupService();
 }