理赔查询
<p>[TOC]</p>
<p>请求模式:核心-->科技</p>
<p>接口描述:理赔查询</p>
<p>测试接口地址:<a href="https://hermesgyb.zhlic.net/avatar/claim/queryClaimInfo">https://hermesgyb.zhlic.net/avatar/claim/queryClaimInfo</a></p>
<p>生产接口地址:<a href="https://gyb.zhlic.net/avatar/claim/queryClaimInfo">https://gyb.zhlic.net/avatar/claim/queryClaimInfo</a></p>
<h3>请求体</h3>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>业务请求参数</td>
<td>ebizReq</td>
<td>EbizReq</td>
<td>Y</td>
<td>业务请求参数</td>
</tr>
</tbody>
</table>
<p><code>ebizReq</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>保险公司代码</td>
<td>companyCode</td>
<td>varchar</td>
<td>Y</td>
<td>ZLBX</td>
</tr>
<tr>
<td>保险公司名称</td>
<td>companyName</td>
<td>varchar</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>请求序列号</td>
<td>seqNo</td>
<td>varchar</td>
<td>Y</td>
<td>订单号,32个字符内、可包含字母,请调用方保证companyCode+seqNo唯一</td>
</tr>
<tr>
<td>产品信息</td>
<td>productInfo</td>
<td>ProductInfo</td>
<td>Y</td>
<td>产品信息</td>
</tr>
<tr>
<td>个人信息</td>
<td>personInfo</td>
<td>PersonInfo</td>
<td>Y</td>
<td>个人信息</td>
</tr>
<tr>
<td>业务信息</td>
<td>bizInfo</td>
<td>BizInfo</td>
<td>Y</td>
<td>业务信息</td>
</tr>
</tbody>
</table>
<p><code>productInfo</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>产品编码</td>
<td>productCode</td>
<td>varchar</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>产品名称</td>
<td>productName</td>
<td>varchar</td>
<td>Y</td>
<td></td>
</tr>
</tbody>
</table>
<p><code>personInfo</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>姓名</td>
<td>name</td>
<td>varchar</td>
<td>Y</td>
<td>姓名</td>
</tr>
<tr>
<td>身份证号</td>
<td>idn</td>
<td>varchar</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>手机号</td>
<td>mobile</td>
<td>varchar</td>
<td>N</td>
<td></td>
</tr>
<tr>
<td>潜在就诊省</td>
<td>province</td>
<td>varchar</td>
<td>Y</td>
<td>潜在就诊省</td>
</tr>
<tr>
<td>潜在就诊市</td>
<td>city</td>
<td>varchar</td>
<td>N</td>
<td>潜在就诊市</td>
</tr>
</tbody>
</table>
<p><code>bizInfo</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>保单号</td>
<td>policyNo</td>
<td>varchar</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>理赔单号</td>
<td>claimNo</td>
<td>varchar</td>
<td>Y</td>
<td>理赔单号</td>
</tr>
<tr>
<td>险种编码</td>
<td>riskCode</td>
<td>varchar</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>授权文件地址</td>
<td>authUrl</td>
<td>varchar</td>
<td>Y</td>
<td>调用下载授权文件的地址</td>
</tr>
</tbody>
</table>
<h3>响应体</h3>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>保险公司代码</td>
<td>companyCode</td>
<td>varchar</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>产品代码</td>
<td>productCode</td>
<td>varchar</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>请求序列号</td>
<td>seqNo</td>
<td>varchar</td>
<td>Y</td>
<td>请求序列号</td>
</tr>
<tr>
<td>处理结果</td>
<td>isSuccess</td>
<td>varchar</td>
<td>Y</td>
<td>00 – 处理成功</br>10 – 未授权11 – 验签失败 </br>12 - 参数格式校验错误</br>20 – 参数校验不合法,具体请看错误信息</br>30 - 保险公司代码不合法</br>31 – 渠道代码不合法</br>32 – 产品代码不合法</br>40 – 请求次数超过限额</br>99 – 系统异常</br>其他 都是处理失败</td>
</tr>
<tr>
<td>错误信息</td>
<td>errorMsg</td>
<td>varchar</td>
<td>N</td>
<td>isSuccess 非00 的时候才有</td>
</tr>
<tr>
<td>返回数据</td>
<td>data</td>
<td>Object</td>
<td>N</td>
<td>isSuccess=00 的时候才有</td>
</tr>
</tbody>
</table>
<p><code>data</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>疾病风险等级</td>
<td>medRiskLevel</td>
<td>varchar</td>
<td>Y</td>
<td>N:无风险</br>H:高风险</br>M:中风险</br>L:低风险</td>
</tr>
<tr>
<td>是否查得</td>
<td>isValid</td>
<td>varchar</td>
<td>Y</td>
<td>1:查得</br>0:未查得</td>
</tr>
<tr>
<td>医疗信息</td>
<td>medInfoList</td>
<td>List<MedInfo></td>
<td>N</td>
<td>医疗信息</td>
</tr>
</tbody>
</table>
<p><code>medInfo</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>就诊时间</td>
<td>diagnoseDate</td>
<td>varchar</td>
<td>N</td>
<td>yyyy-MM-dd</td>
</tr>
<tr>
<td>出院时间</td>
<td>outHospitalDate</td>
<td>varchar</td>
<td>N</td>
<td>yyyy-MM-dd</td>
</tr>
<tr>
<td>医院名称</td>
<td>hospitalName</td>
<td>varchar</td>
<td>N</td>
<td></td>
</tr>
<tr>
<td>疾病名称</td>
<td>standardIcdName</td>
<td>varchar</td>
<td>N</td>
<td></td>
</tr>
<tr>
<td>就诊类型</td>
<td>diagnoseType</td>
<td>varchar</td>
<td>N</td>
<td></td>
</tr>
<tr>
<td>就诊金额</td>
<td>diagnoseCost</td>
<td>varchar</td>
<td>N</td>
<td></td>
</tr>
</tbody>
</table>
<h3>报文示例-返回</h3>
<p>1.疾病风险等级=高风险</p>
<pre><code class="language-json">{
&quot;companyCode&quot;: &quot;&quot;,
&quot;productCode&quot;: &quot;&quot;,
&quot;seqNo&quot;: &quot;&quot;,
&quot;isSuccess&quot;: &quot;00&quot;,
&quot;data&quot;: {
&quot;medRiskLevel&quot;: &quot;H&quot;,
&quot;isValid&quot;: &quot;1&quot;,
&quot;medInfoList&quot;: [{
&quot;diagnoseDate&quot;: &quot;2021-04-19&quot;,
&quot;outHospitalDate&quot;: &quot;2021-04-25&quot;,
&quot;standardIcdName&quot;: &quot;脑出血&quot;,
&quot;hospitalName&quot;: &quot;第一人民医院&quot;,
&quot;diagnoseType&quot;: &quot;住院&quot;,
&quot;diagnoseCost&quot;: &quot;1000&quot;
},
{
&quot;diagnoseDate&quot;: &quot;2021-04-20&quot;,
&quot;outHospitalDate&quot;: &quot;2021-04-30&quot;,
&quot;standardIcdName&quot;: &quot;脑出血&quot;,
&quot;hospitalName&quot;: &quot;第二人民医院&quot;,
&quot;diagnoseType&quot;: &quot;住院&quot;,
&quot;diagnoseCost&quot;: &quot;20000&quot;
}
]
}
}</code></pre>
<p>2.疾病风险等级=无风险</p>
<pre><code class="language-json">{
&quot;companyCode&quot;:&quot;&quot;,
&quot;productCode&quot;:&quot;&quot;,
&quot;seqNo&quot;:&quot;&quot;,
&quot;isSuccess&quot;:&quot;00&quot;,
&quot;data&quot;:{
&quot;medRiskLevel&quot;:&quot;N&quot;,
&quot;isValid&quot;:&quot;0&quot;,
&quot;medInfoList&quot;:[]
}
}</code></pre>
<p>失败格式:</p>
<pre><code class="language-json">{
&quot;seqNo&quot;: &quot;seqNo&quot;,
&quot;isSuccess&quot;: &quot;99&quot;,
&quot;companyCode&quot;: &quot;companyCode&quot;,
&quot;productCode&quot;: &quot;productCode&quot;,
&quot;errorMsg&quot;: &quot;很抱歉,系统异常,请稍后重试&quot;
}</code></pre>