1
0
mirror of https://github.com/SirLecram/HospitalServerManager synced 2025-01-08 21:27:34 +01:00
admissionManager/Model/Basic/Diagnosis.cs
Marcel Grześ 52f1c1e71f Basic function development
All database models has been added;
All basic ViewModels has been added;
2018-12-22 15:52:17 +01:00

26 lines
707 B
C#

using HospitalServerManager.InterfacesAndEnums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HospitalServerManager.Model.Basic
{
class Diagnosis : SqlTable
{
public string Name { get; protected set; }
public SurgeryField FieldOfSurgery { get; protected set; }
public string Description { get; protected set; }
protected Diagnosis() : base() {}
public Diagnosis(List<string> listOfValues)
: base(listOfValues[0], "Symbol_ICD", new List<string>())
{
Name = listOfValues[1];
FieldOfSurgery = listOfValues[2].GetEnumFromDescription<SurgeryField>();
Description = listOfValues[3];
}
}
}