namespace adas_core.Domain.Models.Providers;
///
/// Represents an abstract base class for result models used to predict medication outcomes based on the ADAS (Alzheimer's Disease Assessment Scale).
///
///
/// This class is intended to be inherited by concrete result model types that provide specific prediction logic for medication-related ADAS assessments.
///
public abstract class ResultModelPredictMedicationAdas
{
public string MedicineIdentifier { get; set; } = string.Empty;
public string MedicineText { get; set; } = string.Empty;
public string TreatmentPatientId { get; set; } = string.Empty;
public string Gender { get; set; } = string.Empty;
public string BirthDate { get; set; } = string.Empty;
public string CodingSystem { get; set; } = string.Empty;
public string PatientNumber { get; set; } = string.Empty;
public double DegreeSimilarity { get; set; }
///
/// Returns a string representation combining the medicine text and its degree of similarity, separated by a pipe character.
///
/// A formatted string containing the MedicineText and DegreeSimilarity values joined by a pipe (|) separator.
public override string ToString()
{
return $"{MedicineText} | {DegreeSimilarity}";
}
}