文本结构化接口

最近更新时间:2024-09-20 13:08:27

我的收藏

1. 接口描述

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

文本转结构化对象。

适用场景:经过腾讯医疗专用 OCR 从图片识别之后的文本,可以调用此接口。通过其它 OCR 识别的文本可能不适配。医院的 XML 格式文本也不适配,XML 文件需要经过特殊转换才能直接调用此接口。单次调用传入的文本不宜超过 2000 字。

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

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

2. 输入参数

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

参数名称 必选 类型 描述
Action String 公共参数,本接口取值:TextToObject。
Version String 公共参数,本接口取值:2020-09-10。
Region String 公共参数,详见产品支持的 地域列表
Text String 报告文本
Type Integer 报告类型,目前支持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 报告结构化结果
示例值:[object]
RequestId String 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。

4. 示例

示例1 文本结构化

输入一段文本,得到结构化结果

输入示例

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

{
    "Text": "超声检查报告\n年龄:35岁科别:乳腺专科超声号:\n姓名: 性别:女 床号: 住院号:\n病区:\n门诊号:\n检查部位:甲状腺1,颈部肿块1\n9\n检查所见:\n[甲状腺]右侧叶42*19*19mm,左侧叶42*18*14m,峡部厚1.6mm;\n峡部大小正常,形态规则,内部回声均匀;CDFI显示腺体内部血流分布正\n常。 甲状腺右侧叶内见数枚低回声结节,较大者约13*11mm,边界清,形态规\n则,内部回声尚均匀,CDFI显示内见条状血流信号。\n甲状腺左侧叶内见数枚囊性结节,较大者约2.2*1.4mm,边界清,透声可。\n[颈部]两侧颈部各区未见明显异常团块回声,CDFI未见明显异常血流信\n号。\n检查提示:\n1、甲状腺右侧叶低回声结节,TI-RADS-US分类3类\n2、甲状腺左侧叶囊性结节,TI-RADS-US分类2类\n报告时间:2020-07-019;02:37\n本报告仅供临床参考。",
    "Type": 0,
    "UserType": 0,
    "IsUsedClassify": true
}

输出示例

