#nullable enable
using Baya.Application.Models.Common;
using Baya.Application.Models.Patients;
using Baya.Application.Models.Reviews;
using Mediator;

namespace Baya.Application.Features.PatientCareRecords.Commands.WritePatientCareRecord;

/// <summary>A nurse authors a clinical note for a patient (optionally tagged with the booking that produced
/// it) plus the visit's ticked task checklist. The patient id comes from the route; the body is encrypted at
/// rest before persisting.</summary>
public record WritePatientCareRecordCommand(
    long PatientId,
    long? BookingId,
    string Body,
    IReadOnlyList<TaskResultDto>? TaskResults = null) : IRequest<OperationResult<WriteCareRecordResult>>;
