Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
using adas_core.Domain.Models.MongoModels;
|
||||
using adas_core.Domain.Models.Pumps;
|
||||
using MongoDB.Bson;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace adas_core.Domain.Models;
|
||||
|
||||
public class AdmPanelRequest
|
||||
{
|
||||
public string? Type { get; set; }
|
||||
|
||||
public string? PatientNumber { get; set; }
|
||||
|
||||
public Person? Patient { get; set; }
|
||||
|
||||
public string? PatientId { get; set; }
|
||||
|
||||
public string? Id { get; set; }
|
||||
|
||||
public DateTime? AdmTime { get; set; }
|
||||
|
||||
public DateTime? DisTime { get; set; }
|
||||
|
||||
|
||||
public PatientLocation? Location { get; set; }
|
||||
|
||||
public ObjectId? PointOfCareId { get; set; }
|
||||
public ObjectId? UnitId { get; set; }
|
||||
|
||||
// ADT
|
||||
public PatientLocation? OldLocation { get; set; }
|
||||
|
||||
public Person? AttendingDoctor { get; set; }
|
||||
|
||||
public string? OldPatientNumber { get; set; }
|
||||
|
||||
|
||||
// ORU
|
||||
public ObservationData? ObservationData { get; set; }
|
||||
|
||||
public ObservationData? ObsertationData
|
||||
{
|
||||
get => ObservationData;
|
||||
set => ObservationData = value;
|
||||
}
|
||||
|
||||
public List<PatientObservation>? Observations { get; set; }
|
||||
|
||||
public PatientObservation? Observation { get; set; }
|
||||
|
||||
public List<PumpObservation>? PumpObservations { get; set; }
|
||||
|
||||
public PumpObservation? PumpObservation { get; set; }
|
||||
|
||||
|
||||
public string SectionId { get; set; } = string.Empty;
|
||||
|
||||
public string SectionItemGroup { get; set; } = string.Empty;
|
||||
|
||||
public Box? SectionItemBoxUpdated { get; set; }
|
||||
|
||||
public Dictionary<string, object>? SectionItems { get; set; }
|
||||
|
||||
public override string? ToString()
|
||||
{
|
||||
try
|
||||
{
|
||||
return JsonConvert.SerializeObject(this, Formatting.None);
|
||||
}
|
||||
catch
|
||||
{
|
||||
return base.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user