Exemple #1
0
 public PatientSearchViewModel(MainWidowViewModel containingVm, Physician physicianUser)
 {
     this.BackCommand       = new BackCommand(this);
     this.containingShellVm = containingVm;
     this.patientM          = new PhysicianShellModel();
     this.PhysicianUser     = physicianUser;
 }
 public void Init(string patientId)
 {
     this.patientId      = patientId;
     physicianShellModel = new PhysicianShellModel(patientId);
     //  patientDetailsVM = new PatientDetailsViewModel(this, patientId);
     // medicalFileVM = new MedicalFileViewModel(this, patientId, PhysicianUser);
     //  addMedicalRecordVM = new AddMedicalRecordViewModel(this, patientId, PhysicianUser);
     //  addReceptVM = new AddReceptViewModel(this, patientId, PhysicianUser);
     // consumptionOfDrugsVM = new ConsumptionOfDrugsViewModel(this, patientId);
     //historicalMedicalRecordsVM = new HistoricalMedicalRecordsViewModel(this, patientId, PhysicianUser);
     IsEnabledActionsMenu = true;
 }
 public PhysicianShellViewModel(MainWidowViewModel containingVm, Physician physicianUser)
 {
     Message = "";
     IsBusy  = false;
     IsDecisionMessageShown   = false;
     DecisionMessage          = "";
     DecisionCommand          = new DecisionCommand(this);
     this.containingVm        = containingVm;
     ScreenReplacementCommand = new ScreenReplacementCommand(this);
     SearchCommand            = new SearchItemCommand(this);
     SignOutCommand           = new BackCommand(this);
     physicianShellModel      = new PhysicianShellModel();
     //patientSearchVM = new PatientSearchViewModel(containingVm, physicianUser);
     this.PhysicianUser   = physicianUser;
     IsEnabledActionsMenu = false;
     CurrentVM            = null;
     //PersonalDetailsTab = patientDetailsVM;
     //AddReceptTab = addReceptVM;
     //AddMedicalRecordTab = addMedicalRecordVM;
     //MedicalFileTab = medicalFileVM;
 }
Exemple #4
0
 public PatientDetailsViewModel(PhysicianShellViewModel viewModel, string patientId)
 {
     containingShellVm   = viewModel;
     physicianShellModel = new PhysicianShellModel(patientId);
 }