namespace Baya.Application.Models.Identity;

/// <summary>
/// A care recipient owned by the signed-in customer. <c>InitialMedicalNotes</c> is decrypted and
/// returned only to the owning customer. <c>Relation</c> is a stable code (nullable);
/// <c>Conditions</c> is the patient's care-condition code list (empty, never null).
/// </summary>
public record PatientDto(
    long Id,
    string DisplayName,
    string FirstName,
    string LastName,
    DateOnly BirthDate,
    string Gender,
    string BloodType,
    string InitialMedicalNotes,
    bool IsActive,
    string Relation,
    IReadOnlyList<string> Conditions);
