=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===

This commit is contained in:
julian
2026-06-28 02:50:05 -07:00
parent a19fb90902
commit 586f02a2ca
654 changed files with 5260 additions and 0 deletions
@@ -7,6 +7,7 @@ namespace adas_core.Domain.Models.MongoModels;
/// <summary>
/// Represents a patient entity, typically used to encapsulate patient-related data and behavior within a healthcare or medical information system.
/// </summary>
/// <!-- aidoc:v1 sig=902d058 -->
public class Patient
{
public ObjectId Id { get; set; }
@@ -95,6 +96,7 @@ public class Patient
/// for nullable types).
/// </summary>
/// <returns>A formatted string prefixed with "person[" and containing the included fields joined by commas.</returns>
/// <!-- aidoc:v1 sig=d27f326 body=5a5a5f9 -->
public override string ToString()
{
List<string> items = [$"id: {Id}"];
@@ -117,6 +119,7 @@ public class Patient
/// Determines whether the current <see cref="UnitString"/> represents an inactive Virtual Point of Care by checking that it is not null and is not defined as a value of the <see cref="VirtualPointOfCare"/> enumeration.
/// </summary>
/// <returns><c>true</c> if <c>UnitString</c> is not null and does not match any defined <see cref="VirtualPointOfCare"/> value; otherwise, <c>false</c>.</returns>
/// <!-- aidoc:v1 sig=6381760 body=ad5b58c -->
public bool IsInActivePoC()
{
return UnitString != null && !Enum.IsDefined(typeof(VirtualPointOfCare), UnitString);
@@ -126,6 +129,7 @@ public class Patient
/// Creates a copy of the current <see cref="Patient"/> instance by performing a shallow copy.
/// </summary>
/// <returns>A new <see cref="Patient"/> object that is a shallow copy of the current instance.</returns>
/// <!-- aidoc:v1 sig=b9adf0d body=1385083 -->
public Patient DeepCopy()
{
return (Patient)MemberwiseClone();
@@ -182,6 +186,7 @@ public class Patient
/// <summary>
/// Represents data related to a patient's income information.
/// </summary>
/// <!-- aidoc:v1 sig=7574aef -->
public class PatientIncomeData
{
public DateTime? AdmTime { get; set; }