Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
namespace adas_core.Domain.Models;
|
||||
|
||||
public class PatientIcca
|
||||
{
|
||||
public PatientLocation Location { get; set; } = new(string.Empty, string.Empty);
|
||||
|
||||
public string? PatientNumber { get; set; }
|
||||
|
||||
public string? PatientId { get; set; }
|
||||
public DateTime AdmitTime { get; set; }
|
||||
|
||||
|
||||
public PatientIcca DeepCopy()
|
||||
{
|
||||
var other = (PatientIcca)MemberwiseClone();
|
||||
other.Location = new PatientLocation(Location.UnitName, Location.Bed);
|
||||
other.PatientNumber = new string(PatientNumber);
|
||||
other.PatientId = new string(PatientId);
|
||||
other.AdmitTime = AdmitTime;
|
||||
return other;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user