Browse Source

获取患者详细信息时带上是否有出院医嘱

lighter 3 years ago
parent
commit
7afe348373

+ 3 - 0
src/main/java/thyyxxk/webserver/dao/his/yibao/PatientDao.java

@@ -80,6 +80,9 @@ public interface PatientDao {
             "ward=(b.ward), " +
             "ward=(b.ward), " +
             "ledger_sn=rtrim(b.times_billed), " +
             "ledger_sn=rtrim(b.times_billed), " +
             "admiss_status=rtrim(b.admiss_status), " +
             "admiss_status=rtrim(b.admiss_status), " +
+            "dismissOrder=(select count(1) from yz_act_order y where y.inpatient_no=b.inpatient_no " +
+            "and y.admiss_times=b.admiss_times and status_flag > '1' and isnull(group_no,'00')='00' " +
+            "and order_code in ('06026','06053','05973')), " +
             "xnh_familysysno=rtrim(b.xnh_familysysno), " +
             "xnh_familysysno=rtrim(b.xnh_familysysno), " +
             "xnh_membersysno=rtrim(b.xnh_membersysno), " +
             "xnh_membersysno=rtrim(b.xnh_membersysno), " +
             "xnh_reject_flag=rtrim(b.xnh_reject_flag), " +
             "xnh_reject_flag=rtrim(b.xnh_reject_flag), " +

+ 1 - 0
src/main/java/thyyxxk/webserver/entity/yibao/patient/Patient.java

@@ -35,6 +35,7 @@ public class Patient {
     private Date admissDate;
     private Date admissDate;
     private Date ybRegisterDate;
     private Date ybRegisterDate;
     private String responceType;
     private String responceType;
+    private Integer dismissOrder;
     private String xnhHasreferral;
     private String xnhHasreferral;
     private String xnhReferralno;
     private String xnhReferralno;
     private String ybType;
     private String ybType;

+ 1 - 12
src/main/resources/application.yml

@@ -59,17 +59,6 @@ mybatis-plus:
   configuration:
   configuration:
     map-underscore-to-camel-case: true
     map-underscore-to-camel-case: true
 
 
-UPLOAD_BASE: http://172.16.30.26
-CSSYB_UPLOAD_BASE: http://172.16.30.26
-CSSYB_BASE: http://172.16.30.26:1000/cssyb/
-HNSYB_BASE: http://172.16.30.26:2000/hnsyb/
-XNHYB_BASE: http://172.16.30.26:3000/xnhyb/
-HNSYB_MT_INFO: http://172.16.30.26:2000/shengyb/mt/getPersonInfo
-CSSYB_READ_MZ_PATIENT: http://172.16.30.26:1000/mzsyb/readPatient
-CSSYB_MT_INFO: http://172.16.30.26:1000/mzsyb/queryApplyInfo
-CSSYB_MT_PRE_CAL: http://172.16.30.26:1000/mzsyb/mzPreCalculate
-PROOFREAD: http://172.16.30.26:1111/proofread/start
-
 hrg-api-url: http://172.16.30.33:8089/thmz/api/v1
 hrg-api-url: http://172.16.30.33:8089/thmz/api/v1
 powersi-api-url: http://172.16.32.183:8916/mmg-gateway
 powersi-api-url: http://172.16.32.183:8916/mmg-gateway
 triage-notify-url: http://localhost:8083/triage/roomScreen/pushMsg
 triage-notify-url: http://localhost:8083/triage/roomScreen/pushMsg
@@ -80,4 +69,4 @@ si-access-key: 9snmKvEVZJBrAkcpgZ9075QCshQ49GH1EnB3wc
 si-secret-key: SKNEbk3E0efsrmJ3PGbClqABprNHcQZFKldR2QNP
 si-secret-key: SKNEbk3E0efsrmJ3PGbClqABprNHcQZFKldR2QNP
 #logging:
 #logging:
 #  level:
 #  level:
-#    thyyxxk.webserver.dao: debug
+#    thyyxxk.webserver.dao: debug