|
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.diagbot.client.AiptServiceClient;
|
|
|
import com.diagbot.client.TranServiceClient;
|
|
|
+import com.diagbot.client.bean.CalcResult;
|
|
|
import com.diagbot.client.bean.FeatureRate;
|
|
|
import com.diagbot.client.bean.GdbResponse;
|
|
|
import com.diagbot.client.bean.MedicalIndication;
|
|
@@ -416,6 +417,14 @@ public class PushFacade {
|
|
|
pushDTO.setMedicalIndications(medicalIndicationDTOList);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ //公式计算 featuretype=31
|
|
|
+ if (featureTypeSet.contains(String.valueOf(FeatureTypeEnum.Calculate.getKey()))) {
|
|
|
+ CalcResult result = new CalcResult();
|
|
|
+ result.setValue(10D);
|
|
|
+ result.setText("肾功能衰竭");
|
|
|
+ pushDTO.setCalcResult(result);
|
|
|
+ }
|
|
|
return pushDTO;
|
|
|
}
|
|
|
|