/// 事前事中分析-违规记录宽表 /// 用于导出和查询违规数据(覆盖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 { %%CLASSNAME TaskID TradeCode TriggerScene MsgID WarnType JrID RuleID RuleName VolaCont VolaAmt SevDeg VolaBhvrType PatnID PatnName Gend Brdy MdtrtID DeptName MedType MedTypeName ItemCode ItemName Cnt Pric Sumamt OpterCode OpterName InfDate InfTime DspoWay DspoWayRea FeedbackDate FeedbackTime CreateDate CreateTime Deleted InterfaceDr ^BSPreInProcessViolLogD BSPreInProcessViolLogDefaultData ^BSPreInProcessViolLogD ^BSPreInProcessViolLogI ^BSPreInProcessViolLogS %Storage.Persistent } }