工作记录 2017-08-01

工作记录 2017-08-01

|----|--------------------|------|
| 序号 | 工作 | 相关人员 |
| 1 | 修改邮件上的问题。 更新RD服务器。 | 郝峰鸽 |

RD服务器更新了,更新的文件放在190的D:\Temp\CHTeam\fnehr_update_20170801\下了。

数据库更新

1、在hosp库中执行hosp_sp.sql

sp_get_invoice的改动:

1、主保险的判断改为 where ( (isnull(b.payer_flag,'') like '%Primary%') or (isnull(b.payer_flag,'')='') )

其他保险改为where (isnull(b.payer_flag,'') not like '%Primary%' ) and (isnull(b.payer_flag,'')<>'')

2、copay的 balance改为0-(isnull(adjustment,0)+isnull(appliedamount,0))

insert into #invoice(code, billed,applied,adjustment, copay, balance, detail)

select paymenttype,null, null, isnull(adjustment,0),isnull(appliedamount,0),0-(isnull(adjustment,0)+isnull(appliedamount,0)), ''

from PatVisitPayment

where mr_no=@mr_no and case_no=@case_no and paymenttype in ('copay','coinsurance','deductible')

sp_job_summary的改动:

1、注释掉了这句

--update @payer_flag_list set idx=1 where flag<>'Processed as Secondary'

idx=1 表示是主保险

2、修改了payer的显示顺序update @payment_header_list set idx=99 where idx is null

sp_complete_job_pay的改动:

1、改了pay_status的处理

update payment set pay_status='Completed' where claim_no in ( select claim_no from claims where job_no=@job_no and state not in ('Denied','Deleted')) and isnull(pay_status,'')<>'Deleted'

更新的文件

├─sql

│ hosp_sp.sql

└─web

├─bin

│ Business.dll

│ Business.pdb

│ DataAccess.dll

│ DataAccess.pdb

│ Web.dll

│ Web.pdb

└─scripts

└─billingservice

visit_list.js

更新的问题

1、修改了invoice的copay的处理。

2、修改了payment summary的主保险的判断。

这里的applied大于allowed?

3、修改了payment summary的显示顺序。

4、payment list 加了 notes。

相关推荐
椒颜皮皮虾1 小时前
DeploySharp开源发布:让C#部署深度学习模型更加简单
c#·openvino
Rotion_深6 小时前
海康 智能相机二开 绘制底图+测试工具应用框
c#·二次开发·海康·智能相机
王家视频教程图书馆7 小时前
C# asp.net模板代码简单API请求
开发语言·c#·asp.net
大飞pkz9 小时前
【设计模式】备忘录模式
开发语言·设计模式·c#·备忘录模式
李宥小哥14 小时前
C#基础09-面向对象关键字
开发语言·c#
ajassi200014 小时前
开源 C# 快速开发(十四)进程--内存映射
开发语言·开源·c#
ajassi200015 小时前
开源 C# 快速开发(十五)进程--windows消息
windows·开源·c#
ajassi200015 小时前
开源 C# 快速开发(十三)进程--管道通讯
开发语言·开源·c#
Rotion_深21 小时前
C# 对Bitmap 的一些处理方法,裁剪,压缩,旋转等
图像处理·c#
秋月的私语21 小时前
如何快速将当前的c#工程发布成单文件
android·java·c#