public class PhiAccessLog
{
    public Guid Id { get; set; }
    public PhiAccessType AccessType { get; set; }
    public Guid? PatientId { get; set; }
    public Guid UserId { get; set; }
    public string UserDisplayName { get; set; } = null!;
    public string ResourcePath { get; set; } = null!;
    public string? SearchQueryHash { get; set; }
    public int? ResultCount { get; set; }
    public string? IpAddress { get; set; }
    public string? CorrelationId { get; set; }
    public DateTimeOffset AccessedAt { get; set; }
}