刘韬 4 лет назад
Родитель
Сommit
7d15ac0a4c
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      DataFusion/src/com/zskk/task/DataTask.java

+ 4 - 2
DataFusion/src/com/zskk/task/DataTask.java

@@ -70,10 +70,12 @@ public class DataTask implements ITask {
 			params.put("report_result", record.getStr("Positive").equals("1")?"2":"1");
 			params.put("report_result", record.getStr("Positive").equals("1")?"2":"1");
 			//住院号
 			//住院号
 			params.put("hopitalized_no", record.getStr("InPatientCode")==null?"":record.getStr("InPatientCode"));
 			params.put("hopitalized_no", record.getStr("InPatientCode")==null?"":record.getStr("InPatientCode"));
-			//住院
-			params.put("hopitalized_no", record.getStr("InPatientCode")==null?"":record.getStr("InPatientCode"));
+			//门诊
+			params.put("out_patient", record.getStr("OutPatinetCode")==null?"":record.getStr("OutPatinetCode"));
 			//检查方法
 			//检查方法
 			params.put("exam_project", record.getStr("BodyPart"));
 			params.put("exam_project", record.getStr("BodyPart"));
+			//病人ID
+			params.put("his_patient_id", record.getStr("HISID")==null?"":record.getStr("HISID"));
 
 
 			ThreadPoolService tService = ServiceFactory.getService(ThreadPoolService.class);
 			ThreadPoolService tService = ServiceFactory.getService(ThreadPoolService.class);
 			tService.execute(() -> {
 			tService.execute(() -> {