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

alibaba.alihealth.rx.ca.prescribe.signed.status.save (处方ca认证)

处方ca认证

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param0 PrescribeStatusDTO 可选 入参实体
  • └ reason
  • String
  • 可选
  • 原因
  • 拒绝签名原因(仅在拒绝签名状态时回调)
  • └ client_id
  • String
  • 可选
  • 2015120417541766
  • 第三方厂商标识
  • └ signed_pdf_base64
  • String
  • 可选
  • 333
  • pdf文件流(base64编码,(仅在pdf签名成功状态时回调))
  • └ delete_time
  • String
  • 可选
  • yyyy-MM-dd HH:mm:ss
  • 作废时间(仅在作废状态时回调),yyyy-MM-dd HH:mm:ss
  • └ signed_data
  • String
  • 可选
  • 222
  • 处方哈希的 P7签名(仅在签名成功时回调)
  • └ open_id
  • String
  • 可选
  • 123
  • 签名医师openId
  • └ sign
  • String
  • 可选
  • 来源可靠性验签参数
  • Body签名值
  • └ service_id
  • Number
  • 可选
  • 101
  • 订阅服务Id
  • └ template_id
  • String
  • 可选
  • recipe
  • 模板Id
  • └ ur_id
  • String
  • 可选
  • 2015120417541766
  • 处方ID
  • └ unique_id
  • String
  • 可选
  • 111
  • 医网信处方唯一标识
  • └ status
  • Number
  • 可选
  • 2
  • 签名订单状态 2已签名 6拒绝签名 7签名订单已过期删除 9已签名订单作废

响应参数

名称 类型 示例值 描述
data YwxCommonVO 出参
  • └ status
  • String
  • 0
  • 状态
  • └ message
  • String
  • 成功
  • 描述
exception_code String 500 错误码
exception_message String 系统错误 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthRxCaPrescribeSignedStatusSaveRequest req = new AlibabaAlihealthRxCaPrescribeSignedStatusSaveRequest();
AlibabaAlihealthRxCaPrescribeSignedStatusSaveRequest.PrescribeStatusDTO obj1 = new AlibabaAlihealthRxCaPrescribeSignedStatusSaveRequest.PrescribeStatusDTO();
obj1.setReason("原因");
obj1.setClientId("2015120417541766");
obj1.setSignedPdfBase64("333");
obj1.setDeleteTime("yyyy-MM-dd HH:mm:ss");
obj1.setSignedData("222");
obj1.setOpenId("123");
obj1.setSign("来源可靠性验签参数");
obj1.setServiceId(101L);
obj1.setTemplateId("recipe");
obj1.setUrId("2015120417541766");
obj1.setUniqueId("111");
obj1.setStatus(2L);
req.setParam0(obj1);
AlibabaAlihealthRxCaPrescribeSignedStatusSaveResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_rx_ca_prescribe_signed_status_save_response>
    <data>
        <status>0</status>
        <message>成功</message>
    </data>
    <exception_code>500</exception_code>
    <exception_message>系统错误</exception_message>
</alibaba_alihealth_rx_ca_prescribe_signed_status_save_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

返回
顶部