添加新关键词住院号和医保结算单号码

This commit is contained in:
2024-07-04 09:22:42 +08:00
parent b64ccad862
commit 69dacc19c9
4 changed files with 23 additions and 10 deletions

View File

@@ -118,11 +118,12 @@ def main(model_type, pic_name=None):
elif model_type == "settlement":
task_path = "../config/model/settlement_list_model"
test_img_path = ucloud.get_private_url(pic_name) if pic_name else "img/PH20240511000638_1_094306_1.jpg"
schema = ["患者姓名", "入院日期", "出院日期", "费用总额", "个人现金支付", "个人账户支付", "自费金额", "医保类型"]
schema = ["患者姓名", "入院日期", "出院日期", "费用总额", "个人现金支付", "个人账户支付", "自费金额",
"医保类型", "住院号", "医保结算单号码"]
elif model_type == "discharge":
task_path = "../config/model/discharge_record_model"
test_img_path = ucloud.get_private_url(pic_name) if pic_name else "img/PH20240401000003_3_001938_2.jpg"
schema = ["医院", "科室", "患者姓名", "入院日期", "出院日期", "主治医生"]
schema = ["医院", "科室", "患者姓名", "入院日期", "出院日期", "主治医生", "住院号"]
elif model_type == "cost":
task_path = "../config/model/cost_list_model"
test_img_path = ucloud.get_private_url(pic_name) if pic_name else "img/PH20240511000648_4_094542_2.jpg"