Files
adas-core/adas-core.Domain/Models/PatientAllergiesValue.cs
T

25 lines
745 B
C#

namespace adas_core.Domain.Models;
/// <summary>
/// Represents a value related to a patient's allergies.
/// </summary>
/// <!-- aidoc:v1 sig=8c95855 -->
public class PatientAllergiesValue
{
public string? Type { get; set; }
public string? Value { get; set; }
public string? Notes { get; set; }
/// <summary>
/// Returns a formatted string representation of the object, including its Type, Value, and Notes properties.
/// </summary>
/// <returns>A string containing the Type, Value, and Notes properties of the object.</returns>
/// <!-- aidoc:v1 sig=d27f326 body=6deda00 -->
public override string ToString()
{
return $"Tipo: {Type}, Valor: {Value}, Notas: {Notes}";
}
}