"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FieldsValidationSchema = exports.fields = void 0;
const extensions_core_1 = require("@awell-health/extensions-core");
const zod_1 = require("zod");
exports.fields = {
    parameter: {
        id: 'parameter',
        label: 'Search Parameter',
        description: 'FHIR search parameter (e.g., "identifier", "name", "birthdate")',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    value: {
        id: 'value',
        label: 'Search Value',
        description: 'Value to search for (e.g., "12345" for identifier)',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
};
exports.FieldsValidationSchema = zod_1.z.object({
    parameter: zod_1.z.string().nonempty({
        message: 'Missing "Search Parameter"',
    }),
    value: zod_1.z.string().nonempty({
        message: 'Missing "Search Value"',
    }),
});
//# sourceMappingURL=fields.js.map