Exemplo n.º 1
0
 public OpdRecordController(
     IVitalSignsService vitalSignsService,
     IPhysicalExamService physicalExamService,
     IDietService dietService,
     IExerciseService exerciseService,
     ITreatmentService treatmentService,
     IEprService eprService,
     IPatientInfoService patientInfoService,
     IMedicalRecordService medicalRecordService)
 {
     _vitalSignsService    = vitalSignsService;
     _physicalExamService  = physicalExamService;
     _dietService          = dietService;
     _exerciseService      = exerciseService;
     _treatmentService     = treatmentService;
     _eprService           = eprService;
     _patientInfoService   = patientInfoService;
     _medicalRecordService = medicalRecordService;
 }
Exemplo n.º 2
0
        public ReceiptManageViewModel()
        {
            ObjPatientInfoService  = new PatientInfoService();
            ObjRececiptInfoService = new ReceiptInfoService();
            OnclickSearchCommand   = new RelayCommand(OnclickSearchCommend, null);
            OnclickNewCommand      = new RelayCommand(OnclickNewCommend, null);
            OnclickSaveCommand     = new RelayCommand(OnclickSaveCommend, null);
            OnclickModifyCommand   = new RelayCommand(OnclickModifyCommend, null);
            OnclickDeleteCommand   = new RelayCommand(OnclickDeleteCommend, null);

            OnclickReceiptCommand            = new RelayCommand(OnclickReceiptCommend, null);
            OnclickReceiptModifyCommand      = new RelayCommand(OnclickReceiptModifyCommend, null);
            OnclickReceiptReservationCommand = new RelayCommand(OnclickReceiptReservationCommend, null);
            PatientInfo = new PatientInfoModel();
            ReceiptInfo = new ReceiptInfoModel();
            Receipted   = new List <ReceiptInfoModel>();
            ReadOn      = true;
            Comboclick  = false;
            Receipted   = ObjRececiptInfoService.GetList();
        }
 public PatientInfoController(IPatientInfoService PatientInfoService)
 {
     this._patientInfoService = PatientInfoService;
 }