免费无码av片在线观看网址,免费毛片视频,狠狠做深爱婷婷综合一区,国产高清在线观看91精品,好吊色妇女免费视频免费
色人妻超碰,日韩在线视频网站,亚汌国产一区二区三区,国产经典免费视频在线观看 ,久久久精品国产亚洲麻色欲,国产大片喷水在线在线视频,亚洲一区二区成人,女人18一级毛片免费观看
  • <small id="cc0cc"></small>
  • <noscript id="cc0cc"></noscript>
    <tr id="cc0cc"></tr>

  • 獲得積分
    資料庫會員登錄
    搜索: [高級搜索]
    下載首頁 | 資源分類 | 下載排行
    您的位置: 首頁 > 市場 開發 實施 管理 > 系統實施
     
    分類導航
    下載排行
    最新資源
    HIS45數據平衡檢查
    資源大小:1.22 KB 資源類型:文檔
    下載積分: 0
    更多
    -->
    下載統計:總下載:0,本月下載:0,本周下載:0,今日下載:0
    發表評論 錯誤報告 加入收藏夾
    資源介紹
    -主要收費表的自身數據平衡
    select (select count(*) from fin_opr_register t where (t.reg_fee + t.diag_fee + t.chck_fee + t.oth_fee) <> (t.own_cost + t.pub_cost + t.pay_cost + t.eco_cost)) 掛號表,
           (select count(*) from fin_opb_invoiceinfo t where t.tot_cost <> (t.own_cost + t.pub_cost + t.pay_cost)) 門診收費主表,
           (select count(*) from fin_ipb_balancehead t where t.tot_cost <> (t.own_cost + t.pub_cost + t.pay_cost + t.eco_cost + t.der_cost)) 住院發票主表,
           (select count(*) from fin_ipb_balancelist t where t.tot_cost <> (t.own_cost + t.pub_cost + t.pay_cost + t.eco_cost)) 住院發票明細表,
           (select count(*) from fin_ipb_feeinfo t where t.tot_cost <> (t.own_cost + t.pay_cost + t.pub_cost + t.eco_cost)) 住院費用主表,
           (select count(*) from fin_ipb_medicinelist t where t.tot_cost <> (t.own_cost + t.pay_cost + t.pub_cost + t.eco_cost)) 住院藥品明細表,
           (select count(*) from fin_ipb_itemlist t where t.tot_cost <> (t.own_cost + t.pay_cost + t.pub_cost + t.eco_cost)) 住院項目明細表
    from dual;

    --門診發票主表、明細表、支付方式表、處方明細表中金額是否相等
    select '發票主表',sum(t.tot_cost)
    from fin_opb_invoiceinfo t
    where t.oper_date >= to_date('2010-10-01','yyyy-mm-dd')
      and t.oper_date <  to_date('2010-10-15','yyyy-mm-dd') + 1
    union all
    select '發票明細',sum(t.own_cost + t.pub_cost + t.pay_cost)
    from fin_opb_invoicedetail t
    where t.oper_date >= to_date('2010-10-01','yyyy-mm-dd')
      and t.oper_date <  to_date('2010-10-15','yyyy-mm-dd') + 1
    union all
    select '支付方式表',sum(t.tot_cost)
    from fin_opb_paymode t
    where t.oper_date >= to_date('2010-10-01','yyyy-mm-dd')
      and t.oper_date <  to_date('2010-10-15','yyyy-mm-dd') + 1
    union all
    select '處方明細表',sum(t.own_cost + t.pub_cost + t.pay_cost)
    from fin_opb_feedetail t
    where t.fee_date >= to_date('2010-10-01','yyyy-mm-dd')
      and t.fee_date <  to_date('2010-10-15','yyyy-mm-dd') + 1;

    --住院主表、費用匯總表、費用明細表金額是否相等
    select sum(t.tot_cost + t.balance_cost) 住院主表,
           sum((select sum(tot_cost) from fin_ipb_feeinfo where inpatient_no = t.inpatient_no)) 費用匯總表,
           sum(((select sum(tot_cost) from fin_ipb_itemlist where inpatient_no = t.inpatient_no) + (select sum(tot_cost) from fin_ipb_medicinelist where inpatient_no = t.inpatient_no))) 費用明細表        
    from fin_ipr_inmaininfo t
    where t.in_state in ('I','B');

    --住院發票主表、明細表、費用匯總表中金額是否相等
    select '發票主表',sum(t.tot_cost)
    from fin_ipb_balancehead t
    where t.balance_date >= to_date('2010-10-01','yyyy-mm-dd')
      and t.balance_date <  to_date('2010-10-15','yyyy-mm-dd') + 1
    union all
    select '發票明細',sum(t.tot_cost)
    from fin_ipb_balancelist t
    where t.balance_date >= to_date('2010-10-01','yyyy-mm-dd')
      and t.balance_date <  to_date('2010-10-15','yyyy-mm-dd') + 1
    union all
    select '費用匯總表',sum(t.tot_cost)
    from fin_ipb_feeinfo t
    where t.balance_date >= to_date('2010-10-01','yyyy-mm-dd')
      and t.balance_date <  to_date('2010-10-15','yyyy-mm-dd') + 1;



    --掛號(上海中冶)
    select '掛號',sum(t.own_cost) 現金,sum(t.pub_cost + t.pay_cost) 統籌
    from fin_opr_register t
    union all
    select '醫保',0,sum(t.pub_cost + t.append_cost + (t.curaccount_cost + t.lastaccount_cost + t.beginaccount_cost + t.pubaccount_cost + t.appendaccount_cost))
    from sh_return_result t
    where t.type in ('1','2','3','51','52','53');


    --收費(上海中冶)
    select '發票匯總' 分類,sum(t.tot_cost) 總金額,sum(t.own_cost) 現金額,sum(t.pub_cost + t.pay_cost) 統籌
    from fin_opb_invoiceinfo t
    union all
    --收費明細
    select '發票明細',sum(t.own_cost + t.pub_cost + t.pay_cost) tot_cost,0,0
    from fin_opb_invoicedetail t
    union all
    --處方
    select '處方明細',sum(t.own_cost + t.pub_cost + t.pay_cost) tot_cost,0,0
    from fin_opb_feedetail t
    where t.pay_flag = '1'
    union all
    --收費方式
    select '收費方式',sum(t.tot_cost),sum(decode(t.mode_code,'CA',t.tot_cost,'CH',t.tot_cost,'CD',t.tot_cost,'DB',t.tot_cost,0)),sum(decode(t..mode_code,'CA',0,'CH',0,'CD',0,'DB',0,t.tot_cost))
    from fin_opb_paymode t
    union all
    select '醫保',0,0,sum(t.pub_cost + t.append_cost + (t.curaccount_cost + t.lastaccount_cost + t.beginaccount_cost + t.pubaccount_cost + t.appendaccount_cost))
    from sh_return_result t
    where t.type in ('4','5','6','7','54','55','56','57');


    --住院發票匯總(上海中冶)
    select '發票匯總' 分類,sum(t.tot_cost) 總金額,sum(t.own_cost) 自費,sum(t.supply_cost - t.return_cost) 實收金額,sum(t.pub_cost + t.pay_cost) 統籌,sum(t.prepay_cost) 預交金
    from fin_ipb_balancehead t
    union all
    --住院發票明細
    select '發票明細',sum(t.tot_cost),0,0,0,0
    from fin_ipb_balancelist t
    union all
    --住院結算
    select '收費方式',0,0,sum(decode(t.trans_kind,'1',decode(t.reutrnorsupply_flag,'2',-t.cost,t.cost),0)),0,sum(decode(t.trans_kind,'0',t.cost,0))
    from fin_ipb_balancepay t
    union all
    select '醫保',0,0,0,sum(t.pub_cost + t.append_cost + (t.curaccount_cost + t.lastaccount_cost + t.beginaccount_cost + t.pubaccount_cost + t.appendaccount_cost)),0
    from sh_return_result t
    where t.type in ('8','9','58','59');
    下載地址
     下載地址1
    按字母檢索

    下載須知:
    大部份資源無需注冊即可下載
    需要積分的資源要在會員中心注冊會員并用 積分體系中提示的方法賺取積分才能下載。

    免責聲明:
    所有資源只能用于參考學習,不能用于任何商業用途,否則后果自負!
    主站蜘蛛池模板: 国产在线自乱拍播放| 野花国产精品入口| 中文字幕波多野不卡一区| 乱人伦中文视频在线观看免费| 视频二区国产精品职场同事| 亚洲欧美色中文字幕| 激情国产精品一区| 欧美三级视频在线播放| 午夜综合网| 无码AV高清毛片中国一级毛片| 曰韩免费无码AV一区二区| 国产三级a| 国产日韩久久久久无码精品| 久久精品亚洲热综合一区二区| 久久精品女人天堂aaa| 亚洲最猛黑人xxxx黑人猛交| 国产欧美在线观看精品一区污| 熟妇无码人妻| 精品天海翼一区二区| 这里只有精品在线| 国产精品免费露脸视频| 亚洲性影院| 免费一级无码在线网站| 亚洲国产精品成人久久综合影院| 国产成人三级| 午夜精品国产自在| 久久综合九色综合97网| 久久这里只有精品2| 啪啪免费视频一区二区| 国产亚洲日韩av在线| 成年免费在线观看| 国产精品香蕉在线| 激情综合婷婷丁香五月尤物| 婷婷午夜天| 亚洲综合精品第一页| 福利姬国产精品一区在线| 久久婷婷色综合老司机| 亚洲国产成人精品一二区| 亚洲三级影院| 欧美在线视频不卡第一页| 国内精品九九久久久精品| 91在线日韩在线播放| 亚洲精品男人天堂| 狠狠做深爱婷婷久久一区| 囯产av无码片毛片一级| 婷婷五月在线| 久久青草视频| 国产一区亚洲一区| 美女黄网十八禁免费看| 黄色成年视频| 国产在线视频导航| 午夜国产理论| 亚洲最大情网站在线观看| 尤物午夜福利视频| 国产成年无码AⅤ片在线| 国产精品大白天新婚身材| 欧美综合中文字幕久久| 亚洲一区网站| 国产精品原创不卡在线| 国产精品毛片在线直播完整版| 丝袜无码一区二区三区| 色欲综合久久中文字幕网| 在线中文字幕日韩| 国产人成网线在线播放va| 亚洲国产精品无码AV| 国产一区二区三区免费观看 | 99爱在线| 亚洲中文精品久久久久久不卡| 四虎影视永久在线精品| 久久这里只有精品66| 亚洲综合精品第一页| 欧美国产综合色视频| 潮喷在线无码白浆| 国产H片无码不卡在线视频| 国产成人一级| 亚洲中文字幕无码mv| 999国产精品| 四虎综合网| 国产乱人乱偷精品视频a人人澡| 国产在线麻豆波多野结衣| 亚洲福利一区二区三区| 日韩精品成人网页视频在线|