[WIP] Добавил отображение состояния и подвижности зубов
This commit is contained in:
@@ -54,3 +54,11 @@ export function getConfidantObject(data) {
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export const getFiiledConditions = (condition) => {
|
||||
let filledConditions = [
|
||||
...Object.values(condition.crown).filter((val) => val),
|
||||
...Object.values(condition.root).filter((val) => val),
|
||||
];
|
||||
return filledConditions;
|
||||
};
|
||||
|
||||
@@ -933,6 +933,27 @@ export const protocolForms = [
|
||||
component: "ToothFormulaForm",
|
||||
key: "toothFormula",
|
||||
state: "toothFormula",
|
||||
toothConfig: {
|
||||
conditions: {
|
||||
К: "Кариес",
|
||||
П: "Пульпит",
|
||||
Пт: "Периодонтит",
|
||||
Д: "Дефект",
|
||||
Пл: "Пломба",
|
||||
ИК: "Искусственная коронка",
|
||||
ИЗ: "Искусственный зуб",
|
||||
В: "Вкладка",
|
||||
И: "Имплантат",
|
||||
КЗ: "Корень зуба",
|
||||
О: "Отсутствующий зуб",
|
||||
},
|
||||
mobility: [
|
||||
{ id: 1, label: "I" },
|
||||
{ id: 2, label: "II" },
|
||||
{ id: 3, label: "III" },
|
||||
{ id: 4, label: "IV" },
|
||||
],
|
||||
},
|
||||
formulaConfig: [
|
||||
{
|
||||
name: "upper",
|
||||
@@ -1074,103 +1095,103 @@ export const protocolForms = [
|
||||
columns: [
|
||||
{
|
||||
type: "molars",
|
||||
tooth_number: 48,
|
||||
tooth_number: "48",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
type: "molars",
|
||||
tooth_number: 47,
|
||||
tooth_number: "47",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
type: "molars",
|
||||
tooth_number: 46,
|
||||
tooth_number: "46",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
position: "left",
|
||||
type: "pre-molars",
|
||||
tooth_number: 45,
|
||||
tooth_number: "45",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
position: "left",
|
||||
type: "pre-molars",
|
||||
tooth_number: 44,
|
||||
tooth_number: "44",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
position: "left",
|
||||
type: "fangs",
|
||||
tooth_number: 43,
|
||||
tooth_number: "43",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
type: "incisors",
|
||||
tooth_number: 42,
|
||||
tooth_number: "42",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
type: "incisors",
|
||||
tooth_number: 41,
|
||||
tooth_number: "41",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
type: "incisors",
|
||||
tooth_number: 31,
|
||||
tooth_number: "31",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
type: "incisors",
|
||||
tooth_number: 32,
|
||||
tooth_number: "32",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
position: "right",
|
||||
type: "fangs",
|
||||
tooth_number: 33,
|
||||
tooth_number: "33",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
position: "right",
|
||||
type: "pre-molars",
|
||||
tooth_number: 34,
|
||||
tooth_number: "34",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
position: "right",
|
||||
type: "pre-molars",
|
||||
tooth_number: 35,
|
||||
tooth_number: "35",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
type: "molars",
|
||||
tooth_number: 36,
|
||||
tooth_number: "36",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
type: "molars",
|
||||
tooth_number: 37,
|
||||
tooth_number: "37",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
{
|
||||
type: "molars",
|
||||
tooth_number: 38,
|
||||
tooth_number: "38",
|
||||
dental_condition: "",
|
||||
tooth_mobility: "",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user