public ChangePasswordPage(StartPatientWindow spw, PatientMedicalRecordPage pmrp)
 {
     parentp  = spw;
     pparent  = pmrp;
     _patient = spw.Patient;
     InitializeComponent();
 }
 public MedicalRecordPage(StartPatientWindow p, PatientMedicalRecordPage pmrp)
 {
     pp       = p;
     parentp  = pmrp;
     _patient = pp.Patient;
     InitializeComponent();
     LoadData();
 }
 public PatientExamineAnamnesesPage(StartPatientWindow pp, PatientMedicalRecordPage pkp)
 {
     parent           = pp;
     _loggedInPatient = pp.Patient;
     karton           = pkp;
     InitializeComponent();
     this.DataContext        = this;
     addNoteButton.IsEnabled = false;
     FillTable();
 }
 public AddingNotesPage(StartPatientWindow pp, PatientMedicalRecordPage pkp, Anamnesis selected)
 {
     _isPressedReminderButton = false;
     _newNote           = new Note();
     _selectedAnamnesis = selected;
     _medicalRecord     = pkp;
     _pparent           = pp;
     InitializeComponent();
     _elementsInComboBox = new List <String>();
     BlackOutDates();
     endDatePicker.IsEnabled     = false;
     endMomentComboBox.IsEnabled = false;
     UpdateVisibilityOfComponents();
     FillStartMomentComboBox();
     addNote.IsEnabled = false;
 }
Beispiel #5
0
 public ShowNotePage(PatientMedicalRecordPage pkp, Anamnesis selected)
 {
     InitializeComponent();
     DataContext = new ShowNoteViewModel(pkp, selected);
 }