有奖捉虫:办公协同&微信生态&物联网文档专题 HOT

1. 接口描述

接口请求域名: mrs.tencentcloudapi.com 。

图片转结构化对象

默认接口请求频率限制:20次/秒。

推荐使用 API Explorer
点击调试
API Explorer 提供了在线调用、签名验证、SDK 代码生成和快速检索接口等能力。您可查看每次调用的请求内容和返回结果以及自动生成 SDK 调用示例。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数

参数名称 必选 类型 描述
Action String 公共参数,本接口取值:ImageToObject。
Version String 公共参数,本接口取值:2020-09-10。
Region String 公共参数,详见产品支持的 地域列表
ImageInfoList.N Array of ImageInfo 图片列表,允许传入多张图片,目前只支持传入图片base64编码,图片url暂不支持
HandleParam HandleParam 图片处理参数
Type Integer 报告类型,目前支持11(检验报告),12(检查报告),15(病理报告),28(出院报告),29(入院报告),210(门诊病历),212(手术记录),218(诊断证明),363(心电图),27(内窥镜检查),215(处方单),219(免疫接种证明),301(C14呼气试验)。如果不清楚报告类型,可以使用分类引擎,该字段传0(同时IsUsedClassify字段必须为True,否则无法输出结果)
示例值:1
IsUsedClassify Boolean 是否使用分类引擎,当不确定报告类型时,可以使用收费的报告分类引擎服务。若该字段为 False,则 Type 字段不能为 0,否则无法输出结果。
注意:当 IsUsedClassify 为True 时,表示使用收费的报告分类服务,将会产生额外的费用,具体收费标准参见 购买指南的产品价格
示例值:true
UserType Integer 后付费的用户类型,新客户传1,老客户可不传或传 0。2022 年 12 月 15 新增了计费项,在此时间之前已经通过商务指定优惠价格的大客户,请不传这个字段或传 0,如果传 1 会导致以前获得的折扣价格失效。在 2022 年 12 月 15 日之后,通过商务指定优惠价格的大客户请传 1。
示例值:0
ReportTypeVersion.N Array of ReportTypeVersion 可选。用于指定不同报告使用的结构化引擎版本,不同版本返回的JSON 数据结果不兼容。若不指定版本号,就默认用旧的版本号。
(1)检验报告 11,默认使用 V2,最高支持 V3。
(2)病理报告 15,默认使用 V1,最高支持 V2。
(3)入院记录29、出院记录 28、病历记录 216、病程记录 217、门诊记录 210,默认使用 V1,最高支持 V2。
示例值:[{"ReportType":11,"Version":2}]

3. 输出参数

参数名称 类型 描述
Template Template 报告结构化结果
注意:此字段可能返回 null,表示取不到有效值。
TextTypeList Array of TextType 多级分类结果
注意:此字段可能返回 null,表示取不到有效值。
RequestId String 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。

4. 示例

示例1 图片结构化

输入一张图片,得到结构化结果

输入示例

POST / HTTP/1.1
Host: mrs.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ImageToObject
<公共请求参数>

{
    "IsUsedClassify": true,
    "Type": 0,
    "UserType": 0,
    "HandleParam": {
        "OcrEngineType": 2,
        "IsScale": false,
        "ImageOriginalSize": 310006,
        "AutoFitDirection": false,
        "IsReturnText": false,
        "ScaleTargetSize": 300000,
        "AutoOptimizeCoordinate": true,
        "RotateTheAngle": 0.0
    },
    "ImageInfoList": [
        {
            "Url": "",
            "Base64": "",
            "Id": 1
        }
    ]
}

输出示例

