|
|
@@ -209,7 +209,8 @@
|
|
|
t.patient_id as patientId, -- 患者编号
|
|
|
t.medical_project_code as medicalProjectCode, -- "医保项目编码",
|
|
|
t.medical_project_name as medicalProjectName, -- "医保项目名称",
|
|
|
- t.medical_ins_rule_info_name as medicalInsRuleInfoName -- "项目类型|违规类型"
|
|
|
+ t.medical_ins_rule_info_name as medicalInsRuleInfoName, -- "项目类型|违规类型"
|
|
|
+ t.id
|
|
|
FROM afterwards_audit_detail as t
|
|
|
LEFT JOIN medicine as m on t.proejct_code = m.medicine_code AND t.project_type = 'medicine'
|
|
|
LEFT JOIN consumable_material as c on t.proejct_code = c.consumable_code AND t.project_type = 'consumable'
|