"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CreateTaskSchema = void 0;
const extensions_core_1 = require("@awell-health/extensions-core");
const zod_1 = require("zod");
const Task_1 = require("../../../../../src/lib/fhir/schemas/Task");
exports.CreateTaskSchema = zod_1.z.object({
    patientId: zod_1.z.string().nonempty('Missing Medplum patient ID'),
    taskTitle: zod_1.z.string().nonempty('Missing Task title'),
    description: zod_1.z.string().optional(),
    status: Task_1.TaskStatusSchema,
    intent: Task_1.TaskIntentSchema,
    priority: Task_1.PrioritySchema.optional(),
    dueDate: extensions_core_1.DateOnlyOptionalSchema,
    performerType: zod_1.z.string().optional(),
});
//# sourceMappingURL=task.schema.js.map