Example #1
0
        public AdmissionController(IAdmissionRepository repository, string catalog, LoginView view)
        {
            this._LoginId  = view.LoginId.To <long>();
            this._UserId   = view.UserId.To <int>();
            this._OfficeId = view.OfficeId.To <int>();
            this._Catalog  = catalog;

            this.AdmissionRepository = repository;
        }
Example #2
0
 public VisitorHandler(
     IVisitorsRepository visitorsRepository,
     IAdmissionRepository admissionRepository,
     ICqrsDispatcher cqrsDispatcher)
 {
     _visitorsRepository  = visitorsRepository;
     _admissionRepository = admissionRepository;
     _cqrsDispatcher      = cqrsDispatcher;
 }
Example #3
0
        public AdmissionController(IAdmissionRepository repository, string catalog, LoginView view)
        {
            this._LoginId = view.LoginId.To<long>();
            this._UserId = view.UserId.To<int>();
            this._OfficeId = view.OfficeId.To<int>();
            this._Catalog = catalog;

            this.AdmissionRepository = repository;
        }
Example #4
0
        public AdditionalDoctorDataService()
        {
            m_patientRepo = new PatientRepository();
            UnityContainer _diContainer = new UnityContainer();

            _diContainer.LoadConfiguration();
            m_admissionRepo = _diContainer.Resolve <Contracts.AdmissionRepository.IAdmissionRepository>();
            m_doctorRepo    = new DoctorRepository();
        }
Example #5
0
 public AdmissionsController(
     IUnitOfWork unitOfWork,
     ILotRepository lotRepository,
     IAdmissionRepository admissionRepository,
     Docs.Api.Repositories.DocRepository.IDocRepository docRepository,
     ILotEventDispatcher lotEventDispatcher)
 {
     this.unitOfWork = unitOfWork;
     this.lotRepository = lotRepository;
     this.admissionRepository = admissionRepository;
     this.docRepository = docRepository;
     this.lotEventDispatcher = lotEventDispatcher;
 }
Example #6
0
        public AdmissionController()
        {
            this._LoginId  = AppUsers.GetCurrent().View.LoginId.To <long>();
            this._UserId   = AppUsers.GetCurrent().View.UserId.To <int>();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.To <int>();
            this._Catalog  = AppUsers.GetCatalog();

            this.AdmissionRepository = new Extems.Admission.DataAccess.Admission
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId  = this._UserId
            };
        }
Example #7
0
        public PatientAdmissionService()
        {
            deviceRepo  = new DeviceRepository();
            patientRepo = new PatientRepository();
            doctorRepo  = new DoctorRepository();
            bedRepo     = new HospitalBedRepository();

            //admissionRepo = new AdmissionRepository(patientRepo, new HospitalBedRepository(), deviceRepo, new CustomDeviceRepository(new DeviceRepository() ) );

            UnityContainer _diContainer = new UnityContainer();

            _diContainer.LoadConfiguration();
            admissionRepo = _diContainer.Resolve <Contracts.AdmissionRepository.IAdmissionRepository>();
        }
Example #8
0
        public AdmissionController()
        {
            this._LoginId = AppUsers.GetCurrent().View.LoginId.To<long>();
            this._UserId = AppUsers.GetCurrent().View.UserId.To<int>();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.To<int>();
            this._Catalog = AppUsers.GetCatalog();

            this.AdmissionRepository = new Extems.Admission.DataAccess.Admission
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId = this._UserId
            };
        }
Example #9
0
 public AdmissionHandler(IAdmissionRepository admissionRepository)
 {
     _admissionRepository = admissionRepository;
 }
Example #10
0
 public ProcessingUnit(IVitalsRepository vitalsRepo, IAlertManager alertManager, IVitalsAlertManager vitalsManager, IAdmissionRepository admissionRepository)
 {
     m_queue            = SharedQueue.Instance;
     m_vitalsRepository = vitalsRepo;
     m_validator        = new VitalsRangeValidator(admissionRepository);
     m_alertManager     = alertManager;
     m_vitalsManager    = vitalsManager;
 }
Example #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AdmissionController"/> class.
 /// </summary>
 /// <param name="admissionRepository">The admission repository.</param>
 public AdmissionController(IAdmissionRepository admissionRepository)
 {
     this.admissionRepository = admissionRepository;
 }
Example #12
0
 public AlertManager(IAdmissionRepository admissionRepo)
 {
     m_admissionRepository = admissionRepo;
 }
 public AdmissionController()
 {
     this._admissionRepository = new AdmissionRepository(new ApplicationDbContext());
 }
Example #14
0
 public NurseMonitoringService()
 {
     m_vitalsRepo    = new VitalsRepository();
     m_admissionRepo = new AdmissionRepository(new PatientRepository(), new HospitalBedRepository(), new DeviceRepository(), new CustomDeviceRepository(new DeviceRepository()));
 }
 public VitalsRangeValidator(IAdmissionRepository admissionRepo)
 {
     repository = admissionRepo;
 }