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,5 +1,8 @@
namespace adas_core.Domain.Models.Providers;
/// <summary>
/// Represents the configuration settings used to manage and configure providers within the application.
/// </summary>
public class ProvidersSettings
{
public string Name { get; set; } = string.Empty;
@@ -1,5 +1,11 @@
namespace adas_core.Domain.Models.Providers;
/// <summary>
/// Represents an abstract base class for result models used to predict medication outcomes based on the ADAS (Alzheimer's Disease Assessment Scale).
/// </summary>
/// <remarks>
/// This class is intended to be inherited by concrete result model types that provide specific prediction logic for medication-related ADAS assessments.
/// </remarks>
public abstract class ResultModelPredictMedicationAdas
{
public string MedicineIdentifier { get; set; } = string.Empty;
@@ -18,8 +24,12 @@ public abstract class ResultModelPredictMedicationAdas
public double DegreeSimilarity { get; set; }
/// <summary>
/// Returns a string representation combining the medicine text and its degree of similarity, separated by a pipe character.
/// </summary>
/// <returns>A formatted string containing the <c>MedicineText</c> and <c>DegreeSimilarity</c> values joined by a pipe (<c>|</c>) separator.</returns>
public override string ToString()
{
return $"{MedicineText} | {DegreeSimilarity}";
}
{
return $"{MedicineText} | {DegreeSimilarity}";
}
}
@@ -1,5 +1,11 @@
namespace adas_core.Domain.Models.Providers;
/// <summary>
/// Represents the result model for a prediction related to ADAS stay analysis.
/// </summary>
/// <remarks>
/// This type serves as a data container for prediction outcomes produced by the ADAS stay prediction process.
/// </remarks>
public class ResultModelPredictOfStayAdas
{
public string Result { get; set; } = string.Empty;
@@ -7,6 +13,12 @@ public class ResultModelPredictOfStayAdas
public List<Payload> Payload { get; set; } = [];
}
/// <summary>
/// Serves as an abstract base class for payload types, providing a common contract that derived classes must implement.
/// </summary>
/// <remarks>
/// As an abstract class, <see cref="Payload"/> cannot be instantiated directly and must be extended by a concrete subclass.
/// </remarks>
public abstract class Payload
{
public double PercentageMin { get; set; }