新增自动识别错误检查功能

This commit is contained in:
2024-08-26 14:42:50 +08:00
parent aa3009e6a9
commit aea6f19951
4 changed files with 332 additions and 48 deletions

View File

@@ -361,53 +361,8 @@ class ZxIeOcrerror(Base):
cPhhd_id = Column(String(20), comment='拍一拍单据号')
class ZxIePhpjerror1(Base):
__tablename__ = 'zx_ie_phpjerror1'
pk_phhd = Column(INTEGER(11), primary_key=True, comment='病案主键')
cphhd_id = Column(VARCHAR(20), index=True, comment='拍一拍单据号')
billdate = Column(DateTime, index=True)
cxm = Column(String(12), comment='姓名')
csfzh = Column(VARCHAR(20), index=True, comment='身份证号')
pk_yljg = Column(INTEGER(11), server_default=text("'0'"), comment='医院pk')
pk_yljg_ocr = Column(INTEGER(11), server_default=text("'0'"), comment='医院pk')
pk_ylks = Column(INTEGER(11), server_default=text("'0'"), comment='科室pk')
pk_ylks_ocr = Column(INTEGER(11), server_default=text("'0'"), comment='科室pk')
cdoctor = Column(VARCHAR(20), comment='医生')
cdoctor_ocr = Column(VARCHAR(20), comment='医生')
czyh = Column(VARCHAR(20), comment='住院号')
czyh_ocr = Column(VARCHAR(20), comment='住院号')
dzyrq = Column(DateTime, comment='入院日期')
dzyrq_ocr = Column(DateTime, comment='入院日期')
dcyrq = Column(DateTime)
dcyrq_ocr = Column(DateTime)
input_cxm = Column(String(20), comment='姓名核对')
input_cxm_ocr = Column(String(20), comment='姓名核对')
ffsylfy = Column(DECIMAL(18, 2), server_default=text("'0.00'"), comment='发生医疗费用')
ffsylfy_ocr = Column(DECIMAL(18, 2), server_default=text("'0.00'"), comment='发生医疗费用')
fgrzfje1 = Column(DECIMAL(18, 2), server_default=text("'0.00'"), comment='个人支付金额1')
fgrzfje1_ocr = Column(DECIMAL(18, 2), server_default=text("'0.00'"), comment='个人支付金额1')
fgezfje2 = Column(DECIMAL(18, 2), server_default=text("'0.00'"), comment='个人支付金额2')
fgezfje2_ocr = Column(DECIMAL(18, 2), server_default=text("'0.00'"), comment='个人支付金额2')
fgrzfje = Column(DECIMAL(18, 2), server_default=text("'0.00'"), comment='个人自费金额')
fgrzfje_ocr = Column(DECIMAL(18, 2), server_default=text("'0.00'"), comment='个人自费金额')
fzfje = Column(DECIMAL(18, 2), server_default=text("'0.00'"), comment='自付金额')
fzfje_ocr = Column(DECIMAL(18, 2), server_default=text("'0.00'"), comment='自付金额')
yb_type = Column(VARCHAR(10), comment='医保类别')
yb_type_ocr = Column(VARCHAR(20), comment='医保类别')
cjsd_id = Column(VARCHAR(30), comment='结算单号码')
cjsd_id_ocr = Column(VARCHAR(30), comment='结算单号码')
fage = Column(INTEGER(4), server_default=text("'0'"), comment='年龄')
fage_ocr = Column(INTEGER(4), server_default=text("'0'"), comment='年龄')
creator = Column(VARCHAR(30), index=True, comment='创建人')
creationtime = Column(DateTime, server_default=text("CURRENT_TIMESTAMP"), comment='创建时间')
modifier = Column(VARCHAR(30), comment='最后修改人')
modifiedtime = Column(DateTime, server_default=text("CURRENT_TIMESTAMP"), comment='最后修改时间')
cstatus = Column(CHAR(1), index=True, server_default=text("'0'"), comment='状态')
class ZxIePhpjerror2(Base):
__tablename__ = 'zx_ie_phpjerror2'
class ViewErrorReview(Base):
__tablename__ = 'view_error_review'
pk_phhd = Column(INTEGER(11), primary_key=True, comment='病案主键')
cphhd_id = Column(VARCHAR(20), index=True, comment='拍一拍单据号')