Ejemplo n.º 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;
        }
Ejemplo n.º 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);
        }