修改PET 5PS评分自动计算规则

This commit is contained in:
2024-01-16 11:14:39 +08:00
parent e7409e2647
commit 0f7f2d2098
2 changed files with 8 additions and 7 deletions
@@ -422,24 +422,24 @@ export default {
console.log('setpet5PS')
// 无需标记,自主选择 1分
// 无需标记,自主选择 x分
const maxSUVmax = !isNaN(parseFloat(this.questionForm[this.suvmaxId])) ? parseFloat(this.questionForm[this.suvmaxId]) : 0
const maxSUVmax = !isNaN(parseFloat(this.questionForm[this.suvmaxId])) ? parseFloat(this.questionForm[this.suvmaxId]) : null
// 肝脏血池SUVmax
const liverSUVmax = !isNaN(parseFloat(this.questionForm[this.liverSuvmaxId])) ? parseFloat(this.questionForm[this.liverSuvmaxId]) : 0
const liverSUVmax = !isNaN(parseFloat(this.questionForm[this.liverSuvmaxId])) ? parseFloat(this.questionForm[this.liverSuvmaxId]) : null
// 纵膈血池SUVmax
const lungSUVmax = !isNaN(parseFloat(this.questionForm[this.lungSuvmaxId])) ? parseFloat(this.questionForm[this.lungSuvmaxId]) : 0
if (maxSUVmax > liverSUVmax * 2) {
const lungSUVmax = !isNaN(parseFloat(this.questionForm[this.lungSuvmaxId])) ? parseFloat(this.questionForm[this.lungSuvmaxId]) : null
if (maxSUVmax !== null && liverSUVmax !== null && maxSUVmax > liverSUVmax * 2) {
// 本访视病灶的 max SUVmax(所有病灶中最大的)>2*肝脏血池SUVmax 5分
// this.questionForm[this.pet5PSId] = '5'
return '5'
} else if (maxSUVmax > liverSUVmax) {
} else if (maxSUVmax !== null && liverSUVmax !== null && maxSUVmax > liverSUVmax) {
// 本访视病灶的SUVmax(所有病灶中最大的)>肝脏血池SUVmax 4分
// this.questionForm[this.pet5PSId] = '4'
return '4'
} else if (maxSUVmax > lungSUVmax && maxSUVmax <= liverSUVmax) {
} else if (maxSUVmax !== null && liverSUVmax !== null && lungSUVmax !== null && maxSUVmax > lungSUVmax && maxSUVmax <= liverSUVmax) {
// 纵隔血池SUVmax<本访视点病灶的max SUVmax(所有病灶中最大的)≤1*肝脏血池SUVmax 3分
// this.questionForm[this.pet5PSId] = '3'
return '3'
} else if (maxSUVmax < lungSUVmax) {
} else if (maxSUVmax !== null && lungSUVmax !== null && maxSUVmax < lungSUVmax) {
// 本访视点病灶的SUVmax(所有病灶中最大的)<纵隔血池SUVmax 2分
// this.questionForm[this.pet5PSId] = '2'
return '2'