public class Patient { public Guid Id { get; set; } public string Mrn { get; set; } = null!; public string FirstName { get; set; } = null!; public string LastName { get; set; } = null!; public DateOnly DateOfBirth { get; set; } public string Gender { get; set; } = null!; public BloodType? BloodType { get; set; } public string? Allergies { get; set; } public string? EmergencyContactName { get; set; } public string? EmergencyContactPhone { get; set; } /// HMAC token for name search. Not PHI — enables lookup without decrypting all rows. public string? NameSearchToken { get; set; } public string Status { get; set; } = "active"; public DateTimeOffset CreatedAt { get; set; } public ICollection Encounters { get; set; } = new List(); }