package com.ywt.gapi.drug;

import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;

/**
 * <pre>
 *药品相关服务
 * </pre>
 */
@javax.annotation.Generated(
    value = "by gRPC proto compiler (version 1.7.2-SNAPSHOT)",
    comments = "Source: drug.proto")
public final class DrugServiceGrpc {

  private DrugServiceGrpc() {}

  public static final String SERVICE_NAME = "com.ywt.gapi.drug.DrugService";

  // Static method descriptors that strictly reflect the proto.
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.SavePrescriptionRequest,
      com.ywt.gapi.drug.SavePrescriptionResponse> METHOD_SAVE_PRESCRIPTION =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.SavePrescriptionRequest, com.ywt.gapi.drug.SavePrescriptionResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "savePrescription"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SavePrescriptionRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SavePrescriptionResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("savePrescription"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetPrescriptionRequest,
      com.ywt.gapi.drug.GetPrescriptionResponse> METHOD_GET_PRESCRIPTION =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetPrescriptionRequest, com.ywt.gapi.drug.GetPrescriptionResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getPrescription"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getPrescription"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.PrescriptionPrePayRequest,
      com.ywt.gapi.drug.PrescriptionPrePayResponse> METHOD_PRESCRIPTION_PRE_PAY =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.PrescriptionPrePayRequest, com.ywt.gapi.drug.PrescriptionPrePayResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "prescriptionPrePay"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.PrescriptionPrePayRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.PrescriptionPrePayResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("prescriptionPrePay"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.SavePrescriptionPaymentRequest,
      com.ywt.gapi.drug.SavePrescriptionPaymentResponse> METHOD_SAVE_PRESCRIPTION_PAYMENT =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.SavePrescriptionPaymentRequest, com.ywt.gapi.drug.SavePrescriptionPaymentResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "savePrescriptionPayment"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SavePrescriptionPaymentRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SavePrescriptionPaymentResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("savePrescriptionPayment"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest,
      com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse> METHOD_PRESCRIPTION_WX_PAY_CALLBACK =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest, com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "prescriptionWxPayCallback"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("prescriptionWxPayCallback"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.SavePrescriptionInfoRequest,
      com.ywt.gapi.drug.SavePrescriptionInfoResponse> METHOD_SAVE_PRESCRIPTION_INFO =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.SavePrescriptionInfoRequest, com.ywt.gapi.drug.SavePrescriptionInfoResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "savePrescriptionInfo"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SavePrescriptionInfoRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SavePrescriptionInfoResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("savePrescriptionInfo"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetDictTypeListRequest,
      com.ywt.gapi.drug.GetDictTypeListResponse> METHOD_GET_DICT_TYPE_LIST =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetDictTypeListRequest, com.ywt.gapi.drug.GetDictTypeListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getDictTypeList"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetDictTypeListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetDictTypeListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getDictTypeList"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetDrugListRequest,
      com.ywt.gapi.drug.GetDrugListResponse> METHOD_GET_DRUG_LIST =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetDrugListRequest, com.ywt.gapi.drug.GetDrugListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getDrugList"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetDrugListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetDrugListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getDrugList"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetRecordListRequest,
      com.ywt.gapi.drug.GetRecordListResponse> METHOD_GET_RECORD_LIST =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetRecordListRequest, com.ywt.gapi.drug.GetRecordListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getRecordList"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetRecordListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetRecordListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getRecordList"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetUserRecordListRequest,
      com.ywt.gapi.drug.GetUserRecordListResponse> METHOD_GET_USER_RECORD_LIST =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetUserRecordListRequest, com.ywt.gapi.drug.GetUserRecordListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getUserRecordList"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetUserRecordListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetUserRecordListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getUserRecordList"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.SaveDeliveryMethodRequest,
      com.ywt.gapi.drug.SaveDeliveryMethodResponse> METHOD_SAVE_DELIVERY_METHOD =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.SaveDeliveryMethodRequest, com.ywt.gapi.drug.SaveDeliveryMethodResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "saveDeliveryMethod"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SaveDeliveryMethodRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SaveDeliveryMethodResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("saveDeliveryMethod"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.TodayPrescribeCountRequest,
      com.ywt.gapi.drug.TodayPrescribeCountResponse> METHOD_TODAY_PRESCRIBE_COUNT =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.TodayPrescribeCountRequest, com.ywt.gapi.drug.TodayPrescribeCountResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "todayPrescribeCount"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.TodayPrescribeCountRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.TodayPrescribeCountResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("todayPrescribeCount"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetDrugUsageInstructionRequest,
      com.ywt.gapi.drug.GetDrugUsageInstructionResponse> METHOD_GET_DRUG_USAGE_INSTRUCTION =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetDrugUsageInstructionRequest, com.ywt.gapi.drug.GetDrugUsageInstructionResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getDrugUsageInstruction"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetDrugUsageInstructionRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetDrugUsageInstructionResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getDrugUsageInstruction"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.SavePrescriptionDetailRequest,
      com.ywt.gapi.drug.SavePrescriptionDetailResponse> METHOD_SAVE_PRESCRIPTION_DETAIL =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.SavePrescriptionDetailRequest, com.ywt.gapi.drug.SavePrescriptionDetailResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "savePrescriptionDetail"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SavePrescriptionDetailRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SavePrescriptionDetailResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("savePrescriptionDetail"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetRecordListInfoRequest,
      com.ywt.gapi.drug.GetRecordListInfoResponse> METHOD_GET_RECORD_LIST_INFO =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetRecordListInfoRequest, com.ywt.gapi.drug.GetRecordListInfoResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getRecordListInfo"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetRecordListInfoRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetRecordListInfoResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getRecordListInfo"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetPrescriptionDetailRequest,
      com.ywt.gapi.drug.GetPrescriptionDetailResponse> METHOD_GET_PRESCRIPTION_DETAIL =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetPrescriptionDetailRequest, com.ywt.gapi.drug.GetPrescriptionDetailResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getPrescriptionDetail"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionDetailRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionDetailResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getPrescriptionDetail"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetDrugFrequencyListRequest,
      com.ywt.gapi.drug.GetDrugFrequencyListResponse> METHOD_GET_DRUG_FREQUENCY_LIST =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetDrugFrequencyListRequest, com.ywt.gapi.drug.GetDrugFrequencyListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getDrugFrequencyList"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetDrugFrequencyListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetDrugFrequencyListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getDrugFrequencyList"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetPrescriptionByIdRequest,
      com.ywt.gapi.drug.GetPrescriptionByIdResponse> METHOD_GET_PRESCRIPTION_BY_ID =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetPrescriptionByIdRequest, com.ywt.gapi.drug.GetPrescriptionByIdResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getPrescriptionById"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionByIdRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionByIdResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getPrescriptionById"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetPharmacyListRequest,
      com.ywt.gapi.drug.GetPharmacyListResponse> METHOD_GET_PHARMACY_LIST =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetPharmacyListRequest, com.ywt.gapi.drug.GetPharmacyListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getPharmacyList"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPharmacyListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPharmacyListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getPharmacyList"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest,
      com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> METHOD_GET_PRESCRIPTION_BASE_INFO_LIST =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest, com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getPrescriptionBaseInfoList"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getPrescriptionBaseInfoList"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest,
      com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> METHOD_GET_HIS_PRESCRIPTION_BASE_INFO_LIST =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest, com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getHisPrescriptionBaseInfoList"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getHisPrescriptionBaseInfoList"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetDoctorDrugListRequest,
      com.ywt.gapi.drug.GetDoctorDrugListResponse> METHOD_GET_DOCTOR_DRUG_LIST =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetDoctorDrugListRequest, com.ywt.gapi.drug.GetDoctorDrugListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getDoctorDrugList"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetDoctorDrugListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetDoctorDrugListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getDoctorDrugList"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest,
      com.ywt.gapi.drug.ResultResponse> METHOD_SAVE_PRESCRIPTION_EXPRESS_ADDRESS =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest, com.ywt.gapi.drug.ResultResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "savePrescriptionExpressAddress"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.ResultResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("savePrescriptionExpressAddress"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetIcdListRequest,
      com.ywt.gapi.drug.GetIcdListResponse> METHOD_GET_ICD_LIST =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetIcdListRequest, com.ywt.gapi.drug.GetIcdListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getIcdList"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetIcdListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetIcdListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getIcdList"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.ComputeDoctorDrugRequest,
      com.ywt.gapi.drug.ComputeDoctorDrugResponse> METHOD_COMPUTE_DOCTOR_DRUG =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.ComputeDoctorDrugRequest, com.ywt.gapi.drug.ComputeDoctorDrugResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "computeDoctorDrug"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.ComputeDoctorDrugRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.ComputeDoctorDrugResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("computeDoctorDrug"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.SavePrescriptionFeeRequest,
      com.ywt.gapi.Result> METHOD_SAVE_PRESCRIPTION_FEE =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.SavePrescriptionFeeRequest, com.ywt.gapi.Result>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "savePrescriptionFee"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SavePrescriptionFeeRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.Result.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("savePrescriptionFee"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.PayPrescriptionRequest,
      com.ywt.gapi.drug.PayPrescriptionResponse> METHOD_PAY_PRESCRIPTION =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.PayPrescriptionRequest, com.ywt.gapi.drug.PayPrescriptionResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "payPrescription"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.PayPrescriptionRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.PayPrescriptionResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("payPrescription"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.PricedPrescriptionRequest,
      com.ywt.gapi.drug.PricedPrescriptionResponse> METHOD_PRICED_PRESCRIPTION =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.PricedPrescriptionRequest, com.ywt.gapi.drug.PricedPrescriptionResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "pricedPrescription"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.PricedPrescriptionRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.PricedPrescriptionResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("pricedPrescription"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest,
      com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse> METHOD_GET_PRESCRIPTION_BASE_INFO_BY_ID =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest, com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getPrescriptionBaseInfoById"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getPrescriptionBaseInfoById"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetG3PharmacyListRequest,
      com.ywt.gapi.drug.GetG3PharmacyListResponse> METHOD_GET_G3PHARMACY_LIST =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetG3PharmacyListRequest, com.ywt.gapi.drug.GetG3PharmacyListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getG3PharmacyList"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetG3PharmacyListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetG3PharmacyListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getG3PharmacyList"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest,
      com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse> METHOD_SAVE_G3PRESCRIPTION_INFO_PHARMACY =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest, com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "saveG3PrescriptionInfoPharmacy"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("saveG3PrescriptionInfoPharmacy"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetPrescriptionRequest,
      com.ywt.gapi.drug.GetPrescriptionResponse> METHOD_GET_PRESCRIPTION_BY =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetPrescriptionRequest, com.ywt.gapi.drug.GetPrescriptionResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getPrescriptionBy"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getPrescriptionBy"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest,
      com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse> METHOD_ORDER_PAYMENT_CALLBACK_NOTIFY =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest, com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "orderPaymentCallbackNotify"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("orderPaymentCallbackNotify"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest,
      com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse> METHOD_RECV_PRESCRIPTION_STATUS_FROM3TH =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest, com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "recvPrescriptionStatusFrom3th"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("recvPrescriptionStatusFrom3th"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest,
      com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse> METHOD_UPDATE_PRESCRIPTION_PATIENT_INFO =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest, com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "updatePrescriptionPatientInfo"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("updatePrescriptionPatientInfo"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest,
      com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse> METHOD_SAVE_ORDER_DELIVERY_INFO =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest, com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "saveOrderDeliveryInfo"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("saveOrderDeliveryInfo"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.CommentPrescriptionRequest,
      com.ywt.gapi.drug.CommentPrescriptionResponse> METHOD_COMMENT_PRESCRIPTION =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.CommentPrescriptionRequest, com.ywt.gapi.drug.CommentPrescriptionResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "commentPrescription"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.CommentPrescriptionRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.CommentPrescriptionResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("commentPrescription"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest,
      com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse> METHOD_CREATE_DOCTOR_COMMON_USED_DRUGS =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest, com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "createDoctorCommonUsedDrugs"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("createDoctorCommonUsedDrugs"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetPharmacyListByTypeRequest,
      com.ywt.gapi.drug.GetPharmacyListByTypeResponse> METHOD_GET_PHARMACY_LIST_BY_TYPE =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetPharmacyListByTypeRequest, com.ywt.gapi.drug.GetPharmacyListByTypeResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getPharmacyListByType"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPharmacyListByTypeRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPharmacyListByTypeResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getPharmacyListByType"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetPharmacyRequest,
      com.ywt.gapi.drug.GetPharmacyResponse> METHOD_GET_PHARMACY =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetPharmacyRequest, com.ywt.gapi.drug.GetPharmacyResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getPharmacy"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPharmacyRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPharmacyResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getPharmacy"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.RefundNotifyRequest,
      com.ywt.gapi.drug.RefundNotifyResponse> METHOD_REFUND_NOTIFY =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.RefundNotifyRequest, com.ywt.gapi.drug.RefundNotifyResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "refundNotify"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.RefundNotifyRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.RefundNotifyResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("refundNotify"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest,
      com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse> METHOD_DELETE_DOCTOR_COMMON_USED_DRUGS =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest, com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "deleteDoctorCommonUsedDrugs"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("deleteDoctorCommonUsedDrugs"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest,
      com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> METHOD_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest, com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getPrescriptionBaseInfoListPage"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getPrescriptionBaseInfoListPage"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetOrderBillRequest,
      com.ywt.gapi.drug.GetOrderBillResponse> METHOD_GET_ORDER_BILL =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetOrderBillRequest, com.ywt.gapi.drug.GetOrderBillResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getOrderBill"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetOrderBillRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetOrderBillResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getOrderBill"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GenRpQRCodeRequest,
      com.ywt.gapi.drug.GenRpQRCodeResponse> METHOD_GEN_RP_QRCODE =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GenRpQRCodeRequest, com.ywt.gapi.drug.GenRpQRCodeResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "genRpQRCode"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GenRpQRCodeRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GenRpQRCodeResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("genRpQRCode"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.ListPharmacyRequest,
      com.ywt.gapi.drug.ListPharmacyResponse> METHOD_LIST_PHARMACY =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.ListPharmacyRequest, com.ywt.gapi.drug.ListPharmacyResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "listPharmacy"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.ListPharmacyRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.ListPharmacyResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("listPharmacy"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.PricedRequest,
      com.ywt.gapi.drug.PricedResponse> METHOD_PRICED =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.PricedRequest, com.ywt.gapi.drug.PricedResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "priced"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.PricedRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.PricedResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("priced"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest,
      com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> METHOD_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE_WITH_ONLY_HIS =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest, com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getPrescriptionBaseInfoListPageWithOnlyHis"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getPrescriptionBaseInfoListPageWithOnlyHis"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest,
      com.ywt.gapi.Result> METHOD_SEND_SUBSCRIBE_MESSAGE_AFTER_PAY_SUCCESS =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest, com.ywt.gapi.Result>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "sendSubscribeMessageAfterPaySuccess"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.Result.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("sendSubscribeMessageAfterPaySuccess"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetSysSettingByKeynameRequest,
      com.ywt.gapi.drug.GetSysSettingByKeynameResponse> METHOD_GET_SYS_SETTING_BY_KEYNAME =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetSysSettingByKeynameRequest, com.ywt.gapi.drug.GetSysSettingByKeynameResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getSysSettingByKeyname"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetSysSettingByKeynameRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetSysSettingByKeynameResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getSysSettingByKeyname"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetOneKeyRegListRequest,
      com.ywt.gapi.drug.GetOneKeyRegListResponse> METHOD_GET_ONE_KEY_REG_LIST =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetOneKeyRegListRequest, com.ywt.gapi.drug.GetOneKeyRegListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getOneKeyRegList"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetOneKeyRegListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetOneKeyRegListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getOneKeyRegList"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.UpdateHisPresInfoRequest,
      com.ywt.gapi.Result> METHOD_UPDATE_HIS_PRES_INFO =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.UpdateHisPresInfoRequest, com.ywt.gapi.Result>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "updateHisPresInfo"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.UpdateHisPresInfoRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.Result.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("updateHisPresInfo"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.CancelPresRequest,
      com.ywt.gapi.Result> METHOD_CANCEL_PRES =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.CancelPresRequest, com.ywt.gapi.Result>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "cancelPres"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.CancelPresRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.Result.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("cancelPres"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetDrugDetailRequest,
      com.ywt.gapi.drug.GetDrugDetailResponse> METHOD_GET_DRUG_DETAIL =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetDrugDetailRequest, com.ywt.gapi.drug.GetDrugDetailResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getDrugDetail"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetDrugDetailRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetDrugDetailResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getDrugDetail"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest,
      com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse> METHOD_CHECK_IF_DOCTOR_WRITE_BACK =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest, com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "checkIfDoctorWriteBack"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("checkIfDoctorWriteBack"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest,
      com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse> METHOD_GET_LATEST_UNPAID_HIS_PRES =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest, com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "getLatestUnpaidHisPres"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("getLatestUnpaidHisPres"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.QueryDrugInstructionRequest,
      com.ywt.gapi.drug.QueryDrugInstructionResponse> METHOD_QUERY_DRUG_INSTRUCTION =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.QueryDrugInstructionRequest, com.ywt.gapi.drug.QueryDrugInstructionResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "queryDrugInstruction"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.QueryDrugInstructionRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.QueryDrugInstructionResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("queryDrugInstruction"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.UpdatePresAddressRequest,
      com.ywt.gapi.drug.UpdatePresAddressResponse> METHOD_UPDATE_PRES_ADDRESS =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.UpdatePresAddressRequest, com.ywt.gapi.drug.UpdatePresAddressResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "updatePresAddress"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.UpdatePresAddressRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.UpdatePresAddressResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("updatePresAddress"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.UpdatePresInfoRequest,
      com.ywt.gapi.Result> METHOD_UPDATE_PRES_INFO =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.UpdatePresInfoRequest, com.ywt.gapi.Result>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "updatePresInfo"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.UpdatePresInfoRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.Result.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("updatePresInfo"))
          .build();
  @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
  public static final io.grpc.MethodDescriptor<com.ywt.gapi.drug.QueryPresInfoBillListRequest,
      com.ywt.gapi.drug.QueryPresInfoBillListResponse> METHOD_QUERY_PRES_INFO_BILL_LIST =
      io.grpc.MethodDescriptor.<com.ywt.gapi.drug.QueryPresInfoBillListRequest, com.ywt.gapi.drug.QueryPresInfoBillListResponse>newBuilder()
          .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
          .setFullMethodName(generateFullMethodName(
              "com.ywt.gapi.drug.DrugService", "queryPresInfoBillList"))
          .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.QueryPresInfoBillListRequest.getDefaultInstance()))
          .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
              com.ywt.gapi.drug.QueryPresInfoBillListResponse.getDefaultInstance()))
          .setSchemaDescriptor(new DrugServiceMethodDescriptorSupplier("queryPresInfoBillList"))
          .build();

  /**
   * Creates a new async stub that supports all call types for the service
   */
  public static DrugServiceStub newStub(io.grpc.Channel channel) {
    return new DrugServiceStub(channel);
  }

  /**
   * Creates a new blocking-style stub that supports unary and streaming output calls on the service
   */
  public static DrugServiceBlockingStub newBlockingStub(
      io.grpc.Channel channel) {
    return new DrugServiceBlockingStub(channel);
  }

  /**
   * Creates a new ListenableFuture-style stub that supports unary calls on the service
   */
  public static DrugServiceFutureStub newFutureStub(
      io.grpc.Channel channel) {
    return new DrugServiceFutureStub(channel);
  }

  /**
   * <pre>
   *药品相关服务
   * </pre>
   */
  public static abstract class DrugServiceImplBase implements io.grpc.BindableService {

    /**
     * <pre>
     *保存处方信息
     * </pre>
     */
    public void savePrescription(com.ywt.gapi.drug.SavePrescriptionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SavePrescriptionResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_SAVE_PRESCRIPTION, responseObserver);
    }

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     */
    public void getPrescription(com.ywt.gapi.drug.GetPrescriptionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_PRESCRIPTION, responseObserver);
    }

    /**
     * <pre>
     *检查并生成处方支付流水号
     * </pre>
     */
    public void prescriptionPrePay(com.ywt.gapi.drug.PrescriptionPrePayRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PrescriptionPrePayResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_PRESCRIPTION_PRE_PAY, responseObserver);
    }

    /**
     * <pre>
     *保存处方支付流水明细
     * </pre>
     */
    public void savePrescriptionPayment(com.ywt.gapi.drug.SavePrescriptionPaymentRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SavePrescriptionPaymentResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_SAVE_PRESCRIPTION_PAYMENT, responseObserver);
    }

    /**
     * <pre>
     *处方微信支付回调
     * </pre>
     */
    public void prescriptionWxPayCallback(com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_PRESCRIPTION_WX_PAY_CALLBACK, responseObserver);
    }

    /**
     * <pre>
     *保存处方单患者信息
     * </pre>
     */
    public void savePrescriptionInfo(com.ywt.gapi.drug.SavePrescriptionInfoRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SavePrescriptionInfoResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_SAVE_PRESCRIPTION_INFO, responseObserver);
    }

    /**
     * <pre>
     *获取字典数据
     * </pre>
     */
    public void getDictTypeList(com.ywt.gapi.drug.GetDictTypeListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDictTypeListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_DICT_TYPE_LIST, responseObserver);
    }

    /**
     * <pre>
     *获取药品列表
     * </pre>
     */
    public void getDrugList(com.ywt.gapi.drug.GetDrugListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDrugListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_DRUG_LIST, responseObserver);
    }

    /**
     * <pre>
     *获取处方单记录列表
     * </pre>
     */
    public void getRecordList(com.ywt.gapi.drug.GetRecordListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetRecordListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_RECORD_LIST, responseObserver);
    }

    /**
     * <pre>
     *获取用户处方单记录列表
     * </pre>
     */
    public void getUserRecordList(com.ywt.gapi.drug.GetUserRecordListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetUserRecordListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_USER_RECORD_LIST, responseObserver);
    }

    /**
     * <pre>
     *保存取药方式
     * </pre>
     */
    public void saveDeliveryMethod(com.ywt.gapi.drug.SaveDeliveryMethodRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SaveDeliveryMethodResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_SAVE_DELIVERY_METHOD, responseObserver);
    }

    /**
     * <pre>
     *今日开方统计
     * </pre>
     */
    public void todayPrescribeCount(com.ywt.gapi.drug.TodayPrescribeCountRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.TodayPrescribeCountResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_TODAY_PRESCRIBE_COUNT, responseObserver);
    }

    /**
     * <pre>
     *获取药品用法说明
     * </pre>
     */
    public void getDrugUsageInstruction(com.ywt.gapi.drug.GetDrugUsageInstructionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDrugUsageInstructionResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_DRUG_USAGE_INSTRUCTION, responseObserver);
    }

    /**
     * <pre>
     *保存处方单患者信息  create by daiyihua
     * </pre>
     */
    public void savePrescriptionDetail(com.ywt.gapi.drug.SavePrescriptionDetailRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SavePrescriptionDetailResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_SAVE_PRESCRIPTION_DETAIL, responseObserver);
    }

    /**
     * <pre>
     *获取处方单记录列表(医生端查找)  create by daiyihua
     * </pre>
     */
    public void getRecordListInfo(com.ywt.gapi.drug.GetRecordListInfoRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetRecordListInfoResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_RECORD_LIST_INFO, responseObserver);
    }

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     */
    public void getPrescriptionDetail(com.ywt.gapi.drug.GetPrescriptionDetailRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionDetailResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_PRESCRIPTION_DETAIL, responseObserver);
    }

    /**
     * <pre>
     *取用药频率列表
     * </pre>
     */
    public void getDrugFrequencyList(com.ywt.gapi.drug.GetDrugFrequencyListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDrugFrequencyListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_DRUG_FREQUENCY_LIST, responseObserver);
    }

    /**
     * <pre>
     * 根据处方单记录获取处方信息
     * </pre>
     */
    public void getPrescriptionById(com.ywt.gapi.drug.GetPrescriptionByIdRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionByIdResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_PRESCRIPTION_BY_ID, responseObserver);
    }

    /**
     * <pre>
     *获取药房列表
     * </pre>
     */
    public void getPharmacyList(com.ywt.gapi.drug.GetPharmacyListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPharmacyListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_PHARMACY_LIST, responseObserver);
    }

    /**
     * <pre>
     *获取处方单记录列表（患者端查找，his_order_no为空的数据）  create by daiyihua
     * </pre>
     */
    public void getPrescriptionBaseInfoList(com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_PRESCRIPTION_BASE_INFO_LIST, responseObserver);
    }

    /**
     * <pre>
     *获取his处方单记录列表（患者端查找）  create by daiyihua
     * </pre>
     */
    public void getHisPrescriptionBaseInfoList(com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_HIS_PRESCRIPTION_BASE_INFO_LIST, responseObserver);
    }

    /**
     * <pre>
     *医生常用药列表
     * </pre>
     */
    public void getDoctorDrugList(com.ywt.gapi.drug.GetDoctorDrugListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDoctorDrugListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_DOCTOR_DRUG_LIST, responseObserver);
    }

    /**
     * <pre>
     * 保存处方快递地址
     * </pre>
     */
    public void savePrescriptionExpressAddress(com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.ResultResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_SAVE_PRESCRIPTION_EXPRESS_ADDRESS, responseObserver);
    }

    /**
     * <pre>
     *获取国际疾病分类
     * </pre>
     */
    public void getIcdList(com.ywt.gapi.drug.GetIcdListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetIcdListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_ICD_LIST, responseObserver);
    }

    /**
     * <pre>
     *统计医生开方的药品数量
     * </pre>
     */
    public void computeDoctorDrug(com.ywt.gapi.drug.ComputeDoctorDrugRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.ComputeDoctorDrugResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_COMPUTE_DOCTOR_DRUG, responseObserver);
    }

    /**
     * <pre>
     * 保存处方需要支付的费用
     * </pre>
     */
    public void savePrescriptionFee(com.ywt.gapi.drug.SavePrescriptionFeeRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.Result> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_SAVE_PRESCRIPTION_FEE, responseObserver);
    }

    /**
     * <pre>
     *处方单完成支付
     * </pre>
     */
    public void payPrescription(com.ywt.gapi.drug.PayPrescriptionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PayPrescriptionResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_PAY_PRESCRIPTION, responseObserver);
    }

    /**
     * <pre>
     *处方单划价
     * </pre>
     */
    public void pricedPrescription(com.ywt.gapi.drug.PricedPrescriptionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PricedPrescriptionResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_PRICED_PRESCRIPTION, responseObserver);
    }

