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

namespace Baya.Application.Features.Bookings.Queries.GetCareInstructions;

/// <summary>The <b>gated</b> stage-2 clinical read. Decrypts and returns the care instructions <b>only</b> to
/// (a) the assigned nurse of that booking and (b) admin, and <b>only</b> post-confirmation. Any other caller
/// — the customer, an unassigned nurse, or a pre-confirmation booking — gets a clean not-found. This is the
/// two-stage disclosure boundary; it must never leak.</summary>
public record GetCareInstructionsQuery(long BookingId) : IRequest<OperationResult<CareInstructionsDto>>;
