Изменил роутинг на страницу новой мед-карты

This commit is contained in:
DwCay
2023-03-30 13:03:36 +03:00
parent 35ab2c9b85
commit fbbcb6eac3
14 changed files with 25 additions and 17 deletions

View File

@@ -0,0 +1,449 @@
export const medicalDetailConfig = {
gendersList: [
{
id: "1",
label: "Мужской",
value: "MALE",
},
{
id: "2",
label: "Женский",
value: "WOMEN",
},
],
policiesList: [
{
id: "1",
label: "Полис ОМС",
value: "OMS",
},
{
id: "2",
label: "Полис ДМС",
value: "DMS",
},
],
identity_document: {
height: 316,
title: "Паспортные данные",
fields: [
{
label: "number_series",
title: "Серия и номер",
type: "text",
mask: "#### ######",
copy: true,
},
{
label: "issued_by_org",
title: "Выдан",
type: "textarea",
},
{
label: "issued_by_org_code",
title: "Код подразделения",
type: "text",
mask: "###-###",
},
{
label: "issued_by_date",
title: "Дата выдачи",
type: "date",
},
],
},
registration_address: {
height: 85,
title: "Адрес регистрации",
fields: [
{
label: "registration_address",
title: "Полный адрес",
type: "textarea",
},
],
},
temporary_address: {
height: 85,
title: "Адрес проживания",
fields: [
{
label: "temporary_address",
title: "Полный адрес",
type: "textarea",
},
],
},
snils: {
height: 85,
title: "СНИЛС",
fields: [
{
label: "insurance_number",
title: "Номер",
type: "text",
mask: "###-###-### ##",
copy: true,
},
],
},
policy: {
height: 162,
title: "ПОЛИС",
fields: [
{
label: "policy_series",
title: "Серия",
type: "text",
mask: "####",
},
{
label: "policy_number",
title: "Номер",
type: "text",
mask: "#######",
},
],
},
policy_organization: {
height: 85,
title: "Страховая организация",
fields: [
{
label: "policy_organization",
title: "Название",
type: "text",
},
],
},
additional: {
height: 218,
title: "Дополнительная информация",
fields: [
{
icon: "icon-person",
label: "name_confidant",
title: "Доверенное лицо",
type: "text",
},
{
icon: "icon-phone",
label: "phone_confidant",
title: "",
type: "text",
mask: "+7 (###) ###-##-##",
},
{
label: "benefit_code",
title: "Код категории льготы",
type: "text",
mask: "###",
},
],
},
agreement_form: {
height: 121,
title:
"Информированное добровольное согласие на виды медицинских вмешательств, включенные в Перечень определенных видов медицинских вмешательств:",
fields: [
{
label: "agreement",
title: "Получено",
type: "radio",
items: [
{
id: "1",
label: "Да",
value: true,
},
{
id: "2",
label: "Нет",
value: false,
},
],
},
{
label: "agreement_date",
title: "Дата",
type: "date",
},
],
},
dental_indications: {
complaints: "Жалобы",
allergic: "Аллергологический анамнез",
past_diseases: "Перенесённые и сопутствующие заболевания",
medications_taken: "Принимаемые лекарственные препараты",
thermometry: "Термометрия (по показаниям)",
tonometry: "Тонометрия, ЧСС (по показаниям)",
disease_progress: "Развитие настоящего заболевания",
visual_examination: "Внешний осмотр",
oral_examination: "Осмотр преддверия и полости рта",
dental_formula: "Зубная формула",
dental_bite: "Прикус",
hygiene_index: "Индекс гигиены",
dmf_index: "Индекс КПУ",
diagnostic_findings: "Предварительный диагноз",
icd_code: "Код МКБ-10",
survey_plan: "План обследования",
survey_data: "Данные обследования",
clinical_diagnosis: "Клинический диагноз",
treatment_plan: "План лечения",
treatment_protocol: "Протокол лечения",
},
};
export const dentalСonditionMap = [
{
name: "К",
discription: "кариес",
},
{
name: "П",
discription: "пульпит",
},
{
name: "Пт",
discription: "периодонтит",
},
{
name: "Д",
discription: "дефект",
},
{
name: "Пл",
discription: "пломба",
},
{
name: "Ик",
discription: "искусственная коронка",
},
{
name: "Из",
discription: "искусственный зуб",
},
{
name: "В",
discription: "вкладка",
},
{
name: "И",
discription: "имплантат",
},
{
name: "Кз",
discription: "корень зуба",
},
{
name: "О",
discription: "отсутствующий зуб",
},
];
export const mobilityMap = [
{ id: 1, label: "I" },
{ id: 2, label: "II" },
{ id: 3, label: "III" },
];
export const formulaDataMap = [
{
name: "upperJaw",
rowMap: [
{
label: "Подвижность",
name: "tooth_mobility",
},
{
label: "Cостояние зубов",
name: "dental_condition",
},
{
label: "Верхняя челюсть",
name: "tooth_number",
},
],
columns: [
{
tooth_number: 18,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 17,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 16,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 15,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 14,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 13,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 12,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 11,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 21,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 22,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 23,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 24,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 25,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 26,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 27,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 28,
dental_condition: "",
tooth_mobility: "",
},
],
},
{
name: "lowerJaw",
rowMap: [
{
label: "Нижняя челюсть",
name: "tooth_number",
},
{
label: "Cостояние зубов",
name: "dental_condition",
},
{
label: "Подвижность",
name: "tooth_mobility",
},
],
columns: [
{
tooth_number: 48,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 47,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 46,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 45,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 44,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 43,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 42,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 41,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 31,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 32,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 33,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 34,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 35,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 36,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 37,
dental_condition: "",
tooth_mobility: "",
},
{
tooth_number: 38,
dental_condition: "",
tooth_mobility: "",
},
],
},
];