Class Patient
- Namespace
- adas_core.Domain.Models.MongoModels
- Assembly
- adas-core.Domain.dll
Represents a patient entity, typically used to encapsulate patient-related data and behavior within a healthcare or medical information system.
public class Patient
- Inheritance
-
Patient
- Inherited Members
- Extension Methods
Properties
AccessControl
public OptionList? AccessControl { get; set; }
Property Value
AdmTime
public DateTime? AdmTime { get; set; }
Property Value
Allergies
public List<OptionList>? Allergies { get; set; }
Property Value
Altable
public OptionList? Altable { get; set; }
Property Value
ArchiveDate
public DateTime? ArchiveDate { get; set; }
Property Value
AttendingDoctor
public Person? AttendingDoctor { get; set; }
Property Value
Bed
public string? Bed { get; set; }
Property Value
CreationDate
public DateTime? CreationDate { get; set; }
Property Value
Diagnosis
public OptionList? Diagnosis { get; set; }
Property Value
DiagnosisAux
public string? DiagnosisAux { get; set; }
Property Value
DisTime
public DateTime? DisTime { get; set; }
Property Value
DischargeStatus
public OptionList? DischargeStatus { get; set; }
Property Value
Doctors
public List<OptionList>? Doctors { get; set; }
Property Value
HistoricalLocations
public List<HistoricalLocation>? HistoricalLocations { get; set; }
Property Value
Id
public ObjectId Id { get; set; }
Property Value
- ObjectId
Insulation
public OptionList? Insulation { get; set; }
Property Value
LanguageBarrier
public List<OptionList>? LanguageBarrier { get; set; }
Property Value
LastObservationDate
public DateTime? LastObservationDate { get; set; }
Property Value
Location
public PatientLocation Location { get; set; }
Property Value
Mobility
public OptionList? Mobility { get; set; }
Property Value
Origin
public OptionList? Origin { get; set; }
Property Value
OriginAux
public string? OriginAux { get; set; }
Property Value
PassiveSitting
public OptionList? PassiveSitting { get; set; }
Property Value
PatientId
public string? PatientId { get; set; }
Property Value
PatientNumber
public string? PatientNumber { get; set; }
Property Value
PatientStatus
public OptionList? PatientStatus { get; set; }
Property Value
Person
public Person? Person { get; set; }
Property Value
PointOfCare
public PointOfCare? PointOfCare { get; set; }
Property Value
PointOfCareId
public ObjectId? PointOfCareId { get; set; }
Property Value
- ObjectId?
Procedures
public List<OptionList>? Procedures { get; set; }
Property Value
Room
public string? Room { get; set; }
Property Value
Tests
public List<OptionList>? Tests { get; set; }
Property Value
TherapeuticCeiling
public OptionList? TherapeuticCeiling { get; set; }
Property Value
Treatment
public List<OptionList>? Treatment { get; set; }
Property Value
UnitId
public ObjectId? UnitId { get; set; }
Property Value
- ObjectId?
UnitString
public string? UnitString { get; set; }
Property Value
UpdateDate
public DateTime? UpdateDate { get; set; }
Property Value
Visits
public OptionList? Visits { get; set; }
Property Value
Methods
DeepCopy()
Creates a copy of the current Patient instance by performing a shallow copy.
public Patient DeepCopy()
Returns
IsInActivePoC()
Determines whether the current UnitString represents an inactive Virtual Point of Care by checking that it is not null and is not defined as a value of the VirtualPointOfCare enumeration.
public bool IsInActivePoC()
Returns
- bool
trueifUnitStringis not null and does not match any defined VirtualPointOfCare value; otherwise,false.
ToString()
Returns a human-readable string representation of the person, including the identifier and any available contextual details such as point of care, bed, patient numbers, admission and discharge timestamps, assigned patient, attending doctor, and relevant date metadata. Optional fields are appended to the output only when their values are present (non-null, non-empty, or with a value for nullable types).
public override string ToString()
Returns
- string
A formatted string prefixed with "person[" and containing the included fields joined by commas.