"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getConsolidatedQueryStatusFields = exports.startConsolidatedQueryFields = void 0;
const extensions_core_1 = require("@awell-health/extensions-core");
exports.startConsolidatedQueryFields = {
    patientId: {
        id: 'patientId',
        label: 'Patient ID',
        description: 'The ID of the Patient whose consolidated data to query',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    resources: {
        id: 'resources',
        label: 'Resource Types',
        description: 'Optional comma-separated list of FHIR resource types to filter by (e.g. "Condition,Observation,MedicationRequest"). If empty, all resource types are returned.',
        type: extensions_core_1.FieldType.STRING,
    },
    dateFrom: {
        id: 'dateFrom',
        label: 'Date From',
        description: 'Optional start date to filter resources by (inclusive), formatted YYYY-MM-DD',
        type: extensions_core_1.FieldType.STRING,
    },
    dateTo: {
        id: 'dateTo',
        label: 'Date To',
        description: 'Optional end date to filter resources by (inclusive), formatted YYYY-MM-DD',
        type: extensions_core_1.FieldType.STRING,
    },
    conversionType: {
        id: 'conversionType',
        label: 'Conversion Type',
        description: 'How to render the medical record: "json" (default), "pdf", or "html"',
        type: extensions_core_1.FieldType.STRING,
    },
};
exports.getConsolidatedQueryStatusFields = {
    patientId: {
        id: 'patientId',
        label: 'Patient ID',
        description: 'The ID of the Patient whose consolidated data query status to check',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
};
//# sourceMappingURL=fields.js.map