返回结果示例
当您使用医疗票据识别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 备注 费目金额汇总表字段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_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 就诊与机构信息 |
入院记录 admission_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 单据标题名称 name 姓名 gender 性别 age 年龄 occupation 职业 marital_status 婚姻状况 history_narrator 病史陈述者 birth_place 出生地 ethnicity 民族 ward 病区 inpatient_number 住院号 medical_institution_name 医疗机构名称 department 科室 admission_method 入院方式 admission_time 入院时间 record_time 记录时间 chief_complaint 主诉 present_illness_history 现病史 past_medical_history 既往史 allergy_history 过敏史 personal_history 个人史 family_medical_history 家族史 marital_history 婚姻史 obstetric_history 孕产史 marital_reproductive_history 婚育史 physical_examination 体格检查 specialized_examination 专科检查 auxiliary_examination 辅助检查 admission_diagnosis 入院诊断 supplementary_diagnosis 补充诊断 admission_record_doctor 入院记录医生 supplementary_diagnosis_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 就诊与机构信息 |
病理报告 pathology_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 病历号 bed_number 床号 ward 病区 medical_institution_name 医疗机构名称 department 科室 inspection_time 检查时间 specimen_site 标本部位 pathology_number 病理号 specimen_submission_time 送检时间 clinical_diagnosis_symptoms 临床诊断症状 clinical_doctor 临床医生 laboratory_doctor 检验医生 audit_doctor 审核医生 gross_examination 大体检查 microscopic_findings 光镜所见 pathological_diagnosis 病理诊断 supplementary_comments 补充意见 |
| + 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: test_category 检测类别 indicator_name 指标名称 indicator_result 指标结果 prompt 提示 |
| ++ value | string | 字段识别结果 |
| ++ label | string | 字段中文描述 |
| ++ bounding_regions | array | 字段坐标 |
| +++ page_id | integer | 坐标所在页码 |
| +++ image_id | integer | 坐标所在图片在image_list中的索引id |
| +++ value | string | 字段识别结果 |
| +++ position | array | 字段坐标位置 |
| +++ char_pos | array | 识别结果所有字符的坐标位置 |
体检报告 physical_examination_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 单据标题名称 exam_time 体检时间 name 姓名 gender 性别 age 年龄 exam_number 体检编号 birth_date 出生日期 id_number 公民身份证号 work_unit 工作单位 home_address 家庭地址 medical_institution_name 医疗机构名称 health_self_report 健康自述 past_medical_history 既往史 family_medical_history 家族史 lifestyle_history 生活方式史 exam_summary 体检检查摘要 lab_summary 实验室检查摘要 imaging_summary 影像检查摘要 abnormal_summary 体检异常汇总 exam_conclusion 体检结论 health_advice 健康建议 audit_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 就诊与机构信息 |
病案首页 medical_record_front_sheet
| 字段名 | 类型 | 描述 |
|---|---|---|
| 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 单据标题名称 name 姓名 gender 性别 age 年龄 birth_date 出生日期 id_number 公民身份证号 ethnicity 民族 native_place 籍贯 occupation 职业 current_address 现住地址 household_address 户籍地址 patient_phone 联系电话 contact_name 联系人姓名 contact_relationship 联系人关系 contact_phone 联系人电话 inpatient_number 住院号 medical_institution_name 医疗机构名称 medical_institution_code 医疗机构组织机构编码 medical_record_number 病案号 admission_department 入院科别 discharge_department 出院科别 admission_datetime 入院日期时间 discharge_datetime 出院日期时间 hospitalization_days 住院天数 opd_emer_diagnosis 门急诊诊断 opd_emer_diag_code 门急诊诊断疾病编码 admission_diagnosis 入院诊断 admission_diagnosis_code 入院诊断疾病编码 |
| + 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: discharge_diagnosis 出院诊断 disease_code 疾病编码 admission_condition 入院病情 discharge_condition 出院情况 手术记录表字段key: operation_name 手术操作名称 operation_code 手术操作编码 operation_date 术及操作日期 operation_level 手术级别 surgeon_main 手术及操作医师-术者 surgeon_first_assist 手术及操作医师-一助 surgeon_second_assist 手术及操作医师-二助 anesthesia_method 麻醉方式 incision_healing_grade 切口愈合等级 anesthesiologist 麻醉医师 |
| ++ value | string | 字段识别结果 |
| ++ label | string | 字段中文描述 |
| ++ bounding_regions | array | 字段坐标 |
| +++ page_id | integer | 坐标所在页码 |
| +++ image_id | integer | 坐标所在图片在image_list中的索引id |
| +++ value | string | 字段识别结果 |
| +++ position | array | 字段坐标位置 |
| +++ char_pos | array | 识别结果所有字符的坐标位置 |
手术记录单 surgical_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 单据标题名称 name 姓名 gender 性别 age 年龄 department 科室 bed_number 床号 ward 病区 inpatient_number 住院号 medical_record_number 病案号 operation_name 手术名称 operation_datetime 手术日期时间 operation_level 手术级别 preoperative_diagnosis 术前诊断 intraoperative_diagnosis 术中诊断 postoperative_diagnosis 术后诊断 operation_position 手术部位 anesthesiologist 麻醉医师 anesthesia_method 麻醉方式 surgeon_name 术者姓名 assistant_name 助手姓名 intraoperative_bleeding_vol 术中出血量 operation_conclusion 手术结论 operation_record_time 手术记录时间 operation_start_time 手术开始时间 operation_end_time 手术结束时间 |
| + 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 就诊与机构信息 |