    /**
     * <pre>
     * 根据处方ID获取处方基本信息  create by daiyihua
     * </pre>
     */
    public void getPrescriptionBaseInfoById(com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_PRESCRIPTION_BASE_INFO_BY_ID, responseObserver);
    }

    /**
     * <pre>
     *获取广三药房列表
     * </pre>
     */
    public void getG3PharmacyList(com.ywt.gapi.drug.GetG3PharmacyListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetG3PharmacyListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_G3PHARMACY_LIST, responseObserver);
    }

    /**
     * <pre>
     * 广三处方订单保存药房地址
     * </pre>
     */
    public void saveG3PrescriptionInfoPharmacy(com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_SAVE_G3PRESCRIPTION_INFO_PHARMACY, responseObserver);
    }

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     */
    public void getPrescriptionBy(com.ywt.gapi.drug.GetPrescriptionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_PRESCRIPTION_BY, responseObserver);
    }

    /**
     * <pre>
     *订单中心支付成功回调通知
     * </pre>
     */
    public void orderPaymentCallbackNotify(com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_ORDER_PAYMENT_CALLBACK_NOTIFY, responseObserver);
    }

    /**
     * <pre>
     *接收第三方状态上报
     * </pre>
     */
    public void recvPrescriptionStatusFrom3th(com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_RECV_PRESCRIPTION_STATUS_FROM3TH, responseObserver);
    }

    /**
     * <pre>
     *更新处方单患者信息
     * </pre>
     */
    public void updatePrescriptionPatientInfo(com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_UPDATE_PRESCRIPTION_PATIENT_INFO, responseObserver);
    }

    /**
     * <pre>
     *保存处方订单配送信息
     * </pre>
     */
    public void saveOrderDeliveryInfo(com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_SAVE_ORDER_DELIVERY_INFO, responseObserver);
    }

    /**
     * <pre>
     *处方单评价
     * </pre>
     */
    public void commentPrescription(com.ywt.gapi.drug.CommentPrescriptionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.CommentPrescriptionResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_COMMENT_PRESCRIPTION, responseObserver);
    }

    /**
     * <pre>
     *添加医生常用药
     * </pre>
     */
    public void createDoctorCommonUsedDrugs(com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_CREATE_DOCTOR_COMMON_USED_DRUGS, responseObserver);
    }

    /**
     * <pre>
     * 获取可用的药房列表
     * </pre>
     */
    public void getPharmacyListByType(com.ywt.gapi.drug.GetPharmacyListByTypeRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPharmacyListByTypeResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_PHARMACY_LIST_BY_TYPE, responseObserver);
    }

    /**
     * <pre>
     *获取药房数据
     * </pre>
     */
    public void getPharmacy(com.ywt.gapi.drug.GetPharmacyRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPharmacyResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_PHARMACY, responseObserver);
    }

    /**
     * <pre>
     *退款结果通知
     * </pre>
     */
    public void refundNotify(com.ywt.gapi.drug.RefundNotifyRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.RefundNotifyResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_REFUND_NOTIFY, responseObserver);
    }

    /**
     * <pre>
     *删除医生常用药
     * </pre>
     */
    public void deleteDoctorCommonUsedDrugs(com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_DELETE_DOCTOR_COMMON_USED_DRUGS, responseObserver);
    }

    /**
     * <pre>
     *分页获取处方单记录列表
     * </pre>
     */
    public void getPrescriptionBaseInfoListPage(com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE, responseObserver);
    }

    /**
     * <pre>
     *获取账单
     * </pre>
     */
    public void getOrderBill(com.ywt.gapi.drug.GetOrderBillRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetOrderBillResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_ORDER_BILL, responseObserver);
    }

    /**
     * <pre>
     *生成处方二维码
     * </pre>
     */
    public void genRpQRCode(com.ywt.gapi.drug.GenRpQRCodeRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GenRpQRCodeResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GEN_RP_QRCODE, responseObserver);
    }

    /**
     * <pre>
     * 根据处方单ID、取药方式获取药房列表
     * </pre>
     */
    public void listPharmacy(com.ywt.gapi.drug.ListPharmacyRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.ListPharmacyResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_LIST_PHARMACY, responseObserver);
    }

    /**
     * <pre>
     * 处方单划价，返回处方单药品在指定药房的价格明细和总价
     * </pre>
     */
    public void priced(com.ywt.gapi.drug.PricedRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PricedResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_PRICED, responseObserver);
    }

    /**
     * <pre>
     *分页获取处方单记录列表(只有广三his的处方)
     * </pre>
     */
    public void getPrescriptionBaseInfoListPageWithOnlyHis(com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE_WITH_ONLY_HIS, responseObserver);
    }

    /**
     * <pre>
     *支付成功之后发送订阅消息
     * </pre>
     */
    public void sendSubscribeMessageAfterPaySuccess(com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.Result> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_SEND_SUBSCRIBE_MESSAGE_AFTER_PAY_SUCCESS, responseObserver);
    }

    /**
     * <pre>
     * 根据keyname获取系统设置
     * </pre>
     */
    public void getSysSettingByKeyname(com.ywt.gapi.drug.GetSysSettingByKeynameRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetSysSettingByKeynameResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_SYS_SETTING_BY_KEYNAME, responseObserver);
    }

    /**
     * <pre>
     * 根据 userId 获取一键挂号流水号列表
     * </pre>
     */
    public void getOneKeyRegList(com.ywt.gapi.drug.GetOneKeyRegListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetOneKeyRegListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_ONE_KEY_REG_LIST, responseObserver);
    }

    /**
     * <pre>
     * 更新 HIS 处方信息
     * </pre>
     */
    public void updateHisPresInfo(com.ywt.gapi.drug.UpdateHisPresInfoRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.Result> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_UPDATE_HIS_PRES_INFO, responseObserver);
    }

    /**
     * <pre>
     * 作废处方
     * </pre>
     */
    public void cancelPres(com.ywt.gapi.drug.CancelPresRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.Result> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_CANCEL_PRES, responseObserver);
    }

    /**
     * <pre>
     * 获取药品详情
     * </pre>
     */
    public void getDrugDetail(com.ywt.gapi.drug.GetDrugDetailRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDrugDetailResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_DRUG_DETAIL, responseObserver);
    }

    /**
     * <pre>
     * 查询医生是否支持回写 HIS 处方
     * </pre>
     */
    public void checkIfDoctorWriteBack(com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_CHECK_IF_DOCTOR_WRITE_BACK, responseObserver);
    }

    /**
     * <pre>
     * 获取最近一张未支付的回写处方
     * </pre>
     */
    public void getLatestUnpaidHisPres(com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_GET_LATEST_UNPAID_HIS_PRES, responseObserver);
    }

    /**
     * <pre>
     * 根据关键字查询药品说明
     * </pre>
     */
    public void queryDrugInstruction(com.ywt.gapi.drug.QueryDrugInstructionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.QueryDrugInstructionResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_QUERY_DRUG_INSTRUCTION, responseObserver);
    }

    /**
     * <pre>
     * 修改处方地址
     * </pre>
     */
    public void updatePresAddress(com.ywt.gapi.drug.UpdatePresAddressRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.UpdatePresAddressResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_UPDATE_PRES_ADDRESS, responseObserver);
    }

    /**
     * <pre>
     * 更新处方信息
     * </pre>
     */
    public void updatePresInfo(com.ywt.gapi.drug.UpdatePresInfoRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.Result> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_UPDATE_PRES_INFO, responseObserver);
    }

    /**
     * <pre>
     *  根据oderNos和日期获取处方订单
     * </pre>
     */
    public void queryPresInfoBillList(com.ywt.gapi.drug.QueryPresInfoBillListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.QueryPresInfoBillListResponse> responseObserver) {
      asyncUnimplementedUnaryCall(METHOD_QUERY_PRES_INFO_BILL_LIST, responseObserver);
    }

    @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
      return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
          .addMethod(
            METHOD_SAVE_PRESCRIPTION,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.SavePrescriptionRequest,
                com.ywt.gapi.drug.SavePrescriptionResponse>(
                  this, METHODID_SAVE_PRESCRIPTION)))
          .addMethod(
            METHOD_GET_PRESCRIPTION,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetPrescriptionRequest,
                com.ywt.gapi.drug.GetPrescriptionResponse>(
                  this, METHODID_GET_PRESCRIPTION)))
          .addMethod(
            METHOD_PRESCRIPTION_PRE_PAY,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.PrescriptionPrePayRequest,
                com.ywt.gapi.drug.PrescriptionPrePayResponse>(
                  this, METHODID_PRESCRIPTION_PRE_PAY)))
          .addMethod(
            METHOD_SAVE_PRESCRIPTION_PAYMENT,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.SavePrescriptionPaymentRequest,
                com.ywt.gapi.drug.SavePrescriptionPaymentResponse>(
                  this, METHODID_SAVE_PRESCRIPTION_PAYMENT)))
          .addMethod(
            METHOD_PRESCRIPTION_WX_PAY_CALLBACK,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest,
                com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse>(
                  this, METHODID_PRESCRIPTION_WX_PAY_CALLBACK)))
          .addMethod(
            METHOD_SAVE_PRESCRIPTION_INFO,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.SavePrescriptionInfoRequest,
                com.ywt.gapi.drug.SavePrescriptionInfoResponse>(
                  this, METHODID_SAVE_PRESCRIPTION_INFO)))
          .addMethod(
            METHOD_GET_DICT_TYPE_LIST,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetDictTypeListRequest,
                com.ywt.gapi.drug.GetDictTypeListResponse>(
                  this, METHODID_GET_DICT_TYPE_LIST)))
          .addMethod(
            METHOD_GET_DRUG_LIST,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetDrugListRequest,
                com.ywt.gapi.drug.GetDrugListResponse>(
                  this, METHODID_GET_DRUG_LIST)))
          .addMethod(
            METHOD_GET_RECORD_LIST,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetRecordListRequest,
                com.ywt.gapi.drug.GetRecordListResponse>(
                  this, METHODID_GET_RECORD_LIST)))
          .addMethod(
            METHOD_GET_USER_RECORD_LIST,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetUserRecordListRequest,
                com.ywt.gapi.drug.GetUserRecordListResponse>(
                  this, METHODID_GET_USER_RECORD_LIST)))
          .addMethod(
            METHOD_SAVE_DELIVERY_METHOD,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.SaveDeliveryMethodRequest,
                com.ywt.gapi.drug.SaveDeliveryMethodResponse>(
                  this, METHODID_SAVE_DELIVERY_METHOD)))
          .addMethod(
            METHOD_TODAY_PRESCRIBE_COUNT,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.TodayPrescribeCountRequest,
                com.ywt.gapi.drug.TodayPrescribeCountResponse>(
                  this, METHODID_TODAY_PRESCRIBE_COUNT)))
          .addMethod(
            METHOD_GET_DRUG_USAGE_INSTRUCTION,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetDrugUsageInstructionRequest,
                com.ywt.gapi.drug.GetDrugUsageInstructionResponse>(
                  this, METHODID_GET_DRUG_USAGE_INSTRUCTION)))
          .addMethod(
            METHOD_SAVE_PRESCRIPTION_DETAIL,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.SavePrescriptionDetailRequest,
                com.ywt.gapi.drug.SavePrescriptionDetailResponse>(
                  this, METHODID_SAVE_PRESCRIPTION_DETAIL)))
          .addMethod(
            METHOD_GET_RECORD_LIST_INFO,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetRecordListInfoRequest,
                com.ywt.gapi.drug.GetRecordListInfoResponse>(
                  this, METHODID_GET_RECORD_LIST_INFO)))
          .addMethod(
            METHOD_GET_PRESCRIPTION_DETAIL,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetPrescriptionDetailRequest,
                com.ywt.gapi.drug.GetPrescriptionDetailResponse>(
                  this, METHODID_GET_PRESCRIPTION_DETAIL)))
          .addMethod(
            METHOD_GET_DRUG_FREQUENCY_LIST,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetDrugFrequencyListRequest,
                com.ywt.gapi.drug.GetDrugFrequencyListResponse>(
                  this, METHODID_GET_DRUG_FREQUENCY_LIST)))
          .addMethod(
            METHOD_GET_PRESCRIPTION_BY_ID,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetPrescriptionByIdRequest,
                com.ywt.gapi.drug.GetPrescriptionByIdResponse>(
                  this, METHODID_GET_PRESCRIPTION_BY_ID)))
          .addMethod(
            METHOD_GET_PHARMACY_LIST,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetPharmacyListRequest,
                com.ywt.gapi.drug.GetPharmacyListResponse>(
                  this, METHODID_GET_PHARMACY_LIST)))
          .addMethod(
            METHOD_GET_PRESCRIPTION_BASE_INFO_LIST,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest,
                com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>(
                  this, METHODID_GET_PRESCRIPTION_BASE_INFO_LIST)))
          .addMethod(
            METHOD_GET_HIS_PRESCRIPTION_BASE_INFO_LIST,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest,
                com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>(
                  this, METHODID_GET_HIS_PRESCRIPTION_BASE_INFO_LIST)))
          .addMethod(
            METHOD_GET_DOCTOR_DRUG_LIST,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetDoctorDrugListRequest,
                com.ywt.gapi.drug.GetDoctorDrugListResponse>(
                  this, METHODID_GET_DOCTOR_DRUG_LIST)))
          .addMethod(
            METHOD_SAVE_PRESCRIPTION_EXPRESS_ADDRESS,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest,
                com.ywt.gapi.drug.ResultResponse>(
                  this, METHODID_SAVE_PRESCRIPTION_EXPRESS_ADDRESS)))
          .addMethod(
            METHOD_GET_ICD_LIST,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetIcdListRequest,
                com.ywt.gapi.drug.GetIcdListResponse>(
                  this, METHODID_GET_ICD_LIST)))
          .addMethod(
            METHOD_COMPUTE_DOCTOR_DRUG,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.ComputeDoctorDrugRequest,
                com.ywt.gapi.drug.ComputeDoctorDrugResponse>(
                  this, METHODID_COMPUTE_DOCTOR_DRUG)))
          .addMethod(
            METHOD_SAVE_PRESCRIPTION_FEE,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.SavePrescriptionFeeRequest,
                com.ywt.gapi.Result>(
                  this, METHODID_SAVE_PRESCRIPTION_FEE)))
          .addMethod(
            METHOD_PAY_PRESCRIPTION,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.PayPrescriptionRequest,
                com.ywt.gapi.drug.PayPrescriptionResponse>(
                  this, METHODID_PAY_PRESCRIPTION)))
          .addMethod(
            METHOD_PRICED_PRESCRIPTION,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.PricedPrescriptionRequest,
                com.ywt.gapi.drug.PricedPrescriptionResponse>(
                  this, METHODID_PRICED_PRESCRIPTION)))
          .addMethod(
            METHOD_GET_PRESCRIPTION_BASE_INFO_BY_ID,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest,
                com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse>(
                  this, METHODID_GET_PRESCRIPTION_BASE_INFO_BY_ID)))
          .addMethod(
            METHOD_GET_G3PHARMACY_LIST,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetG3PharmacyListRequest,
                com.ywt.gapi.drug.GetG3PharmacyListResponse>(
                  this, METHODID_GET_G3PHARMACY_LIST)))
          .addMethod(
            METHOD_SAVE_G3PRESCRIPTION_INFO_PHARMACY,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest,
                com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse>(
                  this, METHODID_SAVE_G3PRESCRIPTION_INFO_PHARMACY)))
          .addMethod(
            METHOD_GET_PRESCRIPTION_BY,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetPrescriptionRequest,
                com.ywt.gapi.drug.GetPrescriptionResponse>(
                  this, METHODID_GET_PRESCRIPTION_BY)))
          .addMethod(
            METHOD_ORDER_PAYMENT_CALLBACK_NOTIFY,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest,
                com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse>(
                  this, METHODID_ORDER_PAYMENT_CALLBACK_NOTIFY)))
          .addMethod(
            METHOD_RECV_PRESCRIPTION_STATUS_FROM3TH,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest,
                com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse>(
                  this, METHODID_RECV_PRESCRIPTION_STATUS_FROM3TH)))
          .addMethod(
            METHOD_UPDATE_PRESCRIPTION_PATIENT_INFO,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest,
                com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse>(
                  this, METHODID_UPDATE_PRESCRIPTION_PATIENT_INFO)))
          .addMethod(
            METHOD_SAVE_ORDER_DELIVERY_INFO,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest,
                com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse>(
                  this, METHODID_SAVE_ORDER_DELIVERY_INFO)))
          .addMethod(
            METHOD_COMMENT_PRESCRIPTION,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.CommentPrescriptionRequest,
                com.ywt.gapi.drug.CommentPrescriptionResponse>(
                  this, METHODID_COMMENT_PRESCRIPTION)))
          .addMethod(
            METHOD_CREATE_DOCTOR_COMMON_USED_DRUGS,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest,
                com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse>(
                  this, METHODID_CREATE_DOCTOR_COMMON_USED_DRUGS)))
          .addMethod(
            METHOD_GET_PHARMACY_LIST_BY_TYPE,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetPharmacyListByTypeRequest,
                com.ywt.gapi.drug.GetPharmacyListByTypeResponse>(
                  this, METHODID_GET_PHARMACY_LIST_BY_TYPE)))
          .addMethod(
            METHOD_GET_PHARMACY,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetPharmacyRequest,
                com.ywt.gapi.drug.GetPharmacyResponse>(
                  this, METHODID_GET_PHARMACY)))
          .addMethod(
            METHOD_REFUND_NOTIFY,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.RefundNotifyRequest,
                com.ywt.gapi.drug.RefundNotifyResponse>(
                  this, METHODID_REFUND_NOTIFY)))
          .addMethod(
            METHOD_DELETE_DOCTOR_COMMON_USED_DRUGS,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest,
                com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse>(
                  this, METHODID_DELETE_DOCTOR_COMMON_USED_DRUGS)))
          .addMethod(
            METHOD_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest,
                com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>(
                  this, METHODID_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE)))
          .addMethod(
            METHOD_GET_ORDER_BILL,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetOrderBillRequest,
                com.ywt.gapi.drug.GetOrderBillResponse>(
                  this, METHODID_GET_ORDER_BILL)))
          .addMethod(
            METHOD_GEN_RP_QRCODE,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GenRpQRCodeRequest,
                com.ywt.gapi.drug.GenRpQRCodeResponse>(
                  this, METHODID_GEN_RP_QRCODE)))
          .addMethod(
            METHOD_LIST_PHARMACY,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.ListPharmacyRequest,
                com.ywt.gapi.drug.ListPharmacyResponse>(
                  this, METHODID_LIST_PHARMACY)))
          .addMethod(
            METHOD_PRICED,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.PricedRequest,
                com.ywt.gapi.drug.PricedResponse>(
                  this, METHODID_PRICED)))
          .addMethod(
            METHOD_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE_WITH_ONLY_HIS,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest,
                com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>(
                  this, METHODID_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE_WITH_ONLY_HIS)))
          .addMethod(
            METHOD_SEND_SUBSCRIBE_MESSAGE_AFTER_PAY_SUCCESS,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest,
                com.ywt.gapi.Result>(
                  this, METHODID_SEND_SUBSCRIBE_MESSAGE_AFTER_PAY_SUCCESS)))
          .addMethod(
            METHOD_GET_SYS_SETTING_BY_KEYNAME,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetSysSettingByKeynameRequest,
                com.ywt.gapi.drug.GetSysSettingByKeynameResponse>(
                  this, METHODID_GET_SYS_SETTING_BY_KEYNAME)))
          .addMethod(
            METHOD_GET_ONE_KEY_REG_LIST,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetOneKeyRegListRequest,
                com.ywt.gapi.drug.GetOneKeyRegListResponse>(
                  this, METHODID_GET_ONE_KEY_REG_LIST)))
          .addMethod(
            METHOD_UPDATE_HIS_PRES_INFO,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.UpdateHisPresInfoRequest,
                com.ywt.gapi.Result>(
                  this, METHODID_UPDATE_HIS_PRES_INFO)))
          .addMethod(
            METHOD_CANCEL_PRES,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.CancelPresRequest,
                com.ywt.gapi.Result>(
                  this, METHODID_CANCEL_PRES)))
          .addMethod(
            METHOD_GET_DRUG_DETAIL,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetDrugDetailRequest,
                com.ywt.gapi.drug.GetDrugDetailResponse>(
                  this, METHODID_GET_DRUG_DETAIL)))
          .addMethod(
            METHOD_CHECK_IF_DOCTOR_WRITE_BACK,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest,
                com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse>(
                  this, METHODID_CHECK_IF_DOCTOR_WRITE_BACK)))
          .addMethod(
            METHOD_GET_LATEST_UNPAID_HIS_PRES,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest,
                com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse>(
                  this, METHODID_GET_LATEST_UNPAID_HIS_PRES)))
          .addMethod(
            METHOD_QUERY_DRUG_INSTRUCTION,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.QueryDrugInstructionRequest,
                com.ywt.gapi.drug.QueryDrugInstructionResponse>(
                  this, METHODID_QUERY_DRUG_INSTRUCTION)))
          .addMethod(
            METHOD_UPDATE_PRES_ADDRESS,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.UpdatePresAddressRequest,
                com.ywt.gapi.drug.UpdatePresAddressResponse>(
                  this, METHODID_UPDATE_PRES_ADDRESS)))
          .addMethod(
            METHOD_UPDATE_PRES_INFO,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.UpdatePresInfoRequest,
                com.ywt.gapi.Result>(
                  this, METHODID_UPDATE_PRES_INFO)))
          .addMethod(
            METHOD_QUERY_PRES_INFO_BILL_LIST,
            asyncUnaryCall(
              new MethodHandlers<
                com.ywt.gapi.drug.QueryPresInfoBillListRequest,
                com.ywt.gapi.drug.QueryPresInfoBillListResponse>(
                  this, METHODID_QUERY_PRES_INFO_BILL_LIST)))
          .build();
    }
  }

  /**
   * <pre>
   *药品相关服务
   * </pre>
   */
  public static final class DrugServiceStub extends io.grpc.stub.AbstractStub<DrugServiceStub> {
    private DrugServiceStub(io.grpc.Channel channel) {
      super(channel);
    }

    private DrugServiceStub(io.grpc.Channel channel,
        io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected DrugServiceStub build(io.grpc.Channel channel,
        io.grpc.CallOptions callOptions) {
      return new DrugServiceStub(channel, callOptions);
    }

    /**
     * <pre>
     *保存处方信息
     * </pre>
     */
    public void savePrescription(com.ywt.gapi.drug.SavePrescriptionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SavePrescriptionResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_SAVE_PRESCRIPTION, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     */
    public void getPrescription(com.ywt.gapi.drug.GetPrescriptionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *检查并生成处方支付流水号
     * </pre>
     */
    public void prescriptionPrePay(com.ywt.gapi.drug.PrescriptionPrePayRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PrescriptionPrePayResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_PRESCRIPTION_PRE_PAY, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *保存处方支付流水明细
     * </pre>
     */
    public void savePrescriptionPayment(com.ywt.gapi.drug.SavePrescriptionPaymentRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SavePrescriptionPaymentResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_SAVE_PRESCRIPTION_PAYMENT, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *处方微信支付回调
     * </pre>
     */
    public void prescriptionWxPayCallback(com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_PRESCRIPTION_WX_PAY_CALLBACK, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *保存处方单患者信息
     * </pre>
     */
    public void savePrescriptionInfo(com.ywt.gapi.drug.SavePrescriptionInfoRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SavePrescriptionInfoResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_SAVE_PRESCRIPTION_INFO, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取字典数据
     * </pre>
     */
    public void getDictTypeList(com.ywt.gapi.drug.GetDictTypeListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDictTypeListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_DICT_TYPE_LIST, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取药品列表
     * </pre>
     */
    public void getDrugList(com.ywt.gapi.drug.GetDrugListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDrugListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_DRUG_LIST, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取处方单记录列表
     * </pre>
     */
    public void getRecordList(com.ywt.gapi.drug.GetRecordListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetRecordListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_RECORD_LIST, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取用户处方单记录列表
     * </pre>
     */
    public void getUserRecordList(com.ywt.gapi.drug.GetUserRecordListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetUserRecordListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_USER_RECORD_LIST, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *保存取药方式
     * </pre>
     */
    public void saveDeliveryMethod(com.ywt.gapi.drug.SaveDeliveryMethodRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SaveDeliveryMethodResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_SAVE_DELIVERY_METHOD, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *今日开方统计
     * </pre>
     */
    public void todayPrescribeCount(com.ywt.gapi.drug.TodayPrescribeCountRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.TodayPrescribeCountResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_TODAY_PRESCRIBE_COUNT, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取药品用法说明
     * </pre>
     */
    public void getDrugUsageInstruction(com.ywt.gapi.drug.GetDrugUsageInstructionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDrugUsageInstructionResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_DRUG_USAGE_INSTRUCTION, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *保存处方单患者信息  create by daiyihua
     * </pre>
     */
    public void savePrescriptionDetail(com.ywt.gapi.drug.SavePrescriptionDetailRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SavePrescriptionDetailResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_SAVE_PRESCRIPTION_DETAIL, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取处方单记录列表(医生端查找)  create by daiyihua
     * </pre>
     */
    public void getRecordListInfo(com.ywt.gapi.drug.GetRecordListInfoRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetRecordListInfoResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_RECORD_LIST_INFO, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     */
    public void getPrescriptionDetail(com.ywt.gapi.drug.GetPrescriptionDetailRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionDetailResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION_DETAIL, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *取用药频率列表
     * </pre>
     */
    public void getDrugFrequencyList(com.ywt.gapi.drug.GetDrugFrequencyListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDrugFrequencyListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_DRUG_FREQUENCY_LIST, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 根据处方单记录获取处方信息
     * </pre>
     */
    public void getPrescriptionById(com.ywt.gapi.drug.GetPrescriptionByIdRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionByIdResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION_BY_ID, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取药房列表
     * </pre>
     */
    public void getPharmacyList(com.ywt.gapi.drug.GetPharmacyListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPharmacyListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_PHARMACY_LIST, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取处方单记录列表（患者端查找，his_order_no为空的数据）  create by daiyihua
     * </pre>
     */
    public void getPrescriptionBaseInfoList(com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION_BASE_INFO_LIST, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取his处方单记录列表（患者端查找）  create by daiyihua
     * </pre>
     */
    public void getHisPrescriptionBaseInfoList(com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_HIS_PRESCRIPTION_BASE_INFO_LIST, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *医生常用药列表
     * </pre>
     */
    public void getDoctorDrugList(com.ywt.gapi.drug.GetDoctorDrugListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDoctorDrugListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_DOCTOR_DRUG_LIST, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 保存处方快递地址
     * </pre>
     */
    public void savePrescriptionExpressAddress(com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.ResultResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_SAVE_PRESCRIPTION_EXPRESS_ADDRESS, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取国际疾病分类
     * </pre>
     */
    public void getIcdList(com.ywt.gapi.drug.GetIcdListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetIcdListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_ICD_LIST, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *统计医生开方的药品数量
     * </pre>
     */
    public void computeDoctorDrug(com.ywt.gapi.drug.ComputeDoctorDrugRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.ComputeDoctorDrugResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_COMPUTE_DOCTOR_DRUG, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 保存处方需要支付的费用
     * </pre>
     */
    public void savePrescriptionFee(com.ywt.gapi.drug.SavePrescriptionFeeRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.Result> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_SAVE_PRESCRIPTION_FEE, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *处方单完成支付
     * </pre>
     */
    public void payPrescription(com.ywt.gapi.drug.PayPrescriptionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PayPrescriptionResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_PAY_PRESCRIPTION, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *处方单划价
     * </pre>
     */
    public void pricedPrescription(com.ywt.gapi.drug.PricedPrescriptionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PricedPrescriptionResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_PRICED_PRESCRIPTION, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 根据处方ID获取处方基本信息  create by daiyihua
     * </pre>
     */
    public void getPrescriptionBaseInfoById(com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION_BASE_INFO_BY_ID, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取广三药房列表
     * </pre>
     */
    public void getG3PharmacyList(com.ywt.gapi.drug.GetG3PharmacyListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetG3PharmacyListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_G3PHARMACY_LIST, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 广三处方订单保存药房地址
     * </pre>
     */
    public void saveG3PrescriptionInfoPharmacy(com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_SAVE_G3PRESCRIPTION_INFO_PHARMACY, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     */
    public void getPrescriptionBy(com.ywt.gapi.drug.GetPrescriptionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION_BY, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *订单中心支付成功回调通知
     * </pre>
     */
    public void orderPaymentCallbackNotify(com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_ORDER_PAYMENT_CALLBACK_NOTIFY, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *接收第三方状态上报
     * </pre>
     */
    public void recvPrescriptionStatusFrom3th(com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_RECV_PRESCRIPTION_STATUS_FROM3TH, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *更新处方单患者信息
     * </pre>
     */
    public void updatePrescriptionPatientInfo(com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_UPDATE_PRESCRIPTION_PATIENT_INFO, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *保存处方订单配送信息
     * </pre>
     */
    public void saveOrderDeliveryInfo(com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_SAVE_ORDER_DELIVERY_INFO, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *处方单评价
     * </pre>
     */
    public void commentPrescription(com.ywt.gapi.drug.CommentPrescriptionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.CommentPrescriptionResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_COMMENT_PRESCRIPTION, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *添加医生常用药
     * </pre>
     */
    public void createDoctorCommonUsedDrugs(com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_CREATE_DOCTOR_COMMON_USED_DRUGS, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 获取可用的药房列表
     * </pre>
     */
    public void getPharmacyListByType(com.ywt.gapi.drug.GetPharmacyListByTypeRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPharmacyListByTypeResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_PHARMACY_LIST_BY_TYPE, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取药房数据
     * </pre>
     */
    public void getPharmacy(com.ywt.gapi.drug.GetPharmacyRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPharmacyResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_PHARMACY, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *退款结果通知
     * </pre>
     */
    public void refundNotify(com.ywt.gapi.drug.RefundNotifyRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.RefundNotifyResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_REFUND_NOTIFY, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *删除医生常用药
     * </pre>
     */
    public void deleteDoctorCommonUsedDrugs(com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_DELETE_DOCTOR_COMMON_USED_DRUGS, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *分页获取处方单记录列表
     * </pre>
     */
    public void getPrescriptionBaseInfoListPage(com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *获取账单
     * </pre>
     */
    public void getOrderBill(com.ywt.gapi.drug.GetOrderBillRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetOrderBillResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_ORDER_BILL, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *生成处方二维码
     * </pre>
     */
    public void genRpQRCode(com.ywt.gapi.drug.GenRpQRCodeRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GenRpQRCodeResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GEN_RP_QRCODE, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 根据处方单ID、取药方式获取药房列表
     * </pre>
     */
    public void listPharmacy(com.ywt.gapi.drug.ListPharmacyRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.ListPharmacyResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_LIST_PHARMACY, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 处方单划价，返回处方单药品在指定药房的价格明细和总价
     * </pre>
     */
    public void priced(com.ywt.gapi.drug.PricedRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PricedResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_PRICED, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *分页获取处方单记录列表(只有广三his的处方)
     * </pre>
     */
    public void getPrescriptionBaseInfoListPageWithOnlyHis(com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE_WITH_ONLY_HIS, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *支付成功之后发送订阅消息
     * </pre>
     */
    public void sendSubscribeMessageAfterPaySuccess(com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.Result> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_SEND_SUBSCRIBE_MESSAGE_AFTER_PAY_SUCCESS, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 根据keyname获取系统设置
     * </pre>
     */
    public void getSysSettingByKeyname(com.ywt.gapi.drug.GetSysSettingByKeynameRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetSysSettingByKeynameResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_SYS_SETTING_BY_KEYNAME, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 根据 userId 获取一键挂号流水号列表
     * </pre>
     */
    public void getOneKeyRegList(com.ywt.gapi.drug.GetOneKeyRegListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetOneKeyRegListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_ONE_KEY_REG_LIST, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 更新 HIS 处方信息
     * </pre>
     */
    public void updateHisPresInfo(com.ywt.gapi.drug.UpdateHisPresInfoRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.Result> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_UPDATE_HIS_PRES_INFO, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 作废处方
     * </pre>
     */
    public void cancelPres(com.ywt.gapi.drug.CancelPresRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.Result> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_CANCEL_PRES, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 获取药品详情
     * </pre>
     */
    public void getDrugDetail(com.ywt.gapi.drug.GetDrugDetailRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDrugDetailResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_DRUG_DETAIL, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 查询医生是否支持回写 HIS 处方
     * </pre>
     */
    public void checkIfDoctorWriteBack(com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_CHECK_IF_DOCTOR_WRITE_BACK, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 获取最近一张未支付的回写处方
     * </pre>
     */
    public void getLatestUnpaidHisPres(com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_GET_LATEST_UNPAID_HIS_PRES, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 根据关键字查询药品说明
     * </pre>
     */
    public void queryDrugInstruction(com.ywt.gapi.drug.QueryDrugInstructionRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.QueryDrugInstructionResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_QUERY_DRUG_INSTRUCTION, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 修改处方地址
     * </pre>
     */
    public void updatePresAddress(com.ywt.gapi.drug.UpdatePresAddressRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.UpdatePresAddressResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_UPDATE_PRES_ADDRESS, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     * 更新处方信息
     * </pre>
     */
    public void updatePresInfo(com.ywt.gapi.drug.UpdatePresInfoRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.Result> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_UPDATE_PRES_INFO, getCallOptions()), request, responseObserver);
    }

    /**
     * <pre>
     *  根据oderNos和日期获取处方订单
     * </pre>
     */
    public void queryPresInfoBillList(com.ywt.gapi.drug.QueryPresInfoBillListRequest request,
        io.grpc.stub.StreamObserver<com.ywt.gapi.drug.QueryPresInfoBillListResponse> responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_QUERY_PRES_INFO_BILL_LIST, getCallOptions()), request, responseObserver);
    }
  }

  /**
   * <pre>
   *药品相关服务
   * </pre>
   */
  public static final class DrugServiceBlockingStub extends io.grpc.stub.AbstractStub<DrugServiceBlockingStub> {
    private DrugServiceBlockingStub(io.grpc.Channel channel) {
      super(channel);
    }

    private DrugServiceBlockingStub(io.grpc.Channel channel,
        io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected DrugServiceBlockingStub build(io.grpc.Channel channel,
        io.grpc.CallOptions callOptions) {
      return new DrugServiceBlockingStub(channel, callOptions);
    }

    /**
     * <pre>
     *保存处方信息
     * </pre>
     */
    public com.ywt.gapi.drug.SavePrescriptionResponse savePrescription(com.ywt.gapi.drug.SavePrescriptionRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_SAVE_PRESCRIPTION, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     */
    public com.ywt.gapi.drug.GetPrescriptionResponse getPrescription(com.ywt.gapi.drug.GetPrescriptionRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_PRESCRIPTION, getCallOptions(), request);
    }

    /**
     * <pre>
     *检查并生成处方支付流水号
     * </pre>
     */
    public com.ywt.gapi.drug.PrescriptionPrePayResponse prescriptionPrePay(com.ywt.gapi.drug.PrescriptionPrePayRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_PRESCRIPTION_PRE_PAY, getCallOptions(), request);
    }

    /**
     * <pre>
     *保存处方支付流水明细
     * </pre>
     */
    public com.ywt.gapi.drug.SavePrescriptionPaymentResponse savePrescriptionPayment(com.ywt.gapi.drug.SavePrescriptionPaymentRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_SAVE_PRESCRIPTION_PAYMENT, getCallOptions(), request);
    }

    /**
     * <pre>
     *处方微信支付回调
     * </pre>
     */
    public com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse prescriptionWxPayCallback(com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_PRESCRIPTION_WX_PAY_CALLBACK, getCallOptions(), request);
    }

    /**
     * <pre>
     *保存处方单患者信息
     * </pre>
     */
    public com.ywt.gapi.drug.SavePrescriptionInfoResponse savePrescriptionInfo(com.ywt.gapi.drug.SavePrescriptionInfoRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_SAVE_PRESCRIPTION_INFO, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取字典数据
     * </pre>
     */
    public com.ywt.gapi.drug.GetDictTypeListResponse getDictTypeList(com.ywt.gapi.drug.GetDictTypeListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_DICT_TYPE_LIST, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取药品列表
     * </pre>
     */
    public com.ywt.gapi.drug.GetDrugListResponse getDrugList(com.ywt.gapi.drug.GetDrugListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_DRUG_LIST, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取处方单记录列表
     * </pre>
     */
    public com.ywt.gapi.drug.GetRecordListResponse getRecordList(com.ywt.gapi.drug.GetRecordListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_RECORD_LIST, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取用户处方单记录列表
     * </pre>
     */
    public com.ywt.gapi.drug.GetUserRecordListResponse getUserRecordList(com.ywt.gapi.drug.GetUserRecordListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_USER_RECORD_LIST, getCallOptions(), request);
    }

    /**
     * <pre>
     *保存取药方式
     * </pre>
     */
    public com.ywt.gapi.drug.SaveDeliveryMethodResponse saveDeliveryMethod(com.ywt.gapi.drug.SaveDeliveryMethodRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_SAVE_DELIVERY_METHOD, getCallOptions(), request);
    }

    /**
     * <pre>
     *今日开方统计
     * </pre>
     */
    public com.ywt.gapi.drug.TodayPrescribeCountResponse todayPrescribeCount(com.ywt.gapi.drug.TodayPrescribeCountRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_TODAY_PRESCRIBE_COUNT, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取药品用法说明
     * </pre>
     */
    public com.ywt.gapi.drug.GetDrugUsageInstructionResponse getDrugUsageInstruction(com.ywt.gapi.drug.GetDrugUsageInstructionRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_DRUG_USAGE_INSTRUCTION, getCallOptions(), request);
    }

    /**
     * <pre>
     *保存处方单患者信息  create by daiyihua
     * </pre>
     */
    public com.ywt.gapi.drug.SavePrescriptionDetailResponse savePrescriptionDetail(com.ywt.gapi.drug.SavePrescriptionDetailRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_SAVE_PRESCRIPTION_DETAIL, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取处方单记录列表(医生端查找)  create by daiyihua
     * </pre>
     */
    public com.ywt.gapi.drug.GetRecordListInfoResponse getRecordListInfo(com.ywt.gapi.drug.GetRecordListInfoRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_RECORD_LIST_INFO, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     */
    public com.ywt.gapi.drug.GetPrescriptionDetailResponse getPrescriptionDetail(com.ywt.gapi.drug.GetPrescriptionDetailRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_PRESCRIPTION_DETAIL, getCallOptions(), request);
    }

    /**
     * <pre>
     *取用药频率列表
     * </pre>
     */
    public com.ywt.gapi.drug.GetDrugFrequencyListResponse getDrugFrequencyList(com.ywt.gapi.drug.GetDrugFrequencyListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_DRUG_FREQUENCY_LIST, getCallOptions(), request);
    }

    /**
     * <pre>
     * 根据处方单记录获取处方信息
     * </pre>
     */
    public com.ywt.gapi.drug.GetPrescriptionByIdResponse getPrescriptionById(com.ywt.gapi.drug.GetPrescriptionByIdRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_PRESCRIPTION_BY_ID, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取药房列表
     * </pre>
     */
    public com.ywt.gapi.drug.GetPharmacyListResponse getPharmacyList(com.ywt.gapi.drug.GetPharmacyListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_PHARMACY_LIST, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取处方单记录列表（患者端查找，his_order_no为空的数据）  create by daiyihua
     * </pre>
     */
    public com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse getPrescriptionBaseInfoList(com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_PRESCRIPTION_BASE_INFO_LIST, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取his处方单记录列表（患者端查找）  create by daiyihua
     * </pre>
     */
    public com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse getHisPrescriptionBaseInfoList(com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_HIS_PRESCRIPTION_BASE_INFO_LIST, getCallOptions(), request);
    }

    /**
     * <pre>
     *医生常用药列表
     * </pre>
     */
    public com.ywt.gapi.drug.GetDoctorDrugListResponse getDoctorDrugList(com.ywt.gapi.drug.GetDoctorDrugListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_DOCTOR_DRUG_LIST, getCallOptions(), request);
    }

    /**
     * <pre>
     * 保存处方快递地址
     * </pre>
     */
    public com.ywt.gapi.drug.ResultResponse savePrescriptionExpressAddress(com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_SAVE_PRESCRIPTION_EXPRESS_ADDRESS, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取国际疾病分类
     * </pre>
     */
    public com.ywt.gapi.drug.GetIcdListResponse getIcdList(com.ywt.gapi.drug.GetIcdListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_ICD_LIST, getCallOptions(), request);
    }

    /**
     * <pre>
     *统计医生开方的药品数量
     * </pre>
     */
    public com.ywt.gapi.drug.ComputeDoctorDrugResponse computeDoctorDrug(com.ywt.gapi.drug.ComputeDoctorDrugRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_COMPUTE_DOCTOR_DRUG, getCallOptions(), request);
    }

    /**
     * <pre>
     * 保存处方需要支付的费用
     * </pre>
     */
    public com.ywt.gapi.Result savePrescriptionFee(com.ywt.gapi.drug.SavePrescriptionFeeRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_SAVE_PRESCRIPTION_FEE, getCallOptions(), request);
    }

    /**
     * <pre>
     *处方单完成支付
     * </pre>
     */
    public com.ywt.gapi.drug.PayPrescriptionResponse payPrescription(com.ywt.gapi.drug.PayPrescriptionRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_PAY_PRESCRIPTION, getCallOptions(), request);
    }

    /**
     * <pre>
     *处方单划价
     * </pre>
     */
    public com.ywt.gapi.drug.PricedPrescriptionResponse pricedPrescription(com.ywt.gapi.drug.PricedPrescriptionRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_PRICED_PRESCRIPTION, getCallOptions(), request);
    }

    /**
     * <pre>
     * 根据处方ID获取处方基本信息  create by daiyihua
     * </pre>
     */
    public com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse getPrescriptionBaseInfoById(com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_PRESCRIPTION_BASE_INFO_BY_ID, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取广三药房列表
     * </pre>
     */
    public com.ywt.gapi.drug.GetG3PharmacyListResponse getG3PharmacyList(com.ywt.gapi.drug.GetG3PharmacyListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_G3PHARMACY_LIST, getCallOptions(), request);
    }

    /**
     * <pre>
     * 广三处方订单保存药房地址
     * </pre>
     */
    public com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse saveG3PrescriptionInfoPharmacy(com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_SAVE_G3PRESCRIPTION_INFO_PHARMACY, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     */
    public com.ywt.gapi.drug.GetPrescriptionResponse getPrescriptionBy(com.ywt.gapi.drug.GetPrescriptionRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_PRESCRIPTION_BY, getCallOptions(), request);
    }

    /**
     * <pre>
     *订单中心支付成功回调通知
     * </pre>
     */
    public com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse orderPaymentCallbackNotify(com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_ORDER_PAYMENT_CALLBACK_NOTIFY, getCallOptions(), request);
    }

    /**
     * <pre>
     *接收第三方状态上报
     * </pre>
     */
    public com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse recvPrescriptionStatusFrom3th(com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_RECV_PRESCRIPTION_STATUS_FROM3TH, getCallOptions(), request);
    }

    /**
     * <pre>
     *更新处方单患者信息
     * </pre>
     */
    public com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse updatePrescriptionPatientInfo(com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_UPDATE_PRESCRIPTION_PATIENT_INFO, getCallOptions(), request);
    }

    /**
     * <pre>
     *保存处方订单配送信息
     * </pre>
     */
    public com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse saveOrderDeliveryInfo(com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_SAVE_ORDER_DELIVERY_INFO, getCallOptions(), request);
    }

    /**
     * <pre>
     *处方单评价
     * </pre>
     */
    public com.ywt.gapi.drug.CommentPrescriptionResponse commentPrescription(com.ywt.gapi.drug.CommentPrescriptionRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_COMMENT_PRESCRIPTION, getCallOptions(), request);
    }

    /**
     * <pre>
     *添加医生常用药
     * </pre>
     */
    public com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse createDoctorCommonUsedDrugs(com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_CREATE_DOCTOR_COMMON_USED_DRUGS, getCallOptions(), request);
    }

    /**
     * <pre>
     * 获取可用的药房列表
     * </pre>
     */
    public com.ywt.gapi.drug.GetPharmacyListByTypeResponse getPharmacyListByType(com.ywt.gapi.drug.GetPharmacyListByTypeRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_PHARMACY_LIST_BY_TYPE, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取药房数据
     * </pre>
     */
    public com.ywt.gapi.drug.GetPharmacyResponse getPharmacy(com.ywt.gapi.drug.GetPharmacyRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_PHARMACY, getCallOptions(), request);
    }

    /**
     * <pre>
     *退款结果通知
     * </pre>
     */
    public com.ywt.gapi.drug.RefundNotifyResponse refundNotify(com.ywt.gapi.drug.RefundNotifyRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_REFUND_NOTIFY, getCallOptions(), request);
    }

    /**
     * <pre>
     *删除医生常用药
     * </pre>
     */
    public com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse deleteDoctorCommonUsedDrugs(com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_DELETE_DOCTOR_COMMON_USED_DRUGS, getCallOptions(), request);
    }

    /**
     * <pre>
     *分页获取处方单记录列表
     * </pre>
     */
    public com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse getPrescriptionBaseInfoListPage(com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE, getCallOptions(), request);
    }

    /**
     * <pre>
     *获取账单
     * </pre>
     */
    public com.ywt.gapi.drug.GetOrderBillResponse getOrderBill(com.ywt.gapi.drug.GetOrderBillRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_ORDER_BILL, getCallOptions(), request);
    }

    /**
     * <pre>
     *生成处方二维码
     * </pre>
     */
    public com.ywt.gapi.drug.GenRpQRCodeResponse genRpQRCode(com.ywt.gapi.drug.GenRpQRCodeRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GEN_RP_QRCODE, getCallOptions(), request);
    }

    /**
     * <pre>
     * 根据处方单ID、取药方式获取药房列表
     * </pre>
     */
    public com.ywt.gapi.drug.ListPharmacyResponse listPharmacy(com.ywt.gapi.drug.ListPharmacyRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_LIST_PHARMACY, getCallOptions(), request);
    }

    /**
     * <pre>
     * 处方单划价，返回处方单药品在指定药房的价格明细和总价
     * </pre>
     */
    public com.ywt.gapi.drug.PricedResponse priced(com.ywt.gapi.drug.PricedRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_PRICED, getCallOptions(), request);
    }

    /**
     * <pre>
     *分页获取处方单记录列表(只有广三his的处方)
     * </pre>
     */
    public com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse getPrescriptionBaseInfoListPageWithOnlyHis(com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE_WITH_ONLY_HIS, getCallOptions(), request);
    }

    /**
     * <pre>
     *支付成功之后发送订阅消息
     * </pre>
     */
    public com.ywt.gapi.Result sendSubscribeMessageAfterPaySuccess(com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_SEND_SUBSCRIBE_MESSAGE_AFTER_PAY_SUCCESS, getCallOptions(), request);
    }

    /**
     * <pre>
     * 根据keyname获取系统设置
     * </pre>
     */
    public com.ywt.gapi.drug.GetSysSettingByKeynameResponse getSysSettingByKeyname(com.ywt.gapi.drug.GetSysSettingByKeynameRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_SYS_SETTING_BY_KEYNAME, getCallOptions(), request);
    }

    /**
     * <pre>
     * 根据 userId 获取一键挂号流水号列表
     * </pre>
     */
    public com.ywt.gapi.drug.GetOneKeyRegListResponse getOneKeyRegList(com.ywt.gapi.drug.GetOneKeyRegListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_ONE_KEY_REG_LIST, getCallOptions(), request);
    }

    /**
     * <pre>
     * 更新 HIS 处方信息
     * </pre>
     */
    public com.ywt.gapi.Result updateHisPresInfo(com.ywt.gapi.drug.UpdateHisPresInfoRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_UPDATE_HIS_PRES_INFO, getCallOptions(), request);
    }

    /**
     * <pre>
     * 作废处方
     * </pre>
     */
    public com.ywt.gapi.Result cancelPres(com.ywt.gapi.drug.CancelPresRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_CANCEL_PRES, getCallOptions(), request);
    }

    /**
     * <pre>
     * 获取药品详情
     * </pre>
     */
    public com.ywt.gapi.drug.GetDrugDetailResponse getDrugDetail(com.ywt.gapi.drug.GetDrugDetailRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_DRUG_DETAIL, getCallOptions(), request);
    }

    /**
     * <pre>
     * 查询医生是否支持回写 HIS 处方
     * </pre>
     */
    public com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse checkIfDoctorWriteBack(com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_CHECK_IF_DOCTOR_WRITE_BACK, getCallOptions(), request);
    }

    /**
     * <pre>
     * 获取最近一张未支付的回写处方
     * </pre>
     */
    public com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse getLatestUnpaidHisPres(com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_GET_LATEST_UNPAID_HIS_PRES, getCallOptions(), request);
    }

    /**
     * <pre>
     * 根据关键字查询药品说明
     * </pre>
     */
    public com.ywt.gapi.drug.QueryDrugInstructionResponse queryDrugInstruction(com.ywt.gapi.drug.QueryDrugInstructionRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_QUERY_DRUG_INSTRUCTION, getCallOptions(), request);
    }

    /**
     * <pre>
     * 修改处方地址
     * </pre>
     */
    public com.ywt.gapi.drug.UpdatePresAddressResponse updatePresAddress(com.ywt.gapi.drug.UpdatePresAddressRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_UPDATE_PRES_ADDRESS, getCallOptions(), request);
    }

    /**
     * <pre>
     * 更新处方信息
     * </pre>
     */
    public com.ywt.gapi.Result updatePresInfo(com.ywt.gapi.drug.UpdatePresInfoRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_UPDATE_PRES_INFO, getCallOptions(), request);
    }

    /**
     * <pre>
     *  根据oderNos和日期获取处方订单
     * </pre>
     */
    public com.ywt.gapi.drug.QueryPresInfoBillListResponse queryPresInfoBillList(com.ywt.gapi.drug.QueryPresInfoBillListRequest request) {
      return blockingUnaryCall(
          getChannel(), METHOD_QUERY_PRES_INFO_BILL_LIST, getCallOptions(), request);
    }
  }

  /**
   * <pre>
   *药品相关服务
   * </pre>
   */
  public static final class DrugServiceFutureStub extends io.grpc.stub.AbstractStub<DrugServiceFutureStub> {
    private DrugServiceFutureStub(io.grpc.Channel channel) {
      super(channel);
    }

    private DrugServiceFutureStub(io.grpc.Channel channel,
        io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected DrugServiceFutureStub build(io.grpc.Channel channel,
        io.grpc.CallOptions callOptions) {
      return new DrugServiceFutureStub(channel, callOptions);
    }

    /**
     * <pre>
     *保存处方信息
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.SavePrescriptionResponse> savePrescription(
        com.ywt.gapi.drug.SavePrescriptionRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_SAVE_PRESCRIPTION, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetPrescriptionResponse> getPrescription(
        com.ywt.gapi.drug.GetPrescriptionRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION, getCallOptions()), request);
    }

    /**
     * <pre>
     *检查并生成处方支付流水号
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.PrescriptionPrePayResponse> prescriptionPrePay(
        com.ywt.gapi.drug.PrescriptionPrePayRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_PRESCRIPTION_PRE_PAY, getCallOptions()), request);
    }

    /**
     * <pre>
     *保存处方支付流水明细
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.SavePrescriptionPaymentResponse> savePrescriptionPayment(
        com.ywt.gapi.drug.SavePrescriptionPaymentRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_SAVE_PRESCRIPTION_PAYMENT, getCallOptions()), request);
    }

    /**
     * <pre>
     *处方微信支付回调
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse> prescriptionWxPayCallback(
        com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_PRESCRIPTION_WX_PAY_CALLBACK, getCallOptions()), request);
    }

    /**
     * <pre>
     *保存处方单患者信息
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.SavePrescriptionInfoResponse> savePrescriptionInfo(
        com.ywt.gapi.drug.SavePrescriptionInfoRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_SAVE_PRESCRIPTION_INFO, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取字典数据
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetDictTypeListResponse> getDictTypeList(
        com.ywt.gapi.drug.GetDictTypeListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_DICT_TYPE_LIST, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取药品列表
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetDrugListResponse> getDrugList(
        com.ywt.gapi.drug.GetDrugListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_DRUG_LIST, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取处方单记录列表
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetRecordListResponse> getRecordList(
        com.ywt.gapi.drug.GetRecordListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_RECORD_LIST, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取用户处方单记录列表
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetUserRecordListResponse> getUserRecordList(
        com.ywt.gapi.drug.GetUserRecordListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_USER_RECORD_LIST, getCallOptions()), request);
    }

    /**
     * <pre>
     *保存取药方式
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.SaveDeliveryMethodResponse> saveDeliveryMethod(
        com.ywt.gapi.drug.SaveDeliveryMethodRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_SAVE_DELIVERY_METHOD, getCallOptions()), request);
    }

    /**
     * <pre>
     *今日开方统计
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.TodayPrescribeCountResponse> todayPrescribeCount(
        com.ywt.gapi.drug.TodayPrescribeCountRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_TODAY_PRESCRIBE_COUNT, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取药品用法说明
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetDrugUsageInstructionResponse> getDrugUsageInstruction(
        com.ywt.gapi.drug.GetDrugUsageInstructionRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_DRUG_USAGE_INSTRUCTION, getCallOptions()), request);
    }

    /**
     * <pre>
     *保存处方单患者信息  create by daiyihua
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.SavePrescriptionDetailResponse> savePrescriptionDetail(
        com.ywt.gapi.drug.SavePrescriptionDetailRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_SAVE_PRESCRIPTION_DETAIL, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取处方单记录列表(医生端查找)  create by daiyihua
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetRecordListInfoResponse> getRecordListInfo(
        com.ywt.gapi.drug.GetRecordListInfoRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_RECORD_LIST_INFO, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetPrescriptionDetailResponse> getPrescriptionDetail(
        com.ywt.gapi.drug.GetPrescriptionDetailRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION_DETAIL, getCallOptions()), request);
    }

    /**
     * <pre>
     *取用药频率列表
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetDrugFrequencyListResponse> getDrugFrequencyList(
        com.ywt.gapi.drug.GetDrugFrequencyListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_DRUG_FREQUENCY_LIST, getCallOptions()), request);
    }

    /**
     * <pre>
     * 根据处方单记录获取处方信息
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetPrescriptionByIdResponse> getPrescriptionById(
        com.ywt.gapi.drug.GetPrescriptionByIdRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION_BY_ID, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取药房列表
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetPharmacyListResponse> getPharmacyList(
        com.ywt.gapi.drug.GetPharmacyListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_PHARMACY_LIST, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取处方单记录列表（患者端查找，his_order_no为空的数据）  create by daiyihua
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> getPrescriptionBaseInfoList(
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION_BASE_INFO_LIST, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取his处方单记录列表（患者端查找）  create by daiyihua
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> getHisPrescriptionBaseInfoList(
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_HIS_PRESCRIPTION_BASE_INFO_LIST, getCallOptions()), request);
    }

    /**
     * <pre>
     *医生常用药列表
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetDoctorDrugListResponse> getDoctorDrugList(
        com.ywt.gapi.drug.GetDoctorDrugListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_DOCTOR_DRUG_LIST, getCallOptions()), request);
    }

    /**
     * <pre>
     * 保存处方快递地址
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.ResultResponse> savePrescriptionExpressAddress(
        com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_SAVE_PRESCRIPTION_EXPRESS_ADDRESS, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取国际疾病分类
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetIcdListResponse> getIcdList(
        com.ywt.gapi.drug.GetIcdListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_ICD_LIST, getCallOptions()), request);
    }

    /**
     * <pre>
     *统计医生开方的药品数量
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.ComputeDoctorDrugResponse> computeDoctorDrug(
        com.ywt.gapi.drug.ComputeDoctorDrugRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_COMPUTE_DOCTOR_DRUG, getCallOptions()), request);
    }

    /**
     * <pre>
     * 保存处方需要支付的费用
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.Result> savePrescriptionFee(
        com.ywt.gapi.drug.SavePrescriptionFeeRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_SAVE_PRESCRIPTION_FEE, getCallOptions()), request);
    }

    /**
     * <pre>
     *处方单完成支付
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.PayPrescriptionResponse> payPrescription(
        com.ywt.gapi.drug.PayPrescriptionRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_PAY_PRESCRIPTION, getCallOptions()), request);
    }

    /**
     * <pre>
     *处方单划价
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.PricedPrescriptionResponse> pricedPrescription(
        com.ywt.gapi.drug.PricedPrescriptionRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_PRICED_PRESCRIPTION, getCallOptions()), request);
    }

    /**
     * <pre>
     * 根据处方ID获取处方基本信息  create by daiyihua
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse> getPrescriptionBaseInfoById(
        com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION_BASE_INFO_BY_ID, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取广三药房列表
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetG3PharmacyListResponse> getG3PharmacyList(
        com.ywt.gapi.drug.GetG3PharmacyListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_G3PHARMACY_LIST, getCallOptions()), request);
    }

    /**
     * <pre>
     * 广三处方订单保存药房地址
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse> saveG3PrescriptionInfoPharmacy(
        com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_SAVE_G3PRESCRIPTION_INFO_PHARMACY, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取处方单信息
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetPrescriptionResponse> getPrescriptionBy(
        com.ywt.gapi.drug.GetPrescriptionRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION_BY, getCallOptions()), request);
    }

    /**
     * <pre>
     *订单中心支付成功回调通知
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse> orderPaymentCallbackNotify(
        com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_ORDER_PAYMENT_CALLBACK_NOTIFY, getCallOptions()), request);
    }

    /**
     * <pre>
     *接收第三方状态上报
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse> recvPrescriptionStatusFrom3th(
        com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_RECV_PRESCRIPTION_STATUS_FROM3TH, getCallOptions()), request);
    }

    /**
     * <pre>
     *更新处方单患者信息
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse> updatePrescriptionPatientInfo(
        com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_UPDATE_PRESCRIPTION_PATIENT_INFO, getCallOptions()), request);
    }

    /**
     * <pre>
     *保存处方订单配送信息
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse> saveOrderDeliveryInfo(
        com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_SAVE_ORDER_DELIVERY_INFO, getCallOptions()), request);
    }

    /**
     * <pre>
     *处方单评价
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.CommentPrescriptionResponse> commentPrescription(
        com.ywt.gapi.drug.CommentPrescriptionRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_COMMENT_PRESCRIPTION, getCallOptions()), request);
    }

    /**
     * <pre>
     *添加医生常用药
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse> createDoctorCommonUsedDrugs(
        com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_CREATE_DOCTOR_COMMON_USED_DRUGS, getCallOptions()), request);
    }

    /**
     * <pre>
     * 获取可用的药房列表
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetPharmacyListByTypeResponse> getPharmacyListByType(
        com.ywt.gapi.drug.GetPharmacyListByTypeRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_PHARMACY_LIST_BY_TYPE, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取药房数据
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetPharmacyResponse> getPharmacy(
        com.ywt.gapi.drug.GetPharmacyRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_PHARMACY, getCallOptions()), request);
    }

    /**
     * <pre>
     *退款结果通知
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.RefundNotifyResponse> refundNotify(
        com.ywt.gapi.drug.RefundNotifyRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_REFUND_NOTIFY, getCallOptions()), request);
    }

    /**
     * <pre>
     *删除医生常用药
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse> deleteDoctorCommonUsedDrugs(
        com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_DELETE_DOCTOR_COMMON_USED_DRUGS, getCallOptions()), request);
    }

    /**
     * <pre>
     *分页获取处方单记录列表
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> getPrescriptionBaseInfoListPage(
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE, getCallOptions()), request);
    }

    /**
     * <pre>
     *获取账单
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetOrderBillResponse> getOrderBill(
        com.ywt.gapi.drug.GetOrderBillRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_ORDER_BILL, getCallOptions()), request);
    }

    /**
     * <pre>
     *生成处方二维码
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GenRpQRCodeResponse> genRpQRCode(
        com.ywt.gapi.drug.GenRpQRCodeRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GEN_RP_QRCODE, getCallOptions()), request);
    }

    /**
     * <pre>
     * 根据处方单ID、取药方式获取药房列表
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.ListPharmacyResponse> listPharmacy(
        com.ywt.gapi.drug.ListPharmacyRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_LIST_PHARMACY, getCallOptions()), request);
    }

    /**
     * <pre>
     * 处方单划价，返回处方单药品在指定药房的价格明细和总价
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.PricedResponse> priced(
        com.ywt.gapi.drug.PricedRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_PRICED, getCallOptions()), request);
    }

    /**
     * <pre>
     *分页获取处方单记录列表(只有广三his的处方)
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse> getPrescriptionBaseInfoListPageWithOnlyHis(
        com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE_WITH_ONLY_HIS, getCallOptions()), request);
    }

    /**
     * <pre>
     *支付成功之后发送订阅消息
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.Result> sendSubscribeMessageAfterPaySuccess(
        com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_SEND_SUBSCRIBE_MESSAGE_AFTER_PAY_SUCCESS, getCallOptions()), request);
    }

    /**
     * <pre>
     * 根据keyname获取系统设置
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetSysSettingByKeynameResponse> getSysSettingByKeyname(
        com.ywt.gapi.drug.GetSysSettingByKeynameRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_SYS_SETTING_BY_KEYNAME, getCallOptions()), request);
    }

    /**
     * <pre>
     * 根据 userId 获取一键挂号流水号列表
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetOneKeyRegListResponse> getOneKeyRegList(
        com.ywt.gapi.drug.GetOneKeyRegListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_ONE_KEY_REG_LIST, getCallOptions()), request);
    }

    /**
     * <pre>
     * 更新 HIS 处方信息
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.Result> updateHisPresInfo(
        com.ywt.gapi.drug.UpdateHisPresInfoRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_UPDATE_HIS_PRES_INFO, getCallOptions()), request);
    }

    /**
     * <pre>
     * 作废处方
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.Result> cancelPres(
        com.ywt.gapi.drug.CancelPresRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_CANCEL_PRES, getCallOptions()), request);
    }

    /**
     * <pre>
     * 获取药品详情
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetDrugDetailResponse> getDrugDetail(
        com.ywt.gapi.drug.GetDrugDetailRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_DRUG_DETAIL, getCallOptions()), request);
    }

    /**
     * <pre>
     * 查询医生是否支持回写 HIS 处方
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse> checkIfDoctorWriteBack(
        com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_CHECK_IF_DOCTOR_WRITE_BACK, getCallOptions()), request);
    }

    /**
     * <pre>
     * 获取最近一张未支付的回写处方
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse> getLatestUnpaidHisPres(
        com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_GET_LATEST_UNPAID_HIS_PRES, getCallOptions()), request);
    }

    /**
     * <pre>
     * 根据关键字查询药品说明
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.QueryDrugInstructionResponse> queryDrugInstruction(
        com.ywt.gapi.drug.QueryDrugInstructionRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_QUERY_DRUG_INSTRUCTION, getCallOptions()), request);
    }

    /**
     * <pre>
     * 修改处方地址
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.UpdatePresAddressResponse> updatePresAddress(
        com.ywt.gapi.drug.UpdatePresAddressRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_UPDATE_PRES_ADDRESS, getCallOptions()), request);
    }

    /**
     * <pre>
     * 更新处方信息
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.Result> updatePresInfo(
        com.ywt.gapi.drug.UpdatePresInfoRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_UPDATE_PRES_INFO, getCallOptions()), request);
    }

    /**
     * <pre>
     *  根据oderNos和日期获取处方订单
     * </pre>
     */
    public com.google.common.util.concurrent.ListenableFuture<com.ywt.gapi.drug.QueryPresInfoBillListResponse> queryPresInfoBillList(
        com.ywt.gapi.drug.QueryPresInfoBillListRequest request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_QUERY_PRES_INFO_BILL_LIST, getCallOptions()), request);
    }
  }

  private static final int METHODID_SAVE_PRESCRIPTION = 0;
  private static final int METHODID_GET_PRESCRIPTION = 1;
  private static final int METHODID_PRESCRIPTION_PRE_PAY = 2;
  private static final int METHODID_SAVE_PRESCRIPTION_PAYMENT = 3;
  private static final int METHODID_PRESCRIPTION_WX_PAY_CALLBACK = 4;
  private static final int METHODID_SAVE_PRESCRIPTION_INFO = 5;
  private static final int METHODID_GET_DICT_TYPE_LIST = 6;
  private static final int METHODID_GET_DRUG_LIST = 7;
  private static final int METHODID_GET_RECORD_LIST = 8;
  private static final int METHODID_GET_USER_RECORD_LIST = 9;
  private static final int METHODID_SAVE_DELIVERY_METHOD = 10;
  private static final int METHODID_TODAY_PRESCRIBE_COUNT = 11;
  private static final int METHODID_GET_DRUG_USAGE_INSTRUCTION = 12;
  private static final int METHODID_SAVE_PRESCRIPTION_DETAIL = 13;
  private static final int METHODID_GET_RECORD_LIST_INFO = 14;
  private static final int METHODID_GET_PRESCRIPTION_DETAIL = 15;
  private static final int METHODID_GET_DRUG_FREQUENCY_LIST = 16;
  private static final int METHODID_GET_PRESCRIPTION_BY_ID = 17;
  private static final int METHODID_GET_PHARMACY_LIST = 18;
  private static final int METHODID_GET_PRESCRIPTION_BASE_INFO_LIST = 19;
  private static final int METHODID_GET_HIS_PRESCRIPTION_BASE_INFO_LIST = 20;
  private static final int METHODID_GET_DOCTOR_DRUG_LIST = 21;
  private static final int METHODID_SAVE_PRESCRIPTION_EXPRESS_ADDRESS = 22;
  private static final int METHODID_GET_ICD_LIST = 23;
  private static final int METHODID_COMPUTE_DOCTOR_DRUG = 24;
  private static final int METHODID_SAVE_PRESCRIPTION_FEE = 25;
  private static final int METHODID_PAY_PRESCRIPTION = 26;
  private static final int METHODID_PRICED_PRESCRIPTION = 27;
  private static final int METHODID_GET_PRESCRIPTION_BASE_INFO_BY_ID = 28;
  private static final int METHODID_GET_G3PHARMACY_LIST = 29;
  private static final int METHODID_SAVE_G3PRESCRIPTION_INFO_PHARMACY = 30;
  private static final int METHODID_GET_PRESCRIPTION_BY = 31;
  private static final int METHODID_ORDER_PAYMENT_CALLBACK_NOTIFY = 32;
  private static final int METHODID_RECV_PRESCRIPTION_STATUS_FROM3TH = 33;
  private static final int METHODID_UPDATE_PRESCRIPTION_PATIENT_INFO = 34;
  private static final int METHODID_SAVE_ORDER_DELIVERY_INFO = 35;
  private static final int METHODID_COMMENT_PRESCRIPTION = 36;
  private static final int METHODID_CREATE_DOCTOR_COMMON_USED_DRUGS = 37;
  private static final int METHODID_GET_PHARMACY_LIST_BY_TYPE = 38;
  private static final int METHODID_GET_PHARMACY = 39;
  private static final int METHODID_REFUND_NOTIFY = 40;
  private static final int METHODID_DELETE_DOCTOR_COMMON_USED_DRUGS = 41;
  private static final int METHODID_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE = 42;
  private static final int METHODID_GET_ORDER_BILL = 43;
  private static final int METHODID_GEN_RP_QRCODE = 44;
  private static final int METHODID_LIST_PHARMACY = 45;
  private static final int METHODID_PRICED = 46;
  private static final int METHODID_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE_WITH_ONLY_HIS = 47;
  private static final int METHODID_SEND_SUBSCRIBE_MESSAGE_AFTER_PAY_SUCCESS = 48;
  private static final int METHODID_GET_SYS_SETTING_BY_KEYNAME = 49;
  private static final int METHODID_GET_ONE_KEY_REG_LIST = 50;
  private static final int METHODID_UPDATE_HIS_PRES_INFO = 51;
  private static final int METHODID_CANCEL_PRES = 52;
  private static final int METHODID_GET_DRUG_DETAIL = 53;
  private static final int METHODID_CHECK_IF_DOCTOR_WRITE_BACK = 54;
  private static final int METHODID_GET_LATEST_UNPAID_HIS_PRES = 55;
  private static final int METHODID_QUERY_DRUG_INSTRUCTION = 56;
  private static final int METHODID_UPDATE_PRES_ADDRESS = 57;
  private static final int METHODID_UPDATE_PRES_INFO = 58;
  private static final int METHODID_QUERY_PRES_INFO_BILL_LIST = 59;

  private static final class MethodHandlers<Req, Resp> implements
      io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
      io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
      io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
      io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
    private final DrugServiceImplBase serviceImpl;
    private final int methodId;

    MethodHandlers(DrugServiceImplBase serviceImpl, int methodId) {
      this.serviceImpl = serviceImpl;
      this.methodId = methodId;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
      switch (methodId) {
        case METHODID_SAVE_PRESCRIPTION:
          serviceImpl.savePrescription((com.ywt.gapi.drug.SavePrescriptionRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SavePrescriptionResponse>) responseObserver);
          break;
        case METHODID_GET_PRESCRIPTION:
          serviceImpl.getPrescription((com.ywt.gapi.drug.GetPrescriptionRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionResponse>) responseObserver);
          break;
        case METHODID_PRESCRIPTION_PRE_PAY:
          serviceImpl.prescriptionPrePay((com.ywt.gapi.drug.PrescriptionPrePayRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PrescriptionPrePayResponse>) responseObserver);
          break;
        case METHODID_SAVE_PRESCRIPTION_PAYMENT:
          serviceImpl.savePrescriptionPayment((com.ywt.gapi.drug.SavePrescriptionPaymentRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SavePrescriptionPaymentResponse>) responseObserver);
          break;
        case METHODID_PRESCRIPTION_WX_PAY_CALLBACK:
          serviceImpl.prescriptionWxPayCallback((com.ywt.gapi.drug.PrescriptionWxPayCallbackRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PrescriptionWxPayCallbackResponse>) responseObserver);
          break;
        case METHODID_SAVE_PRESCRIPTION_INFO:
          serviceImpl.savePrescriptionInfo((com.ywt.gapi.drug.SavePrescriptionInfoRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SavePrescriptionInfoResponse>) responseObserver);
          break;
        case METHODID_GET_DICT_TYPE_LIST:
          serviceImpl.getDictTypeList((com.ywt.gapi.drug.GetDictTypeListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDictTypeListResponse>) responseObserver);
          break;
        case METHODID_GET_DRUG_LIST:
          serviceImpl.getDrugList((com.ywt.gapi.drug.GetDrugListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDrugListResponse>) responseObserver);
          break;
        case METHODID_GET_RECORD_LIST:
          serviceImpl.getRecordList((com.ywt.gapi.drug.GetRecordListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetRecordListResponse>) responseObserver);
          break;
        case METHODID_GET_USER_RECORD_LIST:
          serviceImpl.getUserRecordList((com.ywt.gapi.drug.GetUserRecordListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetUserRecordListResponse>) responseObserver);
          break;
        case METHODID_SAVE_DELIVERY_METHOD:
          serviceImpl.saveDeliveryMethod((com.ywt.gapi.drug.SaveDeliveryMethodRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SaveDeliveryMethodResponse>) responseObserver);
          break;
        case METHODID_TODAY_PRESCRIBE_COUNT:
          serviceImpl.todayPrescribeCount((com.ywt.gapi.drug.TodayPrescribeCountRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.TodayPrescribeCountResponse>) responseObserver);
          break;
        case METHODID_GET_DRUG_USAGE_INSTRUCTION:
          serviceImpl.getDrugUsageInstruction((com.ywt.gapi.drug.GetDrugUsageInstructionRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDrugUsageInstructionResponse>) responseObserver);
          break;
        case METHODID_SAVE_PRESCRIPTION_DETAIL:
          serviceImpl.savePrescriptionDetail((com.ywt.gapi.drug.SavePrescriptionDetailRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SavePrescriptionDetailResponse>) responseObserver);
          break;
        case METHODID_GET_RECORD_LIST_INFO:
          serviceImpl.getRecordListInfo((com.ywt.gapi.drug.GetRecordListInfoRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetRecordListInfoResponse>) responseObserver);
          break;
        case METHODID_GET_PRESCRIPTION_DETAIL:
          serviceImpl.getPrescriptionDetail((com.ywt.gapi.drug.GetPrescriptionDetailRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionDetailResponse>) responseObserver);
          break;
        case METHODID_GET_DRUG_FREQUENCY_LIST:
          serviceImpl.getDrugFrequencyList((com.ywt.gapi.drug.GetDrugFrequencyListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDrugFrequencyListResponse>) responseObserver);
          break;
        case METHODID_GET_PRESCRIPTION_BY_ID:
          serviceImpl.getPrescriptionById((com.ywt.gapi.drug.GetPrescriptionByIdRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionByIdResponse>) responseObserver);
          break;
        case METHODID_GET_PHARMACY_LIST:
          serviceImpl.getPharmacyList((com.ywt.gapi.drug.GetPharmacyListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPharmacyListResponse>) responseObserver);
          break;
        case METHODID_GET_PRESCRIPTION_BASE_INFO_LIST:
          serviceImpl.getPrescriptionBaseInfoList((com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>) responseObserver);
          break;
        case METHODID_GET_HIS_PRESCRIPTION_BASE_INFO_LIST:
          serviceImpl.getHisPrescriptionBaseInfoList((com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>) responseObserver);
          break;
        case METHODID_GET_DOCTOR_DRUG_LIST:
          serviceImpl.getDoctorDrugList((com.ywt.gapi.drug.GetDoctorDrugListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDoctorDrugListResponse>) responseObserver);
          break;
        case METHODID_SAVE_PRESCRIPTION_EXPRESS_ADDRESS:
          serviceImpl.savePrescriptionExpressAddress((com.ywt.gapi.drug.SavePrescriptionExpressAddressRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.ResultResponse>) responseObserver);
          break;
        case METHODID_GET_ICD_LIST:
          serviceImpl.getIcdList((com.ywt.gapi.drug.GetIcdListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetIcdListResponse>) responseObserver);
          break;
        case METHODID_COMPUTE_DOCTOR_DRUG:
          serviceImpl.computeDoctorDrug((com.ywt.gapi.drug.ComputeDoctorDrugRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.ComputeDoctorDrugResponse>) responseObserver);
          break;
        case METHODID_SAVE_PRESCRIPTION_FEE:
          serviceImpl.savePrescriptionFee((com.ywt.gapi.drug.SavePrescriptionFeeRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.Result>) responseObserver);
          break;
        case METHODID_PAY_PRESCRIPTION:
          serviceImpl.payPrescription((com.ywt.gapi.drug.PayPrescriptionRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PayPrescriptionResponse>) responseObserver);
          break;
        case METHODID_PRICED_PRESCRIPTION:
          serviceImpl.pricedPrescription((com.ywt.gapi.drug.PricedPrescriptionRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PricedPrescriptionResponse>) responseObserver);
          break;
        case METHODID_GET_PRESCRIPTION_BASE_INFO_BY_ID:
          serviceImpl.getPrescriptionBaseInfoById((com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoByIdResponse>) responseObserver);
          break;
        case METHODID_GET_G3PHARMACY_LIST:
          serviceImpl.getG3PharmacyList((com.ywt.gapi.drug.GetG3PharmacyListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetG3PharmacyListResponse>) responseObserver);
          break;
        case METHODID_SAVE_G3PRESCRIPTION_INFO_PHARMACY:
          serviceImpl.saveG3PrescriptionInfoPharmacy((com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SaveG3PrescriptionInfoPharmacyResponse>) responseObserver);
          break;
        case METHODID_GET_PRESCRIPTION_BY:
          serviceImpl.getPrescriptionBy((com.ywt.gapi.drug.GetPrescriptionRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionResponse>) responseObserver);
          break;
        case METHODID_ORDER_PAYMENT_CALLBACK_NOTIFY:
          serviceImpl.orderPaymentCallbackNotify((com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse>) responseObserver);
          break;
        case METHODID_RECV_PRESCRIPTION_STATUS_FROM3TH:
          serviceImpl.recvPrescriptionStatusFrom3th((com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.RecvPrescriptionStatusFrom3thResponse>) responseObserver);
          break;
        case METHODID_UPDATE_PRESCRIPTION_PATIENT_INFO:
          serviceImpl.updatePrescriptionPatientInfo((com.ywt.gapi.drug.UpdatePrescriptionPatientInfoRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.UpdatePrescriptionPatientInfoResponse>) responseObserver);
          break;
        case METHODID_SAVE_ORDER_DELIVERY_INFO:
          serviceImpl.saveOrderDeliveryInfo((com.ywt.gapi.drug.SaveOrderDeliveryInfoRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.SaveOrderDeliveryInfoResponse>) responseObserver);
          break;
        case METHODID_COMMENT_PRESCRIPTION:
          serviceImpl.commentPrescription((com.ywt.gapi.drug.CommentPrescriptionRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.CommentPrescriptionResponse>) responseObserver);
          break;
        case METHODID_CREATE_DOCTOR_COMMON_USED_DRUGS:
          serviceImpl.createDoctorCommonUsedDrugs((com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.CreateDoctorCommonUsedDrugsResponse>) responseObserver);
          break;
        case METHODID_GET_PHARMACY_LIST_BY_TYPE:
          serviceImpl.getPharmacyListByType((com.ywt.gapi.drug.GetPharmacyListByTypeRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPharmacyListByTypeResponse>) responseObserver);
          break;
        case METHODID_GET_PHARMACY:
          serviceImpl.getPharmacy((com.ywt.gapi.drug.GetPharmacyRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPharmacyResponse>) responseObserver);
          break;
        case METHODID_REFUND_NOTIFY:
          serviceImpl.refundNotify((com.ywt.gapi.drug.RefundNotifyRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.RefundNotifyResponse>) responseObserver);
          break;
        case METHODID_DELETE_DOCTOR_COMMON_USED_DRUGS:
          serviceImpl.deleteDoctorCommonUsedDrugs((com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.DeleteDoctorCommonUsedDrugsResponse>) responseObserver);
          break;
        case METHODID_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE:
          serviceImpl.getPrescriptionBaseInfoListPage((com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>) responseObserver);
          break;
        case METHODID_GET_ORDER_BILL:
          serviceImpl.getOrderBill((com.ywt.gapi.drug.GetOrderBillRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetOrderBillResponse>) responseObserver);
          break;
        case METHODID_GEN_RP_QRCODE:
          serviceImpl.genRpQRCode((com.ywt.gapi.drug.GenRpQRCodeRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GenRpQRCodeResponse>) responseObserver);
          break;
        case METHODID_LIST_PHARMACY:
          serviceImpl.listPharmacy((com.ywt.gapi.drug.ListPharmacyRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.ListPharmacyResponse>) responseObserver);
          break;
        case METHODID_PRICED:
          serviceImpl.priced((com.ywt.gapi.drug.PricedRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.PricedResponse>) responseObserver);
          break;
        case METHODID_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE_WITH_ONLY_HIS:
          serviceImpl.getPrescriptionBaseInfoListPageWithOnlyHis((com.ywt.gapi.drug.GetPrescriptionBaseInfoListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetPrescriptionBaseInfoListResponse>) responseObserver);
          break;
        case METHODID_SEND_SUBSCRIBE_MESSAGE_AFTER_PAY_SUCCESS:
          serviceImpl.sendSubscribeMessageAfterPaySuccess((com.ywt.gapi.drug.SendSubscribeMessageAfterPaySuccessRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.Result>) responseObserver);
          break;
        case METHODID_GET_SYS_SETTING_BY_KEYNAME:
          serviceImpl.getSysSettingByKeyname((com.ywt.gapi.drug.GetSysSettingByKeynameRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetSysSettingByKeynameResponse>) responseObserver);
          break;
        case METHODID_GET_ONE_KEY_REG_LIST:
          serviceImpl.getOneKeyRegList((com.ywt.gapi.drug.GetOneKeyRegListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetOneKeyRegListResponse>) responseObserver);
          break;
        case METHODID_UPDATE_HIS_PRES_INFO:
          serviceImpl.updateHisPresInfo((com.ywt.gapi.drug.UpdateHisPresInfoRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.Result>) responseObserver);
          break;
        case METHODID_CANCEL_PRES:
          serviceImpl.cancelPres((com.ywt.gapi.drug.CancelPresRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.Result>) responseObserver);
          break;
        case METHODID_GET_DRUG_DETAIL:
          serviceImpl.getDrugDetail((com.ywt.gapi.drug.GetDrugDetailRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetDrugDetailResponse>) responseObserver);
          break;
        case METHODID_CHECK_IF_DOCTOR_WRITE_BACK:
          serviceImpl.checkIfDoctorWriteBack((com.ywt.gapi.drug.CheckIfDoctorWriteBackRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.CheckIfDoctorWriteBackResponse>) responseObserver);
          break;
        case METHODID_GET_LATEST_UNPAID_HIS_PRES:
          serviceImpl.getLatestUnpaidHisPres((com.ywt.gapi.drug.GetLatestUnpaidHisPresRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.GetLatestUnpaidHisPresResponse>) responseObserver);
          break;
        case METHODID_QUERY_DRUG_INSTRUCTION:
          serviceImpl.queryDrugInstruction((com.ywt.gapi.drug.QueryDrugInstructionRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.QueryDrugInstructionResponse>) responseObserver);
          break;
        case METHODID_UPDATE_PRES_ADDRESS:
          serviceImpl.updatePresAddress((com.ywt.gapi.drug.UpdatePresAddressRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.UpdatePresAddressResponse>) responseObserver);
          break;
        case METHODID_UPDATE_PRES_INFO:
          serviceImpl.updatePresInfo((com.ywt.gapi.drug.UpdatePresInfoRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.Result>) responseObserver);
          break;
        case METHODID_QUERY_PRES_INFO_BILL_LIST:
          serviceImpl.queryPresInfoBillList((com.ywt.gapi.drug.QueryPresInfoBillListRequest) request,
              (io.grpc.stub.StreamObserver<com.ywt.gapi.drug.QueryPresInfoBillListResponse>) responseObserver);
          break;
        default:
          throw new AssertionError();
      }
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public io.grpc.stub.StreamObserver<Req> invoke(
        io.grpc.stub.StreamObserver<Resp> responseObserver) {
      switch (methodId) {
        default:
          throw new AssertionError();
      }
    }
  }

  private static abstract class DrugServiceBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
    DrugServiceBaseDescriptorSupplier() {}

    @java.lang.Override
    public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
      return com.ywt.gapi.drug.DrugOuterClass.getDescriptor();
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
      return getFileDescriptor().findServiceByName("DrugService");
    }
  }

  private static final class DrugServiceFileDescriptorSupplier
      extends DrugServiceBaseDescriptorSupplier {
    DrugServiceFileDescriptorSupplier() {}
  }

  private static final class DrugServiceMethodDescriptorSupplier
      extends DrugServiceBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
    private final String methodName;

    DrugServiceMethodDescriptorSupplier(String methodName) {
      this.methodName = methodName;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
      return getServiceDescriptor().findMethodByName(methodName);
    }
  }

  private static volatile io.grpc.ServiceDescriptor serviceDescriptor;

  public static io.grpc.ServiceDescriptor getServiceDescriptor() {
    io.grpc.ServiceDescriptor result = serviceDescriptor;
    if (result == null) {
      synchronized (DrugServiceGrpc.class) {
        result = serviceDescriptor;
        if (result == null) {
          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
              .setSchemaDescriptor(new DrugServiceFileDescriptorSupplier())
              .addMethod(METHOD_SAVE_PRESCRIPTION)
              .addMethod(METHOD_GET_PRESCRIPTION)
              .addMethod(METHOD_PRESCRIPTION_PRE_PAY)
              .addMethod(METHOD_SAVE_PRESCRIPTION_PAYMENT)
              .addMethod(METHOD_PRESCRIPTION_WX_PAY_CALLBACK)
              .addMethod(METHOD_SAVE_PRESCRIPTION_INFO)
              .addMethod(METHOD_GET_DICT_TYPE_LIST)
              .addMethod(METHOD_GET_DRUG_LIST)
              .addMethod(METHOD_GET_RECORD_LIST)
              .addMethod(METHOD_GET_USER_RECORD_LIST)
              .addMethod(METHOD_SAVE_DELIVERY_METHOD)
              .addMethod(METHOD_TODAY_PRESCRIBE_COUNT)
              .addMethod(METHOD_GET_DRUG_USAGE_INSTRUCTION)
              .addMethod(METHOD_SAVE_PRESCRIPTION_DETAIL)
              .addMethod(METHOD_GET_RECORD_LIST_INFO)
              .addMethod(METHOD_GET_PRESCRIPTION_DETAIL)
              .addMethod(METHOD_GET_DRUG_FREQUENCY_LIST)
              .addMethod(METHOD_GET_PRESCRIPTION_BY_ID)
              .addMethod(METHOD_GET_PHARMACY_LIST)
              .addMethod(METHOD_GET_PRESCRIPTION_BASE_INFO_LIST)
              .addMethod(METHOD_GET_HIS_PRESCRIPTION_BASE_INFO_LIST)
              .addMethod(METHOD_GET_DOCTOR_DRUG_LIST)
              .addMethod(METHOD_SAVE_PRESCRIPTION_EXPRESS_ADDRESS)
              .addMethod(METHOD_GET_ICD_LIST)
              .addMethod(METHOD_COMPUTE_DOCTOR_DRUG)
              .addMethod(METHOD_SAVE_PRESCRIPTION_FEE)
              .addMethod(METHOD_PAY_PRESCRIPTION)
              .addMethod(METHOD_PRICED_PRESCRIPTION)
              .addMethod(METHOD_GET_PRESCRIPTION_BASE_INFO_BY_ID)
              .addMethod(METHOD_GET_G3PHARMACY_LIST)
              .addMethod(METHOD_SAVE_G3PRESCRIPTION_INFO_PHARMACY)
              .addMethod(METHOD_GET_PRESCRIPTION_BY)
              .addMethod(METHOD_ORDER_PAYMENT_CALLBACK_NOTIFY)
              .addMethod(METHOD_RECV_PRESCRIPTION_STATUS_FROM3TH)
              .addMethod(METHOD_UPDATE_PRESCRIPTION_PATIENT_INFO)
              .addMethod(METHOD_SAVE_ORDER_DELIVERY_INFO)
              .addMethod(METHOD_COMMENT_PRESCRIPTION)
              .addMethod(METHOD_CREATE_DOCTOR_COMMON_USED_DRUGS)
              .addMethod(METHOD_GET_PHARMACY_LIST_BY_TYPE)
              .addMethod(METHOD_GET_PHARMACY)
              .addMethod(METHOD_REFUND_NOTIFY)
              .addMethod(METHOD_DELETE_DOCTOR_COMMON_USED_DRUGS)
              .addMethod(METHOD_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE)
              .addMethod(METHOD_GET_ORDER_BILL)
              .addMethod(METHOD_GEN_RP_QRCODE)
              .addMethod(METHOD_LIST_PHARMACY)
              .addMethod(METHOD_PRICED)
              .addMethod(METHOD_GET_PRESCRIPTION_BASE_INFO_LIST_PAGE_WITH_ONLY_HIS)
              .addMethod(METHOD_SEND_SUBSCRIBE_MESSAGE_AFTER_PAY_SUCCESS)
              .addMethod(METHOD_GET_SYS_SETTING_BY_KEYNAME)
              .addMethod(METHOD_GET_ONE_KEY_REG_LIST)
              .addMethod(METHOD_UPDATE_HIS_PRES_INFO)
              .addMethod(METHOD_CANCEL_PRES)
              .addMethod(METHOD_GET_DRUG_DETAIL)
              .addMethod(METHOD_CHECK_IF_DOCTOR_WRITE_BACK)
              .addMethod(METHOD_GET_LATEST_UNPAID_HIS_PRES)
              .addMethod(METHOD_QUERY_DRUG_INSTRUCTION)
              .addMethod(METHOD_UPDATE_PRES_ADDRESS)
              .addMethod(METHOD_UPDATE_PRES_INFO)
              .addMethod(METHOD_QUERY_PRES_INFO_BILL_LIST)
              .build();
        }
      }
    }
    return result;
  }
}
