|
@@ -15,9 +15,12 @@ import java.util.Map;
|
|
|
|
|
|
public class PretreatmentRule {
|
|
|
public void rule(SearchData searchData) throws java.io.IOException {
|
|
|
- //患者基本信息 性别 年龄 婚姻
|
|
|
+ //患者基本信息 性别 年龄
|
|
|
if (!StringUtils.isEmpty(searchData.getNormal())) {
|
|
|
add2PreResultList(new PretreatmentNormal(), searchData.getNormal(), "normal", searchData);
|
|
|
+ }
|
|
|
+ //患者基本信息 婚姻
|
|
|
+ if (!StringUtils.isEmpty(searchData.getMarriage())) {
|
|
|
add2PreResultList(new PretreatmentNormal(), searchData.getMarriage(), "normal", searchData);
|
|
|
}
|
|
|
//症状规则 主诉、现病史提取
|