rama creada apartir de master en j

This commit is contained in:
jrojas
2026-06-26 10:29:23 +02:00
parent 319fd3dfb0
commit c1517fda87
2810 changed files with 1927392 additions and 25392 deletions
@@ -1,17 +1,27 @@
namespace adas_core.Domain.Models;
/// <summary>
/// Represents an alert generated from a patient recording, derived from base patient observation data.
/// </summary>
/// <remarks>
/// Inherits common observation functionality from <see cref="BasePatientObservation"/> and specializes it to surface alert conditions associated with patient recordings.
/// </remarks>
public class PatientRecordingAlert : BasePatientObservation
{
public bool IsRecording { get; set; }
/// <summary>
/// Returns a string representation of the PatientRecordingAlert, including the patient identifier, source name when available, recording status, and time.
/// </summary>
/// <returns>A formatted string representation of the alert's key properties.</returns>
public override string ToString()
{
var items = ToListString();
items.Add($"patientId: {PatientId}");
if (!string.IsNullOrEmpty(Name)) items.Add($"source: {Name}");
items.Add($"isRecording: {IsRecording}");
items.Add($"time: {Time}");
return "PatientRecordingAlert[" + string.Join(", ", items) + "]";
}
{
var items = ToListString();
items.Add($"patientId: {PatientId}");
if (!string.IsNullOrEmpty(Name)) items.Add($"source: {Name}");
items.Add($"isRecording: {IsRecording}");
items.Add($"time: {Time}");
return "PatientRecordingAlert[" + string.Join(", ", items) + "]";
}
}