using Baya.Application.Models.Common;
using Baya.Application.Models.Reviews;
using Mediator;

namespace Baya.Application.Features.PatientCareRecords.Queries.GetPatientHistory;

/// <summary>Patient-scoped longitudinal care history, paginated, newest first. Readable only by the owning
/// customer, a nurse with a confirmed booking for the patient, or an admin.</summary>
public record GetPatientHistoryQuery(long PatientId, int Page = 1, int PageSize = 20)
    : IRequest<OperationResult<PagedResult<CareRecordDto>>>;
