|
@@ -4720,6 +4720,7 @@
|
|
t1.LEVEL AS LEVEL,
|
|
t1.LEVEL AS LEVEL,
|
|
t1.grade_type AS gradeType,
|
|
t1.grade_type AS gradeType,
|
|
t1.score_res AS scoreRes,
|
|
t1.score_res AS scoreRes,
|
|
|
|
+ t1.scoreBn,
|
|
t1.NAME AS NAME,
|
|
t1.NAME AS NAME,
|
|
t1.sex AS sex,
|
|
t1.sex AS sex,
|
|
t1.beh_dept_id AS behDeptId,
|
|
t1.beh_dept_id AS behDeptId,
|
|
@@ -4754,6 +4755,7 @@
|
|
ifnull(mci.status,0) AS checkStatus,
|
|
ifnull(mci.status,0) AS checkStatus,
|
|
ifnull(hm_mci.status,0) AS mrStatus,
|
|
ifnull(hm_mci.status,0) AS mrStatus,
|
|
mci.check_name as chName,
|
|
mci.check_name as chName,
|
|
|
|
+ e.score_res as scoreBn,
|
|
hm_mci.check_name as mrName,
|
|
hm_mci.check_name as mrName,
|
|
mci.gmt_create as chTime,
|
|
mci.gmt_create as chTime,
|
|
hm_mci.gmt_create as mrTime
|
|
hm_mci.gmt_create as mrTime
|
|
@@ -4865,6 +4867,11 @@
|
|
and hm_mci.check_type = 1
|
|
and hm_mci.check_type = 1
|
|
and be.hospital_id = hm_mci.hospital_id
|
|
and be.hospital_id = hm_mci.hospital_id
|
|
and be.behospital_code = hm_mci.behospital_code
|
|
and be.behospital_code = hm_mci.behospital_code
|
|
|
|
+ LEFT JOIN med_qcresult_cases e
|
|
|
|
+ on be.behospital_code = e.behospital_code
|
|
|
|
+ and be.hospital_id = e.hospital_id
|
|
|
|
+ AND e.is_deleted = 'N'
|
|
|
|
+ and e.cases_id = 243
|
|
)t1
|
|
)t1
|
|
<if test="qcResultShortPageVO.leaveHosType != null and qcResultShortPageVO.leaveHosType ==2">
|
|
<if test="qcResultShortPageVO.leaveHosType != null and qcResultShortPageVO.leaveHosType ==2">
|
|
,med_home_page t2
|
|
,med_home_page t2
|
|
@@ -5418,6 +5425,7 @@
|
|
f1.leaveHospitalDate,
|
|
f1.leaveHospitalDate,
|
|
f1.score,
|
|
f1.score,
|
|
f2.avgScore,
|
|
f2.avgScore,
|
|
|
|
+ f1.scoreBn,
|
|
f1.msg,
|
|
f1.msg,
|
|
f1.caseName,
|
|
f1.caseName,
|
|
f1.checkStatus,
|
|
f1.checkStatus,
|
|
@@ -5434,6 +5442,7 @@
|
|
t.behospitalDate AS behospitalDate,
|
|
t.behospitalDate AS behospitalDate,
|
|
t.leaveHospitalDate AS leaveHospitalDate,
|
|
t.leaveHospitalDate AS leaveHospitalDate,
|
|
qi.score_res AS score,
|
|
qi.score_res AS score,
|
|
|
|
+ t.scoreBn,
|
|
qd.msg AS msg,
|
|
qd.msg AS msg,
|
|
qc.NAME AS caseName,
|
|
qc.NAME AS caseName,
|
|
t.behDeptId,
|
|
t.behDeptId,
|
|
@@ -5453,6 +5462,7 @@
|
|
t1.LEVEL AS LEVEL,
|
|
t1.LEVEL AS LEVEL,
|
|
t1.grade_type AS gradeType,
|
|
t1.grade_type AS gradeType,
|
|
t1.score_res AS scoreRes,
|
|
t1.score_res AS scoreRes,
|
|
|
|
+ t1.scoreBn,
|
|
t1.NAME AS NAME,
|
|
t1.NAME AS NAME,
|
|
t1.sex AS sex,
|
|
t1.sex AS sex,
|
|
t1.beh_dept_id AS behDeptId,
|
|
t1.beh_dept_id AS behDeptId,
|
|
@@ -5484,6 +5494,7 @@
|
|
ifnull(mci.status,0) AS checkStatus,
|
|
ifnull(mci.status,0) AS checkStatus,
|
|
ifnull(hm_mci.status,0) AS mrStatus,
|
|
ifnull(hm_mci.status,0) AS mrStatus,
|
|
mci.check_name as chName,
|
|
mci.check_name as chName,
|
|
|
|
+ e.score_res as scoreBn,
|
|
hm_mci.check_name as mrName,
|
|
hm_mci.check_name as mrName,
|
|
mci.gmt_create as chTime,
|
|
mci.gmt_create as chTime,
|
|
hm_mci.gmt_create as mrTime
|
|
hm_mci.gmt_create as mrTime
|
|
@@ -5595,6 +5606,11 @@
|
|
and hm_mci.check_type = 1
|
|
and hm_mci.check_type = 1
|
|
and be.hospital_id = hm_mci.hospital_id
|
|
and be.hospital_id = hm_mci.hospital_id
|
|
and be.behospital_code = hm_mci.behospital_code
|
|
and be.behospital_code = hm_mci.behospital_code
|
|
|
|
+ LEFT JOIN med_qcresult_cases e
|
|
|
|
+ on be.behospital_code = e.behospital_code
|
|
|
|
+ and be.hospital_id = e.hospital_id
|
|
|
|
+ AND e.is_deleted = 'N'
|
|
|
|
+ and e.cases_id = 243
|
|
)t1
|
|
)t1
|
|
<if test="qcResultShortPageVO.leaveHosType != null and qcResultShortPageVO.leaveHosType ==2">
|
|
<if test="qcResultShortPageVO.leaveHosType != null and qcResultShortPageVO.leaveHosType ==2">
|
|
,med_home_page t2
|
|
,med_home_page t2
|
|
@@ -6925,6 +6941,7 @@
|
|
t1.LEVEL AS LEVEL,
|
|
t1.LEVEL AS LEVEL,
|
|
t1.grade_type AS gradeType,
|
|
t1.grade_type AS gradeType,
|
|
t1.score_res AS scoreRes,
|
|
t1.score_res AS scoreRes,
|
|
|
|
+ t1.scoreBn,
|
|
t1.NAME AS NAME,
|
|
t1.NAME AS NAME,
|
|
t1.sex AS sex,
|
|
t1.sex AS sex,
|
|
t1.beh_dept_id AS behDeptId,
|
|
t1.beh_dept_id AS behDeptId,
|
|
@@ -6956,6 +6973,7 @@
|
|
ifnull(mci.status,0) AS checkStatus,
|
|
ifnull(mci.status,0) AS checkStatus,
|
|
ifnull(hm_mci.status,0) AS mrStatus,
|
|
ifnull(hm_mci.status,0) AS mrStatus,
|
|
mci.check_name as chName,
|
|
mci.check_name as chName,
|
|
|
|
+ e.score_res as scoreBn,
|
|
hm_mci.check_name as mrName,
|
|
hm_mci.check_name as mrName,
|
|
mci.gmt_create as chTime,
|
|
mci.gmt_create as chTime,
|
|
hm_mci.gmt_create as mrTime
|
|
hm_mci.gmt_create as mrTime
|
|
@@ -7070,6 +7088,11 @@
|
|
and hm_mci.check_type = 1
|
|
and hm_mci.check_type = 1
|
|
and be.hospital_id = hm_mci.hospital_id
|
|
and be.hospital_id = hm_mci.hospital_id
|
|
and be.behospital_code = hm_mci.behospital_code
|
|
and be.behospital_code = hm_mci.behospital_code
|
|
|
|
+ LEFT JOIN med_qcresult_cases e
|
|
|
|
+ on be.behospital_code = e.behospital_code
|
|
|
|
+ and be.hospital_id = e.hospital_id
|
|
|
|
+ AND e.is_deleted = 'N'
|
|
|
|
+ and e.cases_id = 243
|
|
) t1
|
|
) t1
|
|
LEFT JOIN med_home_page t2 ON t1.hospital_id = t2.hospital_id
|
|
LEFT JOIN med_home_page t2 ON t1.hospital_id = t2.hospital_id
|
|
AND t1.behospital_code = t2.behospital_code
|
|
AND t1.behospital_code = t2.behospital_code
|
|
@@ -7558,6 +7581,7 @@
|
|
f1.behospitalDate,
|
|
f1.behospitalDate,
|
|
f1.leaveHospitalDate,
|
|
f1.leaveHospitalDate,
|
|
f1.score,
|
|
f1.score,
|
|
|
|
+ f1.scoreBn,
|
|
f2.avgScore,
|
|
f2.avgScore,
|
|
f1.msg,
|
|
f1.msg,
|
|
f1.caseName,
|
|
f1.caseName,
|
|
@@ -7575,6 +7599,7 @@
|
|
t.behospitalDate AS behospitalDate,
|
|
t.behospitalDate AS behospitalDate,
|
|
t.leaveHospitalDate AS leaveHospitalDate,
|
|
t.leaveHospitalDate AS leaveHospitalDate,
|
|
qi.score_res AS score,
|
|
qi.score_res AS score,
|
|
|
|
+ t.scoreBn,
|
|
qd.msg AS msg,
|
|
qd.msg AS msg,
|
|
qc.NAME AS caseName,
|
|
qc.NAME AS caseName,
|
|
t.behDeptId,
|
|
t.behDeptId,
|
|
@@ -7594,6 +7619,7 @@
|
|
t1.LEVEL AS LEVEL,
|
|
t1.LEVEL AS LEVEL,
|
|
t1.grade_type AS gradeType,
|
|
t1.grade_type AS gradeType,
|
|
t1.score_res AS scoreRes,
|
|
t1.score_res AS scoreRes,
|
|
|
|
+ t1.scoreBn,
|
|
t1.NAME AS NAME,
|
|
t1.NAME AS NAME,
|
|
t1.sex AS sex,
|
|
t1.sex AS sex,
|
|
t1.beh_dept_id AS behDeptId,
|
|
t1.beh_dept_id AS behDeptId,
|
|
@@ -7625,6 +7651,7 @@
|
|
ifnull(mci.status,0) AS checkStatus,
|
|
ifnull(mci.status,0) AS checkStatus,
|
|
ifnull(hm_mci.status,0) AS mrStatus,
|
|
ifnull(hm_mci.status,0) AS mrStatus,
|
|
mci.check_name as chName,
|
|
mci.check_name as chName,
|
|
|
|
+ e.score_res as scoreBn,
|
|
hm_mci.check_name as mrName,
|
|
hm_mci.check_name as mrName,
|
|
mci.gmt_create as chTime,
|
|
mci.gmt_create as chTime,
|
|
hm_mci.gmt_create as mrTime
|
|
hm_mci.gmt_create as mrTime
|
|
@@ -7739,6 +7766,11 @@
|
|
and hm_mci.check_type = 1
|
|
and hm_mci.check_type = 1
|
|
and be.hospital_id = hm_mci.hospital_id
|
|
and be.hospital_id = hm_mci.hospital_id
|
|
and be.behospital_code = hm_mci.behospital_code
|
|
and be.behospital_code = hm_mci.behospital_code
|
|
|
|
+ LEFT JOIN med_qcresult_cases e
|
|
|
|
+ on be.behospital_code = e.behospital_code
|
|
|
|
+ and be.hospital_id = e.hospital_id
|
|
|
|
+ AND e.is_deleted = 'N'
|
|
|
|
+ and e.cases_id = 243
|
|
) t1
|
|
) t1
|
|
LEFT JOIN med_home_page t2 ON t1.hospital_id = t2.hospital_id
|
|
LEFT JOIN med_home_page t2 ON t1.hospital_id = t2.hospital_id
|
|
AND t1.behospital_code = t2.behospital_code
|
|
AND t1.behospital_code = t2.behospital_code
|
|
@@ -8599,6 +8631,7 @@
|
|
t1.LEVEL AS LEVEL,
|
|
t1.LEVEL AS LEVEL,
|
|
t1.grade_type AS gradeType,
|
|
t1.grade_type AS gradeType,
|
|
t1.score_res AS scoreRes,
|
|
t1.score_res AS scoreRes,
|
|
|
|
+ t1.scoreBn,
|
|
t1.NAME AS NAME,
|
|
t1.NAME AS NAME,
|
|
t1.sex AS sex,
|
|
t1.sex AS sex,
|
|
t1.beh_dept_id AS behDeptId,
|
|
t1.beh_dept_id AS behDeptId,
|
|
@@ -8631,6 +8664,7 @@
|
|
ifnull( mci.STATUS, 0 ) AS checkStatus,
|
|
ifnull( mci.STATUS, 0 ) AS checkStatus,
|
|
ifnull( hm_mci.STATUS, 0 ) AS mrStatus,
|
|
ifnull( hm_mci.STATUS, 0 ) AS mrStatus,
|
|
mci.check_name AS chName,
|
|
mci.check_name AS chName,
|
|
|
|
+ e.score_res as scoreBn,
|
|
hm_mci.check_name AS mrName,
|
|
hm_mci.check_name AS mrName,
|
|
mci.gmt_create AS chTime,
|
|
mci.gmt_create AS chTime,
|
|
hm_mci.gmt_create AS mrTime
|
|
hm_mci.gmt_create AS mrTime
|
|
@@ -8723,6 +8757,11 @@
|
|
AND hm_mci.check_type = 1
|
|
AND hm_mci.check_type = 1
|
|
AND be.hospital_id = hm_mci.hospital_id
|
|
AND be.hospital_id = hm_mci.hospital_id
|
|
AND be.behospital_code = hm_mci.behospital_code
|
|
AND be.behospital_code = hm_mci.behospital_code
|
|
|
|
+ LEFT JOIN med_qcresult_cases e
|
|
|
|
+ on be.behospital_code = e.behospital_code
|
|
|
|
+ and be.hospital_id = e.hospital_id
|
|
|
|
+ AND e.is_deleted = 'N'
|
|
|
|
+ and e.cases_id = 243
|
|
) t1
|
|
) t1
|
|
LEFT JOIN med_home_page t2 ON t1.hospital_id = t2.hospital_id
|
|
LEFT JOIN med_home_page t2 ON t1.hospital_id = t2.hospital_id
|
|
AND t1.behospital_code = t2.behospital_code
|
|
AND t1.behospital_code = t2.behospital_code
|
|
@@ -9303,6 +9342,7 @@
|
|
f1.behospitalDate,
|
|
f1.behospitalDate,
|
|
f1.leaveHospitalDate,
|
|
f1.leaveHospitalDate,
|
|
f1.score,
|
|
f1.score,
|
|
|
|
+ f1.scoreBn,
|
|
f2.avgScore,
|
|
f2.avgScore,
|
|
f1.msg,
|
|
f1.msg,
|
|
f1.caseName,
|
|
f1.caseName,
|
|
@@ -9320,6 +9360,7 @@
|
|
t.behospitalDate AS behospitalDate,
|
|
t.behospitalDate AS behospitalDate,
|
|
t.leaveHospitalDate AS leaveHospitalDate,
|
|
t.leaveHospitalDate AS leaveHospitalDate,
|
|
qi.score_res AS score,
|
|
qi.score_res AS score,
|
|
|
|
+ t.scoreBn,
|
|
qd.msg AS msg,
|
|
qd.msg AS msg,
|
|
qc.NAME AS caseName,
|
|
qc.NAME AS caseName,
|
|
t.behDeptId,
|
|
t.behDeptId,
|
|
@@ -9340,6 +9381,7 @@
|
|
t1.LEVEL AS LEVEL,
|
|
t1.LEVEL AS LEVEL,
|
|
t1.grade_type AS gradeType,
|
|
t1.grade_type AS gradeType,
|
|
t1.score_res AS scoreRes,
|
|
t1.score_res AS scoreRes,
|
|
|
|
+ t1.scoreBn,
|
|
t1.NAME AS NAME,
|
|
t1.NAME AS NAME,
|
|
t1.sex AS sex,
|
|
t1.sex AS sex,
|
|
t1.beh_dept_id AS behDeptId,
|
|
t1.beh_dept_id AS behDeptId,
|
|
@@ -9372,6 +9414,7 @@
|
|
ifnull( mci.STATUS, 0 ) AS checkStatus,
|
|
ifnull( mci.STATUS, 0 ) AS checkStatus,
|
|
ifnull( hm_mci.STATUS, 0 ) AS mrStatus,
|
|
ifnull( hm_mci.STATUS, 0 ) AS mrStatus,
|
|
mci.check_name AS chName,
|
|
mci.check_name AS chName,
|
|
|
|
+ e.score_res as scoreBn,
|
|
hm_mci.check_name AS mrName,
|
|
hm_mci.check_name AS mrName,
|
|
mci.gmt_create AS chTime,
|
|
mci.gmt_create AS chTime,
|
|
hm_mci.gmt_create AS mrTime
|
|
hm_mci.gmt_create AS mrTime
|
|
@@ -9464,6 +9507,11 @@
|
|
AND hm_mci.check_type = 1
|
|
AND hm_mci.check_type = 1
|
|
AND be.hospital_id = hm_mci.hospital_id
|
|
AND be.hospital_id = hm_mci.hospital_id
|
|
AND be.behospital_code = hm_mci.behospital_code
|
|
AND be.behospital_code = hm_mci.behospital_code
|
|
|
|
+ LEFT JOIN med_qcresult_cases e
|
|
|
|
+ on be.behospital_code = e.behospital_code
|
|
|
|
+ and be.hospital_id = e.hospital_id
|
|
|
|
+ AND e.is_deleted = 'N'
|
|
|
|
+ and e.cases_id = 243
|
|
) t1
|
|
) t1
|
|
LEFT JOIN med_home_page t2 ON t1.hospital_id = t2.hospital_id
|
|
LEFT JOIN med_home_page t2 ON t1.hospital_id = t2.hospital_id
|
|
AND t1.behospital_code = t2.behospital_code
|
|
AND t1.behospital_code = t2.behospital_code
|