Merge branch 'phase/77-health-conditions'

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-21 12:22:23 +03:00
co-authored by Cursor
9 changed files with 441 additions and 12 deletions
+6
View File
@@ -81,6 +81,12 @@ public sealed record Person
/// </summary>
public List<LessonMarkRecord>? LessonMarks { get; set; }
/// <summary>
/// Active medical conditions. Null when healthy (empty) so people.json stays compact.
/// Needs are not replaced by this list.
/// </summary>
public List<HealthCondition>? Conditions { get; set; }
public int AgeOn(DateTime asOf) => SchoolYears.AgeYears(BirthDate, asOf);
}