| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267 |
- /// 事前事中分析-违规记录宽表
- /// 用于导出和查询违规数据(覆盖3101/3102/3103交易)
- Class User.BSPreInProcessViolLog Extends (%Persistent, %XML.Adaptor, src.util.DynamicObject.Adapter) [ ClassType = persistent, Inheritance = right, Not ProcedureBlock, SqlRowIdName = ID, SqlTableName = BS_PreInProcess_ViolationLog ]
- {
- /// 任务标识(关联一次分析请求,非唯一)
- Property TaskID As %String(MAXLEN = 50);
- /// 交易代码 3101/3102
- Property TradeCode As %String(MAXLEN = 10);
- /// 触发场景
- Property TriggerScene As %String(MAXLEN = 10);
- /// 报文ID
- Property MsgID As %String(MAXLEN = 50);
- /// 反馈类型 1=事前 2=事中
- Property WarnType As %String(MAXLEN = 6);
- /// 违规标识(业务唯一键,对应3101/3102的jr_id和3103的warn_rslt_id)
- Property JrID As %String(MAXLEN = 50) [ Required ];
- /// 规则ID
- Property RuleID As %String(MAXLEN = 50);
- /// 规则名称
- Property RuleName As %String(MAXLEN = 200);
- /// 违规内容
- Property VolaCont As %String(MAXLEN = 500);
- /// 违规金额
- Property VolaAmt As %Numeric;
- /// 严重程度(限制类型)
- Property SevDeg As %String(MAXLEN = 3);
- /// 违规行为分类
- Property VolaBhvrType As %String(MAXLEN = 3);
- /// 参保人标识
- Property PatnID As %String(MAXLEN = 50);
- /// 参保人姓名
- Property PatnName As %String(MAXLEN = 50);
- /// 性别
- Property Gend As %String(MAXLEN = 3);
- /// 出生日期
- Property Brdy As %Date;
- /// 就诊标识
- Property MdtrtID As %String(MAXLEN = 30);
- /// 科室名称
- Property DeptName As %String(MAXLEN = 50);
- /// 医疗类别编码
- Property MedType As %String(MAXLEN = 6);
- /// 业务分类名称(门诊/住院)
- Property MedTypeName As %String(MAXLEN = 20);
- /// 项目编码
- Property ItemCode As %String(MAXLEN = 50);
- /// 项目名称
- Property ItemName As %String(MAXLEN = 200);
- /// 数量
- Property Cnt As %Numeric;
- /// 单价
- Property Pric As %Numeric;
- /// 总费用
- Property Sumamt As %Numeric;
- /// 操作员编码
- Property OpterCode As %String(MAXLEN = 30);
- /// 操作员姓名
- Property OpterName As %String(MAXLEN = 50);
- /// 交易日期
- Property InfDate As %Date;
- /// 交易时间
- Property InfTime As %Time;
- /// 处理方式 1=继续执行 2=返回修改
- Property DspoWay As %String(MAXLEN = 3);
- /// 处理原因
- Property DspoWayRea As %String(MAXLEN = 500);
- /// 反馈日期
- Property FeedbackDate As %Date;
- /// 反馈时间
- Property FeedbackTime As %Time;
- /// 创建日期
- Property CreateDate As %Date [ InitialExpression = {$zdateh($horolog, 5)} ];
- /// 创建时间
- Property CreateTime As %Time [ InitialExpression = {$piece($horolog, ",", 2)} ];
- /// 删除标记 0:正常 1:已删除
- Property Deleted As %Integer [ Required, InitialExpression = 0 ];
- /// 医保接口Dr
- Property InterfaceDr As HBMedInsuInterface [ SqlColumnNumber = 4, SqlFieldName = Interface_Dr ];
- Index TaskIDIndex On TaskID As Exact;
- Index MsgIDIndex On MsgID As Exact;
- Index JrIDIndex On JrID As Exact [ Unique ];
- Index PatnIDIndex On PatnID As Exact;
- Index InfDateIndex On InfDate As Exact;
- Index RuleIDIndex On RuleID As Exact;
- Index WarnTypeIndex On WarnType As Exact;
- Index SevDegIndex On SevDeg As Exact;
- Index DspoWayIndex On DspoWay As Exact;
- Index DeptNameIndex On DeptName As Exact;
- Index DeletedIndex On Deleted As Exact;
- Index InterfaceDrIndex On InterfaceDr As Exact;
- Storage Default
- {
- <Data name="BSPreInProcessViolLogDefaultData">
- <Value name="1">
- <Value>%%CLASSNAME</Value>
- </Value>
- <Value name="2">
- <Value>TaskID</Value>
- </Value>
- <Value name="3">
- <Value>TradeCode</Value>
- </Value>
- <Value name="4">
- <Value>TriggerScene</Value>
- </Value>
- <Value name="5">
- <Value>MsgID</Value>
- </Value>
- <Value name="6">
- <Value>WarnType</Value>
- </Value>
- <Value name="7">
- <Value>JrID</Value>
- </Value>
- <Value name="8">
- <Value>RuleID</Value>
- </Value>
- <Value name="9">
- <Value>RuleName</Value>
- </Value>
- <Value name="10">
- <Value>VolaCont</Value>
- </Value>
- <Value name="11">
- <Value>VolaAmt</Value>
- </Value>
- <Value name="12">
- <Value>SevDeg</Value>
- </Value>
- <Value name="13">
- <Value>VolaBhvrType</Value>
- </Value>
- <Value name="14">
- <Value>PatnID</Value>
- </Value>
- <Value name="15">
- <Value>PatnName</Value>
- </Value>
- <Value name="16">
- <Value>Gend</Value>
- </Value>
- <Value name="17">
- <Value>Brdy</Value>
- </Value>
- <Value name="18">
- <Value>MdtrtID</Value>
- </Value>
- <Value name="19">
- <Value>DeptName</Value>
- </Value>
- <Value name="20">
- <Value>MedType</Value>
- </Value>
- <Value name="21">
- <Value>MedTypeName</Value>
- </Value>
- <Value name="22">
- <Value>ItemCode</Value>
- </Value>
- <Value name="23">
- <Value>ItemName</Value>
- </Value>
- <Value name="24">
- <Value>Cnt</Value>
- </Value>
- <Value name="25">
- <Value>Pric</Value>
- </Value>
- <Value name="26">
- <Value>Sumamt</Value>
- </Value>
- <Value name="27">
- <Value>OpterCode</Value>
- </Value>
- <Value name="28">
- <Value>OpterName</Value>
- </Value>
- <Value name="29">
- <Value>InfDate</Value>
- </Value>
- <Value name="30">
- <Value>InfTime</Value>
- </Value>
- <Value name="31">
- <Value>DspoWay</Value>
- </Value>
- <Value name="32">
- <Value>DspoWayRea</Value>
- </Value>
- <Value name="33">
- <Value>FeedbackDate</Value>
- </Value>
- <Value name="34">
- <Value>FeedbackTime</Value>
- </Value>
- <Value name="35">
- <Value>CreateDate</Value>
- </Value>
- <Value name="36">
- <Value>CreateTime</Value>
- </Value>
- <Value name="37">
- <Value>Deleted</Value>
- </Value>
- <Value name="38">
- <Value>InterfaceDr</Value>
- </Value>
- </Data>
- <DataLocation>^BSPreInProcessViolLogD</DataLocation>
- <DefaultData>BSPreInProcessViolLogDefaultData</DefaultData>
- <IdLocation>^BSPreInProcessViolLogD</IdLocation>
- <IndexLocation>^BSPreInProcessViolLogI</IndexLocation>
- <StreamLocation>^BSPreInProcessViolLogS</StreamLocation>
- <Type>%Storage.Persistent</Type>
- }
- }
|