文档中心 > API类目 > 阿里健康随访

alibaba.alihealth.followup.searchpatients.get (医生端搜索患者列表)

医生端搜索患者列表接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
request1 FollowUpGetPatientsRequest 可选 入参包装类
  • └ doctor_id
  • Number
  • 必须
  • 4717853024878123
  • 医生ID
  • └ page_no
  • Number
  • 可选
  • 1
  • 第几页
  • └ ding_corp_id
  • Number
  • 必须
  • 1636873811356221
  • 集团ID
  • └ page_size
  • Number
  • 可选
  • 20
  • 每页大小
  • └ query_str
  • String
  • 可选
  • 感冒
  • 搜索的字符串
  • └ tag_code
  • Number
  • 可选
  • 524288
  • 标签编码
auth_token String 可选 9eae09db243df99bd67af033decfd257 token用于安全验证

响应参数

名称 类型 示例值 描述
result MtopResult 结果Result
  • model
  • Page
  • 返回model包装类
  • results
  • FollowUpPatientBaseInfoVO []
  • 结果类
  • └ note_name
  • String
  • 备注名备注名
  • 备注名
  • └ patient_pic
  • String
  • https://ossgw.alicdn.com/o2ooss/alijkdoc/ALIJKDOC_IDNUM/2310296154/1470210117586.jpg
  • 患者图片
  • └ record_name
  • String
  • 张三测试
  • 患者档案名
  • └ tag_names
  • String
  • 标签32
  • 标签字符串
  • └ follow_up_id
  • Number
  • 16000001376004
  • 随访ID
  • └ select
  • Boolean
  • false
  • 是否已经被选
  • └ group_type
  • String
  • S
  • 列表类型(群聊、单聊)
  • └ pinyin_initial
  • String
  • A
  • 拼音首字母
  • └ session_id
  • String
  • 3434234
  • 会话ID
  • └ dept_id
  • String
  • 23434234
  • 组ID
  • └ total_count
  • Number
  • -1
  • 总记录数
  • └ page_no
  • Number
  • 1
  • 第几页
  • └ page_size
  • Number
  • -1
  • 每页大小
  • └ msg_code
  • String
  • PARAM_IS_NULL
  • 错误编码
  • └ msg_info
  • String
  • 请求参数为空
  • 错误信息
  • └ success
  • Boolean
  • true
  • 是否调用成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthFollowupSearchpatientsGetRequest req = new AlibabaAlihealthFollowupSearchpatientsGetRequest();
AlibabaAlihealthFollowupSearchpatientsGetRequest.FollowUpGetPatientsRequest obj1 = new AlibabaAlihealthFollowupSearchpatientsGetRequest.FollowUpGetPatientsRequest();
obj1.setDoctorId(4717853024878123L);
obj1.setPageNo(1L);
obj1.setDingCorpId(1636873811356221L);
obj1.setPageSize(20L);
obj1.setQueryStr("感冒");
obj1.setTagCode(524288L);
req.setRequest1(obj1);
req.setAuthToken("9eae09db243df99bd67af033decfd257");
AlibabaAlihealthFollowupSearchpatientsGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_followup_searchpatients_get_response>
    <result>
        <model>
            <results>
                <follow_up_patient_base_info_v_o>
                    <note_name>备注名备注名</note_name>
                    <patient_pic>https://ossgw.alicdn.com/o2ooss/alijkdoc/ALIJKDOC_IDNUM/2310296154/1470210117586.jpg</patient_pic>
                    <record_name>张三测试</record_name>
                    <tag_names>标签32</tag_names>
                    <follow_up_id>16000001376004</follow_up_id>
                    <select>false</select>
                    <group_type>S</group_type>
                    <pinyin_initial>A</pinyin_initial>
                    <session_id>3434234</session_id>
                    <dept_id>23434234</dept_id>
                </follow_up_patient_base_info_v_o>
            </results>
            <total_count>-1</total_count>
            <page_no>1</page_no>
            <page_size>-1</page_size>
        </model>
        <msg_code>PARAM_IS_NULL</msg_code>
        <msg_info>请求参数为空</msg_info>
        <success>true</success>
    </result>
</alibaba_alihealth_followup_searchpatients_get_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部