// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: drug.proto

package com.ywt.gapi.drug;

/**
 * <pre>
 *药品相关服务
 * </pre>
 *
 * Protobuf service {@code com.ywt.gapi.drug.DrugService}
 */
public  abstract class DrugService
    implements com.google.protobuf.Service {
  protected DrugService() {}

  public interface Interface {
    /**
     * <pre>
     *保存处方信息
     * </pre>
     *
     * <code>rpc savePrescription(.com.ywt.gapi.drug.SavePrescriptionRequest) returns (.com.ywt.gapi.drug.SavePrescriptionResponse);</code>
     */
    public abstract void savePrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionResponse> done);

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     *
     * <code>rpc getPrescription(.com.ywt.gapi.drug.GetPrescriptionRequest) returns (.com.ywt.gapi.drug.GetPrescriptionResponse);</code>
     */
    public abstract void getPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionResponse> done);

    /**
     * <pre>
     *检查并生成处方支付流水号
     * </pre>
     *
     * <code>rpc prescriptionPrePay(.com.ywt.gapi.drug.PrescriptionPrePayRequest) returns (.com.ywt.gapi.drug.PrescriptionPrePayResponse);</code>
     */
    public abstract void prescriptionPrePay(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PrescriptionPrePayRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PrescriptionPrePayResponse> done);

    /**
     * <pre>
     *保存处方支付流水明细
     * </pre>
     *
     * <code>rpc savePrescriptionPayment(.com.ywt.gapi.drug.SavePrescriptionPaymentRequest) returns (.com.ywt.gapi.drug.SavePrescriptionPaymentResponse);</code>
     */
    public abstract void savePrescriptionPayment(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionPaymentRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionPaymentResponse> done);

    /**
     * <pre>
     *处方微信支付回调
     * </pre>
     *
     * <code>rpc prescriptionWxPayCallback(.com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest) returns (.com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse);</code>
     */
    public abstract void prescriptionWxPayCallback(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse> done);

    /**
     * <pre>
     *保存处方单患者信息
     * </pre>
     *
     * <code>rpc savePrescriptionInfo(.com.ywt.gapi.drug.SavePrescriptionInfoRequest) returns (.com.ywt.gapi.drug.SavePrescriptionInfoResponse);</code>
     */
    public abstract void savePrescriptionInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionInfoResponse> done);

    /**
     * <pre>
     *获取字典数据
     * </pre>
     *
     * <code>rpc getDictTypeList(.com.ywt.gapi.drug.GetDictTypeListRequest) returns (.com.ywt.gapi.drug.GetDictTypeListResponse);</code>
     */
    public abstract void getDictTypeList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDictTypeListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDictTypeListResponse> done);

    /**
     * <pre>
     *获取药品列表
     * </pre>
     *
     * <code>rpc getDrugList(.com.ywt.gapi.drug.GetDrugListRequest) returns (.com.ywt.gapi.drug.GetDrugListResponse);</code>
     */
    public abstract void getDrugList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugListResponse> done);

    /**
     * <pre>
     *获取处方单记录列表
     * </pre>
     *
     * <code>rpc getRecordList(.com.ywt.gapi.drug.GetRecordListRequest) returns (.com.ywt.gapi.drug.GetRecordListResponse);</code>
     */
    public abstract void getRecordList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetRecordListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetRecordListResponse> done);

    /**
     * <pre>
     *获取用户处方单记录列表
     * </pre>
     *
     * <code>rpc getUserRecordList(.com.ywt.gapi.drug.GetUserRecordListRequest) returns (.com.ywt.gapi.drug.GetUserRecordListResponse);</code>
     */
    public abstract void getUserRecordList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetUserRecordListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetUserRecordListResponse> done);

    /**
     * <pre>
     *保存取药方式
     * </pre>
     *
     * <code>rpc saveDeliveryMethod(.com.ywt.gapi.drug.SaveDeliveryMethodRequest) returns (.com.ywt.gapi.drug.SaveDeliveryMethodResponse);</code>
     */
    public abstract void saveDeliveryMethod(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SaveDeliveryMethodRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SaveDeliveryMethodResponse> done);

    /**
     * <pre>
     *今日开方统计
     * </pre>
     *
     * <code>rpc todayPrescribeCount(.com.ywt.gapi.drug.TodayPrescribeCountRequest) returns (.com.ywt.gapi.drug.TodayPrescribeCountResponse);</code>
     */
    public abstract void todayPrescribeCount(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.TodayPrescribeCountRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.TodayPrescribeCountResponse> done);

    /**
     * <pre>
     *获取药品用法说明
     * </pre>
     *
     * <code>rpc getDrugUsageInstruction(.com.ywt.gapi.drug.GetDrugUsageInstructionRequest) returns (.com.ywt.gapi.drug.GetDrugUsageInstructionResponse);</code>
     */
    public abstract void getDrugUsageInstruction(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugUsageInstructionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugUsageInstructionResponse> done);

    /**
     * <pre>
     *保存处方单患者信息  create by daiyihua
     * </pre>
     *
     * <code>rpc savePrescriptionDetail(.com.ywt.gapi.drug.SavePrescriptionDetailRequest) returns (.com.ywt.gapi.drug.SavePrescriptionDetailResponse);</code>
     */
    public abstract void savePrescriptionDetail(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionDetailRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionDetailResponse> done);

    /**
     * <pre>
     *获取处方单记录列表(医生端查找)  create by daiyihua
     * </pre>
     *
     * <code>rpc getRecordListInfo(.com.ywt.gapi.drug.GetRecordListInfoRequest) returns (.com.ywt.gapi.drug.GetRecordListInfoResponse);</code>
     */
    public abstract void getRecordListInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetRecordListInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetRecordListInfoResponse> done);

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     *
     * <code>rpc getPrescriptionDetail(.com.ywt.gapi.drug.GetPrescriptionDetailRequest) returns (.com.ywt.gapi.drug.GetPrescriptionDetailResponse);</code>
     */
    public abstract void getPrescriptionDetail(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionDetailRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionDetailResponse> done);

    /**
     * <pre>
     *取用药频率列表
     * </pre>
     *
     * <code>rpc getDrugFrequencyList(.com.ywt.gapi.drug.GetDrugFrequencyListRequest) returns (.com.ywt.gapi.drug.GetDrugFrequencyListResponse);</code>
     */
    public abstract void getDrugFrequencyList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugFrequencyListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugFrequencyListResponse> done);

    /**
     * <pre>
     * 根据处方单记录获取处方信息
     * </pre>
     *
     * <code>rpc getPrescriptionById(.com.ywt.gapi.drug.GetPrescriptionByIdRequest) returns (.com.ywt.gapi.drug.GetPrescriptionByIdResponse);</code>
     */
    public abstract void getPrescriptionById(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionByIdRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionByIdResponse> done);

    /**
     * <pre>
     *获取药房列表
     * </pre>
     *
     * <code>rpc getPharmacyList(.com.ywt.gapi.drug.GetPharmacyListRequest) returns (.com.ywt.gapi.drug.GetPharmacyListResponse);</code>
     */
    public abstract void getPharmacyList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPharmacyListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPharmacyListResponse> done);

    /**
     * <pre>
     *获取处方单记录列表（患者端查找，his_order_no为空的数据）  create by daiyihua
     * </pre>
     *
     * <code>rpc getPrescriptionBaseInfoList(.com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest) returns (.com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse);</code>
     */
    public abstract void getPrescriptionBaseInfoList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done);

    /**
     * <pre>
     *获取his处方单记录列表（患者端查找）  create by daiyihua
     * </pre>
     *
     * <code>rpc getHisPrescriptionBaseInfoList(.com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest) returns (.com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse);</code>
     */
    public abstract void getHisPrescriptionBaseInfoList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done);

    /**
     * <pre>
     *医生常用药列表
     * </pre>
     *
     * <code>rpc getDoctorDrugList(.com.ywt.gapi.drug.GetDoctorDrugListRequest) returns (.com.ywt.gapi.drug.GetDoctorDrugListResponse);</code>
     */
    public abstract void getDoctorDrugList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDoctorDrugListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDoctorDrugListResponse> done);

    /**
     * <pre>
     * 保存处方快递地址
     * </pre>
     *
     * <code>rpc savePrescriptionExpressAddress(.com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest) returns (.com.ywt.gapi.drug.ResultResponse);</code>
     */
    public abstract void savePrescriptionExpressAddress(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.ResultResponse> done);

    /**
     * <pre>
     *获取国际疾病分类
     * </pre>
     *
     * <code>rpc getIcdList(.com.ywt.gapi.drug.GetIcdListRequest) returns (.com.ywt.gapi.drug.GetIcdListResponse);</code>
     */
    public abstract void getIcdList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetIcdListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetIcdListResponse> done);

    /**
     * <pre>
     *统计医生开方的药品数量
     * </pre>
     *
     * <code>rpc computeDoctorDrug(.com.ywt.gapi.drug.ComputeDoctorDrugRequest) returns (.com.ywt.gapi.drug.ComputeDoctorDrugResponse);</code>
     */
    public abstract void computeDoctorDrug(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.ComputeDoctorDrugRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.ComputeDoctorDrugResponse> done);

    /**
     * <pre>
     * 保存处方需要支付的费用
     * </pre>
     *
     * <code>rpc savePrescriptionFee(.com.ywt.gapi.drug.SavePrescriptionFeeRequest) returns (.com.ywt.gapi.Result);</code>
     */
    public abstract void savePrescriptionFee(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionFeeRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done);

    /**
     * <pre>
     *处方单完成支付
     * </pre>
     *
     * <code>rpc payPrescription(.com.ywt.gapi.drug.PayPrescriptionRequest) returns (.com.ywt.gapi.drug.PayPrescriptionResponse);</code>
     */
    public abstract void payPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PayPrescriptionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PayPrescriptionResponse> done);

    /**
     * <pre>
     *处方单划价
     * </pre>
     *
     * <code>rpc pricedPrescription(.com.ywt.gapi.drug.PricedPrescriptionRequest) returns (.com.ywt.gapi.drug.PricedPrescriptionResponse);</code>
     */
    public abstract void pricedPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PricedPrescriptionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PricedPrescriptionResponse> done);

    /**
     * <pre>
     * 根据处方ID获取处方基本信息  create by daiyihua
     * </pre>
     *
     * <code>rpc getPrescriptionBaseInfoById(.com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest) returns (.com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse);</code>
     */
    public abstract void getPrescriptionBaseInfoById(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse> done);

    /**
     * <pre>
     *获取广三药房列表
     * </pre>
     *
     * <code>rpc getG3PharmacyList(.com.ywt.gapi.drug.GetG3PharmacyListRequest) returns (.com.ywt.gapi.drug.GetG3PharmacyListResponse);</code>
     */
    public abstract void getG3PharmacyList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetG3PharmacyListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetG3PharmacyListResponse> done);

    /**
     * <pre>
     * 广三处方订单保存药房地址
     * </pre>
     *
     * <code>rpc saveG3PrescriptionInfoPharmacy(.com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest) returns (.com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse);</code>
     */
    public abstract void saveG3PrescriptionInfoPharmacy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse> done);

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     *
     * <code>rpc getPrescriptionBy(.com.ywt.gapi.drug.GetPrescriptionRequest) returns (.com.ywt.gapi.drug.GetPrescriptionResponse);</code>
     */
    public abstract void getPrescriptionBy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionResponse> done);

    /**
     * <pre>
     *订单中心支付成功回调通知
     * </pre>
     *
     * <code>rpc orderPaymentCallbackNotify(.com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest) returns (.com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse);</code>
     */
    public abstract void orderPaymentCallbackNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse> done);

    /**
     * <pre>
     *接收第三方状态上报
     * </pre>
     *
     * <code>rpc recvPrescriptionStatusFrom3th(.com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest) returns (.com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse);</code>
     */
    public abstract void recvPrescriptionStatusFrom3Th(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse> done);

    /**
     * <pre>
     *更新处方单患者信息
     * </pre>
     *
     * <code>rpc updatePrescriptionPatientInfo(.com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest) returns (.com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse);</code>
     */
    public abstract void updatePrescriptionPatientInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse> done);

    /**
     * <pre>
     *保存处方订单配送信息
     * </pre>
     *
     * <code>rpc saveOrderDeliveryInfo(.com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest) returns (.com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse);</code>
     */
    public abstract void saveOrderDeliveryInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse> done);

    /**
     * <pre>
     *处方单评价
     * </pre>
     *
     * <code>rpc commentPrescription(.com.ywt.gapi.drug.CommentPrescriptionRequest) returns (.com.ywt.gapi.drug.CommentPrescriptionResponse);</code>
     */
    public abstract void commentPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CommentPrescriptionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CommentPrescriptionResponse> done);

    /**
     * <pre>
     *添加医生常用药
     * </pre>
     *
     * <code>rpc createDoctorCommonUsedDrugs(.com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest) returns (.com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse);</code>
     */
    public abstract void createDoctorCommonUsedDrugs(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse> done);

    /**
     * <pre>
     * 获取可用的药房列表
     * </pre>
     *
     * <code>rpc getPharmacyListByType(.com.ywt.gapi.drug.GetPharmacyListByTypeRequest) returns (.com.ywt.gapi.drug.GetPharmacyListByTypeResponse);</code>
     */
    public abstract void getPharmacyListByType(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPharmacyListByTypeRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPharmacyListByTypeResponse> done);

    /**
     * <pre>
     *获取药房数据
     * </pre>
     *
     * <code>rpc getPharmacy(.com.ywt.gapi.drug.GetPharmacyRequest) returns (.com.ywt.gapi.drug.GetPharmacyResponse);</code>
     */
    public abstract void getPharmacy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPharmacyRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPharmacyResponse> done);

    /**
     * <pre>
     *退款结果通知
     * </pre>
     *
     * <code>rpc refundNotify(.com.ywt.gapi.drug.RefundNotifyRequest) returns (.com.ywt.gapi.drug.RefundNotifyResponse);</code>
     */
    public abstract void refundNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.RefundNotifyRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.RefundNotifyResponse> done);

    /**
     * <pre>
     *删除医生常用药
     * </pre>
     *
     * <code>rpc deleteDoctorCommonUsedDrugs(.com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest) returns (.com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse);</code>
     */
    public abstract void deleteDoctorCommonUsedDrugs(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse> done);

    /**
     * <pre>
     *分页获取处方单记录列表
     * </pre>
     *
     * <code>rpc getPrescriptionBaseInfoListPage(.com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest) returns (.com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse);</code>
     */
    public abstract void getPrescriptionBaseInfoListPage(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done);

    /**
     * <pre>
     *获取账单
     * </pre>
     *
     * <code>rpc getOrderBill(.com.ywt.gapi.drug.GetOrderBillRequest) returns (.com.ywt.gapi.drug.GetOrderBillResponse);</code>
     */
    public abstract void getOrderBill(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetOrderBillRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetOrderBillResponse> done);

    /**
     * <pre>
     *生成处方二维码
     * </pre>
     *
     * <code>rpc genRpQRCode(.com.ywt.gapi.drug.GenRpQRCodeRequest) returns (.com.ywt.gapi.drug.GenRpQRCodeResponse);</code>
     */
    public abstract void genRpQRCode(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GenRpQRCodeRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GenRpQRCodeResponse> done);

    /**
     * <pre>
     * 根据处方单ID、取药方式获取药房列表
     * </pre>
     *
     * <code>rpc listPharmacy(.com.ywt.gapi.drug.ListPharmacyRequest) returns (.com.ywt.gapi.drug.ListPharmacyResponse);</code>
     */
    public abstract void listPharmacy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.ListPharmacyRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.ListPharmacyResponse> done);

    /**
     * <pre>
     * 处方单划价，返回处方单药品在指定药房的价格明细和总价
     * </pre>
     *
     * <code>rpc priced(.com.ywt.gapi.drug.PricedRequest) returns (.com.ywt.gapi.drug.PricedResponse);</code>
     */
    public abstract void priced(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PricedRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PricedResponse> done);

    /**
     * <pre>
     *分页获取处方单记录列表(只有广三his的处方)
     * </pre>
     *
     * <code>rpc getPrescriptionBaseInfoListPageWithOnlyHis(.com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest) returns (.com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse);</code>
     */
    public abstract void getPrescriptionBaseInfoListPageWithOnlyHis(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done);

    /**
     * <pre>
     *支付成功之后发送订阅消息
     * </pre>
     *
     * <code>rpc sendSubscribeMessageAfterPaySuccess(.com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest) returns (.com.ywt.gapi.Result);</code>
     */
    public abstract void sendSubscribeMessageAfterPaySuccess(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done);

    /**
     * <pre>
     * 根据keyname获取系统设置
     * </pre>
     *
     * <code>rpc getSysSettingByKeyname(.com.ywt.gapi.drug.GetSysSettingByKeynameRequest) returns (.com.ywt.gapi.drug.GetSysSettingByKeynameResponse);</code>
     */
    public abstract void getSysSettingByKeyname(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetSysSettingByKeynameRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetSysSettingByKeynameResponse> done);

    /**
     * <pre>
     * 根据 userId 获取一键挂号流水号列表
     * </pre>
     *
     * <code>rpc getOneKeyRegList(.com.ywt.gapi.drug.GetOneKeyRegListRequest) returns (.com.ywt.gapi.drug.GetOneKeyRegListResponse);</code>
     */
    public abstract void getOneKeyRegList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetOneKeyRegListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetOneKeyRegListResponse> done);

    /**
     * <pre>
     * 更新 HIS 处方信息
     * </pre>
     *
     * <code>rpc updateHisPresInfo(.com.ywt.gapi.drug.UpdateHisPresInfoRequest) returns (.com.ywt.gapi.Result);</code>
     */
    public abstract void updateHisPresInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdateHisPresInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done);

    /**
     * <pre>
     * 作废处方
     * </pre>
     *
     * <code>rpc cancelPres(.com.ywt.gapi.drug.CancelPresRequest) returns (.com.ywt.gapi.Result);</code>
     */
    public abstract void cancelPres(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CancelPresRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done);

    /**
     * <pre>
     * 获取药品详情
     * </pre>
     *
     * <code>rpc getDrugDetail(.com.ywt.gapi.drug.GetDrugDetailRequest) returns (.com.ywt.gapi.drug.GetDrugDetailResponse);</code>
     */
    public abstract void getDrugDetail(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugDetailRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugDetailResponse> done);

    /**
     * <pre>
     * 查询医生是否支持回写 HIS 处方
     * </pre>
     *
     * <code>rpc checkIfDoctorWriteBack(.com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest) returns (.com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse);</code>
     */
    public abstract void checkIfDoctorWriteBack(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse> done);

    /**
     * <pre>
     * 获取最近一张未支付的回写处方
     * </pre>
     *
     * <code>rpc getLatestUnpaidHisPres(.com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest) returns (.com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse);</code>
     */
    public abstract void getLatestUnpaidHisPres(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse> done);

    /**
     * <pre>
     * 根据关键字查询药品说明
     * </pre>
     *
     * <code>rpc queryDrugInstruction(.com.ywt.gapi.drug.QueryDrugInstructionRequest) returns (.com.ywt.gapi.drug.QueryDrugInstructionResponse);</code>
     */
    public abstract void queryDrugInstruction(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryDrugInstructionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryDrugInstructionResponse> done);

    /**
     * <pre>
     * 修改处方地址
     * </pre>
     *
     * <code>rpc updatePresAddress(.com.ywt.gapi.drug.UpdatePresAddressRequest) returns (.com.ywt.gapi.drug.UpdatePresAddressResponse);</code>
     */
    public abstract void updatePresAddress(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdatePresAddressRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.UpdatePresAddressResponse> done);

    /**
     * <pre>
     * 更新处方信息
     * </pre>
     *
     * <code>rpc updatePresInfo(.com.ywt.gapi.drug.UpdatePresInfoRequest) returns (.com.ywt.gapi.Result);</code>
     */
    public abstract void updatePresInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdatePresInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done);

    /**
     * <pre>
     *  根据oderNos和日期获取处方订单
     * </pre>
     *
     * <code>rpc queryPresInfoBillList(.com.ywt.gapi.drug.QueryPresInfoBillListRequest) returns (.com.ywt.gapi.drug.QueryPresInfoBillListResponse);</code>
     */
    public abstract void queryPresInfoBillList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryPresInfoBillListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryPresInfoBillListResponse> done);

  }

  public static com.google.protobuf.Service newReflectiveService(
      final Interface impl) {
    return new DrugService() {
      @java.lang.Override
      public  void savePrescription(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.SavePrescriptionRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionResponse> done) {
        impl.savePrescription(controller, request, done);
      }

      @java.lang.Override
      public  void getPrescription(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetPrescriptionRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionResponse> done) {
        impl.getPrescription(controller, request, done);
      }

      @java.lang.Override
      public  void prescriptionPrePay(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.PrescriptionPrePayRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PrescriptionPrePayResponse> done) {
        impl.prescriptionPrePay(controller, request, done);
      }

      @java.lang.Override
      public  void savePrescriptionPayment(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.SavePrescriptionPaymentRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionPaymentResponse> done) {
        impl.savePrescriptionPayment(controller, request, done);
      }

      @java.lang.Override
      public  void prescriptionWxPayCallback(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse> done) {
        impl.prescriptionWxPayCallback(controller, request, done);
      }

      @java.lang.Override
      public  void savePrescriptionInfo(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.SavePrescriptionInfoRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionInfoResponse> done) {
        impl.savePrescriptionInfo(controller, request, done);
      }

      @java.lang.Override
      public  void getDictTypeList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetDictTypeListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDictTypeListResponse> done) {
        impl.getDictTypeList(controller, request, done);
      }

      @java.lang.Override
      public  void getDrugList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetDrugListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugListResponse> done) {
        impl.getDrugList(controller, request, done);
      }

      @java.lang.Override
      public  void getRecordList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetRecordListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetRecordListResponse> done) {
        impl.getRecordList(controller, request, done);
      }

      @java.lang.Override
      public  void getUserRecordList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetUserRecordListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetUserRecordListResponse> done) {
        impl.getUserRecordList(controller, request, done);
      }

      @java.lang.Override
      public  void saveDeliveryMethod(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.SaveDeliveryMethodRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SaveDeliveryMethodResponse> done) {
        impl.saveDeliveryMethod(controller, request, done);
      }

      @java.lang.Override
      public  void todayPrescribeCount(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.TodayPrescribeCountRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.TodayPrescribeCountResponse> done) {
        impl.todayPrescribeCount(controller, request, done);
      }

      @java.lang.Override
      public  void getDrugUsageInstruction(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetDrugUsageInstructionRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugUsageInstructionResponse> done) {
        impl.getDrugUsageInstruction(controller, request, done);
      }

      @java.lang.Override
      public  void savePrescriptionDetail(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.SavePrescriptionDetailRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionDetailResponse> done) {
        impl.savePrescriptionDetail(controller, request, done);
      }

      @java.lang.Override
      public  void getRecordListInfo(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetRecordListInfoRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetRecordListInfoResponse> done) {
        impl.getRecordListInfo(controller, request, done);
      }

      @java.lang.Override
      public  void getPrescriptionDetail(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetPrescriptionDetailRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionDetailResponse> done) {
        impl.getPrescriptionDetail(controller, request, done);
      }

      @java.lang.Override
      public  void getDrugFrequencyList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetDrugFrequencyListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugFrequencyListResponse> done) {
        impl.getDrugFrequencyList(controller, request, done);
      }

      @java.lang.Override
      public  void getPrescriptionById(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetPrescriptionByIdRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionByIdResponse> done) {
        impl.getPrescriptionById(controller, request, done);
      }

      @java.lang.Override
      public  void getPharmacyList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetPharmacyListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPharmacyListResponse> done) {
        impl.getPharmacyList(controller, request, done);
      }

      @java.lang.Override
      public  void getPrescriptionBaseInfoList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done) {
        impl.getPrescriptionBaseInfoList(controller, request, done);
      }

      @java.lang.Override
      public  void getHisPrescriptionBaseInfoList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done) {
        impl.getHisPrescriptionBaseInfoList(controller, request, done);
      }

      @java.lang.Override
      public  void getDoctorDrugList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetDoctorDrugListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDoctorDrugListResponse> done) {
        impl.getDoctorDrugList(controller, request, done);
      }

      @java.lang.Override
      public  void savePrescriptionExpressAddress(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.ResultResponse> done) {
        impl.savePrescriptionExpressAddress(controller, request, done);
      }

      @java.lang.Override
      public  void getIcdList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetIcdListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetIcdListResponse> done) {
        impl.getIcdList(controller, request, done);
      }

      @java.lang.Override
      public  void computeDoctorDrug(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.ComputeDoctorDrugRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.ComputeDoctorDrugResponse> done) {
        impl.computeDoctorDrug(controller, request, done);
      }

      @java.lang.Override
      public  void savePrescriptionFee(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.SavePrescriptionFeeRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done) {
        impl.savePrescriptionFee(controller, request, done);
      }

      @java.lang.Override
      public  void payPrescription(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.PayPrescriptionRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PayPrescriptionResponse> done) {
        impl.payPrescription(controller, request, done);
      }

      @java.lang.Override
      public  void pricedPrescription(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.PricedPrescriptionRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PricedPrescriptionResponse> done) {
        impl.pricedPrescription(controller, request, done);
      }

      @java.lang.Override
      public  void getPrescriptionBaseInfoById(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse> done) {
        impl.getPrescriptionBaseInfoById(controller, request, done);
      }

      @java.lang.Override
      public  void getG3PharmacyList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetG3PharmacyListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetG3PharmacyListResponse> done) {
        impl.getG3PharmacyList(controller, request, done);
      }

      @java.lang.Override
      public  void saveG3PrescriptionInfoPharmacy(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse> done) {
        impl.saveG3PrescriptionInfoPharmacy(controller, request, done);
      }

      @java.lang.Override
      public  void getPrescriptionBy(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetPrescriptionRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionResponse> done) {
        impl.getPrescriptionBy(controller, request, done);
      }

      @java.lang.Override
      public  void orderPaymentCallbackNotify(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse> done) {
        impl.orderPaymentCallbackNotify(controller, request, done);
      }

      @java.lang.Override
      public  void recvPrescriptionStatusFrom3Th(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse> done) {
        impl.recvPrescriptionStatusFrom3Th(controller, request, done);
      }

      @java.lang.Override
      public  void updatePrescriptionPatientInfo(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse> done) {
        impl.updatePrescriptionPatientInfo(controller, request, done);
      }

      @java.lang.Override
      public  void saveOrderDeliveryInfo(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse> done) {
        impl.saveOrderDeliveryInfo(controller, request, done);
      }

      @java.lang.Override
      public  void commentPrescription(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.CommentPrescriptionRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CommentPrescriptionResponse> done) {
        impl.commentPrescription(controller, request, done);
      }

      @java.lang.Override
      public  void createDoctorCommonUsedDrugs(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse> done) {
        impl.createDoctorCommonUsedDrugs(controller, request, done);
      }

      @java.lang.Override
      public  void getPharmacyListByType(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetPharmacyListByTypeRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPharmacyListByTypeResponse> done) {
        impl.getPharmacyListByType(controller, request, done);
      }

      @java.lang.Override
      public  void getPharmacy(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetPharmacyRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPharmacyResponse> done) {
        impl.getPharmacy(controller, request, done);
      }

      @java.lang.Override
      public  void refundNotify(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.RefundNotifyRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.RefundNotifyResponse> done) {
        impl.refundNotify(controller, request, done);
      }

      @java.lang.Override
      public  void deleteDoctorCommonUsedDrugs(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse> done) {
        impl.deleteDoctorCommonUsedDrugs(controller, request, done);
      }

      @java.lang.Override
      public  void getPrescriptionBaseInfoListPage(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done) {
        impl.getPrescriptionBaseInfoListPage(controller, request, done);
      }

      @java.lang.Override
      public  void getOrderBill(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetOrderBillRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetOrderBillResponse> done) {
        impl.getOrderBill(controller, request, done);
      }

      @java.lang.Override
      public  void genRpQRCode(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GenRpQRCodeRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GenRpQRCodeResponse> done) {
        impl.genRpQRCode(controller, request, done);
      }

      @java.lang.Override
      public  void listPharmacy(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.ListPharmacyRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.ListPharmacyResponse> done) {
        impl.listPharmacy(controller, request, done);
      }

      @java.lang.Override
      public  void priced(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.PricedRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PricedResponse> done) {
        impl.priced(controller, request, done);
      }

      @java.lang.Override
      public  void getPrescriptionBaseInfoListPageWithOnlyHis(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done) {
        impl.getPrescriptionBaseInfoListPageWithOnlyHis(controller, request, done);
      }

      @java.lang.Override
      public  void sendSubscribeMessageAfterPaySuccess(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done) {
        impl.sendSubscribeMessageAfterPaySuccess(controller, request, done);
      }

      @java.lang.Override
      public  void getSysSettingByKeyname(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetSysSettingByKeynameRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetSysSettingByKeynameResponse> done) {
        impl.getSysSettingByKeyname(controller, request, done);
      }

      @java.lang.Override
      public  void getOneKeyRegList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetOneKeyRegListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetOneKeyRegListResponse> done) {
        impl.getOneKeyRegList(controller, request, done);
      }

      @java.lang.Override
      public  void updateHisPresInfo(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.UpdateHisPresInfoRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done) {
        impl.updateHisPresInfo(controller, request, done);
      }

      @java.lang.Override
      public  void cancelPres(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.CancelPresRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done) {
        impl.cancelPres(controller, request, done);
      }

      @java.lang.Override
      public  void getDrugDetail(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetDrugDetailRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugDetailResponse> done) {
        impl.getDrugDetail(controller, request, done);
      }

      @java.lang.Override
      public  void checkIfDoctorWriteBack(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse> done) {
        impl.checkIfDoctorWriteBack(controller, request, done);
      }

      @java.lang.Override
      public  void getLatestUnpaidHisPres(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse> done) {
        impl.getLatestUnpaidHisPres(controller, request, done);
      }

      @java.lang.Override
      public  void queryDrugInstruction(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.QueryDrugInstructionRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryDrugInstructionResponse> done) {
        impl.queryDrugInstruction(controller, request, done);
      }

      @java.lang.Override
      public  void updatePresAddress(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.UpdatePresAddressRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.UpdatePresAddressResponse> done) {
        impl.updatePresAddress(controller, request, done);
      }

      @java.lang.Override
      public  void updatePresInfo(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.UpdatePresInfoRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done) {
        impl.updatePresInfo(controller, request, done);
      }

      @java.lang.Override
      public  void queryPresInfoBillList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.QueryPresInfoBillListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryPresInfoBillListResponse> done) {
        impl.queryPresInfoBillList(controller, request, done);
      }

    };
  }

  public static com.google.protobuf.BlockingService
      newReflectiveBlockingService(final BlockingInterface impl) {
    return new com.google.protobuf.BlockingService() {
      public final com.google.protobuf.Descriptors.ServiceDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }

      public final com.google.protobuf.Message callBlockingMethod(
          com.google.protobuf.Descriptors.MethodDescriptor method,
          com.google.protobuf.RpcController controller,
          com.google.protobuf.Message request)
          throws com.google.protobuf.ServiceException {
        if (method.getService() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "Service.callBlockingMethod() given method descriptor for " +
            "wrong service type.");
        }
        switch(method.getIndex()) {
          case 0:
            return impl.savePrescription(controller, (com.ywt.gapi.drug.SavePrescriptionRequest)request);
          case 1:
            return impl.getPrescription(controller, (com.ywt.gapi.drug.GetPrescriptionRequest)request);
          case 2:
            return impl.prescriptionPrePay(controller, (com.ywt.gapi.drug.PrescriptionPrePayRequest)request);
          case 3:
            return impl.savePrescriptionPayment(controller, (com.ywt.gapi.drug.SavePrescriptionPaymentRequest)request);
          case 4:
            return impl.prescriptionWxPayCallback(controller, (com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest)request);
          case 5:
            return impl.savePrescriptionInfo(controller, (com.ywt.gapi.drug.SavePrescriptionInfoRequest)request);
          case 6:
            return impl.getDictTypeList(controller, (com.ywt.gapi.drug.GetDictTypeListRequest)request);
          case 7:
            return impl.getDrugList(controller, (com.ywt.gapi.drug.GetDrugListRequest)request);
          case 8:
            return impl.getRecordList(controller, (com.ywt.gapi.drug.GetRecordListRequest)request);
          case 9:
            return impl.getUserRecordList(controller, (com.ywt.gapi.drug.GetUserRecordListRequest)request);
          case 10:
            return impl.saveDeliveryMethod(controller, (com.ywt.gapi.drug.SaveDeliveryMethodRequest)request);
          case 11:
            return impl.todayPrescribeCount(controller, (com.ywt.gapi.drug.TodayPrescribeCountRequest)request);
          case 12:
            return impl.getDrugUsageInstruction(controller, (com.ywt.gapi.drug.GetDrugUsageInstructionRequest)request);
          case 13:
            return impl.savePrescriptionDetail(controller, (com.ywt.gapi.drug.SavePrescriptionDetailRequest)request);
          case 14:
            return impl.getRecordListInfo(controller, (com.ywt.gapi.drug.GetRecordListInfoRequest)request);
          case 15:
            return impl.getPrescriptionDetail(controller, (com.ywt.gapi.drug.GetPrescriptionDetailRequest)request);
          case 16:
            return impl.getDrugFrequencyList(controller, (com.ywt.gapi.drug.GetDrugFrequencyListRequest)request);
          case 17:
            return impl.getPrescriptionById(controller, (com.ywt.gapi.drug.GetPrescriptionByIdRequest)request);
          case 18:
            return impl.getPharmacyList(controller, (com.ywt.gapi.drug.GetPharmacyListRequest)request);
          case 19:
            return impl.getPrescriptionBaseInfoList(controller, (com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest)request);
          case 20:
            return impl.getHisPrescriptionBaseInfoList(controller, (com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest)request);
          case 21:
            return impl.getDoctorDrugList(controller, (com.ywt.gapi.drug.GetDoctorDrugListRequest)request);
          case 22:
            return impl.savePrescriptionExpressAddress(controller, (com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest)request);
          case 23:
            return impl.getIcdList(controller, (com.ywt.gapi.drug.GetIcdListRequest)request);
          case 24:
            return impl.computeDoctorDrug(controller, (com.ywt.gapi.drug.ComputeDoctorDrugRequest)request);
          case 25:
            return impl.savePrescriptionFee(controller, (com.ywt.gapi.drug.SavePrescriptionFeeRequest)request);
          case 26:
            return impl.payPrescription(controller, (com.ywt.gapi.drug.PayPrescriptionRequest)request);
          case 27:
            return impl.pricedPrescription(controller, (com.ywt.gapi.drug.PricedPrescriptionRequest)request);
          case 28:
            return impl.getPrescriptionBaseInfoById(controller, (com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest)request);
          case 29:
            return impl.getG3PharmacyList(controller, (com.ywt.gapi.drug.GetG3PharmacyListRequest)request);
          case 30:
            return impl.saveG3PrescriptionInfoPharmacy(controller, (com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest)request);
          case 31:
            return impl.getPrescriptionBy(controller, (com.ywt.gapi.drug.GetPrescriptionRequest)request);
          case 32:
            return impl.orderPaymentCallbackNotify(controller, (com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest)request);
          case 33:
            return impl.recvPrescriptionStatusFrom3Th(controller, (com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest)request);
          case 34:
            return impl.updatePrescriptionPatientInfo(controller, (com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest)request);
          case 35:
            return impl.saveOrderDeliveryInfo(controller, (com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest)request);
          case 36:
            return impl.commentPrescription(controller, (com.ywt.gapi.drug.CommentPrescriptionRequest)request);
          case 37:
            return impl.createDoctorCommonUsedDrugs(controller, (com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest)request);
          case 38:
            return impl.getPharmacyListByType(controller, (com.ywt.gapi.drug.GetPharmacyListByTypeRequest)request);
          case 39:
            return impl.getPharmacy(controller, (com.ywt.gapi.drug.GetPharmacyRequest)request);
          case 40:
            return impl.refundNotify(controller, (com.ywt.gapi.drug.RefundNotifyRequest)request);
          case 41:
            return impl.deleteDoctorCommonUsedDrugs(controller, (com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest)request);
          case 42:
            return impl.getPrescriptionBaseInfoListPage(controller, (com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest)request);
          case 43:
            return impl.getOrderBill(controller, (com.ywt.gapi.drug.GetOrderBillRequest)request);
          case 44:
            return impl.genRpQRCode(controller, (com.ywt.gapi.drug.GenRpQRCodeRequest)request);
          case 45:
            return impl.listPharmacy(controller, (com.ywt.gapi.drug.ListPharmacyRequest)request);
          case 46:
            return impl.priced(controller, (com.ywt.gapi.drug.PricedRequest)request);
          case 47:
            return impl.getPrescriptionBaseInfoListPageWithOnlyHis(controller, (com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest)request);
          case 48:
            return impl.sendSubscribeMessageAfterPaySuccess(controller, (com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest)request);
          case 49:
            return impl.getSysSettingByKeyname(controller, (com.ywt.gapi.drug.GetSysSettingByKeynameRequest)request);
          case 50:
            return impl.getOneKeyRegList(controller, (com.ywt.gapi.drug.GetOneKeyRegListRequest)request);
          case 51:
            return impl.updateHisPresInfo(controller, (com.ywt.gapi.drug.UpdateHisPresInfoRequest)request);
          case 52:
            return impl.cancelPres(controller, (com.ywt.gapi.drug.CancelPresRequest)request);
          case 53:
            return impl.getDrugDetail(controller, (com.ywt.gapi.drug.GetDrugDetailRequest)request);
          case 54:
            return impl.checkIfDoctorWriteBack(controller, (com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest)request);
          case 55:
            return impl.getLatestUnpaidHisPres(controller, (com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest)request);
          case 56:
            return impl.queryDrugInstruction(controller, (com.ywt.gapi.drug.QueryDrugInstructionRequest)request);
          case 57:
            return impl.updatePresAddress(controller, (com.ywt.gapi.drug.UpdatePresAddressRequest)request);
          case 58:
            return impl.updatePresInfo(controller, (com.ywt.gapi.drug.UpdatePresInfoRequest)request);
          case 59:
            return impl.queryPresInfoBillList(controller, (com.ywt.gapi.drug.QueryPresInfoBillListRequest)request);
          default:
            throw new java.lang.AssertionError("Can't get here.");
        }
      }

      public final com.google.protobuf.Message
          getRequestPrototype(
          com.google.protobuf.Descriptors.MethodDescriptor method) {
        if (method.getService() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "Service.getRequestPrototype() given method " +
            "descriptor for wrong service type.");
        }
        switch(method.getIndex()) {
          case 0:
            return com.ywt.gapi.drug.SavePrescriptionRequest.getDefaultInstance();
          case 1:
            return com.ywt.gapi.drug.GetPrescriptionRequest.getDefaultInstance();
          case 2:
            return com.ywt.gapi.drug.PrescriptionPrePayRequest.getDefaultInstance();
          case 3:
            return com.ywt.gapi.drug.SavePrescriptionPaymentRequest.getDefaultInstance();
          case 4:
            return com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest.getDefaultInstance();
          case 5:
            return com.ywt.gapi.drug.SavePrescriptionInfoRequest.getDefaultInstance();
          case 6:
            return com.ywt.gapi.drug.GetDictTypeListRequest.getDefaultInstance();
          case 7:
            return com.ywt.gapi.drug.GetDrugListRequest.getDefaultInstance();
          case 8:
            return com.ywt.gapi.drug.GetRecordListRequest.getDefaultInstance();
          case 9:
            return com.ywt.gapi.drug.GetUserRecordListRequest.getDefaultInstance();
          case 10:
            return com.ywt.gapi.drug.SaveDeliveryMethodRequest.getDefaultInstance();
          case 11:
            return com.ywt.gapi.drug.TodayPrescribeCountRequest.getDefaultInstance();
          case 12:
            return com.ywt.gapi.drug.GetDrugUsageInstructionRequest.getDefaultInstance();
          case 13:
            return com.ywt.gapi.drug.SavePrescriptionDetailRequest.getDefaultInstance();
          case 14:
            return com.ywt.gapi.drug.GetRecordListInfoRequest.getDefaultInstance();
          case 15:
            return com.ywt.gapi.drug.GetPrescriptionDetailRequest.getDefaultInstance();
          case 16:
            return com.ywt.gapi.drug.GetDrugFrequencyListRequest.getDefaultInstance();
          case 17:
            return com.ywt.gapi.drug.GetPrescriptionByIdRequest.getDefaultInstance();
          case 18:
            return com.ywt.gapi.drug.GetPharmacyListRequest.getDefaultInstance();
          case 19:
            return com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest.getDefaultInstance();
          case 20:
            return com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest.getDefaultInstance();
          case 21:
            return com.ywt.gapi.drug.GetDoctorDrugListRequest.getDefaultInstance();
          case 22:
            return com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest.getDefaultInstance();
          case 23:
            return com.ywt.gapi.drug.GetIcdListRequest.getDefaultInstance();
          case 24:
            return com.ywt.gapi.drug.ComputeDoctorDrugRequest.getDefaultInstance();
          case 25:
            return com.ywt.gapi.drug.SavePrescriptionFeeRequest.getDefaultInstance();
          case 26:
            return com.ywt.gapi.drug.PayPrescriptionRequest.getDefaultInstance();
          case 27:
            return com.ywt.gapi.drug.PricedPrescriptionRequest.getDefaultInstance();
          case 28:
            return com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest.getDefaultInstance();
          case 29:
            return com.ywt.gapi.drug.GetG3PharmacyListRequest.getDefaultInstance();
          case 30:
            return com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest.getDefaultInstance();
          case 31:
            return com.ywt.gapi.drug.GetPrescriptionRequest.getDefaultInstance();
          case 32:
            return com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest.getDefaultInstance();
          case 33:
            return com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest.getDefaultInstance();
          case 34:
            return com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest.getDefaultInstance();
          case 35:
            return com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest.getDefaultInstance();
          case 36:
            return com.ywt.gapi.drug.CommentPrescriptionRequest.getDefaultInstance();
          case 37:
            return com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest.getDefaultInstance();
          case 38:
            return com.ywt.gapi.drug.GetPharmacyListByTypeRequest.getDefaultInstance();
          case 39:
            return com.ywt.gapi.drug.GetPharmacyRequest.getDefaultInstance();
          case 40:
            return com.ywt.gapi.drug.RefundNotifyRequest.getDefaultInstance();
          case 41:
            return com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest.getDefaultInstance();
          case 42:
            return com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest.getDefaultInstance();
          case 43:
            return com.ywt.gapi.drug.GetOrderBillRequest.getDefaultInstance();
          case 44:
            return com.ywt.gapi.drug.GenRpQRCodeRequest.getDefaultInstance();
          case 45:
            return com.ywt.gapi.drug.ListPharmacyRequest.getDefaultInstance();
          case 46:
            return com.ywt.gapi.drug.PricedRequest.getDefaultInstance();
          case 47:
            return com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest.getDefaultInstance();
          case 48:
            return com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest.getDefaultInstance();
          case 49:
            return com.ywt.gapi.drug.GetSysSettingByKeynameRequest.getDefaultInstance();
          case 50:
            return com.ywt.gapi.drug.GetOneKeyRegListRequest.getDefaultInstance();
          case 51:
            return com.ywt.gapi.drug.UpdateHisPresInfoRequest.getDefaultInstance();
          case 52:
            return com.ywt.gapi.drug.CancelPresRequest.getDefaultInstance();
          case 53:
            return com.ywt.gapi.drug.GetDrugDetailRequest.getDefaultInstance();
          case 54:
            return com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest.getDefaultInstance();
          case 55:
            return com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest.getDefaultInstance();
          case 56:
            return com.ywt.gapi.drug.QueryDrugInstructionRequest.getDefaultInstance();
          case 57:
            return com.ywt.gapi.drug.UpdatePresAddressRequest.getDefaultInstance();
          case 58:
            return com.ywt.gapi.drug.UpdatePresInfoRequest.getDefaultInstance();
          case 59:
            return com.ywt.gapi.drug.QueryPresInfoBillListRequest.getDefaultInstance();
          default:
            throw new java.lang.AssertionError("Can't get here.");
        }
      }

      public final com.google.protobuf.Message
          getResponsePrototype(
          com.google.protobuf.Descriptors.MethodDescriptor method) {
        if (method.getService() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "Service.getResponsePrototype() given method " +
            "descriptor for wrong service type.");
        }
        switch(method.getIndex()) {
          case 0:
            return com.ywt.gapi.drug.SavePrescriptionResponse.getDefaultInstance();
          case 1:
            return com.ywt.gapi.drug.GetPrescriptionResponse.getDefaultInstance();
          case 2:
            return com.ywt.gapi.drug.PrescriptionPrePayResponse.getDefaultInstance();
          case 3:
            return com.ywt.gapi.drug.SavePrescriptionPaymentResponse.getDefaultInstance();
          case 4:
            return com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse.getDefaultInstance();
          case 5:
            return com.ywt.gapi.drug.SavePrescriptionInfoResponse.getDefaultInstance();
          case 6:
            return com.ywt.gapi.drug.GetDictTypeListResponse.getDefaultInstance();
          case 7:
            return com.ywt.gapi.drug.GetDrugListResponse.getDefaultInstance();
          case 8:
            return com.ywt.gapi.drug.GetRecordListResponse.getDefaultInstance();
          case 9:
            return com.ywt.gapi.drug.GetUserRecordListResponse.getDefaultInstance();
          case 10:
            return com.ywt.gapi.drug.SaveDeliveryMethodResponse.getDefaultInstance();
          case 11:
            return com.ywt.gapi.drug.TodayPrescribeCountResponse.getDefaultInstance();
          case 12:
            return com.ywt.gapi.drug.GetDrugUsageInstructionResponse.getDefaultInstance();
          case 13:
            return com.ywt.gapi.drug.SavePrescriptionDetailResponse.getDefaultInstance();
          case 14:
            return com.ywt.gapi.drug.GetRecordListInfoResponse.getDefaultInstance();
          case 15:
            return com.ywt.gapi.drug.GetPrescriptionDetailResponse.getDefaultInstance();
          case 16:
            return com.ywt.gapi.drug.GetDrugFrequencyListResponse.getDefaultInstance();
          case 17:
            return com.ywt.gapi.drug.GetPrescriptionByIdResponse.getDefaultInstance();
          case 18:
            return com.ywt.gapi.drug.GetPharmacyListResponse.getDefaultInstance();
          case 19:
            return com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance();
          case 20:
            return com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance();
          case 21:
            return com.ywt.gapi.drug.GetDoctorDrugListResponse.getDefaultInstance();
          case 22:
            return com.ywt.gapi.drug.ResultResponse.getDefaultInstance();
          case 23:
            return com.ywt.gapi.drug.GetIcdListResponse.getDefaultInstance();
          case 24:
            return com.ywt.gapi.drug.ComputeDoctorDrugResponse.getDefaultInstance();
          case 25:
            return com.ywt.gapi.Result.getDefaultInstance();
          case 26:
            return com.ywt.gapi.drug.PayPrescriptionResponse.getDefaultInstance();
          case 27:
            return com.ywt.gapi.drug.PricedPrescriptionResponse.getDefaultInstance();
          case 28:
            return com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse.getDefaultInstance();
          case 29:
            return com.ywt.gapi.drug.GetG3PharmacyListResponse.getDefaultInstance();
          case 30:
            return com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse.getDefaultInstance();
          case 31:
            return com.ywt.gapi.drug.GetPrescriptionResponse.getDefaultInstance();
          case 32:
            return com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse.getDefaultInstance();
          case 33:
            return com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse.getDefaultInstance();
          case 34:
            return com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse.getDefaultInstance();
          case 35:
            return com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse.getDefaultInstance();
          case 36:
            return com.ywt.gapi.drug.CommentPrescriptionResponse.getDefaultInstance();
          case 37:
            return com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse.getDefaultInstance();
          case 38:
            return com.ywt.gapi.drug.GetPharmacyListByTypeResponse.getDefaultInstance();
          case 39:
            return com.ywt.gapi.drug.GetPharmacyResponse.getDefaultInstance();
          case 40:
            return com.ywt.gapi.drug.RefundNotifyResponse.getDefaultInstance();
          case 41:
            return com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse.getDefaultInstance();
          case 42:
            return com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance();
          case 43:
            return com.ywt.gapi.drug.GetOrderBillResponse.getDefaultInstance();
          case 44:
            return com.ywt.gapi.drug.GenRpQRCodeResponse.getDefaultInstance();
          case 45:
            return com.ywt.gapi.drug.ListPharmacyResponse.getDefaultInstance();
          case 46:
            return com.ywt.gapi.drug.PricedResponse.getDefaultInstance();
          case 47:
            return com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance();
          case 48:
            return com.ywt.gapi.Result.getDefaultInstance();
          case 49:
            return com.ywt.gapi.drug.GetSysSettingByKeynameResponse.getDefaultInstance();
          case 50:
            return com.ywt.gapi.drug.GetOneKeyRegListResponse.getDefaultInstance();
          case 51:
            return com.ywt.gapi.Result.getDefaultInstance();
          case 52:
            return com.ywt.gapi.Result.getDefaultInstance();
          case 53:
            return com.ywt.gapi.drug.GetDrugDetailResponse.getDefaultInstance();
          case 54:
            return com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse.getDefaultInstance();
          case 55:
            return com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse.getDefaultInstance();
          case 56:
            return com.ywt.gapi.drug.QueryDrugInstructionResponse.getDefaultInstance();
          case 57:
            return com.ywt.gapi.drug.UpdatePresAddressResponse.getDefaultInstance();
          case 58:
            return com.ywt.gapi.Result.getDefaultInstance();
          case 59:
            return com.ywt.gapi.drug.QueryPresInfoBillListResponse.getDefaultInstance();
          default:
            throw new java.lang.AssertionError("Can't get here.");
        }
      }

    };
  }

  /**
   * <pre>
   *保存处方信息
   * </pre>
   *
   * <code>rpc savePrescription(.com.ywt.gapi.drug.SavePrescriptionRequest) returns (.com.ywt.gapi.drug.SavePrescriptionResponse);</code>
   */
  public abstract void savePrescription(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.SavePrescriptionRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionResponse> done);

  /**
   * <pre>
   *获取处方单信息
   * </pre>
   *
   * <code>rpc getPrescription(.com.ywt.gapi.drug.GetPrescriptionRequest) returns (.com.ywt.gapi.drug.GetPrescriptionResponse);</code>
   */
  public abstract void getPrescription(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetPrescriptionRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionResponse> done);

  /**
   * <pre>
   *检查并生成处方支付流水号
   * </pre>
   *
   * <code>rpc prescriptionPrePay(.com.ywt.gapi.drug.PrescriptionPrePayRequest) returns (.com.ywt.gapi.drug.PrescriptionPrePayResponse);</code>
   */
  public abstract void prescriptionPrePay(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.PrescriptionPrePayRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PrescriptionPrePayResponse> done);

  /**
   * <pre>
   *保存处方支付流水明细
   * </pre>
   *
   * <code>rpc savePrescriptionPayment(.com.ywt.gapi.drug.SavePrescriptionPaymentRequest) returns (.com.ywt.gapi.drug.SavePrescriptionPaymentResponse);</code>
   */
  public abstract void savePrescriptionPayment(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.SavePrescriptionPaymentRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionPaymentResponse> done);

  /**
   * <pre>
   *处方微信支付回调
   * </pre>
   *
   * <code>rpc prescriptionWxPayCallback(.com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest) returns (.com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse);</code>
   */
  public abstract void prescriptionWxPayCallback(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse> done);

  /**
   * <pre>
   *保存处方单患者信息
   * </pre>
   *
   * <code>rpc savePrescriptionInfo(.com.ywt.gapi.drug.SavePrescriptionInfoRequest) returns (.com.ywt.gapi.drug.SavePrescriptionInfoResponse);</code>
   */
  public abstract void savePrescriptionInfo(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.SavePrescriptionInfoRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionInfoResponse> done);

  /**
   * <pre>
   *获取字典数据
   * </pre>
   *
   * <code>rpc getDictTypeList(.com.ywt.gapi.drug.GetDictTypeListRequest) returns (.com.ywt.gapi.drug.GetDictTypeListResponse);</code>
   */
  public abstract void getDictTypeList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetDictTypeListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDictTypeListResponse> done);

  /**
   * <pre>
   *获取药品列表
   * </pre>
   *
   * <code>rpc getDrugList(.com.ywt.gapi.drug.GetDrugListRequest) returns (.com.ywt.gapi.drug.GetDrugListResponse);</code>
   */
  public abstract void getDrugList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetDrugListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugListResponse> done);

  /**
   * <pre>
   *获取处方单记录列表
   * </pre>
   *
   * <code>rpc getRecordList(.com.ywt.gapi.drug.GetRecordListRequest) returns (.com.ywt.gapi.drug.GetRecordListResponse);</code>
   */
  public abstract void getRecordList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetRecordListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetRecordListResponse> done);

  /**
   * <pre>
   *获取用户处方单记录列表
   * </pre>
   *
   * <code>rpc getUserRecordList(.com.ywt.gapi.drug.GetUserRecordListRequest) returns (.com.ywt.gapi.drug.GetUserRecordListResponse);</code>
   */
  public abstract void getUserRecordList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetUserRecordListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetUserRecordListResponse> done);

  /**
   * <pre>
   *保存取药方式
   * </pre>
   *
   * <code>rpc saveDeliveryMethod(.com.ywt.gapi.drug.SaveDeliveryMethodRequest) returns (.com.ywt.gapi.drug.SaveDeliveryMethodResponse);</code>
   */
  public abstract void saveDeliveryMethod(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.SaveDeliveryMethodRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SaveDeliveryMethodResponse> done);

  /**
   * <pre>
   *今日开方统计
   * </pre>
   *
   * <code>rpc todayPrescribeCount(.com.ywt.gapi.drug.TodayPrescribeCountRequest) returns (.com.ywt.gapi.drug.TodayPrescribeCountResponse);</code>
   */
  public abstract void todayPrescribeCount(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.TodayPrescribeCountRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.TodayPrescribeCountResponse> done);

  /**
   * <pre>
   *获取药品用法说明
   * </pre>
   *
   * <code>rpc getDrugUsageInstruction(.com.ywt.gapi.drug.GetDrugUsageInstructionRequest) returns (.com.ywt.gapi.drug.GetDrugUsageInstructionResponse);</code>
   */
  public abstract void getDrugUsageInstruction(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetDrugUsageInstructionRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugUsageInstructionResponse> done);

  /**
   * <pre>
   *保存处方单患者信息  create by daiyihua
   * </pre>
   *
   * <code>rpc savePrescriptionDetail(.com.ywt.gapi.drug.SavePrescriptionDetailRequest) returns (.com.ywt.gapi.drug.SavePrescriptionDetailResponse);</code>
   */
  public abstract void savePrescriptionDetail(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.SavePrescriptionDetailRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionDetailResponse> done);

  /**
   * <pre>
   *获取处方单记录列表(医生端查找)  create by daiyihua
   * </pre>
   *
   * <code>rpc getRecordListInfo(.com.ywt.gapi.drug.GetRecordListInfoRequest) returns (.com.ywt.gapi.drug.GetRecordListInfoResponse);</code>
   */
  public abstract void getRecordListInfo(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetRecordListInfoRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetRecordListInfoResponse> done);

  /**
   * <pre>
   *获取处方单信息
   * </pre>
   *
   * <code>rpc getPrescriptionDetail(.com.ywt.gapi.drug.GetPrescriptionDetailRequest) returns (.com.ywt.gapi.drug.GetPrescriptionDetailResponse);</code>
   */
  public abstract void getPrescriptionDetail(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetPrescriptionDetailRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionDetailResponse> done);

  /**
   * <pre>
   *取用药频率列表
   * </pre>
   *
   * <code>rpc getDrugFrequencyList(.com.ywt.gapi.drug.GetDrugFrequencyListRequest) returns (.com.ywt.gapi.drug.GetDrugFrequencyListResponse);</code>
   */
  public abstract void getDrugFrequencyList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetDrugFrequencyListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugFrequencyListResponse> done);

  /**
   * <pre>
   * 根据处方单记录获取处方信息
   * </pre>
   *
   * <code>rpc getPrescriptionById(.com.ywt.gapi.drug.GetPrescriptionByIdRequest) returns (.com.ywt.gapi.drug.GetPrescriptionByIdResponse);</code>
   */
  public abstract void getPrescriptionById(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetPrescriptionByIdRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionByIdResponse> done);

  /**
   * <pre>
   *获取药房列表
   * </pre>
   *
   * <code>rpc getPharmacyList(.com.ywt.gapi.drug.GetPharmacyListRequest) returns (.com.ywt.gapi.drug.GetPharmacyListResponse);</code>
   */
  public abstract void getPharmacyList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetPharmacyListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPharmacyListResponse> done);

  /**
   * <pre>
   *获取处方单记录列表（患者端查找，his_order_no为空的数据）  create by daiyihua
   * </pre>
   *
   * <code>rpc getPrescriptionBaseInfoList(.com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest) returns (.com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse);</code>
   */
  public abstract void getPrescriptionBaseInfoList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done);

  /**
   * <pre>
   *获取his处方单记录列表（患者端查找）  create by daiyihua
   * </pre>
   *
   * <code>rpc getHisPrescriptionBaseInfoList(.com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest) returns (.com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse);</code>
   */
  public abstract void getHisPrescriptionBaseInfoList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done);

  /**
   * <pre>
   *医生常用药列表
   * </pre>
   *
   * <code>rpc getDoctorDrugList(.com.ywt.gapi.drug.GetDoctorDrugListRequest) returns (.com.ywt.gapi.drug.GetDoctorDrugListResponse);</code>
   */
  public abstract void getDoctorDrugList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetDoctorDrugListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDoctorDrugListResponse> done);

  /**
   * <pre>
   * 保存处方快递地址
   * </pre>
   *
   * <code>rpc savePrescriptionExpressAddress(.com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest) returns (.com.ywt.gapi.drug.ResultResponse);</code>
   */
  public abstract void savePrescriptionExpressAddress(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.ResultResponse> done);

  /**
   * <pre>
   *获取国际疾病分类
   * </pre>
   *
   * <code>rpc getIcdList(.com.ywt.gapi.drug.GetIcdListRequest) returns (.com.ywt.gapi.drug.GetIcdListResponse);</code>
   */
  public abstract void getIcdList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetIcdListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetIcdListResponse> done);

  /**
   * <pre>
   *统计医生开方的药品数量
   * </pre>
   *
   * <code>rpc computeDoctorDrug(.com.ywt.gapi.drug.ComputeDoctorDrugRequest) returns (.com.ywt.gapi.drug.ComputeDoctorDrugResponse);</code>
   */
  public abstract void computeDoctorDrug(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.ComputeDoctorDrugRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.ComputeDoctorDrugResponse> done);

  /**
   * <pre>
   * 保存处方需要支付的费用
   * </pre>
   *
   * <code>rpc savePrescriptionFee(.com.ywt.gapi.drug.SavePrescriptionFeeRequest) returns (.com.ywt.gapi.Result);</code>
   */
  public abstract void savePrescriptionFee(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.SavePrescriptionFeeRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done);

  /**
   * <pre>
   *处方单完成支付
   * </pre>
   *
   * <code>rpc payPrescription(.com.ywt.gapi.drug.PayPrescriptionRequest) returns (.com.ywt.gapi.drug.PayPrescriptionResponse);</code>
   */
  public abstract void payPrescription(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.PayPrescriptionRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PayPrescriptionResponse> done);

  /**
   * <pre>
   *处方单划价
   * </pre>
   *
   * <code>rpc pricedPrescription(.com.ywt.gapi.drug.PricedPrescriptionRequest) returns (.com.ywt.gapi.drug.PricedPrescriptionResponse);</code>
   */
  public abstract void pricedPrescription(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.PricedPrescriptionRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PricedPrescriptionResponse> done);

  /**
   * <pre>
   * 根据处方ID获取处方基本信息  create by daiyihua
   * </pre>
   *
   * <code>rpc getPrescriptionBaseInfoById(.com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest) returns (.com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse);</code>
   */
  public abstract void getPrescriptionBaseInfoById(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse> done);

  /**
   * <pre>
   *获取广三药房列表
   * </pre>
   *
   * <code>rpc getG3PharmacyList(.com.ywt.gapi.drug.GetG3PharmacyListRequest) returns (.com.ywt.gapi.drug.GetG3PharmacyListResponse);</code>
   */
  public abstract void getG3PharmacyList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetG3PharmacyListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetG3PharmacyListResponse> done);

  /**
   * <pre>
   * 广三处方订单保存药房地址
   * </pre>
   *
   * <code>rpc saveG3PrescriptionInfoPharmacy(.com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest) returns (.com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse);</code>
   */
  public abstract void saveG3PrescriptionInfoPharmacy(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse> done);

  /**
   * <pre>
   *获取处方单信息
   * </pre>
   *
   * <code>rpc getPrescriptionBy(.com.ywt.gapi.drug.GetPrescriptionRequest) returns (.com.ywt.gapi.drug.GetPrescriptionResponse);</code>
   */
  public abstract void getPrescriptionBy(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetPrescriptionRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionResponse> done);

  /**
   * <pre>
   *订单中心支付成功回调通知
   * </pre>
   *
   * <code>rpc orderPaymentCallbackNotify(.com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest) returns (.com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse);</code>
   */
  public abstract void orderPaymentCallbackNotify(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse> done);

  /**
   * <pre>
   *接收第三方状态上报
   * </pre>
   *
   * <code>rpc recvPrescriptionStatusFrom3th(.com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest) returns (.com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse);</code>
   */
  public abstract void recvPrescriptionStatusFrom3Th(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse> done);

  /**
   * <pre>
   *更新处方单患者信息
   * </pre>
   *
   * <code>rpc updatePrescriptionPatientInfo(.com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest) returns (.com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse);</code>
   */
  public abstract void updatePrescriptionPatientInfo(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse> done);

  /**
   * <pre>
   *保存处方订单配送信息
   * </pre>
   *
   * <code>rpc saveOrderDeliveryInfo(.com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest) returns (.com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse);</code>
   */
  public abstract void saveOrderDeliveryInfo(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse> done);

  /**
   * <pre>
   *处方单评价
   * </pre>
   *
   * <code>rpc commentPrescription(.com.ywt.gapi.drug.CommentPrescriptionRequest) returns (.com.ywt.gapi.drug.CommentPrescriptionResponse);</code>
   */
  public abstract void commentPrescription(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.CommentPrescriptionRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CommentPrescriptionResponse> done);

  /**
   * <pre>
   *添加医生常用药
   * </pre>
   *
   * <code>rpc createDoctorCommonUsedDrugs(.com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest) returns (.com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse);</code>
   */
  public abstract void createDoctorCommonUsedDrugs(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse> done);

  /**
   * <pre>
   * 获取可用的药房列表
   * </pre>
   *
   * <code>rpc getPharmacyListByType(.com.ywt.gapi.drug.GetPharmacyListByTypeRequest) returns (.com.ywt.gapi.drug.GetPharmacyListByTypeResponse);</code>
   */
  public abstract void getPharmacyListByType(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetPharmacyListByTypeRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPharmacyListByTypeResponse> done);

  /**
   * <pre>
   *获取药房数据
   * </pre>
   *
   * <code>rpc getPharmacy(.com.ywt.gapi.drug.GetPharmacyRequest) returns (.com.ywt.gapi.drug.GetPharmacyResponse);</code>
   */
  public abstract void getPharmacy(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetPharmacyRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPharmacyResponse> done);

  /**
   * <pre>
   *退款结果通知
   * </pre>
   *
   * <code>rpc refundNotify(.com.ywt.gapi.drug.RefundNotifyRequest) returns (.com.ywt.gapi.drug.RefundNotifyResponse);</code>
   */
  public abstract void refundNotify(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.RefundNotifyRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.RefundNotifyResponse> done);

  /**
   * <pre>
   *删除医生常用药
   * </pre>
   *
   * <code>rpc deleteDoctorCommonUsedDrugs(.com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest) returns (.com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse);</code>
   */
  public abstract void deleteDoctorCommonUsedDrugs(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse> done);

  /**
   * <pre>
   *分页获取处方单记录列表
   * </pre>
   *
   * <code>rpc getPrescriptionBaseInfoListPage(.com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest) returns (.com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse);</code>
   */
  public abstract void getPrescriptionBaseInfoListPage(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done);

  /**
   * <pre>
   *获取账单
   * </pre>
   *
   * <code>rpc getOrderBill(.com.ywt.gapi.drug.GetOrderBillRequest) returns (.com.ywt.gapi.drug.GetOrderBillResponse);</code>
   */
  public abstract void getOrderBill(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetOrderBillRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetOrderBillResponse> done);

  /**
   * <pre>
   *生成处方二维码
   * </pre>
   *
   * <code>rpc genRpQRCode(.com.ywt.gapi.drug.GenRpQRCodeRequest) returns (.com.ywt.gapi.drug.GenRpQRCodeResponse);</code>
   */
  public abstract void genRpQRCode(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GenRpQRCodeRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GenRpQRCodeResponse> done);

  /**
   * <pre>
   * 根据处方单ID、取药方式获取药房列表
   * </pre>
   *
   * <code>rpc listPharmacy(.com.ywt.gapi.drug.ListPharmacyRequest) returns (.com.ywt.gapi.drug.ListPharmacyResponse);</code>
   */
  public abstract void listPharmacy(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.ListPharmacyRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.ListPharmacyResponse> done);

  /**
   * <pre>
   * 处方单划价，返回处方单药品在指定药房的价格明细和总价
   * </pre>
   *
   * <code>rpc priced(.com.ywt.gapi.drug.PricedRequest) returns (.com.ywt.gapi.drug.PricedResponse);</code>
   */
  public abstract void priced(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.PricedRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PricedResponse> done);

  /**
   * <pre>
   *分页获取处方单记录列表(只有广三his的处方)
   * </pre>
   *
   * <code>rpc getPrescriptionBaseInfoListPageWithOnlyHis(.com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest) returns (.com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse);</code>
   */
  public abstract void getPrescriptionBaseInfoListPageWithOnlyHis(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done);

  /**
   * <pre>
   *支付成功之后发送订阅消息
   * </pre>
   *
   * <code>rpc sendSubscribeMessageAfterPaySuccess(.com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest) returns (.com.ywt.gapi.Result);</code>
   */
  public abstract void sendSubscribeMessageAfterPaySuccess(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done);

  /**
   * <pre>
   * 根据keyname获取系统设置
   * </pre>
   *
   * <code>rpc getSysSettingByKeyname(.com.ywt.gapi.drug.GetSysSettingByKeynameRequest) returns (.com.ywt.gapi.drug.GetSysSettingByKeynameResponse);</code>
   */
  public abstract void getSysSettingByKeyname(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetSysSettingByKeynameRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetSysSettingByKeynameResponse> done);

  /**
   * <pre>
   * 根据 userId 获取一键挂号流水号列表
   * </pre>
   *
   * <code>rpc getOneKeyRegList(.com.ywt.gapi.drug.GetOneKeyRegListRequest) returns (.com.ywt.gapi.drug.GetOneKeyRegListResponse);</code>
   */
  public abstract void getOneKeyRegList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetOneKeyRegListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetOneKeyRegListResponse> done);

  /**
   * <pre>
   * 更新 HIS 处方信息
   * </pre>
   *
   * <code>rpc updateHisPresInfo(.com.ywt.gapi.drug.UpdateHisPresInfoRequest) returns (.com.ywt.gapi.Result);</code>
   */
  public abstract void updateHisPresInfo(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.UpdateHisPresInfoRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done);

  /**
   * <pre>
   * 作废处方
   * </pre>
   *
   * <code>rpc cancelPres(.com.ywt.gapi.drug.CancelPresRequest) returns (.com.ywt.gapi.Result);</code>
   */
  public abstract void cancelPres(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.CancelPresRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done);

  /**
   * <pre>
   * 获取药品详情
   * </pre>
   *
   * <code>rpc getDrugDetail(.com.ywt.gapi.drug.GetDrugDetailRequest) returns (.com.ywt.gapi.drug.GetDrugDetailResponse);</code>
   */
  public abstract void getDrugDetail(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetDrugDetailRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugDetailResponse> done);

  /**
   * <pre>
   * 查询医生是否支持回写 HIS 处方
   * </pre>
   *
   * <code>rpc checkIfDoctorWriteBack(.com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest) returns (.com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse);</code>
   */
  public abstract void checkIfDoctorWriteBack(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse> done);

  /**
   * <pre>
   * 获取最近一张未支付的回写处方
   * </pre>
   *
   * <code>rpc getLatestUnpaidHisPres(.com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest) returns (.com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse);</code>
   */
  public abstract void getLatestUnpaidHisPres(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse> done);

  /**
   * <pre>
   * 根据关键字查询药品说明
   * </pre>
   *
   * <code>rpc queryDrugInstruction(.com.ywt.gapi.drug.QueryDrugInstructionRequest) returns (.com.ywt.gapi.drug.QueryDrugInstructionResponse);</code>
   */
  public abstract void queryDrugInstruction(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.QueryDrugInstructionRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryDrugInstructionResponse> done);

  /**
   * <pre>
   * 修改处方地址
   * </pre>
   *
   * <code>rpc updatePresAddress(.com.ywt.gapi.drug.UpdatePresAddressRequest) returns (.com.ywt.gapi.drug.UpdatePresAddressResponse);</code>
   */
  public abstract void updatePresAddress(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.UpdatePresAddressRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.UpdatePresAddressResponse> done);

  /**
   * <pre>
   * 更新处方信息
   * </pre>
   *
   * <code>rpc updatePresInfo(.com.ywt.gapi.drug.UpdatePresInfoRequest) returns (.com.ywt.gapi.Result);</code>
   */
  public abstract void updatePresInfo(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.UpdatePresInfoRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done);

  /**
   * <pre>
   *  根据oderNos和日期获取处方订单
   * </pre>
   *
   * <code>rpc queryPresInfoBillList(.com.ywt.gapi.drug.QueryPresInfoBillListRequest) returns (.com.ywt.gapi.drug.QueryPresInfoBillListResponse);</code>
   */
  public abstract void queryPresInfoBillList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.QueryPresInfoBillListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryPresInfoBillListResponse> done);

  public static final
      com.google.protobuf.Descriptors.ServiceDescriptor
      getDescriptor() {
    return com.ywt.gapi.drug.DrugOuterClass.getDescriptor().getServices().get(0);
  }
  public final com.google.protobuf.Descriptors.ServiceDescriptor
      getDescriptorForType() {
    return getDescriptor();
  }

  public final void callMethod(
      com.google.protobuf.Descriptors.MethodDescriptor method,
      com.google.protobuf.RpcController controller,
      com.google.protobuf.Message request,
      com.google.protobuf.RpcCallback<
        com.google.protobuf.Message> done) {
    if (method.getService() != getDescriptor()) {
      throw new java.lang.IllegalArgumentException(
        "Service.callMethod() given method descriptor for wrong " +
        "service type.");
    }
    switch(method.getIndex()) {
      case 0:
        this.savePrescription(controller, (com.ywt.gapi.drug.SavePrescriptionRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.SavePrescriptionResponse>specializeCallback(
            done));
        return;
      case 1:
        this.getPrescription(controller, (com.ywt.gapi.drug.GetPrescriptionRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetPrescriptionResponse>specializeCallback(
            done));
        return;
      case 2:
        this.prescriptionPrePay(controller, (com.ywt.gapi.drug.PrescriptionPrePayRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.PrescriptionPrePayResponse>specializeCallback(
            done));
        return;
      case 3:
        this.savePrescriptionPayment(controller, (com.ywt.gapi.drug.SavePrescriptionPaymentRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.SavePrescriptionPaymentResponse>specializeCallback(
            done));
        return;
      case 4:
        this.prescriptionWxPayCallback(controller, (com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse>specializeCallback(
            done));
        return;
      case 5:
        this.savePrescriptionInfo(controller, (com.ywt.gapi.drug.SavePrescriptionInfoRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.SavePrescriptionInfoResponse>specializeCallback(
            done));
        return;
      case 6:
        this.getDictTypeList(controller, (com.ywt.gapi.drug.GetDictTypeListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetDictTypeListResponse>specializeCallback(
            done));
        return;
      case 7:
        this.getDrugList(controller, (com.ywt.gapi.drug.GetDrugListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetDrugListResponse>specializeCallback(
            done));
        return;
      case 8:
        this.getRecordList(controller, (com.ywt.gapi.drug.GetRecordListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetRecordListResponse>specializeCallback(
            done));
        return;
      case 9:
        this.getUserRecordList(controller, (com.ywt.gapi.drug.GetUserRecordListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetUserRecordListResponse>specializeCallback(
            done));
        return;
      case 10:
        this.saveDeliveryMethod(controller, (com.ywt.gapi.drug.SaveDeliveryMethodRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.SaveDeliveryMethodResponse>specializeCallback(
            done));
        return;
      case 11:
        this.todayPrescribeCount(controller, (com.ywt.gapi.drug.TodayPrescribeCountRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.TodayPrescribeCountResponse>specializeCallback(
            done));
        return;
      case 12:
        this.getDrugUsageInstruction(controller, (com.ywt.gapi.drug.GetDrugUsageInstructionRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetDrugUsageInstructionResponse>specializeCallback(
            done));
        return;
      case 13:
        this.savePrescriptionDetail(controller, (com.ywt.gapi.drug.SavePrescriptionDetailRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.SavePrescriptionDetailResponse>specializeCallback(
            done));
        return;
      case 14:
        this.getRecordListInfo(controller, (com.ywt.gapi.drug.GetRecordListInfoRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetRecordListInfoResponse>specializeCallback(
            done));
        return;
      case 15:
        this.getPrescriptionDetail(controller, (com.ywt.gapi.drug.GetPrescriptionDetailRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetPrescriptionDetailResponse>specializeCallback(
            done));
        return;
      case 16:
        this.getDrugFrequencyList(controller, (com.ywt.gapi.drug.GetDrugFrequencyListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetDrugFrequencyListResponse>specializeCallback(
            done));
        return;
      case 17:
        this.getPrescriptionById(controller, (com.ywt.gapi.drug.GetPrescriptionByIdRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetPrescriptionByIdResponse>specializeCallback(
            done));
        return;
      case 18:
        this.getPharmacyList(controller, (com.ywt.gapi.drug.GetPharmacyListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetPharmacyListResponse>specializeCallback(
            done));
        return;
      case 19:
        this.getPrescriptionBaseInfoList(controller, (com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>specializeCallback(
            done));
        return;
      case 20:
        this.getHisPrescriptionBaseInfoList(controller, (com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>specializeCallback(
            done));
        return;
      case 21:
        this.getDoctorDrugList(controller, (com.ywt.gapi.drug.GetDoctorDrugListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetDoctorDrugListResponse>specializeCallback(
            done));
        return;
      case 22:
        this.savePrescriptionExpressAddress(controller, (com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.ResultResponse>specializeCallback(
            done));
        return;
      case 23:
        this.getIcdList(controller, (com.ywt.gapi.drug.GetIcdListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetIcdListResponse>specializeCallback(
            done));
        return;
      case 24:
        this.computeDoctorDrug(controller, (com.ywt.gapi.drug.ComputeDoctorDrugRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.ComputeDoctorDrugResponse>specializeCallback(
            done));
        return;
      case 25:
        this.savePrescriptionFee(controller, (com.ywt.gapi.drug.SavePrescriptionFeeRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.Result>specializeCallback(
            done));
        return;
      case 26:
        this.payPrescription(controller, (com.ywt.gapi.drug.PayPrescriptionRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.PayPrescriptionResponse>specializeCallback(
            done));
        return;
      case 27:
        this.pricedPrescription(controller, (com.ywt.gapi.drug.PricedPrescriptionRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.PricedPrescriptionResponse>specializeCallback(
            done));
        return;
      case 28:
        this.getPrescriptionBaseInfoById(controller, (com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse>specializeCallback(
            done));
        return;
      case 29:
        this.getG3PharmacyList(controller, (com.ywt.gapi.drug.GetG3PharmacyListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetG3PharmacyListResponse>specializeCallback(
            done));
        return;
      case 30:
        this.saveG3PrescriptionInfoPharmacy(controller, (com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse>specializeCallback(
            done));
        return;
      case 31:
        this.getPrescriptionBy(controller, (com.ywt.gapi.drug.GetPrescriptionRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetPrescriptionResponse>specializeCallback(
            done));
        return;
      case 32:
        this.orderPaymentCallbackNotify(controller, (com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse>specializeCallback(
            done));
        return;
      case 33:
        this.recvPrescriptionStatusFrom3Th(controller, (com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse>specializeCallback(
            done));
        return;
      case 34:
        this.updatePrescriptionPatientInfo(controller, (com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse>specializeCallback(
            done));
        return;
      case 35:
        this.saveOrderDeliveryInfo(controller, (com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse>specializeCallback(
            done));
        return;
      case 36:
        this.commentPrescription(controller, (com.ywt.gapi.drug.CommentPrescriptionRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.CommentPrescriptionResponse>specializeCallback(
            done));
        return;
      case 37:
        this.createDoctorCommonUsedDrugs(controller, (com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse>specializeCallback(
            done));
        return;
      case 38:
        this.getPharmacyListByType(controller, (com.ywt.gapi.drug.GetPharmacyListByTypeRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetPharmacyListByTypeResponse>specializeCallback(
            done));
        return;
      case 39:
        this.getPharmacy(controller, (com.ywt.gapi.drug.GetPharmacyRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetPharmacyResponse>specializeCallback(
            done));
        return;
      case 40:
        this.refundNotify(controller, (com.ywt.gapi.drug.RefundNotifyRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.RefundNotifyResponse>specializeCallback(
            done));
        return;
      case 41:
        this.deleteDoctorCommonUsedDrugs(controller, (com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse>specializeCallback(
            done));
        return;
      case 42:
        this.getPrescriptionBaseInfoListPage(controller, (com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>specializeCallback(
            done));
        return;
      case 43:
        this.getOrderBill(controller, (com.ywt.gapi.drug.GetOrderBillRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetOrderBillResponse>specializeCallback(
            done));
        return;
      case 44:
        this.genRpQRCode(controller, (com.ywt.gapi.drug.GenRpQRCodeRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GenRpQRCodeResponse>specializeCallback(
            done));
        return;
      case 45:
        this.listPharmacy(controller, (com.ywt.gapi.drug.ListPharmacyRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.ListPharmacyResponse>specializeCallback(
            done));
        return;
      case 46:
        this.priced(controller, (com.ywt.gapi.drug.PricedRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.PricedResponse>specializeCallback(
            done));
        return;
      case 47:
        this.getPrescriptionBaseInfoListPageWithOnlyHis(controller, (com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>specializeCallback(
            done));
        return;
      case 48:
        this.sendSubscribeMessageAfterPaySuccess(controller, (com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.Result>specializeCallback(
            done));
        return;
      case 49:
        this.getSysSettingByKeyname(controller, (com.ywt.gapi.drug.GetSysSettingByKeynameRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetSysSettingByKeynameResponse>specializeCallback(
            done));
        return;
      case 50:
        this.getOneKeyRegList(controller, (com.ywt.gapi.drug.GetOneKeyRegListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetOneKeyRegListResponse>specializeCallback(
            done));
        return;
      case 51:
        this.updateHisPresInfo(controller, (com.ywt.gapi.drug.UpdateHisPresInfoRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.Result>specializeCallback(
            done));
        return;
      case 52:
        this.cancelPres(controller, (com.ywt.gapi.drug.CancelPresRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.Result>specializeCallback(
            done));
        return;
      case 53:
        this.getDrugDetail(controller, (com.ywt.gapi.drug.GetDrugDetailRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetDrugDetailResponse>specializeCallback(
            done));
        return;
      case 54:
        this.checkIfDoctorWriteBack(controller, (com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse>specializeCallback(
            done));
        return;
      case 55:
        this.getLatestUnpaidHisPres(controller, (com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse>specializeCallback(
            done));
        return;
      case 56:
        this.queryDrugInstruction(controller, (com.ywt.gapi.drug.QueryDrugInstructionRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.QueryDrugInstructionResponse>specializeCallback(
            done));
        return;
      case 57:
        this.updatePresAddress(controller, (com.ywt.gapi.drug.UpdatePresAddressRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.UpdatePresAddressResponse>specializeCallback(
            done));
        return;
      case 58:
        this.updatePresInfo(controller, (com.ywt.gapi.drug.UpdatePresInfoRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.Result>specializeCallback(
            done));
        return;
      case 59:
        this.queryPresInfoBillList(controller, (com.ywt.gapi.drug.QueryPresInfoBillListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.QueryPresInfoBillListResponse>specializeCallback(
            done));
        return;
      default:
        throw new java.lang.AssertionError("Can't get here.");
    }
  }

  public final com.google.protobuf.Message
      getRequestPrototype(
      com.google.protobuf.Descriptors.MethodDescriptor method) {
    if (method.getService() != getDescriptor()) {
      throw new java.lang.IllegalArgumentException(
        "Service.getRequestPrototype() given method " +
        "descriptor for wrong service type.");
    }
    switch(method.getIndex()) {
      case 0:
        return com.ywt.gapi.drug.SavePrescriptionRequest.getDefaultInstance();
      case 1:
        return com.ywt.gapi.drug.GetPrescriptionRequest.getDefaultInstance();
      case 2:
        return com.ywt.gapi.drug.PrescriptionPrePayRequest.getDefaultInstance();
      case 3:
        return com.ywt.gapi.drug.SavePrescriptionPaymentRequest.getDefaultInstance();
      case 4:
        return com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest.getDefaultInstance();
      case 5:
        return com.ywt.gapi.drug.SavePrescriptionInfoRequest.getDefaultInstance();
      case 6:
        return com.ywt.gapi.drug.GetDictTypeListRequest.getDefaultInstance();
      case 7:
        return com.ywt.gapi.drug.GetDrugListRequest.getDefaultInstance();
      case 8:
        return com.ywt.gapi.drug.GetRecordListRequest.getDefaultInstance();
      case 9:
        return com.ywt.gapi.drug.GetUserRecordListRequest.getDefaultInstance();
      case 10:
        return com.ywt.gapi.drug.SaveDeliveryMethodRequest.getDefaultInstance();
      case 11:
        return com.ywt.gapi.drug.TodayPrescribeCountRequest.getDefaultInstance();
      case 12:
        return com.ywt.gapi.drug.GetDrugUsageInstructionRequest.getDefaultInstance();
      case 13:
        return com.ywt.gapi.drug.SavePrescriptionDetailRequest.getDefaultInstance();
      case 14:
        return com.ywt.gapi.drug.GetRecordListInfoRequest.getDefaultInstance();
      case 15:
        return com.ywt.gapi.drug.GetPrescriptionDetailRequest.getDefaultInstance();
      case 16:
        return com.ywt.gapi.drug.GetDrugFrequencyListRequest.getDefaultInstance();
      case 17:
        return com.ywt.gapi.drug.GetPrescriptionByIdRequest.getDefaultInstance();
      case 18:
        return com.ywt.gapi.drug.GetPharmacyListRequest.getDefaultInstance();
      case 19:
        return com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest.getDefaultInstance();
      case 20:
        return com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest.getDefaultInstance();
      case 21:
        return com.ywt.gapi.drug.GetDoctorDrugListRequest.getDefaultInstance();
      case 22:
        return com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest.getDefaultInstance();
      case 23:
        return com.ywt.gapi.drug.GetIcdListRequest.getDefaultInstance();
      case 24:
        return com.ywt.gapi.drug.ComputeDoctorDrugRequest.getDefaultInstance();
      case 25:
        return com.ywt.gapi.drug.SavePrescriptionFeeRequest.getDefaultInstance();
      case 26:
        return com.ywt.gapi.drug.PayPrescriptionRequest.getDefaultInstance();
      case 27:
        return com.ywt.gapi.drug.PricedPrescriptionRequest.getDefaultInstance();
      case 28:
        return com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest.getDefaultInstance();
      case 29:
        return com.ywt.gapi.drug.GetG3PharmacyListRequest.getDefaultInstance();
      case 30:
        return com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest.getDefaultInstance();
      case 31:
        return com.ywt.gapi.drug.GetPrescriptionRequest.getDefaultInstance();
      case 32:
        return com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest.getDefaultInstance();
      case 33:
        return com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest.getDefaultInstance();
      case 34:
        return com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest.getDefaultInstance();
      case 35:
        return com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest.getDefaultInstance();
      case 36:
        return com.ywt.gapi.drug.CommentPrescriptionRequest.getDefaultInstance();
      case 37:
        return com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest.getDefaultInstance();
      case 38:
        return com.ywt.gapi.drug.GetPharmacyListByTypeRequest.getDefaultInstance();
      case 39:
        return com.ywt.gapi.drug.GetPharmacyRequest.getDefaultInstance();
      case 40:
        return com.ywt.gapi.drug.RefundNotifyRequest.getDefaultInstance();
      case 41:
        return com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest.getDefaultInstance();
      case 42:
        return com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest.getDefaultInstance();
      case 43:
        return com.ywt.gapi.drug.GetOrderBillRequest.getDefaultInstance();
      case 44:
        return com.ywt.gapi.drug.GenRpQRCodeRequest.getDefaultInstance();
      case 45:
        return com.ywt.gapi.drug.ListPharmacyRequest.getDefaultInstance();
      case 46:
        return com.ywt.gapi.drug.PricedRequest.getDefaultInstance();
      case 47:
        return com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest.getDefaultInstance();
      case 48:
        return com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest.getDefaultInstance();
      case 49:
        return com.ywt.gapi.drug.GetSysSettingByKeynameRequest.getDefaultInstance();
      case 50:
        return com.ywt.gapi.drug.GetOneKeyRegListRequest.getDefaultInstance();
      case 51:
        return com.ywt.gapi.drug.UpdateHisPresInfoRequest.getDefaultInstance();
      case 52:
        return com.ywt.gapi.drug.CancelPresRequest.getDefaultInstance();
      case 53:
        return com.ywt.gapi.drug.GetDrugDetailRequest.getDefaultInstance();
      case 54:
        return com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest.getDefaultInstance();
      case 55:
        return com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest.getDefaultInstance();
      case 56:
        return com.ywt.gapi.drug.QueryDrugInstructionRequest.getDefaultInstance();
      case 57:
        return com.ywt.gapi.drug.UpdatePresAddressRequest.getDefaultInstance();
      case 58:
        return com.ywt.gapi.drug.UpdatePresInfoRequest.getDefaultInstance();
      case 59:
        return com.ywt.gapi.drug.QueryPresInfoBillListRequest.getDefaultInstance();
      default:
        throw new java.lang.AssertionError("Can't get here.");
    }
  }

  public final com.google.protobuf.Message
      getResponsePrototype(
      com.google.protobuf.Descriptors.MethodDescriptor method) {
    if (method.getService() != getDescriptor()) {
      throw new java.lang.IllegalArgumentException(
        "Service.getResponsePrototype() given method " +
        "descriptor for wrong service type.");
    }
    switch(method.getIndex()) {
      case 0:
        return com.ywt.gapi.drug.SavePrescriptionResponse.getDefaultInstance();
      case 1:
        return com.ywt.gapi.drug.GetPrescriptionResponse.getDefaultInstance();
      case 2:
        return com.ywt.gapi.drug.PrescriptionPrePayResponse.getDefaultInstance();
      case 3:
        return com.ywt.gapi.drug.SavePrescriptionPaymentResponse.getDefaultInstance();
      case 4:
        return com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse.getDefaultInstance();
      case 5:
        return com.ywt.gapi.drug.SavePrescriptionInfoResponse.getDefaultInstance();
      case 6:
        return com.ywt.gapi.drug.GetDictTypeListResponse.getDefaultInstance();
      case 7:
        return com.ywt.gapi.drug.GetDrugListResponse.getDefaultInstance();
      case 8:
        return com.ywt.gapi.drug.GetRecordListResponse.getDefaultInstance();
      case 9:
        return com.ywt.gapi.drug.GetUserRecordListResponse.getDefaultInstance();
      case 10:
        return com.ywt.gapi.drug.SaveDeliveryMethodResponse.getDefaultInstance();
      case 11:
        return com.ywt.gapi.drug.TodayPrescribeCountResponse.getDefaultInstance();
      case 12:
        return com.ywt.gapi.drug.GetDrugUsageInstructionResponse.getDefaultInstance();
      case 13:
        return com.ywt.gapi.drug.SavePrescriptionDetailResponse.getDefaultInstance();
      case 14:
        return com.ywt.gapi.drug.GetRecordListInfoResponse.getDefaultInstance();
      case 15:
        return com.ywt.gapi.drug.GetPrescriptionDetailResponse.getDefaultInstance();
      case 16:
        return com.ywt.gapi.drug.GetDrugFrequencyListResponse.getDefaultInstance();
      case 17:
        return com.ywt.gapi.drug.GetPrescriptionByIdResponse.getDefaultInstance();
      case 18:
        return com.ywt.gapi.drug.GetPharmacyListResponse.getDefaultInstance();
      case 19:
        return com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance();
      case 20:
        return com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance();
      case 21:
        return com.ywt.gapi.drug.GetDoctorDrugListResponse.getDefaultInstance();
      case 22:
        return com.ywt.gapi.drug.ResultResponse.getDefaultInstance();
      case 23:
        return com.ywt.gapi.drug.GetIcdListResponse.getDefaultInstance();
      case 24:
        return com.ywt.gapi.drug.ComputeDoctorDrugResponse.getDefaultInstance();
      case 25:
        return com.ywt.gapi.Result.getDefaultInstance();
      case 26:
        return com.ywt.gapi.drug.PayPrescriptionResponse.getDefaultInstance();
      case 27:
        return com.ywt.gapi.drug.PricedPrescriptionResponse.getDefaultInstance();
      case 28:
        return com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse.getDefaultInstance();
      case 29:
        return com.ywt.gapi.drug.GetG3PharmacyListResponse.getDefaultInstance();
      case 30:
        return com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse.getDefaultInstance();
      case 31:
        return com.ywt.gapi.drug.GetPrescriptionResponse.getDefaultInstance();
      case 32:
        return com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse.getDefaultInstance();
      case 33:
        return com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse.getDefaultInstance();
      case 34:
        return com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse.getDefaultInstance();
      case 35:
        return com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse.getDefaultInstance();
      case 36:
        return com.ywt.gapi.drug.CommentPrescriptionResponse.getDefaultInstance();
      case 37:
        return com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse.getDefaultInstance();
      case 38:
        return com.ywt.gapi.drug.GetPharmacyListByTypeResponse.getDefaultInstance();
      case 39:
        return com.ywt.gapi.drug.GetPharmacyResponse.getDefaultInstance();
      case 40:
        return com.ywt.gapi.drug.RefundNotifyResponse.getDefaultInstance();
      case 41:
        return com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse.getDefaultInstance();
      case 42:
        return com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance();
      case 43:
        return com.ywt.gapi.drug.GetOrderBillResponse.getDefaultInstance();
      case 44:
        return com.ywt.gapi.drug.GenRpQRCodeResponse.getDefaultInstance();
      case 45:
        return com.ywt.gapi.drug.ListPharmacyResponse.getDefaultInstance();
      case 46:
        return com.ywt.gapi.drug.PricedResponse.getDefaultInstance();
      case 47:
        return com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance();
      case 48:
        return com.ywt.gapi.Result.getDefaultInstance();
      case 49:
        return com.ywt.gapi.drug.GetSysSettingByKeynameResponse.getDefaultInstance();
      case 50:
        return com.ywt.gapi.drug.GetOneKeyRegListResponse.getDefaultInstance();
      case 51:
        return com.ywt.gapi.Result.getDefaultInstance();
      case 52:
        return com.ywt.gapi.Result.getDefaultInstance();
      case 53:
        return com.ywt.gapi.drug.GetDrugDetailResponse.getDefaultInstance();
      case 54:
        return com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse.getDefaultInstance();
      case 55:
        return com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse.getDefaultInstance();
      case 56:
        return com.ywt.gapi.drug.QueryDrugInstructionResponse.getDefaultInstance();
      case 57:
        return com.ywt.gapi.drug.UpdatePresAddressResponse.getDefaultInstance();
      case 58:
        return com.ywt.gapi.Result.getDefaultInstance();
      case 59:
        return com.ywt.gapi.drug.QueryPresInfoBillListResponse.getDefaultInstance();
      default:
        throw new java.lang.AssertionError("Can't get here.");
    }
  }

  public static Stub newStub(
      com.google.protobuf.RpcChannel channel) {
    return new Stub(channel);
  }

  public static final class Stub extends com.ywt.gapi.drug.DrugService implements Interface {
    private Stub(com.google.protobuf.RpcChannel channel) {
      this.channel = channel;
    }

    private final com.google.protobuf.RpcChannel channel;

    public com.google.protobuf.RpcChannel getChannel() {
      return channel;
    }

    public  void savePrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(0),
        controller,
        request,
        com.ywt.gapi.drug.SavePrescriptionResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.SavePrescriptionResponse.class,
          com.ywt.gapi.drug.SavePrescriptionResponse.getDefaultInstance()));
    }

    public  void getPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(1),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetPrescriptionResponse.class,
          com.ywt.gapi.drug.GetPrescriptionResponse.getDefaultInstance()));
    }

    public  void prescriptionPrePay(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PrescriptionPrePayRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PrescriptionPrePayResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(2),
        controller,
        request,
        com.ywt.gapi.drug.PrescriptionPrePayResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.PrescriptionPrePayResponse.class,
          com.ywt.gapi.drug.PrescriptionPrePayResponse.getDefaultInstance()));
    }

    public  void savePrescriptionPayment(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionPaymentRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionPaymentResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(3),
        controller,
        request,
        com.ywt.gapi.drug.SavePrescriptionPaymentResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.SavePrescriptionPaymentResponse.class,
          com.ywt.gapi.drug.SavePrescriptionPaymentResponse.getDefaultInstance()));
    }

    public  void prescriptionWxPayCallback(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(4),
        controller,
        request,
        com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse.class,
          com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse.getDefaultInstance()));
    }

    public  void savePrescriptionInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionInfoResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(5),
        controller,
        request,
        com.ywt.gapi.drug.SavePrescriptionInfoResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.SavePrescriptionInfoResponse.class,
          com.ywt.gapi.drug.SavePrescriptionInfoResponse.getDefaultInstance()));
    }

    public  void getDictTypeList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDictTypeListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDictTypeListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(6),
        controller,
        request,
        com.ywt.gapi.drug.GetDictTypeListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetDictTypeListResponse.class,
          com.ywt.gapi.drug.GetDictTypeListResponse.getDefaultInstance()));
    }

    public  void getDrugList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(7),
        controller,
        request,
        com.ywt.gapi.drug.GetDrugListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetDrugListResponse.class,
          com.ywt.gapi.drug.GetDrugListResponse.getDefaultInstance()));
    }

    public  void getRecordList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetRecordListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetRecordListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(8),
        controller,
        request,
        com.ywt.gapi.drug.GetRecordListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetRecordListResponse.class,
          com.ywt.gapi.drug.GetRecordListResponse.getDefaultInstance()));
    }

    public  void getUserRecordList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetUserRecordListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetUserRecordListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(9),
        controller,
        request,
        com.ywt.gapi.drug.GetUserRecordListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetUserRecordListResponse.class,
          com.ywt.gapi.drug.GetUserRecordListResponse.getDefaultInstance()));
    }

    public  void saveDeliveryMethod(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SaveDeliveryMethodRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SaveDeliveryMethodResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(10),
        controller,
        request,
        com.ywt.gapi.drug.SaveDeliveryMethodResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.SaveDeliveryMethodResponse.class,
          com.ywt.gapi.drug.SaveDeliveryMethodResponse.getDefaultInstance()));
    }

    public  void todayPrescribeCount(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.TodayPrescribeCountRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.TodayPrescribeCountResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(11),
        controller,
        request,
        com.ywt.gapi.drug.TodayPrescribeCountResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.TodayPrescribeCountResponse.class,
          com.ywt.gapi.drug.TodayPrescribeCountResponse.getDefaultInstance()));
    }

    public  void getDrugUsageInstruction(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugUsageInstructionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugUsageInstructionResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(12),
        controller,
        request,
        com.ywt.gapi.drug.GetDrugUsageInstructionResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetDrugUsageInstructionResponse.class,
          com.ywt.gapi.drug.GetDrugUsageInstructionResponse.getDefaultInstance()));
    }

    public  void savePrescriptionDetail(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionDetailRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SavePrescriptionDetailResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(13),
        controller,
        request,
        com.ywt.gapi.drug.SavePrescriptionDetailResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.SavePrescriptionDetailResponse.class,
          com.ywt.gapi.drug.SavePrescriptionDetailResponse.getDefaultInstance()));
    }

    public  void getRecordListInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetRecordListInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetRecordListInfoResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(14),
        controller,
        request,
        com.ywt.gapi.drug.GetRecordListInfoResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetRecordListInfoResponse.class,
          com.ywt.gapi.drug.GetRecordListInfoResponse.getDefaultInstance()));
    }

    public  void getPrescriptionDetail(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionDetailRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionDetailResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(15),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionDetailResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetPrescriptionDetailResponse.class,
          com.ywt.gapi.drug.GetPrescriptionDetailResponse.getDefaultInstance()));
    }

    public  void getDrugFrequencyList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugFrequencyListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugFrequencyListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(16),
        controller,
        request,
        com.ywt.gapi.drug.GetDrugFrequencyListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetDrugFrequencyListResponse.class,
          com.ywt.gapi.drug.GetDrugFrequencyListResponse.getDefaultInstance()));
    }

    public  void getPrescriptionById(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionByIdRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionByIdResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(17),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionByIdResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetPrescriptionByIdResponse.class,
          com.ywt.gapi.drug.GetPrescriptionByIdResponse.getDefaultInstance()));
    }

    public  void getPharmacyList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPharmacyListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPharmacyListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(18),
        controller,
        request,
        com.ywt.gapi.drug.GetPharmacyListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetPharmacyListResponse.class,
          com.ywt.gapi.drug.GetPharmacyListResponse.getDefaultInstance()));
    }

    public  void getPrescriptionBaseInfoList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(19),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.class,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance()));
    }

    public  void getHisPrescriptionBaseInfoList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(20),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.class,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance()));
    }

    public  void getDoctorDrugList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDoctorDrugListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDoctorDrugListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(21),
        controller,
        request,
        com.ywt.gapi.drug.GetDoctorDrugListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetDoctorDrugListResponse.class,
          com.ywt.gapi.drug.GetDoctorDrugListResponse.getDefaultInstance()));
    }

    public  void savePrescriptionExpressAddress(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.ResultResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(22),
        controller,
        request,
        com.ywt.gapi.drug.ResultResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.ResultResponse.class,
          com.ywt.gapi.drug.ResultResponse.getDefaultInstance()));
    }

    public  void getIcdList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetIcdListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetIcdListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(23),
        controller,
        request,
        com.ywt.gapi.drug.GetIcdListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetIcdListResponse.class,
          com.ywt.gapi.drug.GetIcdListResponse.getDefaultInstance()));
    }

    public  void computeDoctorDrug(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.ComputeDoctorDrugRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.ComputeDoctorDrugResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(24),
        controller,
        request,
        com.ywt.gapi.drug.ComputeDoctorDrugResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.ComputeDoctorDrugResponse.class,
          com.ywt.gapi.drug.ComputeDoctorDrugResponse.getDefaultInstance()));
    }

    public  void savePrescriptionFee(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionFeeRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(25),
        controller,
        request,
        com.ywt.gapi.Result.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.Result.class,
          com.ywt.gapi.Result.getDefaultInstance()));
    }

    public  void payPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PayPrescriptionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PayPrescriptionResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(26),
        controller,
        request,
        com.ywt.gapi.drug.PayPrescriptionResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.PayPrescriptionResponse.class,
          com.ywt.gapi.drug.PayPrescriptionResponse.getDefaultInstance()));
    }

    public  void pricedPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PricedPrescriptionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PricedPrescriptionResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(27),
        controller,
        request,
        com.ywt.gapi.drug.PricedPrescriptionResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.PricedPrescriptionResponse.class,
          com.ywt.gapi.drug.PricedPrescriptionResponse.getDefaultInstance()));
    }

    public  void getPrescriptionBaseInfoById(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(28),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse.class,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse.getDefaultInstance()));
    }

    public  void getG3PharmacyList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetG3PharmacyListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetG3PharmacyListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(29),
        controller,
        request,
        com.ywt.gapi.drug.GetG3PharmacyListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetG3PharmacyListResponse.class,
          com.ywt.gapi.drug.GetG3PharmacyListResponse.getDefaultInstance()));
    }

    public  void saveG3PrescriptionInfoPharmacy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(30),
        controller,
        request,
        com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse.class,
          com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse.getDefaultInstance()));
    }

    public  void getPrescriptionBy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(31),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetPrescriptionResponse.class,
          com.ywt.gapi.drug.GetPrescriptionResponse.getDefaultInstance()));
    }

    public  void orderPaymentCallbackNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(32),
        controller,
        request,
        com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse.class,
          com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse.getDefaultInstance()));
    }

    public  void recvPrescriptionStatusFrom3Th(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(33),
        controller,
        request,
        com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse.class,
          com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse.getDefaultInstance()));
    }

    public  void updatePrescriptionPatientInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(34),
        controller,
        request,
        com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse.class,
          com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse.getDefaultInstance()));
    }

    public  void saveOrderDeliveryInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(35),
        controller,
        request,
        com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse.class,
          com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse.getDefaultInstance()));
    }

    public  void commentPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CommentPrescriptionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CommentPrescriptionResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(36),
        controller,
        request,
        com.ywt.gapi.drug.CommentPrescriptionResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.CommentPrescriptionResponse.class,
          com.ywt.gapi.drug.CommentPrescriptionResponse.getDefaultInstance()));
    }

    public  void createDoctorCommonUsedDrugs(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(37),
        controller,
        request,
        com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse.class,
          com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse.getDefaultInstance()));
    }

    public  void getPharmacyListByType(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPharmacyListByTypeRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPharmacyListByTypeResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(38),
        controller,
        request,
        com.ywt.gapi.drug.GetPharmacyListByTypeResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetPharmacyListByTypeResponse.class,
          com.ywt.gapi.drug.GetPharmacyListByTypeResponse.getDefaultInstance()));
    }

    public  void getPharmacy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPharmacyRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPharmacyResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(39),
        controller,
        request,
        com.ywt.gapi.drug.GetPharmacyResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetPharmacyResponse.class,
          com.ywt.gapi.drug.GetPharmacyResponse.getDefaultInstance()));
    }

    public  void refundNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.RefundNotifyRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.RefundNotifyResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(40),
        controller,
        request,
        com.ywt.gapi.drug.RefundNotifyResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.RefundNotifyResponse.class,
          com.ywt.gapi.drug.RefundNotifyResponse.getDefaultInstance()));
    }

    public  void deleteDoctorCommonUsedDrugs(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(41),
        controller,
        request,
        com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse.class,
          com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse.getDefaultInstance()));
    }

    public  void getPrescriptionBaseInfoListPage(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(42),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.class,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance()));
    }

    public  void getOrderBill(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetOrderBillRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetOrderBillResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(43),
        controller,
        request,
        com.ywt.gapi.drug.GetOrderBillResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetOrderBillResponse.class,
          com.ywt.gapi.drug.GetOrderBillResponse.getDefaultInstance()));
    }

    public  void genRpQRCode(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GenRpQRCodeRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GenRpQRCodeResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(44),
        controller,
        request,
        com.ywt.gapi.drug.GenRpQRCodeResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GenRpQRCodeResponse.class,
          com.ywt.gapi.drug.GenRpQRCodeResponse.getDefaultInstance()));
    }

    public  void listPharmacy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.ListPharmacyRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.ListPharmacyResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(45),
        controller,
        request,
        com.ywt.gapi.drug.ListPharmacyResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.ListPharmacyResponse.class,
          com.ywt.gapi.drug.ListPharmacyResponse.getDefaultInstance()));
    }

    public  void priced(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PricedRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.PricedResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(46),
        controller,
        request,
        com.ywt.gapi.drug.PricedResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.PricedResponse.class,
          com.ywt.gapi.drug.PricedResponse.getDefaultInstance()));
    }

    public  void getPrescriptionBaseInfoListPageWithOnlyHis(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(47),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.class,
          com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance()));
    }

    public  void sendSubscribeMessageAfterPaySuccess(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(48),
        controller,
        request,
        com.ywt.gapi.Result.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.Result.class,
          com.ywt.gapi.Result.getDefaultInstance()));
    }

    public  void getSysSettingByKeyname(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetSysSettingByKeynameRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetSysSettingByKeynameResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(49),
        controller,
        request,
        com.ywt.gapi.drug.GetSysSettingByKeynameResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetSysSettingByKeynameResponse.class,
          com.ywt.gapi.drug.GetSysSettingByKeynameResponse.getDefaultInstance()));
    }

    public  void getOneKeyRegList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetOneKeyRegListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetOneKeyRegListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(50),
        controller,
        request,
        com.ywt.gapi.drug.GetOneKeyRegListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetOneKeyRegListResponse.class,
          com.ywt.gapi.drug.GetOneKeyRegListResponse.getDefaultInstance()));
    }

    public  void updateHisPresInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdateHisPresInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(51),
        controller,
        request,
        com.ywt.gapi.Result.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.Result.class,
          com.ywt.gapi.Result.getDefaultInstance()));
    }

    public  void cancelPres(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CancelPresRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(52),
        controller,
        request,
        com.ywt.gapi.Result.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.Result.class,
          com.ywt.gapi.Result.getDefaultInstance()));
    }

    public  void getDrugDetail(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugDetailRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDrugDetailResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(53),
        controller,
        request,
        com.ywt.gapi.drug.GetDrugDetailResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetDrugDetailResponse.class,
          com.ywt.gapi.drug.GetDrugDetailResponse.getDefaultInstance()));
    }

    public  void checkIfDoctorWriteBack(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(54),
        controller,
        request,
        com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse.class,
          com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse.getDefaultInstance()));
    }

    public  void getLatestUnpaidHisPres(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(55),
        controller,
        request,
        com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse.class,
          com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse.getDefaultInstance()));
    }

    public  void queryDrugInstruction(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryDrugInstructionRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryDrugInstructionResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(56),
        controller,
        request,
        com.ywt.gapi.drug.QueryDrugInstructionResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.QueryDrugInstructionResponse.class,
          com.ywt.gapi.drug.QueryDrugInstructionResponse.getDefaultInstance()));
    }

    public  void updatePresAddress(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdatePresAddressRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.UpdatePresAddressResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(57),
        controller,
        request,
        com.ywt.gapi.drug.UpdatePresAddressResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.UpdatePresAddressResponse.class,
          com.ywt.gapi.drug.UpdatePresAddressResponse.getDefaultInstance()));
    }

    public  void updatePresInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdatePresInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(58),
        controller,
        request,
        com.ywt.gapi.Result.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.Result.class,
          com.ywt.gapi.Result.getDefaultInstance()));
    }

    public  void queryPresInfoBillList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryPresInfoBillListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryPresInfoBillListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(59),
        controller,
        request,
        com.ywt.gapi.drug.QueryPresInfoBillListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.QueryPresInfoBillListResponse.class,
          com.ywt.gapi.drug.QueryPresInfoBillListResponse.getDefaultInstance()));
    }
  }

  public static BlockingInterface newBlockingStub(
      com.google.protobuf.BlockingRpcChannel channel) {
    return new BlockingStub(channel);
  }

  public interface BlockingInterface {
    public com.ywt.gapi.drug.SavePrescriptionResponse savePrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetPrescriptionResponse getPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.PrescriptionPrePayResponse prescriptionPrePay(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PrescriptionPrePayRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.SavePrescriptionPaymentResponse savePrescriptionPayment(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionPaymentRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse prescriptionWxPayCallback(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.SavePrescriptionInfoResponse savePrescriptionInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionInfoRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetDictTypeListResponse getDictTypeList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDictTypeListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetDrugListResponse getDrugList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetRecordListResponse getRecordList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetRecordListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetUserRecordListResponse getUserRecordList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetUserRecordListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.SaveDeliveryMethodResponse saveDeliveryMethod(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SaveDeliveryMethodRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.TodayPrescribeCountResponse todayPrescribeCount(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.TodayPrescribeCountRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetDrugUsageInstructionResponse getDrugUsageInstruction(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugUsageInstructionRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.SavePrescriptionDetailResponse savePrescriptionDetail(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionDetailRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetRecordListInfoResponse getRecordListInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetRecordListInfoRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetPrescriptionDetailResponse getPrescriptionDetail(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionDetailRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetDrugFrequencyListResponse getDrugFrequencyList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugFrequencyListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetPrescriptionByIdResponse getPrescriptionById(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionByIdRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetPharmacyListResponse getPharmacyList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPharmacyListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse getPrescriptionBaseInfoList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse getHisPrescriptionBaseInfoList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetDoctorDrugListResponse getDoctorDrugList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDoctorDrugListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.ResultResponse savePrescriptionExpressAddress(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetIcdListResponse getIcdList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetIcdListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.ComputeDoctorDrugResponse computeDoctorDrug(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.ComputeDoctorDrugRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.Result savePrescriptionFee(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionFeeRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.PayPrescriptionResponse payPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PayPrescriptionRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.PricedPrescriptionResponse pricedPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PricedPrescriptionRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse getPrescriptionBaseInfoById(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetG3PharmacyListResponse getG3PharmacyList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetG3PharmacyListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse saveG3PrescriptionInfoPharmacy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetPrescriptionResponse getPrescriptionBy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse orderPaymentCallbackNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse recvPrescriptionStatusFrom3Th(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse updatePrescriptionPatientInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse saveOrderDeliveryInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.CommentPrescriptionResponse commentPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CommentPrescriptionRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse createDoctorCommonUsedDrugs(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetPharmacyListByTypeResponse getPharmacyListByType(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPharmacyListByTypeRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetPharmacyResponse getPharmacy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPharmacyRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.RefundNotifyResponse refundNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.RefundNotifyRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse deleteDoctorCommonUsedDrugs(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse getPrescriptionBaseInfoListPage(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetOrderBillResponse getOrderBill(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetOrderBillRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GenRpQRCodeResponse genRpQRCode(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GenRpQRCodeRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.ListPharmacyResponse listPharmacy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.ListPharmacyRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.PricedResponse priced(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PricedRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse getPrescriptionBaseInfoListPageWithOnlyHis(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.Result sendSubscribeMessageAfterPaySuccess(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetSysSettingByKeynameResponse getSysSettingByKeyname(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetSysSettingByKeynameRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetOneKeyRegListResponse getOneKeyRegList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetOneKeyRegListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.Result updateHisPresInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdateHisPresInfoRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.Result cancelPres(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CancelPresRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetDrugDetailResponse getDrugDetail(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugDetailRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse checkIfDoctorWriteBack(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse getLatestUnpaidHisPres(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.QueryDrugInstructionResponse queryDrugInstruction(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryDrugInstructionRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.UpdatePresAddressResponse updatePresAddress(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdatePresAddressRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.Result updatePresInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdatePresInfoRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.QueryPresInfoBillListResponse queryPresInfoBillList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryPresInfoBillListRequest request)
        throws com.google.protobuf.ServiceException;
  }

  private static final class BlockingStub implements BlockingInterface {
    private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) {
      this.channel = channel;
    }

    private final com.google.protobuf.BlockingRpcChannel channel;

    public com.ywt.gapi.drug.SavePrescriptionResponse savePrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.SavePrescriptionResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(0),
        controller,
        request,
        com.ywt.gapi.drug.SavePrescriptionResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetPrescriptionResponse getPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetPrescriptionResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(1),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.PrescriptionPrePayResponse prescriptionPrePay(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PrescriptionPrePayRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.PrescriptionPrePayResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(2),
        controller,
        request,
        com.ywt.gapi.drug.PrescriptionPrePayResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.SavePrescriptionPaymentResponse savePrescriptionPayment(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionPaymentRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.SavePrescriptionPaymentResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(3),
        controller,
        request,
        com.ywt.gapi.drug.SavePrescriptionPaymentResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse prescriptionWxPayCallback(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(4),
        controller,
        request,
        com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.SavePrescriptionInfoResponse savePrescriptionInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionInfoRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.SavePrescriptionInfoResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(5),
        controller,
        request,
        com.ywt.gapi.drug.SavePrescriptionInfoResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetDictTypeListResponse getDictTypeList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDictTypeListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetDictTypeListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(6),
        controller,
        request,
        com.ywt.gapi.drug.GetDictTypeListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetDrugListResponse getDrugList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetDrugListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(7),
        controller,
        request,
        com.ywt.gapi.drug.GetDrugListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetRecordListResponse getRecordList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetRecordListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetRecordListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(8),
        controller,
        request,
        com.ywt.gapi.drug.GetRecordListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetUserRecordListResponse getUserRecordList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetUserRecordListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetUserRecordListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(9),
        controller,
        request,
        com.ywt.gapi.drug.GetUserRecordListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.SaveDeliveryMethodResponse saveDeliveryMethod(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SaveDeliveryMethodRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.SaveDeliveryMethodResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(10),
        controller,
        request,
        com.ywt.gapi.drug.SaveDeliveryMethodResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.TodayPrescribeCountResponse todayPrescribeCount(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.TodayPrescribeCountRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.TodayPrescribeCountResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(11),
        controller,
        request,
        com.ywt.gapi.drug.TodayPrescribeCountResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetDrugUsageInstructionResponse getDrugUsageInstruction(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugUsageInstructionRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetDrugUsageInstructionResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(12),
        controller,
        request,
        com.ywt.gapi.drug.GetDrugUsageInstructionResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.SavePrescriptionDetailResponse savePrescriptionDetail(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionDetailRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.SavePrescriptionDetailResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(13),
        controller,
        request,
        com.ywt.gapi.drug.SavePrescriptionDetailResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetRecordListInfoResponse getRecordListInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetRecordListInfoRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetRecordListInfoResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(14),
        controller,
        request,
        com.ywt.gapi.drug.GetRecordListInfoResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetPrescriptionDetailResponse getPrescriptionDetail(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionDetailRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetPrescriptionDetailResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(15),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionDetailResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetDrugFrequencyListResponse getDrugFrequencyList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugFrequencyListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetDrugFrequencyListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(16),
        controller,
        request,
        com.ywt.gapi.drug.GetDrugFrequencyListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetPrescriptionByIdResponse getPrescriptionById(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionByIdRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetPrescriptionByIdResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(17),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionByIdResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetPharmacyListResponse getPharmacyList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPharmacyListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetPharmacyListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(18),
        controller,
        request,
        com.ywt.gapi.drug.GetPharmacyListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse getPrescriptionBaseInfoList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(19),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse getHisPrescriptionBaseInfoList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(20),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetDoctorDrugListResponse getDoctorDrugList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDoctorDrugListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetDoctorDrugListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(21),
        controller,
        request,
        com.ywt.gapi.drug.GetDoctorDrugListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.ResultResponse savePrescriptionExpressAddress(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.ResultResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(22),
        controller,
        request,
        com.ywt.gapi.drug.ResultResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetIcdListResponse getIcdList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetIcdListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetIcdListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(23),
        controller,
        request,
        com.ywt.gapi.drug.GetIcdListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.ComputeDoctorDrugResponse computeDoctorDrug(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.ComputeDoctorDrugRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.ComputeDoctorDrugResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(24),
        controller,
        request,
        com.ywt.gapi.drug.ComputeDoctorDrugResponse.getDefaultInstance());
    }


    public com.ywt.gapi.Result savePrescriptionFee(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SavePrescriptionFeeRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.Result) channel.callBlockingMethod(
        getDescriptor().getMethods().get(25),
        controller,
        request,
        com.ywt.gapi.Result.getDefaultInstance());
    }


    public com.ywt.gapi.drug.PayPrescriptionResponse payPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PayPrescriptionRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.PayPrescriptionResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(26),
        controller,
        request,
        com.ywt.gapi.drug.PayPrescriptionResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.PricedPrescriptionResponse pricedPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PricedPrescriptionRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.PricedPrescriptionResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(27),
        controller,
        request,
        com.ywt.gapi.drug.PricedPrescriptionResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse getPrescriptionBaseInfoById(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(28),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetG3PharmacyListResponse getG3PharmacyList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetG3PharmacyListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetG3PharmacyListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(29),
        controller,
        request,
        com.ywt.gapi.drug.GetG3PharmacyListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse saveG3PrescriptionInfoPharmacy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(30),
        controller,
        request,
        com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetPrescriptionResponse getPrescriptionBy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetPrescriptionResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(31),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse orderPaymentCallbackNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(32),
        controller,
        request,
        com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse recvPrescriptionStatusFrom3Th(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(33),
        controller,
        request,
        com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse updatePrescriptionPatientInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(34),
        controller,
        request,
        com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse saveOrderDeliveryInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(35),
        controller,
        request,
        com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.CommentPrescriptionResponse commentPrescription(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CommentPrescriptionRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.CommentPrescriptionResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(36),
        controller,
        request,
        com.ywt.gapi.drug.CommentPrescriptionResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse createDoctorCommonUsedDrugs(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(37),
        controller,
        request,
        com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetPharmacyListByTypeResponse getPharmacyListByType(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPharmacyListByTypeRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetPharmacyListByTypeResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(38),
        controller,
        request,
        com.ywt.gapi.drug.GetPharmacyListByTypeResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetPharmacyResponse getPharmacy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPharmacyRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetPharmacyResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(39),
        controller,
        request,
        com.ywt.gapi.drug.GetPharmacyResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.RefundNotifyResponse refundNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.RefundNotifyRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.RefundNotifyResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(40),
        controller,
        request,
        com.ywt.gapi.drug.RefundNotifyResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse deleteDoctorCommonUsedDrugs(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(41),
        controller,
        request,
        com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse getPrescriptionBaseInfoListPage(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(42),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetOrderBillResponse getOrderBill(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetOrderBillRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetOrderBillResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(43),
        controller,
        request,
        com.ywt.gapi.drug.GetOrderBillResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GenRpQRCodeResponse genRpQRCode(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GenRpQRCodeRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GenRpQRCodeResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(44),
        controller,
        request,
        com.ywt.gapi.drug.GenRpQRCodeResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.ListPharmacyResponse listPharmacy(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.ListPharmacyRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.ListPharmacyResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(45),
        controller,
        request,
        com.ywt.gapi.drug.ListPharmacyResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.PricedResponse priced(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.PricedRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.PricedResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(46),
        controller,
        request,
        com.ywt.gapi.drug.PricedResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse getPrescriptionBaseInfoListPageWithOnlyHis(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(47),
        controller,
        request,
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.Result sendSubscribeMessageAfterPaySuccess(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.Result) channel.callBlockingMethod(
        getDescriptor().getMethods().get(48),
        controller,
        request,
        com.ywt.gapi.Result.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetSysSettingByKeynameResponse getSysSettingByKeyname(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetSysSettingByKeynameRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetSysSettingByKeynameResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(49),
        controller,
        request,
        com.ywt.gapi.drug.GetSysSettingByKeynameResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetOneKeyRegListResponse getOneKeyRegList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetOneKeyRegListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetOneKeyRegListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(50),
        controller,
        request,
        com.ywt.gapi.drug.GetOneKeyRegListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.Result updateHisPresInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdateHisPresInfoRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.Result) channel.callBlockingMethod(
        getDescriptor().getMethods().get(51),
        controller,
        request,
        com.ywt.gapi.Result.getDefaultInstance());
    }


    public com.ywt.gapi.Result cancelPres(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CancelPresRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.Result) channel.callBlockingMethod(
        getDescriptor().getMethods().get(52),
        controller,
        request,
        com.ywt.gapi.Result.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetDrugDetailResponse getDrugDetail(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDrugDetailRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetDrugDetailResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(53),
        controller,
        request,
        com.ywt.gapi.drug.GetDrugDetailResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse checkIfDoctorWriteBack(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(54),
        controller,
        request,
        com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse getLatestUnpaidHisPres(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(55),
        controller,
        request,
        com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.QueryDrugInstructionResponse queryDrugInstruction(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryDrugInstructionRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.QueryDrugInstructionResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(56),
        controller,
        request,
        com.ywt.gapi.drug.QueryDrugInstructionResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.UpdatePresAddressResponse updatePresAddress(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdatePresAddressRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.UpdatePresAddressResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(57),
        controller,
        request,
        com.ywt.gapi.drug.UpdatePresAddressResponse.getDefaultInstance());
    }


    public com.ywt.gapi.Result updatePresInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdatePresInfoRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.Result) channel.callBlockingMethod(
        getDescriptor().getMethods().get(58),
        controller,
        request,
        com.ywt.gapi.Result.getDefaultInstance());
    }


    public com.ywt.gapi.drug.QueryPresInfoBillListResponse queryPresInfoBillList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryPresInfoBillListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.QueryPresInfoBillListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(59),
        controller,
        request,
        com.ywt.gapi.drug.QueryPresInfoBillListResponse.getDefaultInstance());
    }

  }

  // @@protoc_insertion_point(class_scope:com.ywt.gapi.drug.DrugService)
}

