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

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

/// <summary>The caller's access to a patient's records (view/edit/append-note) — so the UI shows the right
/// affordances + a non-leaking access-denied state. The patient id comes from the route.</summary>
public record GetRecordAccessQuery(long PatientId) : IRequest<OperationResult<RecordAccessDto>>;
