194 lines
4.9 KiB
JavaScript
194 lines
4.9 KiB
JavaScript
const config = {
|
|
"standards": [
|
|
{
|
|
"type": 1,
|
|
"name": "RECIST 1.1",
|
|
"tools": [
|
|
{
|
|
"name": "直径测量工具",
|
|
"icon": "length",
|
|
"toolName": "Length",
|
|
"i18nKey": "trials:reading:button:length"
|
|
},
|
|
{
|
|
"name": "长短径测量工具",
|
|
"icon": "bidirection",
|
|
"toolName": "Bidirectional",
|
|
"i18nKey": "trials:reading:button:bidirectional"
|
|
},
|
|
{
|
|
"name": "矩形工具",
|
|
"icon": "rectangle",
|
|
"toolName": "RectangleRoi",
|
|
"i18nKey": "trials:reading:button:rectangle"
|
|
},
|
|
{
|
|
"name": "箭头工具",
|
|
"icon": "arrow",
|
|
"toolName": "ArrowAnnotate",
|
|
"i18nKey": "trials:reading:button:arrowAnnotate"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": 2,
|
|
"name": "Lugano 2014",
|
|
"tools": [
|
|
{
|
|
"name": "直径测量工具",
|
|
"icon": "length",
|
|
"toolName": "Length",
|
|
"i18nKey": "trials:reading:button:length"
|
|
},
|
|
{
|
|
"name": "长短径测量工具",
|
|
"icon": "bidirection",
|
|
"toolName": "Bidirectional",
|
|
"i18nKey": "trials:reading:button:bidirectional"
|
|
},
|
|
{
|
|
"name": "矩形工具",
|
|
"icon": "rectangle",
|
|
"toolName": "RectangleRoi",
|
|
"i18nKey": "trials:reading:button:rectangle"
|
|
},
|
|
{
|
|
"name": "箭头工具",
|
|
"icon": "arrow",
|
|
"toolName": "ArrowAnnotate",
|
|
"i18nKey": "trials:reading:button:arrowAnnotate"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": 3,
|
|
"name": "iRECIST",
|
|
"tools": [
|
|
{
|
|
"name": "直径测量工具",
|
|
"icon": "length",
|
|
"toolName": "Length",
|
|
"i18nKey": "trials:reading:button:length"
|
|
},
|
|
{
|
|
"name": "长短径测量工具",
|
|
"icon": "bidirection",
|
|
"toolName": "Bidirectional",
|
|
"i18nKey": "trials:reading:button:bidirectional"
|
|
},
|
|
{
|
|
"name": "矩形工具",
|
|
"icon": "rectangle",
|
|
"toolName": "RectangleRoi",
|
|
"i18nKey": "trials:reading:button:rectangle"
|
|
},
|
|
{
|
|
"name": "箭头工具",
|
|
"icon": "arrow",
|
|
"toolName": "ArrowAnnotate",
|
|
"i18nKey": "trials:reading:button:arrowAnnotate"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": 7,
|
|
"name": "mRECIST HCC",
|
|
"tools": [
|
|
{
|
|
"name": "直径测量工具",
|
|
"icon": "length",
|
|
"toolName": "Length",
|
|
"i18nKey": "trials:reading:button:length"
|
|
},
|
|
{
|
|
"name": "长短径测量工具",
|
|
"icon": "bidirection",
|
|
"toolName": "Bidirectional",
|
|
"i18nKey": "trials:reading:button:bidirectional"
|
|
},
|
|
{
|
|
"name": "矩形工具",
|
|
"icon": "rectangle",
|
|
"toolName": "RectangleRoi",
|
|
"i18nKey": "trials:reading:button:rectangle"
|
|
},
|
|
{
|
|
"name": "箭头工具",
|
|
"icon": "arrow",
|
|
"toolName": "ArrowAnnotate",
|
|
"i18nKey": "trials:reading:button:arrowAnnotate"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": 10,
|
|
"name": "PCWG3",
|
|
"tools": [
|
|
{
|
|
"name": "矩形工具",
|
|
"icon": "rectangle",
|
|
"toolName": "RectangleRoi",
|
|
"i18nKey": "trials:reading:button:rectangle"
|
|
},
|
|
{
|
|
"name": "箭头工具",
|
|
"icon": "arrow",
|
|
"toolName": "ArrowAnnotate",
|
|
"i18nKey": "trials:reading:button:arrowAnnotate"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": 17,
|
|
"name": "PCWG3",
|
|
"tools": [
|
|
{
|
|
"name": "直径测量工具",
|
|
"icon": "length",
|
|
"toolName": "Length",
|
|
"i18nKey": "trials:reading:button:length"
|
|
},
|
|
{
|
|
"name": "矩形工具",
|
|
"icon": "rectangle",
|
|
"toolName": "RectangleRoi",
|
|
"i18nKey": "trials:reading:button:rectangle"
|
|
},
|
|
{
|
|
"name": "箭头工具",
|
|
"icon": "arrow",
|
|
"toolName": "ArrowAnnotate",
|
|
"i18nKey": "trials:reading:button:arrowAnnotate"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": 19,
|
|
"name": "IVUS定量评估",
|
|
"tools": []
|
|
},
|
|
{
|
|
"type": 20,
|
|
"name": "OCT定量评估",
|
|
"tools": []
|
|
},
|
|
{
|
|
"type": 21,
|
|
"name": "MRI-PDFF",
|
|
"tools": [
|
|
{
|
|
"name": "圆形测量",
|
|
"icon": "oval",
|
|
"toolName": "Probe",
|
|
"i18nKey": "trials:reading:button:circle"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
const getTools = (criterionType) => {
|
|
const standard = config.standards.find(s => s.type === criterionType);
|
|
return standard?.tools || [];
|
|
};
|
|
export {config, getTools}
|