public SamplesWindowViewModel(PatientViewModel patient) { this._patient = patient; this._samplesVM = new SamplesViewModel(); this._allSamples = _samplesVM.AllSamples; this._patientSamples = this.getSamplesByPatientId(patient.PatientID); }
private int _selectedDoctorID; // Has a default value of 0!!!! #endregion Fields #region Constructors public SampleAddViewModel(PatientViewModel patient) { this._patient = patient; _patientName = patient.Name + " " + patient.Surname; this._doctorsVM = new DoctorsViewModel(); this._allDoctors = _doctorsVM.AllDoctors; _labWorker = new LabWorker(); }
public CaseAddPageViewModel(PatientViewModel patient) { this._patient = patient; this._patientName = "" + patient.Name + " " + patient.Surname; this._receptionist = new Receptionist(); }
public WriteEmailViewModel(PatientViewModel patient) { this._patient = patient; this._patientName = patient.Name + " " + patient.Surname; }