项目

一般

简介

行为

功能需求 #3626

已关闭

重大阳性报表制作

靳 奉迪6 个月 之前添加. 更新于 5 个月 之前.

状态:
已关闭
优先级:
普通
指派给:
李 刚
开始日期:
2024-10-29
计划完成日期:
% 完成:

0%

预期时间:
8:00 小时

描述

使用通用报表功能,SQL 书写条件不支持,下面为SQl的具体参数
问题为,我们表里存储结果为string类型,转换成浮点类型判断结果不准确,需要程序单独处理,建议制作一个单独界面
SELECT top 1234
do.OrderCode,
do.CardNum 体检卡号,
do.unitname 单位名称,
fjl.*,
--'检验' 类别,
--fjl.RptSubItemName + ':' + fjl.ExamValue '阳性结果',
--'' 描述,
fjl.RptTime 结果时间
FROM
DD_Order do WITH ( nolock )
LEFT JOIN FJ_RptSubItemRstLis fjl WITH ( nolock ) ON do.ordercode = fjl.OrderCode
WHERE
fjl.ResultType = 'H'

and ( RptSubItemCode='90073' and (ExamValue>'200' or ExamValue<'100'))
OR ( RptSubItemCode='90072' and (ExamValue>'20' or ExamValue<'2' ))
OR ( RptSubItemCode='90083' and (ExamValue>'500' or ExamValue<'80' ))
OR ( RptSubItemCode='90115' and ExamValue>'120')
OR ( RptSubItemCode='90116' and ExamValue>'120' )
OR ( RptSubItemCode='90129' and ExamValue>'5' )
OR ( RptSubItemCode='90131' and ExamValue>'4.9')
OR ( RptSubItemCode='90128' and ExamValue>'7.2')
OR ( RptSubItemCode='90133' and ExamValue>'10' )
OR ( RptSubItemCode='90126' and ExamValue>'200' )
OR ( RptSubItemCode='G0184' and (ExamValue >'10' and ExamValue not like '%>' or ExamValue not like '<%'))
OR ( RptSubItemCode='90232' and ResultType='H' )
OR ( RptSubItemCode='90234' and ResultType='H' )
OR ( RptSubItemCode='90233' and ResultType='H' )
OR ( RptSubItemCode='90873' and ResultType='H' )
OR ( RptSubItemCode='98258' and ResultType='H' )
OR ( RptSubItemCode='98260' and ResultType='H' )
OR ( RptSubItemCode='98259' and ResultType='H' )
OR ( RptSubItemCode='90239' and ResultType='H' )
OR ( RptSubItemCode='90663' and ResultType='H' )
OR ( RptSubItemCode='90241' and ResultType='H' )
OR ( RptSubItemCode='90243' and ResultType='H' )
OR ( RptSubItemCode='90236' and ResultType='H' )
OR ( RptSubItemCode='90201' and ExamValue>'600' )
OR ( RptSubItemCode='97168' and ExamValue>'0.5' )
OR ( RptSubItemCode='90138' and ResultType='H' )
OR ( RptSubItemCode='91428' and (CHARINDEX>0 or CHARINDEX>0 ))
OR ( RptSubItemCode='90169' and ExamValue>'6.5' )
OR ( RptSubItemCode='98630' and ExamValue>'3' )
OR ( RptSubItemCode='90170' and ExamValue>'150' )
OR ( RptSubItemCode='90155' and ExamValue>'25' )
OR ( RptSubItemCode='90157' and ExamValue>'10' )
OR ( RptSubItemCode='90158' and ExamValue>'32' )
OR ( RptSubItemCode='90159' and ExamValue>'1000')
OR ( RptSubItemCode='90872' and ExamValue>'2.5' )


文件

image.png (6.31 KB) image.png 靳 奉迪, 2024-10-29 10:49
行为 #1

靳 奉迪 更新于 6 个月 之前

新增重大阳性结果日报表
按照体检中心指定的项目及标准,汇总异常指标
内容:体检号、姓名、性别、年龄、单位、电话
阳性结果、结果时间
格式:同一体检人基本信息(体检号、姓名、性别、年龄、单位、电话)合并
查询条件: 结果时间(默认前一天,可选择),阳性结果,单位
报表可导出
报表格式如下:

行为 #2

杨 鑫迪 更新于 6 个月 之前

  • 指派给杨 鑫迪 变更为 李 刚
行为 #3

杨 鑫迪 更新于 6 个月 之前

  • 预期时间 被设置为 8:00 小时
行为 #4

由 李 刚 更新于 5 个月 之前

  • 状态新建 变更为 进行中
行为 #5

靳 奉迪 更新于 5 个月 之前

  • 状态进行中 变更为 已解决
行为 #6

任 晓峰 更新于 5 个月 之前

  • 状态已解决 变更为 已关闭
行为

导出 Atom PDF