返回结果示例
当您使用医疗票据识别API结构化票据样本时,结构化后的数据将按照以下结构的JSON格式返回。常规字段说明
- x_request_id:该请求的唯一标识。
- code:错误码,200表示成功。详情见快速启动-错误码说明。
- message:错误信息,成功时为”success”。
- version:版本号,例如”v1.0.0”。
- duration:推理时间(毫秒),例如”999”。
主要结果说明:result对象
医疗票据识别API会在返回结果的result对象中包含以下关键信息。image_list:票据的各类图像信息
image_list 包含票据的各类图像信息,具体包括:切分后单张票据的角度、转正后的宽度和高度(单位 px)、若为 PDF 样本则包含其所在页码、图片的 base64 编码,以及开启图片切分后单张票据在原图中的坐标位置。- image_angle:切分后单张票据的角度,角度分别为0⬆️、90➡️、180⬇️、270⬅️,例如“0”。
- rotated_image_width:切分后单张票据转正后的宽度,单位px,例如“1500”。
- rotated_image_height:切分后单张票据转正后的高度单位px,例如“3000”。
- page_id:如果是pdf样本,该图片在pdf上的所在页,例如“0”。
- image_base64:图片base64编码。
- image_position:开启图片切分后单张票据在原图中的坐标位置,依次为左上,右上,右下,左下。例如[10, 10, 100, 10, 100, 50, 10, 50]。
object_list:票据的各类结构化信息
object_list包含医疗票据的类型、在 PDF 中的页码、对应图片标识以及票据全量结构化信息(涵盖票据信息、患者核心信息、就诊与机构信息、费用汇总与支付、以及以表格形式结构化的信息等)。 object_list:票据的各类结构化信息- doc_type:单份医疗票据的类型,例如paper_inpatient_medical_invoice
- doc_label:单份医疗票据的类型的中文描述,例如医疗住院收费票据(纸质)
- page_ids:如果是pdf文件,该份票据样本在pdf中的页码,例如“0,1,2”
- image_ids:该份票据在image_list中的所有图片,例如“0,1,2”
- fields:票据结构化信息中的Key-Value字段的识别结果,全量的结构化信息字段,可参考分票种字段对照表(分票种字段对照表)
- value:字段识别的结果,例如“张三”
- key:识别字段key,例如“payee”,详情票种对应key,可参考分票种字段对照表(分票种字段对照表)
- label:识别字段的中文描述,例如“收款人”
- bounding_regions:识别字段的坐标信息
- page_id:坐标所在页码,例如“0,1,2”
- image_id:坐标所在图片在image_list中的索引id,例如“0,1,2”
- value:坐标所属字段的识别结果。一个完整的字段值,例如“张三”,可能在原文件中存在换行,因此该字段,会拆分进行输出,例如“张”、“三”
- position:字段坐标位置,依次为左上,右上,右下,左下。例如[10, 10, 100, 10, 100, 50, 10, 50]
- char_pos:识别结果所有字符的坐标位置,依次为左上,右上,右下,左下。例如[10, 10, 100, 10, 100, 50, 10, 50]
- type:字段的类别,例如“就诊与机构信息”
- tables:票据表格识别结果
- name:票据信息,例如“expense_item_summary_table”
- label:表格名称中文描述,例如“费目金额汇总表”
- items:表格所有行数据
- value:单个表字段的识别结果,例如“材料费”
- key:表格的表头信息,识别字段key,例如“project_name”
- label:单个表字段的识别结果的中文描述,例如“项目名称”
- bounding_regions:识别字段的坐标信息
- page_id:坐标所在页码,例如“0,1,2”
- image_id:坐标所在图片在image_list中的索引id,例如“0,1,2”
- value:坐标所属字段的识别结果。一个完整的字段值,例如“张三”,可能在原文件中存在换行,因此该字段,会拆分进行输出,例如“张”、“三”
- position:字段坐标位置,依次为左上,右上,右下,左下。例如[10, 10, 100, 10, 100, 50, 10, 50]
- char_pos:识别结果所有字符的坐标位置,依次为左上,右上,右下,左下。例如[10, 10, 100, 10, 100, 50, 10, 50]
其他result字段
- page_count:样本总页数,例如“10”
- ppi:pdf解析分辨率,默认144
票种字段对照表-object_list
医疗住院收费票据(纸质) paper_inpatient_medical_invoice
| 字段名 | 类型 | 描述 |
|---|---|---|
| doc_type | string | 单份医疗票据类型 |
| doc_label | string | 票据类型中文描述 |
| page_ids | integer | 如果是pdf文件,该份票据样本在pdf中的页码 |
| image_ids | integer | 该份票据在image_list中的所有图片索引 |
| fields | array | 票据kv字段识别结果 |
| + key | string | 识别字段key: document_title_name 单据标题名称 invoice_code 票据代码 invoice_number 票据号码 electronic_invoice_code 电子票据代码 electronic_invoice_number 电子票据号码 business_serial_number 业务流水号 bill_verification_code 票据校验码 payer_social_credit_code 交款人统一社会信用代码 invoice_date 开票日期 name 姓名 gender 性别 age 年龄 inpatient_number 住院号 medical_record_number 病历号 bed_number 床号 ward 病区 medical_insurance_number 医保编号 medical_insurance_type 医保类型 social_security_card_number 社会保障号码 medical_institution_name 医疗机构名称 medical_institution_type 医疗机构类型 department 科室 medical_treatment_date 就诊日期 admission_time 住院起始日期 discharge_time 住院结束日期 hospitalization_days 住院天数 total_amount_in_words 大写金额合计 total_expense_amount 发票金额合计 personal_account_balance 个人账户余额 personal_self_payment_amount 个人自付金额 personal_self_bear_amount 个人自负金额 category_self_payment_amount 分类自付金额 personal_self_funded_amount 个人自费金额 prepaid_amount 预缴金额 supplementary_payment_amount 补缴金额 refund_amount 退费金额 rounding_amount 抹零金额 medical_insurance_payment 医保统筹基金支付 additional_fund_payment 附加基金支付 personal_account_payment 个人账户支付 personal_cash_payment 个人现金支付 other_payments 其他支付 payee_organization 收款单位 payee 收款人 reviewer 复核人 payer 交款人 current_year_balance 医保当年账户余额 cumulative_balance 医保历年账户余额 cumulative_insurance_payment 累计统筹报销金额 cumulative_deductible_amount 累计起付线金额 |
| + value | string | 字段识别结果 |
| + label | string | 字段中文描述 |
| + bounding_regions | array | 字段坐标 |
| ++ page_id | integer | 坐标所在页码 |
| ++ image_id | integer | 坐标所在图片在image_list中的索引id |
| ++ value | string | 字段识别结果 |
| ++ position | array | 字段坐标位置 |
| ++ char_pos | array | 识别结果所有字符的坐标位置 |
| + type | string | 字段类型: invoice_information 票据信息 patient_information 患者信息 visit_and_institution_information 就诊与机构信息 expense_information 费用信息 |
| tables | array | 票据表格识别结果 |
| + name | string | 表格名称 |
| + label | string | 表格名称中文描述 |
| + items | array | 表格所有行数据 |
| ++ key | string | 费目金额汇总表字段key: project_name 项目名称 amount 金额 personal_payment_amount 个人支付金额 remarks 备注 |
| ++ value | string | 字段识别结果 |
| ++ label | string | 字段中文描述 |
| ++ bounding_regions | array | 字段坐标 |
| +++ page_id | integer | 坐标所在页码 |
| +++ image_id | integer | 坐标所在图片在image_list中的索引id |
| +++ value | string | 字段识别结果 |
| +++ position | array | 字段坐标位置 |
| +++ char_pos | array | 识别结果所有字符的坐标位置 |
医疗门诊收费票据(纸质) paper_outpatient_medical_invoice
| 字段名 | 类型 | 描述 |
|---|---|---|
| doc_type | string | 单份医疗票据类型 |
| doc_label | string | 票据类型中文描述 |
| page_ids | integer | 如果是pdf文件,该份票据样本在pdf中的页码 |
| image_ids | integer | 该份票据在image_list中的所有图片索引 |
| fields | array | 票据kv字段识别结果 |
| + key | string | 识别字段key: document_title_name 单据标题名称 invoice_code 票据代码 invoice_number 票据号码 electronic_invoice_code 电子票据代码 electronic_invoice_number 电子票据号码 business_serial_number 业务流水号 bill_verification_code 票据校验码 payer_social_credit_code 交款人统一社会信用代码 invoice_date 开票日期 name 姓名 gender 性别 age 年龄 outpatient_number 门诊号 medical_insurance_number 医保编号 medical_insurance_type 医保类型 social_security_card_number 社会保障号码 medical_institution_name 医疗机构名称 medical_institution_type 医疗机构类型 department 科室 medical_treatment_date 就诊日期 total_amount_in_words 大写金额合计 total_expense_amount 发票金额合计 personal_account_balance 个人账户余额 personal_self_payment_amount 个人自付金额 personal_self_bear_amount 个人自负金额 category_self_payment_amount 分类自付金额 personal_self_funded_amount 个人自费金额 prepaid_amount 预缴金额 supplementary_payment_amount 补缴金额 refund_amount 退费金额 rounding_amount 抹零金额 medical_insurance_payment 医保统筹基金支付 additional_fund_payment 附加基金支付 personal_account_payment 个人账户支付 personal_cash_payment 个人现金支付 other_payments 其他支付 payee_organization 收款单位 payee 收款人 reviewer 复核人 payer 交款人 current_year_balance 医保当年账户余额 cumulative_balance 医保历年账户余额 cumulative_insurance_payment 累计统筹报销金额 cumulative_deductible_amount 累计起付线金额 |
| + value | string | 字段识别结果 |
| + label | string | 字段中文描述 |
| + bounding_regions | array | 字段坐标 |
| ++ page_id | integer | 坐标所在页码 |
| ++ image_id | integer | 坐标所在图片在image_list中的索引id |
| ++ value | string | 字段识别结果 |
| ++ position | array | 字段坐标位置 |
| ++ char_pos | array | 识别结果所有字符的坐标位置 |
| + type | string | 字段类型: invoice_information 票据信息 patient_information 患者信息 visit_and_institution_information 就诊与机构信息 expense_information 费用信息 |
| tables | array | 票据表格识别结果 |
| + name | string | 表格名称 |
| + label | string | 表格名称中文描述 |
| + items | array | 表格所有行数据 |
| ++ key | string | 项目明细汇总表字段key: project_name 项目名称 specification 规格 amount 金额 remarks 备注 quantity 数量 unit 单位 reimbursement_type 医保报销类别 费目金额汇总表字段key: expense_item 费目 amount 金额 remarks 备注 |
| ++ value | string | 字段识别结果 |
| ++ label | string | 字段中文描述 |
| ++ bounding_regions | array | 字段坐标 |
| +++ page_id | integer | 坐标所在页码 |
| +++ image_id | integer | 坐标所在图片在image_list中的索引id |
| +++ value | string | 字段识别结果 |
| +++ position | array | 字段坐标位置 |
| +++ char_pos | array | 识别结果所有字符的坐标位置 |
医疗住院收费票据(电子) electronic_inpatient_medical_invoice
| 字段名 | 类型 | 描述 |
|---|---|---|
| doc_type | string | 单份医疗票据类型 |
| doc_label | string | 票据类型中文描述 |
| page_ids | integer | 如果是pdf文件,该份票据样本在pdf中的页码 |
| image_ids | integer | 该份票据在image_list中的所有图片索引 |
| fields | array | 票据kv字段识别结果 |
| + key | string | 识别字段key: document_title_name 单据标题名称 invoice_code 票据代码 invoice_number 票据号码 business_serial_number 业务流水号 bill_verification_code 票据校验码 payer_social_credit_code 交款人统一社会信用代码 invoice_date 开票日期 gender 性别 inpatient_number 住院号 medical_record_number 病历号 bed_number 床号 ward 病区 medical_insurance_number 医保编号 medical_insurance_type 医保类型 social_security_card_number 社会保障号码 medical_institution_name 医疗机构名称 medical_institution_type 医疗机构类型 department 科室 admission_time 住院起始日期 discharge_time 住院结束日期 hospitalization_days 住院天数 total_amount_in_words 大写金额合计 total_expense_amount 发票金额合计 personal_account_balance 个人账户余额 personal_self_payment_amount 个人自付金额 personal_self_bear_amount 个人自负金额 category_self_payment_amount 分类自付金额 personal_self_funded_amount 个人自费金额 prepaid_amount 预缴金额 supplementary_payment_amount 补缴金额 refund_amount 退费金额 rounding_amount 抹零金额 medical_insurance_payment 医保统筹基金支付 additional_fund_payment 附加基金支付 personal_account_payment 个人账户支付 personal_cash_payment 个人现金支付 other_payments 其他支付 payee_organization 收款单位 payee 收款人 reviewer 复核人 payer 交款人 current_year_balance 医保当年账户余额 cumulative_balance 医保历年账户余额 cumulative_insurance_payment 累计统筹报销金额 cumulative_deductible_amount 累计起付线金额 |
| + value | string | 字段识别结果 |
| + label | string | 字段中文描述 |
| + bounding_regions | array | 字段坐标 |
| ++ page_id | integer | 坐标所在页码 |
| ++ image_id | integer | 坐标所在图片在image_list中的索引id |
| ++ value | string | 字段识别结果 |
| ++ position | array | 字段坐标位置 |
| ++ char_pos | array | 识别结果所有字符的坐标位置 |
| + type | string | 字段类型: invoice_information 票据信息 patient_information 患者信息 visit_and_institution_information 就诊与机构信息 expense_information 费用信息 |
| tables | array | 票据表格识别结果 |
| + name | string | 表格名称 |
| + label | string | 表格名称中文描述 |
| + items | array | 表格所有行数据 |
| ++ key | string | 费目金额汇总表字段key: project_name 项目名称 amount 金额 personal_payment_amount 个人支付金额 remarks 备注 |
| ++ value | string | 字段识别结果 |
| ++ label | string | 字段中文描述 |
| ++ bounding_regions | array | 字段坐标 |
| +++ page_id | integer | 坐标所在页码 |
| +++ image_id | integer | 坐标所在图片在image_list中的索引id |
| +++ value | string | 字段识别结果 |
| +++ position | array | 字段坐标位置 |
| +++ char_pos | array | 识别结果所有字符的坐标位置 |
医疗门诊收费票据(电子) electronic_outpatient_medical_invoice
| 字段名 | 类型 | 描述 |
|---|---|---|
| doc_type | string | 单份医疗票据类型 |
| doc_label | string | 票据类型中文描述 |
| page_ids | integer | 如果是pdf文件,该份票据样本在pdf中的页码 |
| image_ids | integer | 该份票据在image_list中的所有图片索引 |
| fields | array | 票据kv字段识别结果 |
| + key | string | 识别字段key: document_title_name 单据标题名称 invoice_code 票据代码 invoice_number 票据号码 business_serial_number 业务流水号 bill_verification_code 票据校验码 payer_social_credit_code 交款人统一社会信用代码 invoice_date 开票日期 gender 性别 outpatient_number 门诊号 medical_record_number 病历号 medical_insurance_number 医保编号 medical_insurance_type 医保类型 social_security_card_number 社会保障号码 medical_institution_name 医疗机构名称 medical_institution_type 医疗机构类型 department 科室 medical_treatment_date 就诊日期 total_amount_in_words 大写金额合计 total_expense_amount 发票金额合计 personal_account_balance 个人账户余额 personal_self_payment_amount 个人自付金额 personal_self_bear_amount 个人自负金额 category_self_payment_amount 分类自付金额 personal_self_funded_amount 个人自费金额 prepaid_amount 预缴金额 supplementary_payment_amount 补缴金额 refund_amount 退费金额 rounding_amount 抹零金额 medical_insurance_payment 医保统筹基金支付 additional_fund_payment 附加基金支付 personal_account_payment 个人账户支付 personal_cash_payment 个人现金支付 other_payments 其他支付 payee_organization 收款单位 payee 收款人 reviewer 复核人 payer 交款人 current_year_balance 医保当年账户余额 cumulative_balance 医保历年账户余额 cumulative_insurance_payment 累计统筹报销金额 cumulative_deductible_amount 累计起付线金额 |
| + value | string | 字段识别结果 |
| + label | string | 字段中文描述 |
| + bounding_regions | array | 字段坐标 |
| ++ page_id | integer | 坐标所在页码 |
| ++ image_id | integer | 坐标所在图片在image_list中的索引id |
| ++ value | string | 字段识别结果 |
| ++ position | array | 字段坐标位置 |
| ++ char_pos | array | 识别结果所有字符的坐标位置 |
| + type | string | 字段类型: invoice_information 票据信息 patient_information 患者信息 visit_and_institution_information 就诊与机构信息 expense_information 费用信息 |
| tables | array | 票据表格识别结果 |
| + name | string | 表格名称 |
| + label | string | 表格名称中文描述 |
| + items | array | 表格所有行数据 |
| ++ key | string | 项目明细汇总表字段key: project_name 项目名称 specification 规格 amount 金额 remarks 备注 quantity 数量 unit 单位 reimbursement_type 医保报销类别 费目金额汇总表字段key: expense_item 费目 amount 金额 remarks 备注 |
| ++ value | string | 字段识别结果 |
| ++ label | string | 字段中文描述 |
| ++ bounding_regions | array | 字段坐标 |
| +++ page_id | integer | 坐标所在页码 |
| +++ image_id | integer | 坐标所在图片在image_list中的索引id |
| +++ value | string | 字段识别结果 |
| +++ position | array | 字段坐标位置 |
| +++ char_pos | array | 识别结果所有字符的坐标位置 |
医保结算单 medical_insurance_settlement
| 字段名 | 类型 | 描述 |
|---|---|---|
| doc_type | string | 单份医疗票据类型 |
| doc_label | string | 票据类型中文描述 |
| page_ids | integer | 如果是pdf文件,该份票据样本在pdf中的页码 |
| image_ids | integer | 该份票据在image_list中的所有图片索引 |
| fields | array | 票据kv字段识别结果 |
| + key | string | 识别字段key: document_title_name 单据标题名称 total_pages_of_invoice 票据总页数 current_page_number 当前页码 settlement_time 结算时间 name 姓名 gender 性别 age 年龄 medical_insurance_type 医保类型 social_security_card_number 社会保障号码 insurance_location 参保地 treatment_location 就医地 visit_type 业务类别 insurance_type 险种类型 personnel_category 人员类别 affiliated_unit 所属单位 outpatient_number 门诊号 inpatient_number 住院号 medical_record_number 病历号 bed_number 床号 ward 病区 medical_institution_name 医疗机构名称 medical_institution_type 医疗机构类型 department 科室 medical_treatment_date 就诊日期 admission_time 住院起始日期 discharge_time 住院结束日期 hospitalization_days 住院天数 main_diagnosis 主要诊断 secondary_diagnosis 次要诊断 total_expense_amount 费用合计金额 deductible_amount 起付线金额 paid_deductible_amount 已付起付线 personal_self_payment_amount 个人自付金额 personal_self_funded_amount 个人自费金额 medical_insurance_payment 医保统筹基金支付 cumulative_insurance_payment 本年医保统筹基金累计支付 insurance_reimbursement_rate 医保统筹报销比例 personal_account_payment 个人账户支付 personal_cash_payment 个人现金支付 other_payments 其他支付 current_year_balance 医保当年账户余额 category_b_prepaid_total 乙类先行自付总额 over_limit_self_payment_total_amount 超限价自付总额 |
| + value | string | 字段识别结果 |
| + label | string | 字段中文描述 |
| + bounding_regions | array | 字段坐标 |
| ++ page_id | integer | 坐标所在页码 |
| ++ image_id | integer | 坐标所在图片在image_list中的索引id |
| ++ value | string | 字段识别结果 |
| ++ position | array | 字段坐标位置 |
| ++ char_pos | array | 识别结果所有字符的坐标位置 |
| + type | string | 字段类型: invoice_information 票据信息 patient_information 患者信息 visit_and_institution_information 就诊与机构信息 expense_information 费用信息 |
| tables | array | 票据表格识别结果 |
| + name | string | 表格名称 |
| + label | string | 表格名称中文描述 |
| + items | array | 表格所有行数据 |
| ++ key | string | 费用明细汇总表字段key: expense_name 费用名称 amount 金额 self_funded_amount 自费 category_b_advance_payment 乙类先行自付 over_limit_self_payment_amount 超限价自付 category_a_expense_amount 甲类费用金额 category_b_expense_amount 乙类费用金额 category_c_expense_amount 丙类费用金额 partial_item_self_payment_amount 部分项目自付 out_of_policy_scope_amount 政策范围外费用金额 基金支付合计汇总表字段key: fund_type 医保基金类型 fund_payment_amount 基金支付金额 |
| ++ value | string | 字段识别结果 |
| ++ label | string | 字段中文描述 |
| ++ bounding_regions | array | 字段坐标 |
| +++ page_id | integer | 坐标所在页码 |
| +++ image_id | integer | 坐标所在图片在image_list中的索引id |
| +++ value | string | 字段识别结果 |
| +++ position | array | 字段坐标位置 |
| +++ char_pos | array | 识别结果所有字符的坐标位置 |
医疗费用明细 medical_cost_details
| 字段名 | 类型 | 描述 |
|---|---|---|
| doc_type | string | 单份医疗票据类型 |
| doc_label | string | 票据类型中文描述 |
| page_ids | integer | 如果是pdf文件,该份票据样本在pdf中的页码 |
| image_ids | integer | 该份票据在image_list中的所有图片索引 |
| fields | array | 票据kv字段识别结果 |
| + key | string | 识别字段key: document_title_name 单据标题名称 total_pages_of_invoice 票据总页数 current_page_number 当前页码 invoice_code 票据代码 invoice_number 票据号码 invoice_date 开票日期 name 姓名 gender 性别 age 年龄 personnel_category 人员类别 outpatient_number 门诊号 inpatient_number 住院号 medical_record_number 病历号 bed_number 床号 ward 病区 id_number 公民身份证号码 social_security_card_number 社会保障号码 medical_institution_name 医疗机构名称 medical_institution_type 医疗机构类型 department 科室 medical_treatment_date 就诊日期 admission_time 住院起始日期 discharge_time 住院结束日期 hospitalization_days 住院天数 total_expense_amount 费用合计金额 payer 交款人 payee_organization 收款单位 |
| + value | string | 字段识别结果 |
| + label | string | 字段中文描述 |
| + bounding_regions | array | 字段坐标 |
| ++ page_id | integer | 坐标所在页码 |
| ++ image_id | integer | 坐标所在图片在image_list中的索引id |
| ++ value | string | 字段识别结果 |
| ++ position | array | 字段坐标位置 |
| ++ char_pos | array | 识别结果所有字符的坐标位置 |
| + type | string | 字段类型: invoice_information 票据信息 patient_information 患者信息 visit_and_institution_information 就诊与机构信息 expense_information 费用信息 |
| tables | array | 票据表格识别结果 |
| + name | string | 表格名称 |
| + label | string | 表格名称中文描述 |
| + items | array | 表格所有行数据 |
| ++ key | string | 诊疗清单汇总表字段key: project_name 项目名称 project_category 项目类别(费目) project_code 项目编号 quantity 数量 unit 单位 amount 金额 unit_price 单价 specification 规格 reimbursement_type 医保报销类别 self_funded_amount 自费金额 category_self_payment_amount 乙类分类自付 over_limit_self_payment_amount 超限价自付 remarks 备注 |
| ++ value | string | 字段识别结果 |
| ++ label | string | 字段中文描述 |
| ++ bounding_regions | array | 字段坐标 |
| +++ page_id | integer | 坐标所在页码 |
| +++ image_id | integer | 坐标所在图片在image_list中的索引id |
| +++ value | string | 字段识别结果 |
| +++ position | array | 字段坐标位置 |
| +++ char_pos | array | 识别结果所有字符的坐标位置 |
医疗处方笺 medical_prescription
| 字段名 | 类型 | 描述 |
|---|---|---|
| doc_type | string | 单份医疗票据类型 |
| doc_label | string | 票据类型中文描述 |
| page_ids | integer | 如果是pdf文件,该份票据样本在pdf中的页码 |
| image_ids | integer | 该份票据在image_list中的所有图片索引 |
| fields | array | 票据kv字段识别结果 |
| + key | string | 识别字段key: document_title_name 单据标题名称 prescription_number 处方号 issuance_date 开具日期 name 姓名 gender 性别 age 年龄 outpatient_number 门诊号 inpatient_number 住院号 medical_record_number 病历号 bed_number 床号 ward 病区 medical_institution_name 医疗机构名称 department 科室 clinical_diagnosis_symptoms 临床诊断 prescribing_doctor 开单医生 dispensing_pharmacist 发药药师 total_expense_amount 费用合计金额 |
| + value | string | 字段识别结果 |
| + label | string | 字段中文描述 |
| + bounding_regions | array | 字段坐标 |
| ++ page_id | integer | 坐标所在页码 |
| ++ image_id | integer | 坐标所在图片在image_list中的索引id |
| ++ value | string | 字段识别结果 |
| ++ position | array | 字段坐标位置 |
| ++ char_pos | array | 识别结果所有字符的坐标位置 |
| + type | string | 字段类型: invoice_information 票据信息 patient_information 患者信息 visit_and_institution_information 就诊与机构信息 expense_information 费用信息 |
| tables | array | 票据表格识别结果 |
| + name | string | 表格名称 |
| + label | string | 表格名称中文描述 |
| + items | array | 表格所有行数据 |
| ++ key | string | 处方明细汇总表字段key: drug_name 药品名称 quantity 数量 unit 单位 specification 规格 usage 用法 dosage 用量 unit_price 单价 amount 金额 |
| ++ value | string | 字段识别结果 |
| ++ label | string | 字段中文描述 |
| ++ bounding_regions | array | 字段坐标 |
| +++ page_id | integer | 坐标所在页码 |
| +++ image_id | integer | 坐标所在图片在image_list中的索引id |
| +++ value | string | 字段识别结果 |
| +++ position | array | 字段坐标位置 |
| +++ char_pos | array | 识别结果所有字符的坐标位置 |
实验室检验报告 medical_laboratory_report
| 字段名 | 类型 | 描述 |
|---|---|---|
| doc_type | string | 单份医疗票据类型 |
| doc_label | string | 票据类型中文描述 |
| page_ids | integer | 如果是pdf文件,该份票据样本在pdf中的页码 |
| image_ids | integer | 该份票据在image_list中的所有图片索引 |
| fields | array | 票据kv字段识别结果 |
| + key | string | 识别字段key: document_title_name 单据标题名称 report_time 报告时间 name 姓名 gender 性别 age 年龄 outpatient_number 门诊号 inpatient_number 住院号 medical_record_number 病历号 patient_number 病人编号 bed_number 床号 ward 病区 medical_institution_name 医疗机构名称 department 科室 inspection_item_name 检查项目名称 inspection_item_instrument 检查项目仪器 experimental_method 实验方法 sampling_time 采样时间 receipt_time 接收时间 inspection_number 检查编号 specimen_number 标本号 specimen_type 标本类型 clinical_doctor 临床医生 sampling_doctor 采样医生 laboratory_doctor 检验医生 audit_doctor 审核医生 clinical_diagnosis_symptoms 临床诊断/症状 |
| + value | string | 字段识别结果 |
| + label | string | 字段中文描述 |
| + bounding_regions | array | 字段坐标 |
| ++ page_id | integer | 坐标所在页码 |
| ++ image_id | integer | 坐标所在图片在image_list中的索引id |
| ++ value | string | 字段识别结果 |
| ++ position | array | 字段坐标位置 |
| ++ char_pos | array | 识别结果所有字符的坐标位置 |
| + type | string | 字段类型: invoice_information 票据信息 patient_information 患者信息 visit_and_institution_information 就诊与机构信息 |
| tables | array | 票据表格识别结果 |
| + name | string | 表格名称 |
| + label | string | 表格名称中文描述 |
| + items | array | 表格所有行数据 |
| ++ key | string | 检验结果汇总表字段key: project_name 项目名称 result 结果 unit 单位 reference_value 参考值 prompt 提示 |
| ++ value | string | 字段识别结果 |
| ++ label | string | 字段中文描述 |
| ++ bounding_regions | array | 字段坐标 |
| +++ page_id | integer | 坐标所在页码 |
| +++ image_id | integer | 坐标所在图片在image_list中的索引id |
| +++ value | string | 字段识别结果 |
| +++ position | array | 字段坐标位置 |
| +++ char_pos | array | 识别结果所有字符的坐标位置 |
影像学检查报告 medical_diagnostic_report
| 字段名 | 类型 | 描述 |
|---|---|---|
| doc_type | string | 单份医疗票据类型 |
| doc_label | string | 票据类型中文描述 |
| page_ids | integer | 如果是pdf文件,该份票据样本在pdf中的页码 |
| image_ids | integer | 该份票据在image_list中的所有图片索引 |
| fields | array | 票据kv字段识别结果 |
| + key | string | 识别字段key: document_title_name 单据标题名称 total_pages_of_invoice 票据总页数 current_page_number 当前页码 report_time 报告时间 name 姓名 gender 性别 age 年龄 outpatient_number 门诊号 inpatient_number 住院号 medical_record_number 病历号 bed_number 床号 ward 病区 medical_institution_name 医疗机构名称 order_department 开单科室 inspection_item_name 检查项目名称 inspection_time 检查时间 inspection_number 检查编号 inspection_part 检查部位 clinical_doctor 临床医生 laboratory_doctor 检验医生 audit_doctor 审核医生 diagnosis_content 影像所见 diagnosis_result 诊断意见/结果 |
| + value | string | 字段识别结果 |
| + label | string | 字段中文描述 |
| + bounding_regions | array | 字段坐标 |
| ++ page_id | integer | 坐标所在页码 |
| ++ image_id | integer | 坐标所在图片在image_list中的索引id |
| ++ value | string | 字段识别结果 |
| ++ position | array | 字段坐标位置 |
| ++ char_pos | array | 识别结果所有字符的坐标位置 |
| + type | string | 字段类型: invoice_information 票据信息 patient_information 患者信息 visit_and_institution_information 就诊与机构信息 |
门急诊病历 outpatient_medical_record
| 字段名 | 类型 | 描述 |
|---|---|---|
| doc_type | string | 单份医疗票据类型 |
| doc_label | string | 票据类型中文描述 |
| page_ids | integer | 如果是pdf文件,该份票据样本在pdf中的页码 |
| image_ids | integer | 该份票据在image_list中的所有图片索引 |
| fields | array | 票据kv字段识别结果 |
| + key | string | 识别字段key: document_title_name 单据标题名称 total_pages_of_invoice 票据总页数 current_page_number 当前页码 name 姓名 gender 性别 age 年龄 outpatient_number 门诊号 medical_institution_name 医疗机构名称 medical_treatment_date 就诊日期 department 科室 clinical_doctor 临床医生 chief_complaint 主诉 present_illness_history 现病史 past_medical_history 既往史 allergy_history 过敏史 personal_history 个人史 family_medical_history 家族史 marital_history 婚姻史 obstetric_history 孕产史 physical_examination 体格检查 auxiliary_examination 辅助检查 clinical_diagnosis_symptoms 临床诊断/症状 diagnosis_result 诊断结果 outpatient_treatment 门诊处置 medical_advice 医学建议/医嘱 |
| + value | string | 字段识别结果 |
| + label | string | 字段中文描述 |
| + bounding_regions | array | 字段坐标 |
| ++ page_id | integer | 坐标所在页码 |
| ++ image_id | integer | 坐标所在图片在image_list中的索引id |
| ++ value | string | 字段识别结果 |
| ++ position | array | 字段坐标位置 |
| ++ char_pos | array | 识别结果所有字符的坐标位置 |
| + type | string | 字段类型: invoice_information 票据信息 patient_information 患者信息 visit_and_institution_information 就诊与机构信息 |
| tables | array | 票据表格识别结果 |
| + name | string | 表格名称 |
| + label | string | 表格名称中文描述 |
| + items | array | 表格所有行数据 |
| ++ key | string | 处方汇总表字段key: drug_name 药品名称 usage 用法 dosage 用量 medication_frequency 用药频率 medication_course 用药疗程 specification 规格 notes_or_instructions 提示/嘱托 |
| ++ value | string | 字段识别结果 |
| ++ label | string | 字段中文描述 |
| ++ bounding_regions | array | 字段坐标 |
| +++ page_id | integer | 坐标所在页码 |
| +++ image_id | integer | 坐标所在图片在image_list中的索引id |
| +++ value | string | 字段识别结果 |
| +++ position | array | 字段坐标位置 |
| +++ char_pos | array | 识别结果所有字符的坐标位置 |
出院小结 discharge_summary
| 字段名 | 类型 | 描述 |
|---|---|---|
| doc_type | string | 单份医疗票据类型 |
| doc_label | string | 票据类型中文描述 |
| page_ids | integer | 如果是pdf文件,该份票据样本在pdf中的页码 |
| image_ids | integer | 该份票据在image_list中的所有图片索引 |
| fields | array | 票据kv字段识别结果 |
| + key | string | 识别字段key: document_title_name 单据标题名称 total_pages_of_invoice 票据总页数 current_page_number 当前页码 name 姓名 gender 性别 age 年龄 inpatient_number 住院号 medical_record_number 病历号 bed_number 床号 ward 病区 medical_institution_name 医疗机构名称 admission_time 住院起始日期 discharge_time 住院结束日期 hospitalization_days 住院天数 department 科室 outpatient_diagnosis 门诊诊断 admission_diagnosis 入院诊断 discharge_diagnosis 出院诊断 admission_symptoms_and_signs 入院症状与体征 discharge_symptoms_and_signs 出院症状与体征 treatment_overview 诊疗经过 treatment_result 治疗结果 medical_advice 出院医嘱 attending_doctor 住院医生 |
| + value | string | 字段识别结果 |
| + label | string | 字段中文描述 |
| + bounding_regions | array | 字段坐标 |
| ++ page_id | integer | 坐标所在页码 |
| ++ image_id | integer | 坐标所在图片在image_list中的索引id |
| ++ value | string | 字段识别结果 |
| ++ position | array | 字段坐标位置 |
| ++ char_pos | array | 识别结果所有字符的坐标位置 |
| + type | string | 字段类型: invoice_information 票据信息 patient_information 患者信息 visit_and_institution_information 就诊与机构信息 |
| tables | array | 票据表格识别结果 |
| + name | string | 表格名称 |
| + label | string | 表格名称中文描述 |
| + items | array | 表格所有行数据 |
| ++ key | string | 自备药汇总表字段key: drug_name 药品名称 usage 用法 dosage 用量 medication_frequency 用药频率 medication_course 用药疗程 notes_or_instructions 提示/嘱托 出院带药汇总表字段key: drug_name 药品名称 usage 用法 dosage 用量 medication_frequency 用药频率 medication_course 用药疗程 medication_quantity 带药数量 specification 规格 notes_or_instructions 提示/嘱托 |
| ++ value | string | 字段识别结果 |
| ++ label | string | 字段中文描述 |
| ++ bounding_regions | array | 字段坐标 |
| +++ page_id | integer | 坐标所在页码 |
| +++ image_id | integer | 坐标所在图片在image_list中的索引id |
| +++ value | string | 字段识别结果 |
| +++ position | array | 字段坐标位置 |
| +++ char_pos | array | 识别结果所有字符的坐标位置 |
诊断证明书 diagnosis_certificate
| 字段名 | 类型 | 描述 |
|---|---|---|
| doc_type | string | 单份医疗票据类型 |
| doc_label | string | 票据类型中文描述 |
| page_ids | integer | 如果是pdf文件,该份票据样本在pdf中的页码 |
| image_ids | integer | 该份票据在image_list中的所有图片索引 |
| fields | array | 票据kv字段识别结果 |
| + key | string | 识别字段key: document_title_name 单据标题名称 issuance_date 开具日期 name 姓名 gender 性别 age 年龄 ethnicity 民族 work_unit 单位 home_address 家庭住址 outpatient_number 门诊号 inpatient_number 住院号 medical_record_number 病历号 bed_number 床号 medical_institution_name 医疗机构名称 medical_treatment_date 就诊日期 admission_time 住院起始日期 discharge_time 住院结束日期 hospitalization_days 住院天数 department 科室 clinical_doctor 临床医生 diagnosis_result 诊断结果 medical_advice 医学建议/医嘱 |
| + value | string | 字段识别结果 |
| + label | string | 字段中文描述 |
| + bounding_regions | array | 字段坐标 |
| ++ page_id | integer | 坐标所在页码 |
| ++ image_id | integer | 坐标所在图片在image_list中的索引id |
| ++ value | string | 字段识别结果 |
| ++ position | array | 字段坐标位置 |
| ++ char_pos | array | 识别结果所有字符的坐标位置 |
| + type | string | 字段类型: invoice_information 票据信息 patient_information 患者信息 visit_and_institution_information 就诊与机构信息 |