{
    "Response": {
        "RequestId": "a547d066-1c49-463a-83dd-8a3b937b076c",
        "Template": {
            "BirthCert": null,
            "C14": null,
            "Check": {
                "BlockTitle": null,
                "Desc": {
                    "Coords": null,
                    "Organ": [
                        {
                            "CDFI": {
                                "Index": [
                                    0,
                                    64
                                ],
                                "Name": "CDFI",
                                "Positive": "",
                                "Size": null,
                                "Src": "CDFI显示腺体内部血流分布正\\N常",
                                "Type": "",
                                "Value": "血流信号正常"
                            },
                            "Capsule": null,
                            "Coords": null,
                            "CtHu": null,
                            "Cysticwall": null,
                            "Density": null,
                            "Duct": null,
                            "Edge": null,
                            "Envelope": null,
                            "Gland": null,
                            "ImageFeature": null,
                            "Index": [
                                0,
                                7
                            ],
                            "InnerEcho": null,
                            "InnerEchoDistribution": null,
                            "IsthmusThicknese": null,
                            "IsthmusThickness": null,
                            "LymphEnlargement": null,
                            "Metabolism": null,
                            "MriAdc": null,
                            "MriDwi": null,
                            "MriT1": null,
                            "MriT2": null,
                            "Operation": null,
                            "Outline": null,
                            "Part": {
                                "Index": [
                                    0,
                                    7
                                ],
                                "Name": "部位",
                                "NormPart": {
                                    "Part": "甲状腺",
                                    "PartDetail": {
                                        "MainDir": "",
                                        "Part": "",
                                        "SecondaryDir": "",
                                        "Type": ""
                                    },
                                    "PartDirection": "右叶",
                                    "Tissue": "",
                                    "TissueDirection": "",
                                    "Upper": "头颈部腺体/,内分泌系统/"
                                },
                                "Src": "甲状腺,右侧叶",
                                "Value": "甲状腺右叶",
                                "ValueBrief": "甲状腺右叶"
                            },
                            "RadioactiveUptake": null,
                            "Shape": null,
                            "ShapeAttr": null,
                            "Size": [
                                {
                                    "Index": [
                                        0,
                                        10
                                    ],
                                    "Name": "大小",
                                    "NormSize": {
                                        "Impl": "",
                                        "Number": [
                                            "42.0",
                                            "19.0",
                                            "19.0"
                                        ],
                                        "Type": "大小",
                                        "Unit": "MM"
                                    },
                                    "Src": "42*19*19MM",
                                    "Value": "大小42.0*19.0*19.0MM"
                                },
                                {
                                    "Index": [
                                        0,
                                        24
                                    ],
                                    "Name": "大小",
                                    "NormSize": {
                                        "Impl": "",
                                        "Number": [
                                            "42.0",
                                            "18.0",
                                            "14.0"
                                        ],
                                        "Type": "大小",
                                        "Unit": "MM"
                                    },
                                    "Src": "42*18*14M",
                                    "Value": "大小42.0*18.0*14.0MM"
                                },
                                {
                                    "Index": [
                                        0,
                                        34
                                    ],
                                    "Name": "大小",
                                    "NormSize": {
                                        "Impl": "",
                                        "Number": [
                                            "1.6"
                                        ],
                                        "Type": "峡部",
                                        "Unit": "MM"
                                    },
                                    "Src": "峡部厚1.6MM",
                                    "Value": "峡部1.6MM"
                                }
                            ],
                            "SizeStatus": null,
                            "Src": "右侧叶42*19*19MM,左侧叶42*18*14M,峡部厚1.6MM;",
                            "Structure": null,
                            "Suvmax": null,
                            "SymDesc": null,
                            "Thickness": null,
                            "Transparent": null,
                            "Trend": null,
                            "Vas": null
                        },
                        {
                            "CDFI": {
                                "Index": [
                                    0,
                                    64
                                ],
                                "Name": "CDFI",
                                "Positive": "",
                                "Size": null,
                                "Src": "CDFI显示腺体内部血流分布正\\N常",
                                "Type": "",
                                "Value": "血流信号正常"
                            },
                            "Capsule": null,
                            "Coords": null,
                            "CtHu": null,
                            "Cysticwall": null,
                            "Density": null,
                            "Duct": null,
                            "Edge": null,
                            "Envelope": null,
                            "Gland": null,
                            "ImageFeature": {
                                "Index": [
                                    0,
                                    57
                                ],
                                "Name": "影像特征",
                                "Positive": "",
                                "Size": null,
                                "Src": "内部回声均匀",
                                "Type": "",
                                "Value": "均质回声,分布均匀"
                            },
                            "Index": [
                                0,
                                45
                            ],
                            "InnerEcho": null,
                            "InnerEchoDistribution": null,
                            "IsthmusThicknese": null,
                            "IsthmusThickness": null,
                            "LymphEnlargement": null,
                            "Metabolism": null,
                            "MriAdc": null,
                            "MriDwi": null,
                            "MriT1": null,
                            "MriT2": null,
                            "Operation": null,
                            "Outline": null,
                            "Part": {
                                "Index": [
                                    0,
                                    45
                                ],
                                "Name": "部位",
                                "NormPart": {
                                    "Part": "甲状腺",
                                    "PartDetail": {
                                        "MainDir": "",
                                        "Part": "",
                                        "SecondaryDir": "",
                                        "Type": ""
                                    },
                                    "PartDirection": "峡部",
                                    "Tissue": "",
                                    "TissueDirection": "",
                                    "Upper": "头颈部腺体/,内分泌系统/"
                                },
                                "Src": "甲状腺,峡部",
                                "Value": "甲状腺峡部",
                                "ValueBrief": "甲状腺峡部"
                            },
                            "RadioactiveUptake": null,
                            "Shape": {
                                "Index": [
                                    0,
                                    45
                                ],
                                "Name": "形状",
                                "Positive": "",
                                "Size": null,
                                "Src": "峡部大小正常; 形态规则",
                                "Type": "",
                                "Value": "大小正常,形态规则"
                            },
                            "ShapeAttr": null,
                            "Size": null,
                            "SizeStatus": null,
                            "Src": "峡部大小正常,形态规则,内部回声均匀;CDFI显示腺体内部血流分布正\\N常。",
                            "Structure": null,
                            "Suvmax": null,
                            "SymDesc": null,
                            "Thickness": null,
                            "Transparent": null,
                            "Trend": null,
                            "Vas": null
                        }
                    ],
                    "Text": "\\n[甲状腺]右侧叶42*19*19mm,左侧叶42*18*14m,峡部厚1.6mm;\\n峡部大小正常,形态规则,内部回声均匀;CDFI显示腺体内部血流分布正\\n常。 甲状腺右侧叶内见数枚低回声结节,较大者约13*11mm,边界清,形态规\\n则,内部回声尚均匀,CDFI显示内见条状血流信号。\\n甲状腺左侧叶内见数枚囊性结节,较大者约2.2*1.4mm,边界清,透声可。\\n[颈部]两侧颈部各区未见明显异常团块回声,CDFI未见明显异常血流信\\n号。\\n",
                    "Tuber": [
                        {
                            "Activity": null,
                            "AspectRatio": null,
                            "CDFI": {
                                "Index": [
                                    0,
                                    130
                                ],
                                "Name": "CDFI",
                                "Positive": "",
                                "Size": null,
                                "Src": "CDFI显示内见条状血流信号",
                                "Type": "",
                                "Value": "条状血流"
                            },
                            "Calcification": null,
                            "Capsule": null,
                            "Coords": null,
                            "CtHu": null,
                            "Cysticwall": null,
                            "Density": null,
                            "Edge": {
                                "Index": [
                                    0,
                                    111
                                ],
                                "Name": "边界",
                                "Positive": "",
                                "Size": null,
                                "Src": "边界清",
                                "Type": "",
                                "Value": "边界清晰"
                            },
                            "Elastic": null,
                            "Enhancement": null,
                            "Envelope": null,
                            "ImageFeature": {
                                "Index": [
                                    0,
                                    83
                                ],
                                "Name": "影像特征",
                                "Positive": "",
                                "Size": null,
                                "Src": "甲状腺右侧叶内见数枚低回声结节; 内部回声尚均匀",
                                "Type": "",
                                "Value": "低回声,结节,均质回声,分布均匀"
                            },
                            "Index": [
                                0,
                                83
                            ],
                            "InnerEcho": null,
                            "InnerEchoDistribution": null,
                            "InnerEchoType": null,
                            "IsthmusThicknese": null,
                            "IsthmusThickness": null,
                            "LymphDoor": null,
                            "LymphEnlargement": null,
                            "Metabolism": null,
                            "MriAdc": null,
                            "MriDwi": null,
                            "MriT1": null,
                            "MriT2": null,
                            "Multiple": {
                                "Count": 0,
                                "Index": [
                                    0,
                                    83
                                ],
                                "Name": "多发",
                                "Src": "甲状腺右侧叶内见数枚低回声结节",
                                "Value": "多发"
                            },
                            "Operation": null,
                            "Outline": null,
                            "Part": {
                                "Index": [
                                    0,
                                    83
                                ],
                                "Name": "部位",
                                "NormPart": {
                                    "Part": "甲状腺",
                                    "PartDetail": {
                                        "MainDir": "",
                                        "Part": "",
                                        "SecondaryDir": "",
                                        "Type": ""
                                    },
                                    "PartDirection": "右叶",
                                    "Tissue": "",
                                    "TissueDirection": "",
                                    "Upper": "头颈部腺体/,内分泌系统/"
                                },
                                "Src": "甲状腺右侧叶内",
                                "Value": "甲状腺右叶",
                                "ValueBrief": "甲状腺右叶"
                            },
                            "RadioactiveUptake": null,
                            "RearEcho": null,
                            "Shape": null,
                            "ShapeAttr": null,
                            "Size": [
                                {
                                    "Index": [
                                        0,
                                        99
                                    ],
                                    "Name": "大小",
                                    "NormSize": {
                                        "Impl": "",
                                        "Number": [
                                            "13.0",
                                            "11.0"
                                        ],
                                        "Type": "大小",
                                        "Unit": "MM"
                                    },
                                    "Src": "较大者约13*11MM",
                                    "Value": "大小13.0*11.0MM"
                                }
                            ],
                            "SizeStatus": null,
                            "SkinMedulla": null,
                            "Src": "甲状腺右侧叶内见数枚低回声结节,较大者约13*11MM,边界清,形态规\\N则,内部回声尚均匀,CDFI显示内见条状血流信号。",
                            "Structure": null,
                            "Suvmax": null,
                            "SymDesc": null,
                            "Transparent": null,
                            "Trend": null,
                            "Type": {
                                "Index": [
                                    0,
                                    93
                                ],
                                "Name": "类型",
                                "Positive": "",
                                "Size": null,
                                "Src": "甲状腺右侧叶内见数枚低回声结节; 内部回声尚均匀",
                                "Type": "",
                                "Value": "低回声,结节,均质回声,分布均匀"
                            },
                            "Vas": null
                        },
                        {
                            "Activity": null,
                            "AspectRatio": null,
                            "CDFI": null,
                            "Calcification": null,
                            "Capsule": null,
                            "Coords": null,
                            "CtHu": null,
                            "Cysticwall": null,
                            "Density": null,
                            "Edge": {
                                "Index": [
                                    0,
                                    176
                                ],
                                "Name": "边界",
                                "Positive": "",
                                "Size": null,
                                "Src": "边界清",
                                "Type": "",
                                "Value": "边界清晰"
                            },
                            "Elastic": null,
                            "Enhancement": null,
                            "Envelope": null,
                            "ImageFeature": {
                                "Index": [
                                    0,
                                    147
                                ],
                                "Name": "影像特征",
                                "Positive": "",
                                "Size": null,
                                "Src": "甲状腺左侧叶内见数枚囊性结节; 透声可",
                                "Type": "",
                                "Value": "结节,囊性,透声好"
                            },
                            "Index": [
                                0,
                                147
                            ],
                            "InnerEcho": null,
                            "InnerEchoDistribution": null,
                            "InnerEchoType": null,
                            "IsthmusThicknese": null,
                            "IsthmusThickness": null,
                            "LymphDoor": null,
                            "LymphEnlargement": null,
                            "Metabolism": null,
                            "MriAdc": null,
                            "MriDwi": null,
                            "MriT1": null,
                            "MriT2": null,
                            "Multiple": {
                                "Count": 0,
                                "Index": [
                                    0,
                                    147
                                ],
                                "Name": "多发",
                                "Src": "甲状腺左侧叶内见数枚囊性结节",
                                "Value": "多发"
                            },
                            "Operation": null,
                            "Outline": null,
                            "Part": {
                                "Index": [
                                    0,
                                    147
                                ],
                                "Name": "部位",
                                "NormPart": {
                                    "Part": "甲状腺",
                                    "PartDetail": {
                                        "MainDir": "",
                                        "Part": "",
                                        "SecondaryDir": "",
                                        "Type": ""
                                    },
                                    "PartDirection": "左叶",
                                    "Tissue": "",
                                    "TissueDirection": "",
                                    "Upper": "头颈部腺体/,内分泌系统/"
                                },
                                "Src": "甲状腺左侧叶内",
                                "Value": "甲状腺左叶",
                                "ValueBrief": "甲状腺左叶"
                            },
                            "RadioactiveUptake": null,
                            "RearEcho": null,
                            "Shape": null,
                            "ShapeAttr": null,
                            "Size": [
                                {
                                    "Index": [
                                        0,
                                        162
                                    ],
                                    "Name": "大小",
                                    "NormSize": {
                                        "Impl": "",
                                        "Number": [
                                            "2.2",
                                            "1.4"
                                        ],
                                        "Type": "大小",
                                        "Unit": "MM"
                                    },
                                    "Src": "较大者约2.2*1.4MM",
                                    "Value": "大小2.2*1.4MM"
                                }
                            ],
                            "SizeStatus": null,
                            "SkinMedulla": null,
                            "Src": "甲状腺左侧叶内见数枚囊性结节,较大者约2.2*1.4MM,边界清,透声可。",
                            "Structure": null,
                            "Suvmax": null,
                            "SymDesc": null,
                            "Transparent": null,
                            "Trend": null,
                            "Type": {
                                "Index": [
                                    0,
                                    157
                                ],
                                "Name": "类型",
                                "Positive": "",
                                "Size": null,
                                "Src": "甲状腺左侧叶内见数枚囊性结节; 透声可",
                                "Type": "",
                                "Value": "结节,囊性,透声好"
                            },
                            "Vas": null
                        },
                        {
                            "Activity": null,
                            "AspectRatio": null,
                            "CDFI": null,
                            "Calcification": null,
                            "Capsule": null,
                            "Coords": null,
                            "CtHu": null,
                            "Cysticwall": null,
                            "Density": null,
                            "Edge": null,
                            "Elastic": null,
                            "Enhancement": null,
                            "Envelope": null,
                            "ImageFeature": {
                                "Index": [
                                    0,
                                    190
                                ],
                                "Name": "影像特征",
                                "Positive": "",
                                "Size": null,
                                "Src": "两侧颈部各区未见明显异常团块回声",
                                "Type": "",
                                "Value": "未见异常"
                            },
                            "Index": [
                                0,
                                190
                            ],
                            "InnerEcho": null,
                            "InnerEchoDistribution": null,
                            "InnerEchoType": null,
                            "IsthmusThicknese": null,
                            "IsthmusThickness": null,
                            "LymphDoor": null,
                            "LymphEnlargement": null,
                            "Metabolism": null,
                            "MriAdc": null,
                            "MriDwi": null,
                            "MriT1": null,
                            "MriT2": null,
                            "Multiple": null,
                            "Operation": null,
                            "Outline": null,
                            "Part": {
                                "Index": [
                                    0,
                                    190
                                ],
                                "Name": "部位",
                                "NormPart": {
                                    "Part": "颈",
                                    "PartDetail": {
                                        "MainDir": "",
                                        "Part": "",
                                        "SecondaryDir": "",
                                        "Type": ""
                                    },
                                    "PartDirection": "两侧",
                                    "Tissue": "",
                                    "TissueDirection": "",
                                    "Upper": "头颈部/"
                                },
                                "Src": "两侧颈部各区",
                                "Value": "两侧颈",
                                "ValueBrief": "两侧颈"
                            },
                            "RadioactiveUptake": null,
                            "RearEcho": null,
                            "Shape": null,
                            "ShapeAttr": null,
                            "Size": null,
                            "SizeStatus": null,
                            "SkinMedulla": null,
                            "Src": "两侧颈部各区未见明显异常团块回声",
                            "Structure": null,
                            "Suvmax": null,
                            "SymDesc": null,
                            "Transparent": null,
                            "Trend": null,
                            "Type": {
                                "Index": [
                                    0,
                                    202
                                ],
                                "Name": "类型",
                                "Positive": "",
                                "Size": null,
                                "Src": "两侧颈部各区未见明显异常团块回声",
                                "Type": "",
                                "Value": "未见异常"
                            },
                            "Vas": null
                        }
                    ]
                },
                "Page": 0,
                "Summary": {
                    "Coords": null,
                    "Symptom": [
                        {
                            "Attrs": null,
                            "Coords": null,
                            "Grade": {
                                "Index": [
                                    0,
                                    16
                                ],
                                "Name": "分级",
                                "Positive": "",
                                "Size": null,
                                "Src": "TI-RADS-US分类3类\\N2、",
                                "Type": "TI-RADS",
                                "Value": "TI-RADS:3"
                            },
                            "Index": [
                                0,
                                0
                            ],
                            "Part": {
                                "Index": [
                                    0,
                                    4
                                ],
                                "Name": "部位",
                                "NormPart": {
                                    "Part": "甲状腺",
                                    "PartDetail": {
                                        "MainDir": "",
                                        "Part": "",
                                        "SecondaryDir": "",
                                        "Type": ""
                                    },
                                    "PartDirection": "右叶",
                                    "Tissue": "",
                                    "TissueDirection": "",
                                    "Upper": "头颈部腺体/,内分泌系统/"
                                },
                                "Src": "甲状腺右侧叶",
                                "Value": "甲状腺右叶",
                                "ValueBrief": "甲状腺右叶"
                            },
                            "Src": "\\n1、甲状腺右侧叶低回声结节,TI-RADS-US分类3类\\n2、",
                            "Symptom": {
                                "Index": [
                                    0,
                                    10
                                ],
                                "Name": "病变",
                                "Positive": "",
                                "Size": null,
                                "Src": "低回声结节",
                                "Type": "标准值",
                                "Value": "低回声结节"
                            }
                        },
                        {
                            "Attrs": [
                                {
                                    "Index": [
                                        0,
                                        40
                                    ],
                                    "Name": "属性",
                                    "Positive": "",
                                    "Size": null,
                                    "Src": "囊性",
                                    "Type": "",
                                    "Value": "囊性"
                                }
                            ],
                            "Coords": null,
                            "Grade": {
                                "Index": [
                                    0,
                                    45
                                ],
                                "Name": "分级",
                                "Positive": "",
                                "Size": null,
                                "Src": "TI-RADS-US分类2类\\N",
                                "Type": "TI-RADS",
                                "Value": "TI-RADS:2"
                            },
                            "Index": [
                                0,
                                34
                            ],
                            "Part": {
                                "Index": [
                                    0,
                                    34
                                ],
                                "Name": "部位",
                                "NormPart": {
                                    "Part": "甲状腺",
                                    "PartDetail": {
                                        "MainDir": "",
                                        "Part": "",
                                        "SecondaryDir": "",
                                        "Type": ""
                                    },
                                    "PartDirection": "左叶",
                                    "Tissue": "",
                                    "TissueDirection": "",
                                    "Upper": "头颈部腺体/,内分泌系统/"
                                },
                                "Src": "甲状腺左侧叶",
                                "Value": "甲状腺左叶",
                                "ValueBrief": "甲状腺左叶"
                            },
                            "Src": "甲状腺左侧叶囊性结节,TI-RADS-US分类2类\\n",
                            "Symptom": {
                                "Index": [
                                    0,
                                    40
                                ],
                                "Name": "病变",
                                "Positive": "",
                                "Size": null,
                                "Src": "囊性结节",
                                "Type": "标准值",
                                "Value": "囊性结节"
                            }
                        }
                    ],
                    "Text": "\\n1、甲状腺右侧叶低回声结节,TI-RADS-US分类3类\\n2、甲状腺左侧叶囊性结节,TI-RADS-US分类2类\\n"
                }
            },
            "Covid": null,
            "DiagCert": null,
            "Electrocardiogram": null,
            "Endoscopy": null,
            "Exame": null,
            "Eye": null,
            "FirstPage": null,
            "Hospitalization": null,
            "Indicator": null,
            "IndicatorV3": null,
            "Maternity": null,
            "MedDoc": null,
            "MedDocV2": null,
            "MedicalRecordInfo": null,
            "OcrResult": "",
            "OcrText": "",
            "Pathology": null,
            "PathologyV2": null,
            "PatientInfo": {
                "Address": "",
                "Age": "",
                "AgeNorm": "",
                "BedNo": "",
                "BirthPlace": "",
                "Birthday": "",
                "EducationBackground": "",
                "Ethnicity": "",
                "HealthCardNo": "",
                "IdCard": "",
                "Married": "",
                "MarriedCode": "",
                "MedicalInsuranceType": "",
                "MedicalInsuranceTypeCode": "",
                "Name": "",
                "Nation": "",
                "Nationality": "",
                "Phone": "",
                "Profession": "",
                "ProfessionCode": "",
                "Sex": "",
                "SocialSecurityCardNo": ""
            },
            "Prescription": null,
            "ReportInfo": {
                "BedNo": "",
                "BillingTime": "",
                "CheckItem": "",
                "CheckMethod": "",
                "CheckNum": "",
                "DepartmentName": "",
                "Diagnose": "",
                "DiagnoseTime": "",
                "HealthCheckupNum": "",
                "Hospital": "",
                "ImageNum": "",
                "InHospitalNum": "",
                "InspectTime": "",
                "MedicalRecordNum": "",
                "OtherTime": "",
                "OutpatientNum": "",
                "PathologyNum": "",
                "PrintTime": "",
                "RadiationNum": "",
                "ReportName": "",
                "ReportTime": "",
                "SampleNum": "",
                "SampleType": "",
                "TestNum": "",
                "Times": [],
                "UltraNum": ""
            },
            "ReportType": "check",
            "ReportTypeDesc": "",
            "Surgery": null,
            "Timeline": null,
            "VaccineCertificate": null
        }
    }
}

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.ImageURLInvalid 图片URL无效。
LimitExceeded.TextSizeLimitExceeded 文本大小超过限制。
UnauthorizedOperation.PermissionDeniedError 当前无权限,请检查BisinsessId。
UnsupportedOperation.UnSupportThisType 当前报告类型不支持。