广东省版病案首页HIS项目归类语句参考Word文档格式.docx
《广东省版病案首页HIS项目归类语句参考Word文档格式.docx》由会员分享,可在线阅读,更多相关《广东省版病案首页HIS项目归类语句参考Word文档格式.docx(15页珍藏版)》请在冰豆网上搜索。
SELECTBsItem.NameASExpr1,BsZyFeety.NameASExpr2,BsItemFirstPage.ItemId,
BsItemFirstPage.PsFeeName,BsItemFirstPageType.Name,BsItem.LsRpType
-----updateBsItemFirstPagesetpsfeename=41
FROMBsItemFirstPageINNERJOIN
BsItemONBsItemFirstPage.ItemId=BsItem.IDINNERJOIN
BsZyFeetyONBsItem.FeeZyId=BsZyFeety.IDLEFTOUTERJOIN
BsItemFirstPageTypeON
BsItemFirstPage.PsFeeName=BsItemFirstPageType.ID
WHERE((BsItemFirstPage.PsFeeNameISNULL)OR
(BsItemFirstPage.PsFeeName=0))AND(BsItem.LsRpTypeIN
(1))
-------西药
-----updateBsItemFirstPagesetpsfeename=40
(BsItemFirstPage.PsFeeName=0))AND(BsItem.LsRpTypeIN
(2))
--------中草药
-----updateBsItemFirstPagesetpsfeename=26
(BsItemFirstPage.PsFeeName=0))AND(BsItem.LsRpTypeIN(3))
---------诊查费(110200001-110200005)
-----updateBsItemFirstPagesetpsfeename=1
whereBsItem.idin(SELECTid
FROM[BsItem]wheref1>
='
110200001'
andf1<
110200005'
)and((BsItemFirstPage.PsFeeNameISNULL)OR
(BsItemFirstPage.PsFeeName=0))
---------一般医疗服务费(110100001-110900005)
-----updateBsItemFirstPagesetpsfeename=36
110100001'
110900005'
)and((BsItemFirstPage.PsFeeNameISNULL)OR
---------一般治疗操作费(120200001-121700001)
-----updateBsItemFirstPagesetpsfeename=3
120200001'
121700001'
---------护理费(120100001-120100014)
-----updateBsItemFirstPagesetpsfeename=4
120100001'
120100014'
---------其他费用(130100001-140100004)
-----updateBsItemFirstPagesetpsfeename=5
130100001'
140100004'
---------病理诊断费(270100001-2708000