Beispiel #1
0
        public static MedicationEntryViewModel CreateTriggerEntry()
        {
            var dat = new MedicationViewModel { MediType = "StandigeMedikamente" };
            dat.Fields["Verordnetab"] = DateTime.Now.AddDays(-10);

            var mediEntry = new MedicationEntryViewModel
            {
                Medications =
                    new ObservableCollection<MedicationViewModel> { dat }
            };

            return mediEntry;
        }
Beispiel #2
0
        public static MedicationEntryViewModel CreateTriggerEntry()
        {
            var dat = new MedicationViewModel {
                MediType = "StandigeMedikamente"
            };

            dat.Fields["Verordnetab"] = DateTime.Now.AddDays(-10);

            var mediEntry = new MedicationEntryViewModel
            {
                Medications =
                    new ObservableCollection <MedicationViewModel> {
                    dat
                }
            };

            return(mediEntry);
        }