переименование логики репортов
This commit is contained in:
parent
b5e9c5c194
commit
13b1baf5cb
@ -47,13 +47,15 @@ namespace HospitalBusinessLogic.BusinessLogics
|
||||
List<string> medicineList = new List<string>();
|
||||
foreach (var recipe in _recipeStorage.GetFilteredList(new RecipeSearchModel {PatientId = patient.Id}))
|
||||
{
|
||||
foreach (var medicine in _medicineStorage.GetFilteredList(new MedicineSearchModel { RecipeId = recipe.Id}))
|
||||
foreach (var medicine in _medicineStorage.GetFilteredList(new MedicineSearchModel { RecipeId = recipe.Id }))
|
||||
{
|
||||
medicineList.Add(new(medicine.Name));
|
||||
}
|
||||
foreach (var disease in _diseaseStorage.GetFilteredList(new DiseaseSearchModel {RecipeId = recipe.Id}))
|
||||
{
|
||||
diseaseList.Add(disease.Name);
|
||||
|
||||
|
||||
foreach (var disease in medicine.MedicineRecipes)
|
||||
{
|
||||
diseaseList.Add(disease.Value.Description);
|
||||
}
|
||||
}
|
||||
}
|
||||
var record = new ReportPatientViewModel
|
Loading…
Reference in New Issue
Block a user