"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PatientSchema = void 0;
const zod_1 = require("zod");
const extensions_core_1 = require("@awell-health/extensions-core");
const Patient_1 = require("../../../../../src/lib/fhir/schemas/Patient");
const emailValidation_1 = require("../../../../../src/utils/emailValidation");
exports.PatientSchema = zod_1.z.object({
    firstName: zod_1.z.string().optional(),
    lastName: zod_1.z.string().optional(),
    email: emailValidation_1.optionalEmailSchema,
    mobilePhone: extensions_core_1.E164PhoneValidationOptionalSchema,
    birthDate: extensions_core_1.DateOnlyOptionalSchema,
    gender: Patient_1.GenderSchema.optional(),
    address: zod_1.z.string().optional(),
    city: zod_1.z.string().optional(),
    state: zod_1.z.string().optional(),
    country: zod_1.z.string().optional(),
    postalCode: zod_1.z.string().optional(),
});
//# sourceMappingURL=patient.schema.js.map