ocr_medical_outpatient_case_history_v2差异说明
红色为字段名称调整 绿色新增字段代表删除字段
3.返回参数
| 字段 | 类型 | 说明 |
|---|---|---|
| request_id | string | 本次请求的id |
| status | string | 状态,正常为 OK |
| degree | int | 图片旋转角度 |
| medical_result | object | 票据关键信息提取结果 |
3.1 `medical_result` 字段的参数:
| 字段 | 类型 | 说明 |
|---|---|---|
| patient_name | string | 患者姓名 |
| hospital_name | string | 医院名称 |
| department | string | 科室 |
| treatment_date | string | 就诊日期,之前是visit_date |
| chief_complaint | array | 主诉 |
| diagnosis | array | 诊断 |
| current_medical_history | array | 现病史 |
| past_history | array | 既往史 |
| personal_history | array | 个人史 |
| family_history | array | 家族史 |
| marriage_and_childbirth_history | array | 婚育史 |
| text_regions | object | 提取信息的坐标,[advanced,advanced_le,coordinate_le版本存在] |
3.1.1 `text_regions` 字段的参数:
坐标输出格式: [左上角x, 左上角y, 右下角x, 右下角y]
| 字段 | 类型 | 说明 |
|---|---|---|
| patient_name | array | 患者姓名 |
| hospital_name | array | 医院名称 |
| department | array | 科室 |
| treatment_date | array | 就诊日期,同理 |
| chief_complaint | array | 主诉坐标列表,数组单个坐标元素与提取内容按顺序一一对应 |
| diagnosis | array | 诊断坐标列表,数组单个坐标元素与提取内容按顺序一一对应 |
| current_medical_history | array | 现病史坐标列表,数组单个坐标元素与提取内容按顺序一一对应 |
| past_history | array | 既往史坐标列表,数组单个坐标元素与提取内容按顺序一一对应 |
| personal_history | array | 个人史坐标列表,数组单个坐标元素与提取内容按顺序一一对应 |
| family_history | array | 家族史坐标列表,数组单个坐标元素与提取内容按顺序一一对应 |
| marriage_and_childbirth_history | array | 婚育史坐标列表,数组单个坐标元素与提取内容按顺序一一对应 |