|
|
|
@ -328,7 +328,7 @@
|
|
|
|
ON
|
|
|
|
ON
|
|
|
|
a.patient_id = c.patient_id
|
|
|
|
a.patient_id = c.patient_id
|
|
|
|
LEFT JOIN
|
|
|
|
LEFT JOIN
|
|
|
|
(select code,Name from emr_dictionary where parent_id = (select id from emr_dictionary where typeCode = 'apply_type')) emr_dictionary
|
|
|
|
(select code,Name from emr_dictionary where parent_id = 'apply_type') emr_dictionary
|
|
|
|
ON
|
|
|
|
ON
|
|
|
|
a.apply_type = emr_dictionary.code
|
|
|
|
a.apply_type = emr_dictionary.code
|
|
|
|
LEFT JOIN
|
|
|
|
LEFT JOIN
|
|
|
|
@ -408,7 +408,7 @@
|
|
|
|
ON
|
|
|
|
ON
|
|
|
|
a.patient_id = c.patient_id
|
|
|
|
a.patient_id = c.patient_id
|
|
|
|
LEFT JOIN
|
|
|
|
LEFT JOIN
|
|
|
|
(select code,Name from emr_dictionary where parent_id = (select id from emr_dictionary where typeCode = 'apply_type')) emr_dictionary
|
|
|
|
(select code,Name from emr_dictionary where parent_id = 'apply_type') emr_dictionary
|
|
|
|
ON
|
|
|
|
ON
|
|
|
|
a.apply_type = emr_dictionary.code
|
|
|
|
a.apply_type = emr_dictionary.code
|
|
|
|
LEFT JOIN
|
|
|
|
LEFT JOIN
|
|
|
|
|