处方同步至医院返回校验结果
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
update_request | PrescriptionOutflowUpdateRequest | 可选 | 入参对象 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
service_result | ServiceResult | ServiceResult | |
|
1 2 3 4 5 6 7 8 9 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlihealthOutflowPrescriptionHospitalVerifyRequest req = new AlibabaAlihealthOutflowPrescriptionHospitalVerifyRequest(); AlibabaAlihealthOutflowPrescriptionHospitalVerifyRequest.PrescriptionOutflowUpdateRequest obj1 = new AlibabaAlihealthOutflowPrescriptionHospitalVerifyRequest.PrescriptionOutflowUpdateRequest(); obj1.setRxNo( "1234567" ); obj1.setSyncHisResult( true ); obj1.setSyncHisErrMsg( "同步his失败" ); req.setUpdateRequest(obj1); AlibabaAlihealthOutflowPrescriptionHospitalVerifyResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < alibaba_alihealth_outflow_prescription_hospital_verify_response > < service_result > < data >true</ data > < success >true</ success > < err_code >40001</ err_code > < err_message >参数为空</ err_message > </ service_result > </ alibaba_alihealth_outflow_prescription_hospital_verify_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|