{
    "Response": {
        "Template": {
            "PatientInfo": {
                "Name": "abc",
                "Sex": "abc",
                "Age": "abc",
                "Phone": "abc",
                "Address": "abc",
                "IdCard": "abc",
                "HealthCardNo": "abc",
                "SocialSecurityCardNo": "abc",
                "Birthday": "abc",
                "Ethnicity": "abc",
                "Married": "abc",
                "Profession": "abc",
                "EducationBackground": "abc",
                "Nationality": "abc",
                "BirthPlace": "abc",
                "MedicalInsuranceType": "abc",
                "AgeNorm": "abc",
                "Nation": "abc",
                "MarriedCode": "abc",
                "ProfessionCode": "abc",
                "MedicalInsuranceTypeCode": "abc",
                "BedNo": "abc"
            },
            "ReportInfo": {
                "Hospital": "abc",
                "DepartmentName": "abc",
                "BillingTime": "abc",
                "ReportTime": "abc",
                "InspectTime": "abc",
                "CheckNum": "abc",
                "ImageNum": "abc",
                "RadiationNum": "abc",
                "TestNum": "abc",
                "OutpatientNum": "abc",
                "PathologyNum": "abc",
                "InHospitalNum": "abc",
                "SampleNum": "abc",
                "SampleType": "abc",
                "MedicalRecordNum": "abc",
                "ReportName": "abc",
                "UltraNum": "abc",
                "Diagnose": "abc",
                "CheckItem": "abc",
                "CheckMethod": "abc",
                "DiagnoseTime": "abc",
                "HealthCheckupNum": "abc",
                "OtherTime": "abc",
                "PrintTime": "abc",
                "Times": [
                    {
                        "Name": "abc",
                        "Value": "abc"
                    }
                ]
            },
            "Check": {
                "Desc": {
                    "Text": "abc",
                    "Organ": [
                        {
                            "Part": {
                                "Index": [
                                    0
                                ],
                                "NormPart": {
                                    "Part": "abc",
                                    "PartDirection": "abc",
                                    "Tissue": "abc",
                                    "TissueDirection": "abc",
                                    "Upper": "abc",
                                    "PartDetail": {
                                        "MainDir": "abc",
                                        "Part": "abc",
                                        "SecondaryDir": "abc",
                                        "Type": "abc"
                                    }
                                },
                                "Src": "abc",
                                "Value": "abc",
                                "Name": "abc",
                                "ValueBrief": "abc"
                            },
                            "Size": [
                                {
                                    "Index": [
                                        0
                                    ],
                                    "NormSize": {
                                        "Number": [
                                            "abc"
                                        ],
                                        "Type": "abc",
                                        "Unit": "abc",
                                        "Impl": "abc"
                                    },
                                    "Src": "abc",
                                    "Value": "abc",
                                    "Name": "abc"
                                }
                            ],
                            "Envelope": {
                                "Index": [
                                    0
                                ],
                                "Positive": "abc",
                                "Src": "abc",
                                "Value": "abc",
                                "Type": "abc",
                                "Name": "abc",
                                "Size": [
                                    {
                                        "Index": [
                                            0
                                        ],
                                        "NormSize": {
                                            "Number": [
                                                "abc"
                                            ],
                                            "Type": "abc",
                                            "Unit": "abc",
                                            "Impl": "abc"
                                        },
                                        "Src": "abc",
                                        "Value": "abc",
                                        "Name": "abc"
                                    }
                                ]
                            },
                            "Edge": {
                                "Index": [
                                    0
                                ],
                                "Positive": "abc",
                                "Src": "abc",
                                "Value": "abc",
                                "Type": "abc",
                                "Name": "abc",
                                "Size": [
                                    {
                                        "Index": [
                                            0
                                        ],
                                        "NormSize": {
                                            "Number": [
                                                "abc"
                                            ],
                                            "Type": "abc",
                                            "Unit": "abc",
                                            "Impl": "abc"
                                        },
                                        "Src": "abc",
                                        "Value": "abc",
                                        "Name": "abc"
                                    }
                                ]
                            },
                            "InnerEcho": {
                                "Index": [
                                    0
                                ],
                                "Positive": "abc",
                                "Src": "abc",
                                "Value": "abc",
                                "Type": "abc",
                                "Name": "abc"
                            },
                            "Src": "abc",
                            "Index": [
                                0
                            ],
                            "Coords": [
                                {
                                    "Points": [
                                        {
                                            "X": 0,
                                            "Y": 0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "Tuber": [
                        {
                            "Part": {
                                "Index": [
                                    0
                                ],
                                "NormPart": {
                                    "Part": "abc",
                                    "PartDirection": "abc",
                                    "Tissue": "abc",
                                    "TissueDirection": "abc",
                                    "Upper": "abc",
                                    "PartDetail": {
                                        "MainDir": "abc",
                                        "Part": "abc",
                                        "SecondaryDir": "abc",
                                        "Type": "abc"
                                    }
                                },
                                "Src": "abc",
                                "Value": "abc",
                                "Name": "abc",
                                "ValueBrief": "abc"
                            },
                            "Multiple": {
                                "Index": [
                                    0
                                ],
                                "Src": "abc",
                                "Value": "abc",
                                "Count": 0,
                                "Name": "abc"
                            },
                            "AspectRatio": {
                                "Index": [
                                    0
                                ],
                                "Number": "abc",
                                "Relation": "abc",
                                "Src": "abc",
                                "Value": "abc"
                            },
                            "Elastic": {
                                "Index": [
                                    0
                                ],
                                "Score": "abc",
                                "Src": "abc",
                                "Value": "abc",
                                "Name": "abc"
                            },
                            "Index": [
                                0
                            ],
                            "Src": "abc",
                            "Coords": [
                                {
                                    "Points": [
                                        {
                                            "X": 0,
                                            "Y": 0
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "Coords": [
                        {
                            "Points": [
                                {
                                    "X": 0,
                                    "Y": 0
                                }
                            ]
                        }
                    ]
                },
                "Summary": {
                    "Symptom": [
                        {
                            "Part": {
                                "Index": [
                                    0
                                ],
                                "NormPart": {
                                    "Part": "abc",
                                    "PartDirection": "abc",
                                    "Tissue": "abc",
                                    "TissueDirection": "abc",
                                    "Upper": "abc",
                                    "PartDetail": {
                                        "MainDir": "abc",
                                        "Part": "abc",
                                        "SecondaryDir": "abc",
                                        "Type": "abc"
                                    }
                                },
                                "Src": "abc",
                                "Value": "abc",
                                "Name": "abc",
                                "ValueBrief": "abc"
                            },
                            "Index": [
                                0
                            ],
                            "Src": "abc"
                        }
                    ],
                    "Text": "abc"
                }
            },
            "Pathology": {
                "DescText": "abc",
                "HistologyLevel": {
                    "Grade": "abc",
                    "Index": [
                        0
                    ],
                    "Src": "abc"
                },
                "HistologyType": {
                    "Infiltration": "abc",
                    "Index": [
                        0
                    ],
                    "Src": "abc",
                    "Type": "abc"
                },
                "IHC": [
                    {
                        "Index": [
                            0
                        ],
                        "Src": "abc",
                        "Name": "abc",
                        "Value": {
                            "Grade": "abc",
                            "Percent": [
                                0
                            ],
                            "Positive": "abc"
                        }
                    }
                ],
                "Invasive": [
                    {
                        "Index": [
                            0
                        ],
                        "Positive": "abc",
                        "Src": "abc"
                    }
                ],
                "LymphNodes": [
                    {
                        "Src": "abc",
                        "Index": [
                            0
                        ],
                        "Total": 0,
                        "TransferNum": 0
                    }
                ],
                "ReportText": "abc",
                "SummaryText": "abc"
            },
            "MedDoc": {
                "Advice": {
                    "Text": "abc"
                },
                "Diagnosis": [
                    {
                        "Text": "abc",
                        "Type": "abc",
                        "Value": [
                            "abc"
                        ]
                    }
                ],
                "DiseaseMedicalHistory": {
                    "MainDiseaseHistory": "abc",
                    "AllergyHistory": "abc",
                    "InfectHistory": "abc",
                    "OperationHistory": "abc",
                    "TransfusionHistory": "abc"
                },
                "PersonalMedicalHistory": {
                    "BirthPlace": "abc",
                    "LivePlace": "abc",
                    "Job": "abc",
                    "SmokeHistory": "abc",
                    "AlcoholicHistory": "abc"
                },
                "ObstericalMedicalHistory": {
                    "MarriageHistory": "abc",
                    "FertilityHistory": "abc"
                },
                "FamilyMedicalHistory": {
                    "RelativeHistory": "abc",
                    "RelativeCancerHistory": "abc",
                    "GeneticHistory": "abc"
                },
                "MenstrualMedicalHistory": {
                    "LastMenstrualPeriod": "abc",
                    "MenstrualFlow": "abc",
                    "MenarcheAge": "abc",
                    "MenstruationOrNot": "abc",
                    "MenstrualCycles": "abc",
                    "MenstrualPeriod": "abc"
                },
                "TreatmentRecord": {
                    "DmissionCondition": "abc",
                    "ChiefComplaint": "abc",
                    "DiseasePresent": "abc",
                    "SymptomsAndSigns": "abc",
                    "AuxiliaryExamination": "abc",
                    "BodyExamination": "abc",
                    "SpecialistExamination": "abc",
                    "MentalExamination": "abc",
                    "CheckRecord": "abc",
                    "InspectResult": "abc",
                    "IncisionHealing": "abc",
                    "TreatmentSuggestion": "abc",
                    "FollowUpRequirements": "abc",
                    "CheckAndTreatmentProcess": "abc",
                    "SurgeryCondition": "abc",
                    "ConditionChanges": "abc",
                    "DischargeCondition": "abc",
                    "PTNM": "abc",
                    "PTNMM": "abc",
                    "PTNMN": "abc",
                    "PTNMT": "abc",
                    "ECOG": "abc",
                    "NRS": "abc",
                    "KPS": "abc",
                    "DeathDate": "abc",
                    "RelapseDate": "abc",
                    "ObservationDays": "abc"
                }
            },
            "DiagCert": {
                "Advice": {
                    "Text": "abc"
                },
                "Diagnosis": [
                    {
                        "Text": "abc",
                        "Type": "abc",
                        "Value": [
                            "abc"
                        ]
                    }
                ]
            },
            "FirstPage": {
                "DischargeDiagnosis": [
                    {
                        "TableIndex": 0
                    }
                ],
                "DamagePoi": {
                    "Index": [
                        0
                    ],
                    "Src": "abc",
                    "Value": "abc",
                    "Name": "abc",
                    "Code": "abc"
                },
                "Fp2NdItems": [
                    {
                        "Code": {
                            "Name": "abc",
                            "Src": "abc",
                            "Value": "abc",
                            "Alias": "abc"
                        },
                        "Name": {
                            "Name": "abc",
                            "Src": "abc",
                            "Value": "abc",
                            "Alias": "abc"
                        },
                        "StartTime": {
                            "Name": "abc",
                            "Src": "abc",
                            "Value": "abc",
                            "Alias": "abc"
                        }
                    }
                ]
            },
            "Indicator": {
                "Indicators": [
                    {
                        "Code": "abc",
                        "Scode": "abc",
                        "Name": "abc",
                        "Sname": "abc",
                        "Result": "abc",
                        "Unit": "abc",
                        "Range": "abc",
                        "Arrow": "abc",
                        "Normal": true,
                        "ItemString": "abc",
                        "Id": 0,
                        "Coords": {
                            "X": 0,
                            "Y": 0,
                            "Width": 0,
                            "Height": 0
                        },
                        "InferNormal": "abc"
                    }
                ]
            },
            "ReportType": "abc",
            "MedicalRecordInfo": {
                "DiagnosisTime": "abc",
                "DiagnosisDepartmentName": "abc",
                "DiagnosisDoctorName": "abc",
                "ClinicalDiagnosis": "abc",
                "MainNarration": "abc",
                "PhysicalExamination": "abc",
                "InspectionFindings": "abc",
                "TreatmentOpinion": "abc"
            },
            "Hospitalization": {
                "AdmissionTime": "abc",
                "DischargeTime": "abc",
                "AdmissionDays": "abc",
                "AdmissionDignosis": "abc",
                "AdmissionCondition": "abc",
                "DiagnosisTreatment": "abc",
                "DischargeDiagnosis": "abc",
                "DischargeInstruction": "abc"
            },
            "Surgery": {
                "SurgeryHistory": {
                    "SurgeryName": {
                        "Name": "abc",
                        "Value": "abc"
                    },
                    "SurgeryDate": {
                        "Name": "abc",
                        "Value": "abc"
                    },
                    "PreoperativePathology": {
                        "Name": "abc",
                        "Value": "abc"
                    }
                },
                "OtherInfo": {}
            },
            "Electrocardiogram": {
                "EcgDescription": {
                    "HeartRate": {
                        "Name": "abc",
                        "Value": "abc",
                        "Unit": "abc",
                        "Src": "abc"
                    },
                    "AuricularRate": {
                        "Name": "abc",
                        "Value": "abc",
                        "Unit": "abc",
                        "Src": "abc"
                    },
                    "VentricularRate": {
                        "Name": "abc",
                        "Value": "abc",
                        "Unit": "abc",
                        "Src": "abc"
                    }
                },
                "EcgDiagnosis": {
                    "Name": "abc",
                    "Value": [
                        "abc"
                    ]
                }
            },
            "Endoscopy": {
                "BiopsyPart": {
                    "Value": "abc",
                    "Src": "abc"
                },
                "Desc": {
                    "Text": "abc",
                    "Organ": [
                        {
                            "Index": [
                                0
                            ],
                            "Src": "abc",
                            "PartAlias": "abc"
                        }
                    ]
                },
                "Summary": {
                    "Symptom": [
                        {
                            "Index": [
                                0
                            ],
                            "Src": "abc"
                        }
                    ],
                    "Text": "abc"
                }
            },
            "Prescription": {
                "MedicineList": [
                    {
                        "Name": "abc",
                        "TradeName": "abc",
                        "Firm": "abc",
                        "Category": "abc",
                        "Specification": "abc",
                        "MinQuantity": "abc",
                        "DosageUnit": "abc",
                        "PackingUnit": "abc"
                    }
                ]
            },
            "VaccineCertificate": {
                "VaccineList": [
                    {
                        "Id": "abc",
                        "Vaccine": "abc",
                        "Dose": "abc",
                        "Date": "abc",
                        "LotNumber": "abc",
                        "Manufacturer": "abc",
                        "Clinic": "abc",
                        "Site": "abc",
                        "Provider": "abc",
                        "Lot": "abc"
                    }
                ]
            },
            "OcrText": "abc",
            "OcrResult": "abc",
            "ReportTypeDesc": "abc",
            "PathologyV2": {
                "PathologicalReportType": {
                    "Name": "abc",
                    "Index": [
                        0
                    ],
                    "Src": "abc",
                    "Value": "abc"
                },
                "Desc": {
                    "Text": {
                        "Name": "abc",
                        "Index": [
                            0
                        ],
                        "Src": "abc",
                        "Value": "abc"
                    },
                    "Infos": [
                        {
                            "HistologyLevel": {
                                "Name": "abc",
                                "Index": [
                                    0
                                ],
                                "Src": "abc",
                                "Value": "abc"
                            },
                            "HistologyType": {
                                "Infiltration": "abc",
                                "Index": [
                                    0
                                ],
                                "Src": "abc",
                                "Type": "abc",
                                "Name": "abc"
                            },
                            "Invasive": [
                                {
                                    "Index": [
                                        0
                                    ],
                                    "Positive": "abc",
                                    "Src": "abc"
                                }
                            ],
                            "PTNM": {
                                "Name": "abc",
                                "Index": [
                                    0
                                ],
                                "Src": "abc",
                                "Value": "abc",
                                "PT": "abc",
                                "PN": "abc",
                                "PM": "abc"
                            },
                            "InfiltrationDepth": {
                                "Name": "abc",
                                "Index": [
                                    0
                                ],
                                "Src": "abc",
                                "Value": "abc"
                            }
                        }
                    ]
                },
                "Summary": {
                    "Infos": [
                        {
                            "HistologyType": {
                                "Infiltration": "abc",
                                "Index": [
                                    0
                                ],
                                "Src": "abc",
                                "Type": "abc",
                                "Name": "abc"
                            },
                            "Invasive": [
                                {
                                    "Index": [
                                        0
                                    ],
                                    "Positive": "abc",
                                    "Src": "abc"
                                }
                            ],
                            "PTNM": {
                                "Name": "abc",
                                "Index": [
                                    0
                                ],
                                "Src": "abc",
                                "Value": "abc",
                                "PT": "abc",
                                "PN": "abc",
                                "PM": "abc"
                            }
                        }
                    ]
                },
                "ReportText": "abc",
                "LymphTotal": [
                    {
                        "Name": "abc",
                        "TransferNum": "abc",
                        "Total": "abc",
                        "Src": "abc",
                        "Index": [
                            0
                        ]
                    }
                ],
                "LymphNodes": [
                    {
                        "Name": "abc",
                        "Index": [
                            0
                        ],
                        "Src": "abc",
                        "Total": 0,
                        "TransferNum": 0,
                        "Sizes": [
                            0
                        ]
                    }
                ],
                "Ihc": [
                    {
                        "Index": [
                            0
                        ],
                        "Src": "abc",
                        "Name": "abc",
                        "Value": {
                            "Grade": "abc",
                            "Percent": [
                                0
                            ],
                            "Positive": "abc"
                        }
                    }
                ],
                "Precancer": {
                    "Name": "abc",
                    "Index": [
                        0
                    ],
                    "Src": "abc",
                    "Value": "abc"
                },
                "Malignant": {
                    "Name": "abc",
                    "Index": [
                        0
                    ],
                    "Src": "abc",
                    "Value": "abc"
                },
                "Benigntumor": {
                    "Name": "abc",
                    "Index": [
                        0
                    ],
                    "Src": "abc",
                    "Value": "abc"
                },
                "Molecular": [
                    {
                        "Index": [
                            0
                        ],
                        "Src": "abc",
                        "Name": "abc",
                        "Value": {
                            "Exon": "abc",
                            "Position": "abc",
                            "Type": "abc",
                            "Positive": "abc",
                            "Src": "abc"
                        }
                    }
                ]
            },
            "C14": {
                "Indicators": [
                    {
                        "Code": "abc",
                        "Scode": "abc",
                        "Name": "abc",
                        "Sname": "abc",
                        "Result": "abc",
                        "Unit": "abc",
                        "Range": "abc",
                        "Arrow": "abc",
                        "Normal": true,
                        "ItemString": "abc",
                        "Id": 0,
                        "Coords": {
                            "X": 0,
                            "Y": 0,
                            "Width": 0,
                            "Height": 0
                        },
                        "InferNormal": "abc"
                    }
                ]
            },
            "Exame": {
                "OverView": [
                    {}
                ],
                "Abnormality": [
                    {}
                ]
            },
            "MedDocV2": {
                "DiseaseHistory": {
                    "MainDiseaseHistory": {
                        "Name": "abc",
                        "Src": "abc",
                        "State": true,
                        "Value": "abc",
                        "Neglist": {
                            "Name": "abc",
                            "Value": "abc"
                        },
                        "Poslist": {
                            "Name": "abc",
                            "Value": "abc"
                        }
                    },
                    "AllergyHistory": {
                        "Name": "abc",
                        "Src": "abc",
                        "State": true,
                        "Value": "abc",
                        "Neglist": {
                            "Name": "abc",
                            "Value": "abc"
                        },
                        "Poslist": {
                            "Name": "abc",
                            "Value": "abc"
                        }
                    },
                    "InfectHistory": {
                        "Name": "abc",
                        "Src": "abc",
                        "State": true,
                        "Value": "abc",
                        "Neglist": {
                            "Name": "abc",
                            "Value": "abc"
                        },
                        "Poslist": {
                            "Name": "abc",
                            "Value": "abc"
                        }
                    },
                    "SurgeryHistory": {
                        "Name": "abc",
                        "Src": "abc",
                        "Value": "abc",
                        "Surgerylist": [
                            {
                                "Time": "abc",
                                "TimeType": "abc",
                                "Name": [
                                    "abc"
                                ],
                                "Part": "abc"
                            }
                        ]
                    },
                    "TransfusionHistory": {
                        "Name": "abc",
                        "Src": "abc",
                        "State": true,
                        "Value": "abc"
                    }
                },
                "PersonalHistory": {
                    "BirthPlace": {
                        "Name": "abc",
                        "Src": "abc",
                        "Value": "abc"
                    },
                    "LivePlace": {
                        "Name": "abc",
                        "Src": "abc",
                        "Value": "abc"
                    },
                    "Job": {
                        "Name": "abc",
                        "Src": "abc",
                        "Value": "abc"
                    },
                    "SmokeHistory": {
                        "Name": "abc",
                        "Src": "abc",
                        "TimeUnit": "abc",
                        "TimeNorm": "abc",
                        "Amount": "abc",
                        "QuitState": true,
                        "State": true,
                        "Value": "abc"
                    },
                    "AlcoholicHistory": {
                        "Name": "abc",
                        "Src": "abc",
                        "TimeUnit": "abc",
                        "TimeNorm": "abc",
                        "Amount": "abc",
                        "QuitState": true,
                        "State": true,
                        "Value": "abc"
                    },
                    "MenstrualHistory": {
                        "LastMenstrualPeriod": {
                            "Name": "abc",
                            "Src": "abc",
                            "Norm": "abc",
                            "Type": "abc",
                            "Timestamp": "abc",
                            "Unit": "abc",
                            "Value": "abc"
                        },
                        "MenstrualFlow": {
                            "Name": "abc",
                            "Src": "abc",
                            "Value": "abc"
                        },
                        "MenarcheAge": {
                            "Name": "abc",
                            "Src": "abc",
                            "Norm": "abc",
                            "Type": "abc",
                            "Timestamp": "abc",
                            "Unit": "abc",
                            "Value": "abc"
                        },
                        "MenstruationOrNot": {
                            "Name": "abc",
                            "Src": "abc",
                            "Norm": "abc",
                            "TimeType": "abc",
                            "Timestamp": "abc",
                            "Value": "abc"
                        },
                        "MenstrualCycles": {
                            "Name": "abc",
                            "Src": "abc",
                            "Norm": "abc",
                            "Type": "abc",
                            "Timestamp": "abc",
                            "Unit": "abc",
                            "Value": "abc"
                        },
                        "MenstrualPeriod": {
                            "Name": "abc",
                            "Src": "abc",
                            "Norm": "abc",
                            "Type": "abc",
                            "Timestamp": "abc",
                            "Unit": "abc",
                            "Value": "abc"
                        }
                    },
                    "ObstericalHistory": {
                        "MarriageHistory": {
                            "Name": "abc",
                            "Src": "abc",
                            "State": "abc",
                            "Norm": "abc",
                            "TimeType": "abc",
                            "Timestamp": "abc",
                            "Unit": "abc",
                            "Value": "abc"
                        },
                        "FertilityHistory": {
                            "Name": "abc",
                            "Src": "abc",
                            "State": "abc",
                            "Norm": "abc",
                            "Value": "abc",
                            "PregCount": "abc",
                            "ProduCount": "abc"
                        }
                    },
                    "FamilyHistory": {
                        "RelativeHistory": {
                            "Name": "abc",
                            "Detail": [
                                {
                                    "Name": "abc",
                                    "Relation": "abc",
                                    "TimeOfDeath": "abc",
                                    "TimeType": "abc"
                                }
                            ],
                            "Src": "abc",
                            "Value": "abc"
                        },
                        "RelativeCancerHistory": {
                            "Name": "abc",
                            "Src": "abc",
                            "RelativeCancerList": "abc",
                            "Value": "abc"
                        },
                        "GeneticHistory": {
                            "Name": "abc",
                            "Src": "abc",
                            "GeneticList": "abc",
                            "Value": "abc"
                        }
                    }
                },
                "DrugHistory": {
                    "Name": "abc",
                    "Src": "abc",
                    "DrugList": [
                        {
                            "CommonName": "abc",
                            "TradeName": "abc",
                            "Dosage": {
                                "Value": "abc",
                                "SingleMeasurement": "abc",
                                "Frequency": "abc",
                                "DrugDeliveryRoute": "abc"
                            },
                            "Value": "abc"
                        }
                    ],
                    "Value": "abc"
                },
                "TreatmentRecord": {
                    "Immunohistochemistry": {
                        "Name": "abc",
                        "Src": "abc",
                        "Value": [
                            {
                                "Index": [
                                    0
                                ],
                                "Src": "abc",
                                "Name": "abc",
                                "Value": {
                                    "Grade": "abc",
                                    "Percent": [
                                        0
                                    ],
                                    "Positive": "abc"
                                }
                            }
                        ]
                    },
                    "ChiefComplaint": {
                        "Name": "abc",
                        "Src": "abc",
                        "Value": "abc",
                        "Detail": [
                            {
                                "DiseaseName": "abc",
                                "Part": "abc",
                                "Time": "abc",
                                "TimeType": "abc"
                            }
                        ]
                    },
                    "AdmissionCondition": {
                        "Name": "abc",
                        "Src": "abc",
                        "Value": "abc"
                    },
                    "BodyExamination": {
                        "BodyTemperature": {
                            "Name": "abc",
                            "Src": "abc",
                            "Norm": "abc",
                            "Unit": "abc",
                            "Value": "abc"
                        },
                        "Pulse": {
                            "Name": "abc",
                            "Src": "abc",
                            "Norm": "abc",
                            "Unit": "abc",
                            "Value": "abc"
                        },
                        "Breathe": {
                            "Name": "abc",
                            "Src": "abc",
                            "Norm": "abc",
                            "Unit": "abc",
                            "Value": "abc"
                        },
                        "BloodPressure": {
                            "Name": "abc",
                            "Src": "abc",
                            "Norm": "abc",
                            "Unit": "abc",
                            "Value": "abc",
                            "NormDiastolic": "abc",
                            "NormSystolic": "abc"
                        }
                    },
                    "AdmissionDiagnosis": {
                        "Name": "abc",
                        "Src": "abc",
                        "Norm": "abc",
                        "Value": "abc"
                    },
                    "AdmissionTraditionalDiagnosis": {
                        "Name": "abc",
                        "Src": "abc",
                        "Norm": "abc",
                        "Value": "abc"
                    },
                    "AdmissionModernDiagnosis": {
                        "Name": "abc",
                        "Src": "abc",
                        "Norm": "abc",
                        "Value": "abc"
                    },
                    "PathologicalDiagnosis": {
                        "Name": "abc",
                        "Src": "abc",
                        "Detail": [
                            {
                                "Part": "abc",
                                "HistologicalType": "abc",
                                "HistologicalGrade": "abc"
                            }
                        ],
                        "Value": "abc"
                    },
                    "DiseasePresent": {
                        "Name": "abc",
                        "Src": "abc",
                        "Value": "abc",
                        "Norm": "abc"
                    },
                    "SymptomsAndSigns": {
                        "Name": "abc",
                        "Src": "abc",
                        "Value": "abc",
                        "Norm": "abc"
                    },
                    "AuxiliaryExamination": {
                        "Name": "abc",
                        "Src": "abc",
                        "Value": "abc",
                        "Norm": "abc"
                    },
                    "SurgeryCondition": {
                        "Name": "abc",
                        "Src": "abc",
                        "SurgeryList": [
                            {
                                "Time": "abc",
                                "TimeType": "abc",
                                "Name": [
                                    "abc"
                                ],
                                "Part": "abc"
                            }
                        ],
                        "Value": "abc"
                    },
                    "DischargeDiagnosis": {
                        "Name": "abc",
                        "Src": "abc",
                        "Norm": "abc",
                        "Value": "abc"
                    },
                    "DischargeModernDiagnosis": {
                        "Name": "abc",
                        "Src": "abc",
                        "Norm": "abc",
                        "Value": "abc"
                    },
                    "DischargeCondition": {
                        "Name": "abc",
                        "Src": "abc",
                        "Value": "abc",
                        "Norm": "abc"
                    },
                    "PTNM": {
                        "Name": "abc",
                        "Src": "abc",
                        "PTNMM": "abc",
                        "PTNMN": "abc",
                        "PTNMT": "abc"
                    },
                    "Cancerstaging": {
                        "Name": "abc",
                        "Src": "abc",
                        "Value": "abc"
                    },
                    "DeathDate": {
                        "Name": "abc",
                        "Src": "abc",
                        "Type": "abc",
                        "Norm": "abc",
                        "Unit": "abc",
                        "Timestamp": "abc",
                        "Value": "abc"
                    },
                    "RelapseDate": {
                        "Name": "abc",
                        "Src": "abc",
                        "DiseaseName": "abc",
                        "Type": "abc",
                        "Norm": "abc",
                        "Unit": "abc",
                        "Timestamp": "abc",
                        "Value": "abc"
                    },
                    "ObservationDays": {
                        "Name": "abc",
                        "Src": "abc",
                        "Type": "abc",
                        "Norm": "abc",
                        "Unit": "abc",
                        "Timestamp": "abc",
                        "Value": "abc"
                    },
                    "IncisionHealingText": "abc",
                    "AuxiliaryExaminationText": "abc",
                    "SpecialExamText": "abc",
                    "OutpatientDiagnosisText": "abc",
                    "AdmissionConditionText": "abc",
                    "CheckAndTreatmentProcessText": "abc",
                    "SymptomsAndSignsText": "abc",
                    "DischargeInstructionsText": "abc",
                    "AdmissionDiagnosisText": "abc",
                    "SurgeryConditionText": "abc",
                    "PathologicalDiagnosisText": "abc",
                    "DischargeConditionText": "abc",
                    "CheckRecordText": "abc",
                    "ChiefComplaintText": "abc",
                    "DischargeDiagnosisText": "abc"
                },
                "ParagraphBlock": {
                    "IncisionHealingText": "abc",
                    "AuxiliaryExaminationText": "abc",
                    "SpecialExamText": "abc",
                    "OutpatientDiagnosisText": "abc",
                    "AdmissionConditionText": "abc",
                    "CheckAndTreatmentProcessText": "abc",
                    "SymptomsAndSignsText": "abc",
                    "DischargeInstructionsText": "abc",
                    "AdmissionDiagnosisText": "abc",
                    "SurgeryConditionText": "abc",
                    "PathologicalDiagnosisText": "abc",
                    "DischargeConditionText": "abc",
                    "CheckRecordText": "abc",
                    "ChiefComplaintText": "abc",
                    "DischargeDiagnosisText": "abc",
                    "MainDiseaseHistoryText": "abc",
                    "DiseasePresentText": "abc",
                    "PersonalHistoryText": "abc",
                    "MenstruallHistoryText": "abc",
                    "ObstericalHistoryText": "abc",
                    "FamilyHistoryText": "abc",
                    "AllergyHistoryText": "abc",
                    "DiseaseHistoryText": "abc",
                    "OtherDiagnosisText": "abc",
                    "BodyExaminationText": "abc",
                    "SpecialistExaminationText": "abc",
                    "TreatmentResultText": "abc"
                }
            },
            "IndicatorV3": {
                "TableIndictors": [
                    {
                        "Indicators": [
                            {
                                "Normal": true,
                                "Id": 0,
                                "Order": 0,
                                "InferNormal": "abc"
                            }
                        ]
                    }
                ],
                "Version": "abc"
            },
            "Covid": {
                "CovidItems": [
                    {}
                ],
                "Version": "abc"
            },
            "Maternity": {
                "Desc": {
                    "Fetus": [
                        {
                            "BPD": {
                                "Name": "abc",
                                "Value": "abc",
                                "Nums": [
                                    {
                                        "Num": "abc",
                                        "Unit": "abc"
                                    }
                                ],
                                "Src": "abc"
                            },
                            "APTD": {
                                "Name": "abc",
                                "Value": "abc",
                                "Nums": [
                                    {
                                        "Num": "abc",
                                        "Unit": "abc"
                                    }
                                ],
                                "Src": "abc"
                            },
                            "TTD": {
                                "Name": "abc",
                                "Value": "abc",
                                "Nums": [
                                    {
                                        "Num": "abc",
                                        "Unit": "abc"
                                    }
                                ],
                                "Src": "abc"
                            },
                            "Src": "abc"
                        }
                    ],
                    "Text": "abc"
                },
                "Summary": {
                    "Fetus": [
                        {
                            "Src": "abc"
                        }
                    ],
                    "Text": "abc"
                },
                "OcrText": "abc"
            },
            "Eye": {
                "EyeItems": {
                    "Left": {
                        "Sph": [
                            {
                                "Name": "abc",
                                "Src": "abc",
                                "Value": "abc",
                                "Order": 0
                            }
                        ],
                        "Cyl": [
                            {
                                "Name": "abc",
                                "Src": "abc",
                                "Value": "abc",
                                "Order": 0
                            }
                        ],
                        "Ax": [
                            {
                                "Name": "abc",
                                "Src": "abc",
                                "Value": "abc",
                                "Order": 0
                            }
                        ],
                        "Se": {
                            "Name": "abc",
                            "Src": "abc",
                            "Value": "abc"
                        }
                    },
                    "Right": {
                        "Se": {
                            "Name": "abc",
                            "Src": "abc",
                            "Value": "abc"
                        }
                    },
                    "Pd": {
                        "Name": "abc",
                        "Src": "abc",
                        "Value": "abc"
                    }
                },
                "Version": "abc"
            },
            "BirthCert": {
                "NeonatalInfo": {
                    "NeonatalName": "abc",
                    "NeonatalGender": "abc",
                    "BirthLength": "abc",
                    "BirthWeight": "abc",
                    "GestationalAge": "abc",
                    "BirthTime": "abc",
                    "BirthPlace": "abc",
                    "MedicalInstitutions": "abc"
                },
                "MotherInfo": {
                    "Name": "abc",
                    "Age": "abc",
                    "IdCard": "abc",
                    "Ethnicity": "abc",
                    "Nationality": "abc",
                    "Address": "abc"
                },
                "FatherInfo": {
                    "Name": "abc",
                    "Age": "abc",
                    "IdCard": "abc",
                    "Ethnicity": "abc",
                    "Nationality": "abc",
                    "Address": "abc"
                },
                "IssueInfo": {
                    "CertNumber": "abc",
                    "IssuedAuthority": "abc",
                    "IssuedDate": "abc"
                }
            },
            "Timeline": {
                "Timeline": [
                    {
                        "Type": "abc",
                        "Src": "abc",
                        "SubType": "abc",
                        "Time": "abc",
                        "Value": "abc",
                        "Rectangle": {
                            "X": 0,
                            "Y": 0,
                            "W": 0,
                            "H": 0
                        },
                        "Place": "abc",
                        "EndTime": "abc"
                    }
                ]
            }
        },
        "TextTypeList": [
            {
                "Id": 0,
                "Level": 0,
                "Name": "abc"
            }
        ],
        "RequestId": "abc"
    }
}

5. 开发者资源

腾讯云 API 平台

腾讯云 API 平台 是综合 API 文档、错误码、API Explorer 及 SDK 等资源的统一查询平台,方便您从同一入口查询及使用腾讯云提供的所有 API 服务。

API Inspector

用户可通过 API Inspector 查看控制台每一步操作关联的 API 调用情况,并自动生成各语言版本的 API 代码,也可前往 API Explorer 进行在线调试。

SDK

云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。

命令行工具

6. 错误码

以下仅列出了接口业务逻辑相关的错误码,其他错误码详见 公共错误码

错误码 描述
AuthFailure CAM签名/鉴权错误。
FailedOperation.PushUsageMessageError 用量消息推送失败。
FailedOperation.ServiceNotOpen 服务未开通。
FailedOperation.UnknownError 未知错误。
InternalError 内部错误。
InternalError.ImageOcrError 图片ocr识别异常。
InternalError.ImageProcessError 图片处理异常。
InternalError.ServerTimeOutError 服务调用超时。
InternalError.StructionError 报告结构化异常。
InternalError.TextClassifyError 报告文本分类异常。
InvalidParameter 参数错误。
InvalidParameter.AutoFitDirection 参数AutoFitDirection无效。
InvalidParameter.ImageInfoList 参数ImageInfoList无效。
InvalidParameter.ImageOriginalSize 参数ImageOriginalSize无效。
InvalidParameter.InvalidAction 请求Action无效。
InvalidParameter.OcrEngineType 参数OcrEngineType无效。
InvalidParameter.RotateTheAngle 参数RotateTheAngle无效。
InvalidParameter.Text 参数Text无效。
InvalidParameterValue.ImageCodeInvalid 图片编码无效。
InvalidParameterValue.ImageIsNoText 图片没有文字。
InvalidParameterValue.ImageURLInvalid 图片URL无效。
LimitExceeded.TextSizeLimitExceeded 文本大小超过限制。
UnauthorizedOperation.PermissionDeniedError 当前无权限,请检查BisinsessId。
UnsupportedOperation.UnSupportThisType 当前报告类型不支持。