查询患者信息
<p><strong>迭代版本:</strong>2.8.30(新增)
<strong>简要描述:</strong></p>
<ul>
<li>查询患者信息</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li>/chronic/patient/getPatientInfoByUserId</li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST/GET</li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">patientId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>患者id(与用户id等值)</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"retcode": "0000",
"errMsg": "操作成功",
"body": {
"patientId": 14,
"patientName": "谢患者",
"patientSex": "M",
"headImage": "http://thirdwx.qlogo.cn/mmopen/eWiagGkVW27PWXz7QOnkovoNvDibEXrOtq7jEPD0t4gS6jRiasTqDvUQj0pQAzjFMlzQZ6poibkOqBmh8DOSL7tj3V0RscZOQS4ic/132",
"birthdate": "1986-03-19",
"idcardNo": null,
"mobile": "18271410061",
"familyMobile": null,
"checkState": null,
"createTime": "2019-07-19 18:30:25",
"createBy": null,
"state": 1,
"tags": "高血压 2.0年 急性发病期,糖尿病 3.0年 危重,哮喘 1.3年 ,慢阻肺 1.3年 ,aaaa 1.3年 ,ddd 1.3年 ,179 111年 康复期,便秘 1年 康复期",
"weight": null,
"height": null,
"workIntensity": null,
"joinTime": null,
"joinGroupTime": null,
"vipFlag": null,
"attention": null,
"roleId": null,
"videoOpenid": "ofNbT5JsKnR7BAocmvLd8DUTLyMA",
"videoSessionKey": "gYxLF51kZnsIIjnq/dVY8Q==",
"perDiseaseHis": "高血压 2.0年 急性发病期,糖尿病 3.0年 危重,哮喘 1.3年 ,慢阻肺 1.3年 ,aaaa 1.3年 ,ddd 1.3年 ,179 111年 康复期,便秘 1年 康复期",
"famDiseaseHis": "高血压",
"herDisease": null,
"bloodType": "A",
"bloodRH": "阴",
"houseHold": "户籍",
"national": "汉",
"education": "博士",
"economy": "中等",
"profession": "公务员",
"allergyDrugs": "A药,B药",
"deformity": "视力残疾,听力残疾",
"remark": "哈哈",
"homeAddress": null,
"nickName": null,
"relation": null,
"openid": "oitRz1krE_Nl1_BKggy-hLWiiuKA",
"age": 33,
"doctorCount": null,
"recipeCount": null,
"familiesCount": null,
"recipeEndTime": null
}
}
</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">patientName</td>
<td style="text-align: left;">int</td>
<td>患者姓名</td>
</tr>
<tr>
<td style="text-align: left;">patientSex</td>
<td style="text-align: left;">string</td>
<td>患者性别(M:男性 F:女性)</td>
</tr>
<tr>
<td style="text-align: left;">headImage</td>
<td style="text-align: left;">String</td>
<td>头像url</td>
</tr>
<tr>
<td style="text-align: left;">age</td>
<td style="text-align: left;">string</td>
<td>年龄</td>
</tr>
<tr>
<td style="text-align: left;">mobile</td>
<td style="text-align: left;">string</td>
<td>手机号码</td>
</tr>
<tr>
<td style="text-align: left;">tags</td>
<td style="text-align: left;">string</td>
<td>标签,多个用逗号分隔</td>
</tr>
<tr>
<td style="text-align: left;">createTime</td>
<td style="text-align: left;">Date</td>
<td>注册时间(创建时间)</td>
</tr>
</tbody>
</table>
<p>|houseHold |String |常住类型 |
|national |string |名族 |
|education |string |文化程度 |
|economy |String |经济状况 |
|profession |string |职业 |</p>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>