爱康云医接口文档

爱康云医API文档


获取叮嘱分类标签

<p><strong>迭代版本:</strong>2.8.32.1(新增)</p> <p><strong>简要描述:</strong></p> <ul> <li>获取叮嘱分类标签(包含当前jwt登录用户自定义标签)</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li>/chronic/adviseTag/list</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;">parentId</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>为空,则从所有一级分类搜至叶子节点,若干不为空,则搜特定分类的子类</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "retcode": "0000", "errMsg": "操作成功", "body": [ { "id": 3, "parentId": null, "tagName": "运动保健", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": null, "parentId": 4, "tagName": "安全用药", "tagType": 0, "doctorId": 4195, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 2, "childNode": [ { "id": 9, "parentId": 4, "tagName": "按时服药必要性", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 10, "parentId": 4, "tagName": "漏服药物危害", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null } ] }, { "id": null, "parentId": 8, "tagName": "生理指标", "tagType": 0, "doctorId": 4195, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 6, "childNode": [ { "id": null, "parentId": 11, "tagName": "血压", "tagType": 0, "doctorId": 4195, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 7, "childNode": [ { "id": 17, "parentId": 11, "tagName": "血压偏高建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 18, "parentId": 11, "tagName": "血压偏低建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 19, "parentId": 11, "tagName": "血压危险建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 20, "parentId": 11, "tagName": "坚持测量血压好处", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 21, "parentId": 11, "tagName": "长期未测量血压影响", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 40, "parentId": 11, "tagName": "自定义血压爆炸了", "tagType": 1, "doctorId": 4195, "createTime": "2019-11-26 14:20:48", "state": 1, "childNum": 0, "childNode": null }, { "id": 41, "parentId": 11, "tagName": "自定义血压爆", "tagType": 1, "doctorId": 4195, "createTime": "2019-11-26 14:25:54", "state": 1, "childNum": 0, "childNode": null } ] }, { "id": null, "parentId": 12, "tagName": "血糖", "tagType": 0, "doctorId": 4195, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 5, "childNode": [ { "id": 22, "parentId": 12, "tagName": "血糖偏高建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 23, "parentId": 12, "tagName": "血糖偏低建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 24, "parentId": 12, "tagName": "血糖危险建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 25, "parentId": 12, "tagName": "坚持测量血糖好处", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 26, "parentId": 12, "tagName": "长期未测量血糖影响", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null } ] }, { "id": null, "parentId": 13, "tagName": "心率", "tagType": 0, "doctorId": 4195, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 3, "childNode": [ { "id": 27, "parentId": 13, "tagName": "心率偏高建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 28, "parentId": 13, "tagName": "心率偏低建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 29, "parentId": 13, "tagName": "心率危险建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null } ] }, { "id": null, "parentId": 14, "tagName": "血氧", "tagType": 0, "doctorId": 4195, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 3, "childNode": [ { "id": 30, "parentId": 14, "tagName": "血氧偏高建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 31, "parentId": 14, "tagName": "血氧偏低建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 32, "parentId": 14, "tagName": "血氧危险建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null } ] }, { "id": null, "parentId": 15, "tagName": "体重", "tagType": 0, "doctorId": 4195, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 4, "childNode": [ { "id": 33, "parentId": 15, "tagName": "体重不足建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 34, "parentId": 15, "tagName": "体重过轻建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 35, "parentId": 15, "tagName": "体重超重建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 36, "parentId": 15, "tagName": "体重肥胖建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null } ] }, { "id": null, "parentId": 16, "tagName": "体脂", "tagType": 0, "doctorId": 4195, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 3, "childNode": [ { "id": 37, "parentId": 16, "tagName": "体质偏高建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 38, "parentId": 16, "tagName": "体脂偏低建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": null }, { "id": 39, "parentId": 16, "tagName": "体脂危险建议", "tagType": 0, "doctorId": null, "createTime": "2019-11-26 11:16:21", "state": 1, "childNum": 0, "childNode": 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;">id</td> <td style="text-align: left;">int</td> <td>标签id</td> </tr> <tr> <td style="text-align: left;">parentId</td> <td style="text-align: left;">int</td> <td>父级标签id</td> </tr> <tr> <td style="text-align: left;">tagName</td> <td style="text-align: left;">String</td> <td>标签名称</td> </tr> <tr> <td style="text-align: left;">tagType</td> <td style="text-align: left;">int</td> <td>标签类型,0-公共;1-自定义</td> </tr> <tr> <td style="text-align: left;">doctorId</td> <td style="text-align: left;">int</td> <td>医生id</td> </tr> <tr> <td style="text-align: left;">childNum</td> <td style="text-align: left;">int</td> <td>子节点数量(为0才可以选择,大于0则查询子标签)</td> </tr> <tr> <td style="text-align: left;">childNode</td> <td style="text-align: left;">list</td> <td>子节点</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML