示例#1
0
 public PrescriptionController(IPrescriptionServices prescriptionServices, IUnitOfWork unitOfWork, IPatientRecordServices patientRecordServices, IPatientServices patientServices)
 {
     _prescriptionServices  = prescriptionServices;
     _unitOfWork            = unitOfWork;
     _patientRecordServices = patientRecordServices;
     _patientServices       = patientServices;
 }
 public InspectionInformationViewModel(IPatientServices patientServices, IEntityMapper entityMapper)
 {
     _patientServices = patientServices;
     _entityMapper    = entityMapper;
     Patients         = new ObservableCollection <PatientViewModel>();
     RegisterCommand();
 }
示例#3
0
        //private readonly IUserPhysicianService _userPhysicianService;


        public AppointmentController(IAppointmentServices appointmentServices, IPatientServices patientServices, IUnitOfWork unitofwork, IUserPhysicianService userPhysicianService, IPatientRecordServices patientRecordServices)
        {
            _appointmentServices = appointmentServices;
            _patientServices     = patientServices;
            _unitofwork          = unitofwork;
            //_userPhysicianService = userPhysicianService;
            _patientRecordServices = patientRecordServices;
        }
示例#4
0
 public PatientMedicalRecordController(IPatientRecordServices patientrecordservices, IPatientServices patientservices, IUnitOfWork unitOfWork, IPrescriptionServices prescriptionServices, IPhyPrescriptionServices phyPrescriptionServices)
 {
     _patientrecordservices   = patientrecordservices;
     _patientservices         = patientservices;
     _unitOfWork              = unitOfWork;
     _prescriptionServices    = prescriptionServices;
     _phyPrescriptionServices = phyPrescriptionServices;
 }
示例#5
0
 // GET: PatientRecord
 public PatientRecordController(IUnitOfWork unitofwork, IPatientRecordServices patientrecordservices, IPatientServices patientservices, IPrescriptionServices prescriptionServices, IAppointmentServices appointmentservices, IUserPhysicianService userphysicianservices)
 {
     _unitofwork            = unitofwork;
     _patientrecordservices = patientrecordservices;
     _patientservices       = patientservices;
     _prescriptionServices  = prescriptionServices;
     _appointmentservices   = appointmentservices;
     _userphysicianservices = userphysicianservices;
 }
 public PointerService(IOptions <ApiSetting> apiSetting, IDocumentReferenceServices docRefService, IPatientServices patientService, IOrganisationServices organisationServices, IMemoryCache cache, IDocumentsServices docService)
 {
     _apiSetting           = apiSetting.Value;
     _docRefService        = docRefService;
     _patientService       = patientService;
     _organisationServices = organisationServices;
     _cache      = cache;
     _docService = docService;
 }
 public CernerPatientServices(IPatientServices patientServices, IAssignmentServices assignmentServices, IAdmissionServices admissionServices,
                              ICernerAppointmentServices cernerAppointmentService, IUnitOfWork <ChargeCaptureDB> uow, IUserInfo userInfo) : base(uow.GetRepository <CernerPatient>(), userInfo)
 {
     _uow                      = uow;
     _patientServices          = patientServices;
     _assignmentServices       = assignmentServices;
     _admissionServices        = admissionServices;
     _cernerAppointmentService = cernerAppointmentService;
 }
        public void ReInitializeTest()
        {
            _patients          = SetUpPatients();
            _dbpatientContext  = new Mock <PatientContext>().Object;
            _patientRepository = SetUpPatientRepository();
            var unitOfWork = new Mock <IUnitofWork>();

            unitOfWork.SetupGet(s => s.PatientRepository).Returns(_patientRepository);
            _unitOfWork     = unitOfWork.Object;
            _patientService = new PatientServices(_unitOfWork);
        }
 public void DisposeTest()
 {
     _patientService    = null;
     _unitOfWork        = null;
     _patientRepository = null;
     if (_dbpatientContext != null)
     {
         _dbpatientContext.Dispose();
     }
     _patients = null;
 }
 public void DisposeTest()
 {
     _patientService    = null;
     _unitOfWork        = null;
     _patientRepository = null;
     if (_dbEntities != null)
     {
         _dbEntities.Dispose();
     }
     _patients = null;
 }
示例#11
0
 public PatientController(IPatientRepo patientRepo,
                          //IBloodGroupRepo bloodGroupRepo,
                          ITitleRepo titleRepo,
                          IBillingRepository _BillingRepo,
                          IPatientServices ps, EmailConfiguration _config)
 {
     this.patientRepo  = patientRepo;
     this.ps           = ps;
     patientPayorTypes = new DataContextRepo <PatientPayorTypes>();
     patientDB         = new DataContextRepo <Patient>();
     _ctx              = new DataContext();
     _emailHelper      = EmailMessageHelper.instance(_config);
     this._Billingrepo = _BillingRepo;
     //this.bloodGroupRepo = bloodGroupRepo;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="PatientInsuranceController"/> class.
        /// </summary>
        public PatientInsuranceController()
        {
            this.it2Business             = new PatientAddressIt2Manager();
            this.patientInsuranceManager = new PatientInsuranceManager();

            // TODO: This needs a better design. PatientInsuranceManager can't make its own InsuranceManager
            // or even reference once because PatientInsuranceManager is in Eyefinity.Enterprise.Business and
            // InsuranceManager is in Eyefinity.PracticeManagement.Business which already has a dependency
            // on Eyefinity.Enterprise.Business (it would make a circular reference)
            this.patientInsuranceManager.GetMappedVspPlanIdsForOffice = officenum => new InsuranceManager()
                                                                        .SearchManualInsurancePlans("VSP", officenum, null, true)
                                                                        .Select(plan => plan.PlanID);

            this.patientServices = Container.Resolve <IPatientServices>();
        }
示例#13
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PatientDocumentController"/> class.
        /// </summary>
        /// <param name="patientDocumentIt2Manager">
        /// <param name="officeNumber">
        /// The office number.
        /// </param>
        public PatientDocumentController(
            ILookupServices lookupServices,
            IMiscellaneousServices miscellaneousServices,
            IPatientServices patientServices,
            IPatientDocumentServices patientDocumentServices,
            PatientDocumentIt2Manager patientDocumentIt2Manager,
            DocumentIt2Manager documentIt2Manager,
            string officeNumber)
        {
            this.lookupServices            = lookupServices;
            this.miscellaneousServices     = miscellaneousServices;
            this.patientServices           = patientServices;
            this.patientDocumentServices   = patientDocumentServices;
            this.patientDocumentIt2Manager = patientDocumentIt2Manager;

            this.documentManager = documentIt2Manager;
        }
示例#14
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PatientController"/> class.
        /// </summary>
        public PatientDocumentController()
        {
            this.lookupServices          = Container.Resolve <ILookupServices>();
            this.miscellaneousServices   = Container.Resolve <IMiscellaneousServices>();
            this.patientServices         = Container.Resolve <IPatientServices>();
            this.patientDocumentServices = Container.Resolve <IPatientDocumentServices>();

            this.patientDocumentIt2Manager = new PatientDocumentIt2Manager(this.lookupServices, this.miscellaneousServices, this.patientServices, this.patientDocumentServices);
            this.documentManager           = new DocumentIt2Manager();

            if (!this.User.Identity.IsAuthenticated)
            {
                return;
            }

            var authorizationTicketHelper = new AuthorizationTicketHelper();

            this.practiceLocationId = authorizationTicketHelper.GetPracticeLocationId();
        }
示例#15
0
 public PatientController(IPatientServices patientServices)
 {
     _patientService = patientServices;
 }
 public PatientViewService(IPatientServices patientService)
 {
     _patientService = patientService;
 }
示例#17
0
 public PatientController(IPatientServices patientServices, IAppointmentServices appointmentServices, IUnitOfWork unitofwork)
 {
     this._patientServices     = patientServices;
     this._unitofwork          = unitofwork;
     this._appointmentServices = appointmentServices;
 }
 /// <summary>
 /// Public constructor to initialize patient service instance
 /// </summary>
 public PatientDetailsController(IPatientServices patientServices)
 {
     _patientServices = patientServices;
 }
示例#19
0
 public PatientController(IPatientServices PatientServices)
 {
     _PatientServices = PatientServices;
 }
 public PatientsController(IPatientServices patientServices) //, IDatabaseContext dbContext
 {
     _patientServices = patientServices;
     //_patientServices.DbContext = dbContext;
 }
示例#21
0
 public DashboardController(IAppointmentServices appointmentServices, IPatientServices patientServices, IPrescriptionServices prescriptionServices)
 {
     _appointmentServices  = appointmentServices;
     _patientServices      = patientServices;
     _prescriptionServices = prescriptionServices;
 }
 public PatientController(IPatientServices patientServices, IHelperValidationSSN helperValidationSSN)
 {
     _patientServices     = patientServices;
     _helperValidationSSN = helperValidationSSN;
 }
示例#23
0
 public PointerService(IDocumentReferenceServices docRefService, IPatientServices patientService, IOrganisationServices organisationServices)
 {
     _docRefService        = docRefService;
     _patientService       = patientService;
     _organisationServices = organisationServices;
 }
示例#24
0
        //public AppointmentServices()
        //{
        //    _pmisEntities = new PMISEntities();
        //    _phycisianService = new PhycisianServices();
        //    _patientservice = new PatientServices();
        //}

        public AppointmentServices(PMISEntities pmisEntities, IUserPhysicianService userPhysicianService, IPatientServices patientServices1)
        {
            this._pmisEntities    = pmisEntities;
            _userPhysicianService = userPhysicianService;
            _patientServices      = patientServices1;
        }