367
门诊医生站:检验开单“免疫”类别下的检验项目取值错误,与后台维护数据不一致 357 门诊挂号:通过“预约签到”产生的记录,列表“挂号类型”未体现预约标识
This commit is contained in:
@@ -67,7 +67,8 @@
|
||||
T9.payment_id AS paymentId,
|
||||
T9.picture_url AS pictureUrl,
|
||||
T9.birth_date AS birthDate,
|
||||
COALESCE(T9.identifier_no, T9.patient_bus_no, '') AS identifierNo
|
||||
COALESCE(T9.identifier_no, T9.patient_bus_no, '') AS identifierNo,
|
||||
COALESCE(T9.order_id IS NOT NULL, false) AS isFromAppointment
|
||||
from (
|
||||
SELECT T1.tenant_id AS tenant_id,
|
||||
T1.id AS encounter_id,
|
||||
@@ -93,7 +94,8 @@
|
||||
ai.picture_url AS picture_url,
|
||||
T8.birth_date AS birth_date,
|
||||
T8.bus_no AS patient_bus_no,
|
||||
T18.identifier_no AS identifier_no
|
||||
T18.identifier_no AS identifier_no,
|
||||
T1.order_id AS order_id
|
||||
FROM adm_encounter AS T1
|
||||
LEFT JOIN adm_organization AS T2 ON T1.organization_id = T2.ID AND T2.delete_flag = '0'
|
||||
LEFT JOIN adm_healthcare_service AS T3 ON T1.service_type_id = T3.ID AND T3.delete_flag = '0'
|
||||
|
||||
Reference in New Issue
Block a user