|
@@ -4728,6 +4728,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,
|
|
@@ -4762,6 +4763,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
|
|
@@ -4873,6 +4875,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
|
|
@@ -5428,6 +5435,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,
|
|
@@ -5444,6 +5452,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,
|
|
@@ -5463,6 +5472,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,
|
|
@@ -5494,6 +5504,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
|
|
@@ -5605,6 +5616,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
|
|
@@ -6954,6 +6970,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,
|
|
@@ -6985,6 +7002,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
|
|
@@ -7099,6 +7117,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
|
|
@@ -7587,6 +7610,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,
|
|
@@ -7604,6 +7628,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,
|
|
@@ -7623,6 +7648,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,
|
|
@@ -7654,6 +7680,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
|
|
@@ -7768,6 +7795,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
|
|
@@ -8628,6 +8660,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,
|
|
@@ -8660,6 +8693,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
|
|
@@ -8752,6 +8786,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
|
|
@@ -9332,6 +9371,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,
|
|
@@ -9349,6 +9389,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,
|
|
@@ -9369,6 +9410,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,
|
|
@@ -9401,6 +9443,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
|
|
@@ -9493,6 +9536,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
|