package com.gnx.telemedicine.dto.medical;

import com.gnx.telemedicine.model.enums.RecordType;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

import java.util.UUID;

public record MedicalRecordRequestDto(
        @NotNull(message = "Patient ID cannot be null")
        UUID patientId,

        @NotNull(message = "Doctor ID cannot be null")
        UUID doctorId,

        UUID appointmentId, // Optional

        @NotNull(message = "Record type cannot be null")
        RecordType recordType,

        @NotBlank(message = "Title cannot be blank")
        String title,

        String content,

        String diagnosisCode // ICD-10 codes
) {}

