|
@@ -317,7 +317,7 @@ public interface SiQueryDao {
|
|
|
" (SELECT top 1 social_no " +
|
|
|
" FROM a_patient_mi " +
|
|
|
" WHERE pat_no = inpatient_no), dis_diag_comment = dis.dis_diag_comment, dis_diag = dis.dis_diag," +
|
|
|
- " totalMedicalExpenses = (psn_cash_pay + hifp_pay + hifmi_pay + cvlserv_pay + maf_pay)," +
|
|
|
+ " totalMedicalExpenses = medfee_sumamt," +
|
|
|
" fulamt_ownpay_amt," +
|
|
|
" overlmt_selfpay," +
|
|
|
" preselfpay_amt," +
|
|
@@ -356,7 +356,7 @@ public interface SiQueryDao {
|
|
|
" idCard = (select top 1 social_no from a_patient_mi where pat_no = inpatient_no), " +
|
|
|
" dis_diag_comment = dis.dis_diag_comment, " +
|
|
|
" dis_diag = dis.dis_diag, " +
|
|
|
- " totalMedicalExpenses = (psn_cash_pay + hifp_pay + hifmi_pay + cvlserv_pay + maf_pay) ," +
|
|
|
+ " totalMedicalExpenses = medfee_sumamt," +
|
|
|
" fulamt_ownpay_amt," +
|
|
|
" overlmt_selfpay," +
|
|
|
" preselfpay_amt," +
|
|
@@ -388,7 +388,7 @@ public interface SiQueryDao {
|
|
|
" idCard = (select top 1 social_no from a_patient_mi where pat_no = inpatient_no), " +
|
|
|
" dis_diag_comment = dis.dis_diag_comment, " +
|
|
|
" dis_diag = dis.dis_diag, " +
|
|
|
- " totalMedicalExpenses = (psn_cash_pay + hifp_pay + hifmi_pay + cvlserv_pay + maf_pay)," +
|
|
|
+ " totalMedicalExpenses = medfee_sumamt," +
|
|
|
" fulamt_ownpay_amt," +
|
|
|
" overlmt_selfpay," +
|
|
|
" preselfpay_amt," +
|
|
@@ -420,7 +420,7 @@ public interface SiQueryDao {
|
|
|
" idCard = (select top 1 social_no from a_patient_mi where pat_no = inpatient_no), " +
|
|
|
" dis_diag_comment = dis.dis_diag_comment, " +
|
|
|
" dis_diag = dis.dis_diag, " +
|
|
|
- " totalMedicalExpenses = (psn_cash_pay + hifp_pay + hifmi_pay + cvlserv_pay + maf_pay)," +
|
|
|
+ " totalMedicalExpenses = medfee_sumamt," +
|
|
|
" fulamt_ownpay_amt," +
|
|
|
" overlmt_selfpay," +
|
|
|
" preselfpay_amt," +
|
|
@@ -452,7 +452,7 @@ public interface SiQueryDao {
|
|
|
" idCard = (select top 1 social_no from a_patient_mi where pat_no = inpatient_no), " +
|
|
|
" dis_diag_comment = dis.dis_diag_comment, " +
|
|
|
" dis_diag = dis.dis_diag, " +
|
|
|
- " totalMedicalExpenses = (psn_cash_pay + hifp_pay + hifmi_pay + cvlserv_pay + maf_pay)," +
|
|
|
+ " totalMedicalExpenses = medfee_sumamt," +
|
|
|
" fulamt_ownpay_amt," +
|
|
|
" overlmt_selfpay," +
|
|
|
" preselfpay_amt," +
|
|
@@ -484,7 +484,7 @@ public interface SiQueryDao {
|
|
|
" idCard = (select top 1 social_no from a_patient_mi where pat_no = inpatient_no), " +
|
|
|
" dis_diag_comment = dis.dis_diag_comment, " +
|
|
|
" dis_diag = dis.dis_diag, " +
|
|
|
- " totalMedicalExpenses = (psn_cash_pay + hifp_pay + hifmi_pay + cvlserv_pay + maf_pay)," +
|
|
|
+ " totalMedicalExpenses = medfee_sumamt," +
|
|
|
" fulamt_ownpay_amt," +
|
|
|
" overlmt_selfpay," +
|
|
|
" preselfpay_amt," +
|
|
@@ -516,7 +516,7 @@ public interface SiQueryDao {
|
|
|
" idCard = (select top 1 social_no from a_patient_mi where pat_no = inpatient_no), " +
|
|
|
" dis_diag_comment = dis.dis_diag_comment, " +
|
|
|
" dis_diag = dis.dis_diag, " +
|
|
|
- " totalMedicalExpenses = (psn_cash_pay + hifp_pay + hifmi_pay + cvlserv_pay + maf_pay)," +
|
|
|
+ " totalMedicalExpenses = medfee_sumamt," +
|
|
|
" fulamt_ownpay_amt," +
|
|
|
" overlmt_selfpay," +
|
|
|
" preselfpay_amt," +
|