public class LocalClinicalAlert
{
    public Guid Id { get; set; }
    public Guid EncounterId { get; set; }
    public Guid PatientId { get; set; }
    public Guid? ObservationId { get; set; }
    public AlertType AlertType { get; set; }
    public AlertSeverity Severity { get; set; }
    public string Details { get; set; } = null!;
    public string? ObservationCode { get; set; }
    public AlertStatus Status { get; set; } = AlertStatus.Open;
    public DateTimeOffset? AcknowledgedAt { get; set; }
    public string? AcknowledgedBy { get; set; }
    public DateTimeOffset? ResolvedAt { get; set; }
    public DateTimeOffset TriggeredAt { get; set; }
    public Guid ClientAlertId { get; set; }
    public string? ExplanationJson { get; set; }

    public ReplicaEncounter Encounter { get; set; } = null!;
}
