|
@@ -231,15 +231,17 @@ public class YiBaoOperationNameNode {
|
|
|
|
|
|
// 判断年龄
|
|
|
JSONObject ageobj = jobj.getJSONObject("年龄");
|
|
|
- int age = wordCrfDTO.getAge();
|
|
|
|
|
|
nodeNeoDTO = NeoUtil.jsontoNodeNeoDTO("年龄", ageobj);
|
|
|
- match = CoreUtil.compareNum(nodeNeoDTO, age);
|
|
|
- if (match) {
|
|
|
- nodeNeoDTO.setName("年龄:"+age);
|
|
|
- nodeNeoDTO.setVal("年龄:"+age);
|
|
|
- nodeNeoDTO.setTermtype(TypeEnum.age.getName());
|
|
|
- highRiskNeoDTO.getFactor().add(nodeNeoDTO);
|
|
|
+ if (null!=wordCrfDTO.getAge()) {
|
|
|
+ int age = wordCrfDTO.getAge();
|
|
|
+ match = CoreUtil.compareNum(nodeNeoDTO, age);
|
|
|
+ if (match) {
|
|
|
+ nodeNeoDTO.setName("年龄:" + age);
|
|
|
+ nodeNeoDTO.setVal("年龄:" + age);
|
|
|
+ nodeNeoDTO.setTermtype(TypeEnum.age.getName());
|
|
|
+ highRiskNeoDTO.getFactor().add(nodeNeoDTO);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// 判断生命体征和查体
|