文档中心 > API类目 > 阿里健康医生

alibaba.alihealth.asyncprescribe.prescription.detail (异步开方处方详情)

异步开方处方查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
detail_request AsyncPrescribeDetailRequest 可选 入参
  • └ rx_no
  • String
  • 可选
  • 12345678
  • 处方号
  • └ hospital_id
  • String
  • 可选
  • 1234
  • 医院id

响应参数

名称 类型 示例值 描述
service_result ServiceResult alinkappserver系统返回的通用结果类
  • └ err_message
  • String
  • errMessage
  • └ err_code
  • String
  • errCode
  • data
  • PrescriptionDetailVo
  • {"sn":"xxx","mac":"xxx"}
  • 返回数据对象
  • └ patient_age
  • String
  • 18岁
  • 患者年龄
  • └ patient_tel
  • String
  • 18500361111
  • 患者电话
  • └ audit_pharmacist_name
  • String
  • 测试医生001
  • 审核药师姓名
  • └ depart_name
  • String
  • 内科
  • 科室名
  • └ id_card
  • String
  • 110226198802011212
  • 省份证
  • └ prescription_audit_time
  • Number
  • 1556264730
  • 处方审核时间
  • └ prescription_pic_url
  • String
  • http://33333
  • 处方图地址
  • └ prescription_create_time
  • Number
  • 1556264730
  • 处开具时间
  • └ gan_gong_detail
  • String
  • 肝功异常了。。。。
  • 肝功能
  • └ problem_history
  • String
  • 糖尿病
  • 既往史
  • └ taobao_order_no
  • String
  • 40902
  • 淘宝订单号
  • └ patient_name
  • String
  • dh测试医生0202
  • 患者姓名
  • └ dispensing_pharmacist_name
  • String
  • 测试医生003
  • 配药药师姓名
  • └ revisit_pic_url_list
  • String []
  • "http://11111", "http://22222"
  • 病历报告单
  • └ patient_sex
  • String
  • 患者性别
  • └ end_receive_time
  • Number
  • 1556264730
  • 接诊结束时间
  • └ hospital_name
  • String
  • crm测试互联网医院1
  • 医院名
  • └ shen_gong_detail
  • String
  • 肾功异常了。。。。
  • 肾功能
  • └ rx_no
  • String
  • 1904260002217002
  • 处方号
  • └ disease_record_id
  • String
  • 1904260019624002
  • 病历号
  • drug_list
  • DrugDto []
  • 药品
  • └ spec
  • String
  • 0.25g*8片/盒
  • 规格
  • └ total
  • String
  • 5
  • 总量
  • └ common_drug_name
  • String
  • common阿奇霉素片
  • 药品通用名
  • └ drug_name
  • String
  • 阿奇霉素片
  • 药品名
  • drug_usage_list
  • DrugUsageVo []
  • 用法用量
  • └ measure_unit
  • String
  • 每次用量单位
  • └ drug_usage
  • String
  • 冲服
  • 用法
  • └ days
  • String
  • 3
  • 天数
  • └ frequency_unit
  • String
  • 频次值单位
  • └ frequency_value
  • String
  • 3
  • 频次值
  • └ frequency
  • String
  • 每日
  • 频次
  • └ dose_value
  • String
  • 0.5
  • 每次你用量
  • └ dose_form
  • String
  • 片剂
  • 剂型
  • └ guo_min_detail
  • String
  • 花粉过敏
  • 过敏
  • └ start_receive_time
  • Number
  • 1556264730
  • 开始接诊时间
  • diagnose_list
  • DiagnoseVo []
  • 诊断
  • └ diagnose_code
  • String
  • ZYJV10
  • 诊断编码
  • └ diagnose_name
  • String
  • 津气欲脱证
  • 诊断名
  • └ effective_time
  • String
  • 72
  • 处方药有效期(小时)
  • └ doctor_name
  • String
  • dh测试医生0202
  • 医生姓名
  • └ hospital_id
  • String
  • 123445
  • 医院id
  • └ patient_birthday
  • String
  • 1985-04-28
  • 出生年月日
  • └ success
  • Boolean
  • true
  • success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthAsyncprescribePrescriptionDetailRequest req = new AlibabaAlihealthAsyncprescribePrescriptionDetailRequest();
AlibabaAlihealthAsyncprescribePrescriptionDetailRequest.AsyncPrescribeDetailRequest obj1 = new AlibabaAlihealthAsyncprescribePrescriptionDetailRequest.AsyncPrescribeDetailRequest();
obj1.setRxNo("12345678");
obj1.setHospitalId("1234");
req.setDetailRequest(obj1);
AlibabaAlihealthAsyncprescribePrescriptionDetailResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_asyncprescribe_prescription_detail_response>
    <service_result>
        <err_message>无</err_message>
        <err_code>无</err_code>
        <data>
            <patient_age>18岁</patient_age>
            <patient_tel>18500361111</patient_tel>
            <audit_pharmacist_name>测试医生001</audit_pharmacist_name>
            <depart_name>内科</depart_name>
            <id_card>110226198802011212</id_card>
            <prescription_audit_time>1556264730</prescription_audit_time>
            <prescription_pic_url>http://33333</prescription_pic_url>
            <prescription_create_time>1556264730</prescription_create_time>
            <gan_gong_detail>肝功异常了。。。。</gan_gong_detail>
            <problem_history>糖尿病</problem_history>
            <taobao_order_no>40902</taobao_order_no>
            <patient_name>dh测试医生0202</patient_name>
            <dispensing_pharmacist_name>测试医生003</dispensing_pharmacist_name>
            <revisit_pic_url_list>
                <string>&quot;http://11111&quot;</string>
                <string>&quot;http://22222&quot;</string>
            </revisit_pic_url_list>
            <patient_sex>男</patient_sex>
            <end_receive_time>1556264730</end_receive_time>
            <hospital_name>crm测试互联网医院1</hospital_name>
            <shen_gong_detail>肾功异常了。。。。</shen_gong_detail>
            <rx_no>1904260002217002</rx_no>
            <disease_record_id>1904260019624002</disease_record_id>
            <drug_list>
                <drug_dto>
                    <spec>0.25g*8片/盒</spec>
                    <total>5</total>
                    <common_drug_name>common阿奇霉素片</common_drug_name>
                    <drug_name>阿奇霉素片</drug_name>
                    <drug_usage_list>
                        <drug_usage_vo>
                            <measure_unit>克</measure_unit>
                            <drug_usage>冲服</drug_usage>
                            <days>3</days>
                            <frequency_unit>次</frequency_unit>
                            <frequency_value>3</frequency_value>
                            <frequency>每日</frequency>
                            <dose_value>0.5</dose_value>
                        </drug_usage_vo>
                    </drug_usage_list>
                    <dose_form>片剂</dose_form>
                </drug_dto>
            </drug_list>
            <guo_min_detail>花粉过敏</guo_min_detail>
            <start_receive_time>1556264730</start_receive_time>
            <diagnose_list>
                <diagnose_vo>
                    <diagnose_code>ZYJV10</diagnose_code>
                    <diagnose_name>津气欲脱证</diagnose_name>
                </diagnose_vo>
            </diagnose_list>
            <effective_time>72</effective_time>
            <doctor_name>dh测试医生0202</doctor_name>
            <hospital_id>123445</hospital_id>
            <patient_birthday>1985-04-28</patient_birthday>
        </data>
        <success>true</success>
    </service_result>
</alibaba_alihealth_asyncprescribe_prescription_detail_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

返回
顶部