|
@@ -7,6 +7,7 @@ import com.diagbot.client.IcssPushServiceClient;
|
|
|
import com.diagbot.dto.NeoPushDTO;
|
|
|
import com.diagbot.dto.PushBaseDTO;
|
|
|
import com.diagbot.dto.PushDTO;
|
|
|
+import com.diagbot.dto.PushDiagnoseDTO;
|
|
|
import com.diagbot.dto.TreatDTO;
|
|
|
import com.diagbot.dto.WordCrfDTO;
|
|
|
import com.diagbot.dto.icss.FeatureRate;
|
|
@@ -315,6 +316,14 @@ public class PushProcess {
|
|
|
return icssVo;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 6.0推送业务
|
|
|
+ *
|
|
|
+ * @param pushVo
|
|
|
+ * @param standConvertMap
|
|
|
+ * @param wordCrfDTO
|
|
|
+ * @return
|
|
|
+ */
|
|
|
public PushDTO process(PushVO pushVo, Map<String, Map<String, String>> standConvertMap, WordCrfDTO wordCrfDTO) {
|
|
|
int length = pushVo.getLength();
|
|
|
PushDTO pushDTO = new PushDTO();
|
|
@@ -345,6 +354,20 @@ public class PushProcess {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 根据诊断依据推送疾病
|
|
|
+ * @param wordCrfDTO
|
|
|
+ */
|
|
|
+ public PushDiagnoseDTO pushDiagnose(WordCrfDTO wordCrfDTO) {
|
|
|
+ PushDiagnoseDTO pushDiagnoseDTO = new PushDiagnoseDTO();
|
|
|
+ // TODO 读取所有的诊断依据规则
|
|
|
+
|
|
|
+ // TODO 规则匹配
|
|
|
+
|
|
|
+ // TODO 返回诊断
|
|
|
+ return pushDiagnoseDTO;
|
|
|
+ }
|
|
|
+
|
|
|
private void setPushVo(NeoPushVO pushVO, List<String> push) {
|
|
|
String firstDisease = push.get(0);
|
|
|
List<Diag> diags = new ArrayList<>();
|