export const medicalDetailConfig = {
  identity_document: {
    height: 366,
    title: "Паспортные данные",
    fields: [
      {
        label: "number_series",
        title: "Серия и номер",
        type: "input",
        copy: true,
      },
      {
        label: "issued_by_org",
        title: "Выдан",
        type: "input",
      },
      {
        label: "issued_by_org_code",
        title: "Код подразделения",
        type: "input",
      },
      {
        label: "issued_by_date",
        title: "Дата выдачи",
        type: "data",
      },
    ],
  },
  registration_address: {
    height: 130,
    title: "Адреес регистрации",
    fields: [
      {
        label: "registration_address",
        title: "Полный адрес",
        type: "input",
      },
    ],
  },
  temporary_address: {
    height: 130,
    title: "Адреес проживания",
    fields: [
      {
        label: "temporary_address",
        title: "Полный адрес",
        type: "input",
      },
    ],
  },
  snils: {
    height: 108,
    title: "СНИЛС",
    fields: [
      {
        label: "insurance_number",
        title: "Номер",
        type: "input",
        copy: true,
      },
    ],
  },
  policy_number_series: {
    height: 170,
    title: "ПОЛИС",
    fields: [
      {
        label: "series",
        title: "Серия",
        type: "input",
      },
      {
        label: "number",
        title: "Номер",
        type: "input",
      },
    ],
  },
  policy_organization: {
    height: 111,
    title: "Страховая организация",
    fields: [
      {
        label: "organization",
        title: "Название",
        type: "input",
      },
    ],
  },
  additional: {
    height: 202,
    title: "Дополнительная информация",
    fields: [
      {
        label: "name_confidant",
        title: "Доверенное лицо",
        type: "input",
      },
      {
        label: "phone_confidant",
        title: "",
        type: "input",
      },
      {
        label: "benefit_code",
        title: "Код категории льготы",
        type: "input",
      },
    ],
  },
  agreement_form: {
    height: 163,
    title:
      "Информированное добровольное согласие на виды медицинских вмешательств, включенные в Перечень определенных видов медицинских вмешательств:",
    fields: [
      {
        label: "agreement",
        title: "Получено",
        type: "check_box",
      },
      {
        label: "agreement_date",
        title: "Дата",
        type: "date",
      },
    ],
  },
};
