2023-04-05 00:33:37 +04:00
|
|
|
|
using HospitalDataModels.Models;
|
|
|
|
|
using System;
|
2023-04-04 09:51:08 +04:00
|
|
|
|
using System.Collections.Generic;
|
2023-04-05 00:33:37 +04:00
|
|
|
|
using System.ComponentModel;
|
2023-04-04 09:51:08 +04:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace HospitalContracts.ViewModels
|
|
|
|
|
{
|
2023-04-05 00:33:37 +04:00
|
|
|
|
public class RecipesViewModel: IRecipesModel
|
2023-04-04 09:51:08 +04:00
|
|
|
|
{
|
2023-04-05 00:33:37 +04:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
[DisplayName("Доза")]
|
|
|
|
|
public string Dose { get; set; }
|
|
|
|
|
[DisplayName("Дата выписки")]
|
|
|
|
|
public DateTime Date { get; set; }
|
|
|
|
|
[DisplayName("Способ приготовления")]
|
|
|
|
|
public string ModeOfApplication { get; set; }
|
2023-04-05 09:49:33 +04:00
|
|
|
|
[DisplayName("Лекарство")]
|
|
|
|
|
public int MedicinesId { get; set; }
|
|
|
|
|
[DisplayName("Симптом")]
|
2023-04-05 23:24:58 +04:00
|
|
|
|
public Dictionary<int, (ISymptomsModel, int)> RecipeSymptoms
|
2023-04-05 00:33:37 +04:00
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
} = new();
|
2023-04-05 09:49:33 +04:00
|
|
|
|
[DisplayName("Процедура")]
|
2023-04-05 23:24:58 +04:00
|
|
|
|
public Dictionary<int, (IProceduresModel, int)> RecipeProcedures
|
2023-04-05 00:33:37 +04:00
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
} = new();
|
2023-04-04 09:51:08 +04:00
|
|
|
|
}
|
|
|
|
|
}
|