|
@@ -2704,7 +2704,7 @@
|
|
|
t1.diagnose,
|
|
|
t1.ward_name AS wardName,
|
|
|
t2.age,
|
|
|
- t2.file_code AS fileCode
|
|
|
+ t1.file_code AS fileCode
|
|
|
FROM
|
|
|
(
|
|
|
SELECT DISTINCT
|
|
@@ -2715,6 +2715,7 @@
|
|
|
a.hospital_id,
|
|
|
a.behospital_code,
|
|
|
a.bed_code,
|
|
|
+ a.file_code,
|
|
|
b.LEVEL,
|
|
|
b.grade_type,
|
|
|
b.score_res,
|
|
@@ -2862,13 +2863,14 @@
|
|
|
t1.diagnose,
|
|
|
t1.ward_name AS wardName,
|
|
|
t2.age,
|
|
|
- t2.file_code AS fileCode
|
|
|
+ t1.file_code AS fileCode
|
|
|
FROM
|
|
|
(
|
|
|
SELECT DISTINCT
|
|
|
a.hospital_id,
|
|
|
a.behospital_code,
|
|
|
a.bed_code,
|
|
|
+ a.file_code,
|
|
|
b.LEVEL,
|
|
|
b.grade_type,
|
|
|
b.score_res,
|