"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FieldsValidationSchema = exports.fields = void 0;
const extensions_core_1 = require("@awell-health/extensions-core");
const schemas_1 = require("../../../fhir/schemas");
exports.fields = {
    firstName: {
        id: 'firstName',
        label: 'First name',
        description: '',
        type: extensions_core_1.FieldType.STRING,
        required: false,
    },
    lastName: {
        id: 'lastName',
        label: 'Last name',
        description: '',
        type: extensions_core_1.FieldType.STRING,
        required: false,
    },
    mobilePhone: {
        id: 'mobilePhone',
        label: 'Mobile phone',
        description: '',
        type: extensions_core_1.FieldType.STRING,
        stringType: extensions_core_1.StringType.PHONE,
        required: false,
    },
    email: {
        id: 'email',
        label: 'Email',
        description: '',
        type: extensions_core_1.FieldType.STRING,
        required: false,
    },
    birthDate: {
        id: 'birthDate',
        label: 'Birth date',
        description: '',
        type: extensions_core_1.FieldType.DATE,
        required: false,
    },
    gender: {
        id: 'gender',
        label: 'Gender',
        description: 'Valid values are "male", "female", "other", "unknown"',
        type: extensions_core_1.FieldType.STRING,
        required: false,
    },
    address: {
        id: 'address',
        label: 'Address',
        description: '',
        type: extensions_core_1.FieldType.STRING,
        required: false,
    },
    city: {
        id: 'city',
        label: 'City',
        description: '',
        type: extensions_core_1.FieldType.STRING,
        required: false,
    },
    state: {
        id: 'state',
        label: 'State',
        description: '',
        type: extensions_core_1.FieldType.STRING,
        required: false,
    },
    country: {
        id: 'country',
        label: 'Country',
        description: '',
        type: extensions_core_1.FieldType.STRING,
        required: false,
    },
    postalCode: {
        id: 'postalCode',
        label: 'Postal code',
        description: '',
        type: extensions_core_1.FieldType.STRING,
        required: false,
    },
};
exports.FieldsValidationSchema = schemas_1.PatientSchema;
//# sourceMappingURL=fields.js.map