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

package com.ywt.gapi.nfyy;

/**
 * Protobuf type {@code com.ywt.gapi.nfyy.RegisteredRecord}
 */
public final class RegisteredRecord extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.nfyy.RegisteredRecord)
    RegisteredRecordOrBuilder {
private static final long serialVersionUID = 0L;
  // Use RegisteredRecord.newBuilder() to construct.
  private RegisteredRecord(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private RegisteredRecord() {
    regId_ = "";
    regDate_ = "";
    status_ = "";
    patName_ = "";
    patientId_ = "";
    admitDate_ = "";
    hospitalName_ = "";
    departmentCode_ = "";
    department_ = "";
    doctorCode_ = "";
    doctor_ = "";
    doctorTitle_ = "";
    regFee_ = "";
    seqCode_ = "";
    admitAddress_ = "";
    sessionName_ = "";
    admitRange_ = "";
    serviceName_ = "";
    insuRegInfo_ = "";
    returnFlag_ = "";
    startime_ = "";
    endtime_ = "";
    transactionId_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new RegisteredRecord();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private RegisteredRecord(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            java.lang.String s = input.readStringRequireUtf8();

            regId_ = s;
            break;
          }
          case 18: {
            java.lang.String s = input.readStringRequireUtf8();

            regDate_ = s;
            break;
          }
          case 26: {
            java.lang.String s = input.readStringRequireUtf8();

            status_ = s;
            break;
          }
          case 34: {
            java.lang.String s = input.readStringRequireUtf8();

            patName_ = s;
            break;
          }
          case 42: {
            java.lang.String s = input.readStringRequireUtf8();

            patientId_ = s;
            break;
          }
          case 50: {
            java.lang.String s = input.readStringRequireUtf8();

            admitDate_ = s;
            break;
          }
          case 58: {
            java.lang.String s = input.readStringRequireUtf8();

            hospitalName_ = s;
            break;
          }
          case 66: {
            java.lang.String s = input.readStringRequireUtf8();

            departmentCode_ = s;
            break;
          }
          case 74: {
            java.lang.String s = input.readStringRequireUtf8();

            department_ = s;
            break;
          }
          case 82: {
            java.lang.String s = input.readStringRequireUtf8();

            doctorCode_ = s;
            break;
          }
          case 90: {
            java.lang.String s = input.readStringRequireUtf8();

            doctor_ = s;
            break;
          }
          case 98: {
            java.lang.String s = input.readStringRequireUtf8();

            doctorTitle_ = s;
            break;
          }
          case 106: {
            java.lang.String s = input.readStringRequireUtf8();

            regFee_ = s;
            break;
          }
          case 114: {
            java.lang.String s = input.readStringRequireUtf8();

            seqCode_ = s;
            break;
          }
          case 122: {
            java.lang.String s = input.readStringRequireUtf8();

            admitAddress_ = s;
            break;
          }
          case 130: {
            java.lang.String s = input.readStringRequireUtf8();

            sessionName_ = s;
            break;
          }
          case 138: {
            java.lang.String s = input.readStringRequireUtf8();

            admitRange_ = s;
            break;
          }
          case 146: {
            java.lang.String s = input.readStringRequireUtf8();

            serviceName_ = s;
            break;
          }
          case 154: {
            java.lang.String s = input.readStringRequireUtf8();

            insuRegInfo_ = s;
            break;
          }
          case 162: {
            java.lang.String s = input.readStringRequireUtf8();

            returnFlag_ = s;
            break;
          }
          case 170: {
            java.lang.String s = input.readStringRequireUtf8();

            startime_ = s;
            break;
          }
          case 178: {
            java.lang.String s = input.readStringRequireUtf8();

            endtime_ = s;
            break;
          }
          case 186: {
            java.lang.String s = input.readStringRequireUtf8();

            transactionId_ = s;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_RegisteredRecord_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_RegisteredRecord_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.nfyy.RegisteredRecord.class, com.ywt.gapi.nfyy.RegisteredRecord.Builder.class);
  }

  public static final int REGID_FIELD_NUMBER = 1;
  private volatile java.lang.Object regId_;
  /**
   * <pre>
   *挂号ID
   * </pre>
   *
   * <code>string regId = 1;</code>
   * @return The regId.
   */
  @java.lang.Override
  public java.lang.String getRegId() {
    java.lang.Object ref = regId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      regId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *挂号ID
   * </pre>
   *
   * <code>string regId = 1;</code>
   * @return The bytes for regId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRegIdBytes() {
    java.lang.Object ref = regId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      regId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REGDATE_FIELD_NUMBER = 2;
  private volatile java.lang.Object regDate_;
  /**
   * <pre>
   *挂号日期(YYYY-MM-DD)
   * </pre>
   *
   * <code>string regDate = 2;</code>
   * @return The regDate.
   */
  @java.lang.Override
  public java.lang.String getRegDate() {
    java.lang.Object ref = regDate_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      regDate_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *挂号日期(YYYY-MM-DD)
   * </pre>
   *
   * <code>string regDate = 2;</code>
   * @return The bytes for regDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRegDateBytes() {
    java.lang.Object ref = regDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      regDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STATUS_FIELD_NUMBER = 3;
  private volatile java.lang.Object status_;
  /**
   * <pre>
   *状态
   * </pre>
   *
   * <code>string status = 3;</code>
   * @return The status.
   */
  @java.lang.Override
  public java.lang.String getStatus() {
    java.lang.Object ref = status_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      status_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *状态
   * </pre>
   *
   * <code>string status = 3;</code>
   * @return The bytes for status.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStatusBytes() {
    java.lang.Object ref = status_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      status_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATNAME_FIELD_NUMBER = 4;
  private volatile java.lang.Object patName_;
  /**
   * <pre>
   *患者姓名
   * </pre>
   *
   * <code>string patName = 4;</code>
   * @return The patName.
   */
  @java.lang.Override
  public java.lang.String getPatName() {
    java.lang.Object ref = patName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      patName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *患者姓名
   * </pre>
   *
   * <code>string patName = 4;</code>
   * @return The bytes for patName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPatNameBytes() {
    java.lang.Object ref = patName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATIENTID_FIELD_NUMBER = 5;
  private volatile java.lang.Object patientId_;
  /**
   * <pre>
   *病人ID
   * </pre>
   *
   * <code>string patientId = 5;</code>
   * @return The patientId.
   */
  @java.lang.Override
  public java.lang.String getPatientId() {
    java.lang.Object ref = patientId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      patientId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *病人ID
   * </pre>
   *
   * <code>string patientId = 5;</code>
   * @return The bytes for patientId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPatientIdBytes() {
    java.lang.Object ref = patientId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patientId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADMITDATE_FIELD_NUMBER = 6;
  private volatile java.lang.Object admitDate_;
  /**
   * <pre>
   *就诊日期(YYYY-MM-DD)
   * </pre>
   *
   * <code>string admitDate = 6;</code>
   * @return The admitDate.
   */
  @java.lang.Override
  public java.lang.String getAdmitDate() {
    java.lang.Object ref = admitDate_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      admitDate_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *就诊日期(YYYY-MM-DD)
   * </pre>
   *
   * <code>string admitDate = 6;</code>
   * @return The bytes for admitDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAdmitDateBytes() {
    java.lang.Object ref = admitDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      admitDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int HOSPITALNAME_FIELD_NUMBER = 7;
  private volatile java.lang.Object hospitalName_;
  /**
   * <pre>
   *医院
   * </pre>
   *
   * <code>string hospitalName = 7;</code>
   * @return The hospitalName.
   */
  @java.lang.Override
  public java.lang.String getHospitalName() {
    java.lang.Object ref = hospitalName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      hospitalName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医院
   * </pre>
   *
   * <code>string hospitalName = 7;</code>
   * @return The bytes for hospitalName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getHospitalNameBytes() {
    java.lang.Object ref = hospitalName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      hospitalName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEPARTMENTCODE_FIELD_NUMBER = 8;
  private volatile java.lang.Object departmentCode_;
  /**
   * <pre>
   *科室代码
   * </pre>
   *
   * <code>string departmentCode = 8;</code>
   * @return The departmentCode.
   */
  @java.lang.Override
  public java.lang.String getDepartmentCode() {
    java.lang.Object ref = departmentCode_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      departmentCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *科室代码
   * </pre>
   *
   * <code>string departmentCode = 8;</code>
   * @return The bytes for departmentCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDepartmentCodeBytes() {
    java.lang.Object ref = departmentCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      departmentCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEPARTMENT_FIELD_NUMBER = 9;
  private volatile java.lang.Object department_;
  /**
   * <pre>
   *就诊科室
   * </pre>
   *
   * <code>string department = 9;</code>
   * @return The department.
   */
  @java.lang.Override
  public java.lang.String getDepartment() {
    java.lang.Object ref = department_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      department_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *就诊科室
   * </pre>
   *
   * <code>string department = 9;</code>
   * @return The bytes for department.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDepartmentBytes() {
    java.lang.Object ref = department_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      department_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORCODE_FIELD_NUMBER = 10;
  private volatile java.lang.Object doctorCode_;
  /**
   * <pre>
   *医生代码
   * </pre>
   *
   * <code>string doctorCode = 10;</code>
   * @return The doctorCode.
   */
  @java.lang.Override
  public java.lang.String getDoctorCode() {
    java.lang.Object ref = doctorCode_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      doctorCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医生代码
   * </pre>
   *
   * <code>string doctorCode = 10;</code>
   * @return The bytes for doctorCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorCodeBytes() {
    java.lang.Object ref = doctorCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTOR_FIELD_NUMBER = 11;
  private volatile java.lang.Object doctor_;
  /**
   * <pre>
   *医生
   * </pre>
   *
   * <code>string doctor = 11;</code>
   * @return The doctor.
   */
  @java.lang.Override
  public java.lang.String getDoctor() {
    java.lang.Object ref = doctor_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      doctor_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医生
   * </pre>
   *
   * <code>string doctor = 11;</code>
   * @return The bytes for doctor.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorBytes() {
    java.lang.Object ref = doctor_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctor_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORTITLE_FIELD_NUMBER = 12;
  private volatile java.lang.Object doctorTitle_;
  /**
   * <pre>
   *医生职称
   * </pre>
   *
   * <code>string doctorTitle = 12;</code>
   * @return The doctorTitle.
   */
  @java.lang.Override
  public java.lang.String getDoctorTitle() {
    java.lang.Object ref = doctorTitle_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      doctorTitle_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医生职称
   * </pre>
   *
   * <code>string doctorTitle = 12;</code>
   * @return The bytes for doctorTitle.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorTitleBytes() {
    java.lang.Object ref = doctorTitle_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorTitle_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REGFEE_FIELD_NUMBER = 13;
  private volatile java.lang.Object regFee_;
  /**
   * <pre>
   *总费用
   * </pre>
   *
   * <code>string regFee = 13;</code>
   * @return The regFee.
   */
  @java.lang.Override
  public java.lang.String getRegFee() {
    java.lang.Object ref = regFee_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      regFee_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *总费用
   * </pre>
   *
   * <code>string regFee = 13;</code>
   * @return The bytes for regFee.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRegFeeBytes() {
    java.lang.Object ref = regFee_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      regFee_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SEQCODE_FIELD_NUMBER = 14;
  private volatile java.lang.Object seqCode_;
  /**
   * <pre>
   *就诊序号
   * </pre>
   *
   * <code>string seqCode = 14;</code>
   * @return The seqCode.
   */
  @java.lang.Override
  public java.lang.String getSeqCode() {
    java.lang.Object ref = seqCode_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      seqCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *就诊序号
   * </pre>
   *
   * <code>string seqCode = 14;</code>
   * @return The bytes for seqCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSeqCodeBytes() {
    java.lang.Object ref = seqCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      seqCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADMITADDRESS_FIELD_NUMBER = 15;
  private volatile java.lang.Object admitAddress_;
  /**
   * <pre>
   *候诊地点
   * </pre>
   *
   * <code>string admitAddress = 15;</code>
   * @return The admitAddress.
   */
  @java.lang.Override
  public java.lang.String getAdmitAddress() {
    java.lang.Object ref = admitAddress_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      admitAddress_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *候诊地点
   * </pre>
   *
   * <code>string admitAddress = 15;</code>
   * @return The bytes for admitAddress.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAdmitAddressBytes() {
    java.lang.Object ref = admitAddress_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      admitAddress_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SESSIONNAME_FIELD_NUMBER = 16;
  private volatile java.lang.Object sessionName_;
  /**
   * <pre>
   *就诊时段
   * </pre>
   *
   * <code>string sessionName = 16;</code>
   * @return The sessionName.
   */
  @java.lang.Override
  public java.lang.String getSessionName() {
    java.lang.Object ref = sessionName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      sessionName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *就诊时段
   * </pre>
   *
   * <code>string sessionName = 16;</code>
   * @return The bytes for sessionName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSessionNameBytes() {
    java.lang.Object ref = sessionName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      sessionName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADMITRANGE_FIELD_NUMBER = 17;
  private volatile java.lang.Object admitRange_;
  /**
   * <pre>
   *候诊时间
   * </pre>
   *
   * <code>string admitRange = 17;</code>
   * @return The admitRange.
   */
  @java.lang.Override
  public java.lang.String getAdmitRange() {
    java.lang.Object ref = admitRange_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      admitRange_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *候诊时间
   * </pre>
   *
   * <code>string admitRange = 17;</code>
   * @return The bytes for admitRange.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAdmitRangeBytes() {
    java.lang.Object ref = admitRange_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      admitRange_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SERVICENAME_FIELD_NUMBER = 18;
  private volatile java.lang.Object serviceName_;
  /**
   * <pre>
   *专业名称
   * </pre>
   *
   * <code>string serviceName = 18;</code>
   * @return The serviceName.
   */
  @java.lang.Override
  public java.lang.String getServiceName() {
    java.lang.Object ref = serviceName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      serviceName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *专业名称
   * </pre>
   *
   * <code>string serviceName = 18;</code>
   * @return The bytes for serviceName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getServiceNameBytes() {
    java.lang.Object ref = serviceName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      serviceName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INSUREGINFO_FIELD_NUMBER = 19;
  private volatile java.lang.Object insuRegInfo_;
  /**
   * <pre>
   *医保退号适用串(以&amp;分割的N个入参)，有值时退号需调用医保注销接口
   * </pre>
   *
   * <code>string insuRegInfo = 19;</code>
   * @return The insuRegInfo.
   */
  @java.lang.Override
  public java.lang.String getInsuRegInfo() {
    java.lang.Object ref = insuRegInfo_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      insuRegInfo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医保退号适用串(以&amp;分割的N个入参)，有值时退号需调用医保注销接口
   * </pre>
   *
   * <code>string insuRegInfo = 19;</code>
   * @return The bytes for insuRegInfo.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getInsuRegInfoBytes() {
    java.lang.Object ref = insuRegInfo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      insuRegInfo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RETURNFLAG_FIELD_NUMBER = 20;
  private volatile java.lang.Object returnFlag_;
  /**
   * <pre>
   *可退号标志(Y/N)
   * </pre>
   *
   * <code>string returnFlag = 20;</code>
   * @return The returnFlag.
   */
  @java.lang.Override
  public java.lang.String getReturnFlag() {
    java.lang.Object ref = returnFlag_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      returnFlag_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *可退号标志(Y/N)
   * </pre>
   *
   * <code>string returnFlag = 20;</code>
   * @return The bytes for returnFlag.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getReturnFlagBytes() {
    java.lang.Object ref = returnFlag_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      returnFlag_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STARTIME_FIELD_NUMBER = 21;
  private volatile java.lang.Object startime_;
  /**
   * <pre>
   *开始时间
   * </pre>
   *
   * <code>string startime = 21;</code>
   * @return The startime.
   */
  @java.lang.Override
  public java.lang.String getStartime() {
    java.lang.Object ref = startime_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      startime_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *开始时间
   * </pre>
   *
   * <code>string startime = 21;</code>
   * @return The bytes for startime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStartimeBytes() {
    java.lang.Object ref = startime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      startime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENDTIME_FIELD_NUMBER = 22;
  private volatile java.lang.Object endtime_;
  /**
   * <pre>
   *结束时间
   * </pre>
   *
   * <code>string endtime = 22;</code>
   * @return The endtime.
   */
  @java.lang.Override
  public java.lang.String getEndtime() {
    java.lang.Object ref = endtime_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      endtime_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *结束时间
   * </pre>
   *
   * <code>string endtime = 22;</code>
   * @return The bytes for endtime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getEndtimeBytes() {
    java.lang.Object ref = endtime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      endtime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TRANSACTIONID_FIELD_NUMBER = 23;
  private volatile java.lang.Object transactionId_;
  /**
   * <pre>
   *交易流水号
   * </pre>
   *
   * <code>string transactionId = 23;</code>
   * @return The transactionId.
   */
  @java.lang.Override
  public java.lang.String getTransactionId() {
    java.lang.Object ref = transactionId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      transactionId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *交易流水号
   * </pre>
   *
   * <code>string transactionId = 23;</code>
   * @return The bytes for transactionId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTransactionIdBytes() {
    java.lang.Object ref = transactionId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      transactionId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, regId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, regDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, status_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, patName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, patientId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admitDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, admitDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hospitalName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, hospitalName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(departmentCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, departmentCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(department_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, department_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, doctorCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctor_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, doctor_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorTitle_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, doctorTitle_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regFee_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, regFee_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(seqCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 14, seqCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admitAddress_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 15, admitAddress_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, sessionName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admitRange_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 17, admitRange_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 18, serviceName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(insuRegInfo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 19, insuRegInfo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(returnFlag_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 20, returnFlag_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 21, startime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endtime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 22, endtime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 23, transactionId_);
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, regId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, status_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, patName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, patientId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admitDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, admitDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hospitalName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, hospitalName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(departmentCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, departmentCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(department_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, department_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, doctorCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctor_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, doctor_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorTitle_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, doctorTitle_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regFee_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, regFee_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(seqCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, seqCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admitAddress_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, admitAddress_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, sessionName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admitRange_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, admitRange_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, serviceName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(insuRegInfo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, insuRegInfo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(returnFlag_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, returnFlag_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, startime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endtime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, endtime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, transactionId_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.ywt.gapi.nfyy.RegisteredRecord)) {
      return super.equals(obj);
    }
    com.ywt.gapi.nfyy.RegisteredRecord other = (com.ywt.gapi.nfyy.RegisteredRecord) obj;

    if (!getRegId()
        .equals(other.getRegId())) return false;
    if (!getRegDate()
        .equals(other.getRegDate())) return false;
    if (!getStatus()
        .equals(other.getStatus())) return false;
    if (!getPatName()
        .equals(other.getPatName())) return false;
    if (!getPatientId()
        .equals(other.getPatientId())) return false;
    if (!getAdmitDate()
        .equals(other.getAdmitDate())) return false;
    if (!getHospitalName()
        .equals(other.getHospitalName())) return false;
    if (!getDepartmentCode()
        .equals(other.getDepartmentCode())) return false;
    if (!getDepartment()
        .equals(other.getDepartment())) return false;
    if (!getDoctorCode()
        .equals(other.getDoctorCode())) return false;
    if (!getDoctor()
        .equals(other.getDoctor())) return false;
    if (!getDoctorTitle()
        .equals(other.getDoctorTitle())) return false;
    if (!getRegFee()
        .equals(other.getRegFee())) return false;
    if (!getSeqCode()
        .equals(other.getSeqCode())) return false;
    if (!getAdmitAddress()
        .equals(other.getAdmitAddress())) return false;
    if (!getSessionName()
        .equals(other.getSessionName())) return false;
    if (!getAdmitRange()
        .equals(other.getAdmitRange())) return false;
    if (!getServiceName()
        .equals(other.getServiceName())) return false;
    if (!getInsuRegInfo()
        .equals(other.getInsuRegInfo())) return false;
    if (!getReturnFlag()
        .equals(other.getReturnFlag())) return false;
    if (!getStartime()
        .equals(other.getStartime())) return false;
    if (!getEndtime()
        .equals(other.getEndtime())) return false;
    if (!getTransactionId()
        .equals(other.getTransactionId())) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + REGID_FIELD_NUMBER;
    hash = (53 * hash) + getRegId().hashCode();
    hash = (37 * hash) + REGDATE_FIELD_NUMBER;
    hash = (53 * hash) + getRegDate().hashCode();
    hash = (37 * hash) + STATUS_FIELD_NUMBER;
    hash = (53 * hash) + getStatus().hashCode();
    hash = (37 * hash) + PATNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPatName().hashCode();
    hash = (37 * hash) + PATIENTID_FIELD_NUMBER;
    hash = (53 * hash) + getPatientId().hashCode();
    hash = (37 * hash) + ADMITDATE_FIELD_NUMBER;
    hash = (53 * hash) + getAdmitDate().hashCode();
    hash = (37 * hash) + HOSPITALNAME_FIELD_NUMBER;
    hash = (53 * hash) + getHospitalName().hashCode();
    hash = (37 * hash) + DEPARTMENTCODE_FIELD_NUMBER;
    hash = (53 * hash) + getDepartmentCode().hashCode();
    hash = (37 * hash) + DEPARTMENT_FIELD_NUMBER;
    hash = (53 * hash) + getDepartment().hashCode();
    hash = (37 * hash) + DOCTORCODE_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorCode().hashCode();
    hash = (37 * hash) + DOCTOR_FIELD_NUMBER;
    hash = (53 * hash) + getDoctor().hashCode();
    hash = (37 * hash) + DOCTORTITLE_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorTitle().hashCode();
    hash = (37 * hash) + REGFEE_FIELD_NUMBER;
    hash = (53 * hash) + getRegFee().hashCode();
    hash = (37 * hash) + SEQCODE_FIELD_NUMBER;
    hash = (53 * hash) + getSeqCode().hashCode();
    hash = (37 * hash) + ADMITADDRESS_FIELD_NUMBER;
    hash = (53 * hash) + getAdmitAddress().hashCode();
    hash = (37 * hash) + SESSIONNAME_FIELD_NUMBER;
    hash = (53 * hash) + getSessionName().hashCode();
    hash = (37 * hash) + ADMITRANGE_FIELD_NUMBER;
    hash = (53 * hash) + getAdmitRange().hashCode();
    hash = (37 * hash) + SERVICENAME_FIELD_NUMBER;
    hash = (53 * hash) + getServiceName().hashCode();
    hash = (37 * hash) + INSUREGINFO_FIELD_NUMBER;
    hash = (53 * hash) + getInsuRegInfo().hashCode();
    hash = (37 * hash) + RETURNFLAG_FIELD_NUMBER;
    hash = (53 * hash) + getReturnFlag().hashCode();
    hash = (37 * hash) + STARTIME_FIELD_NUMBER;
    hash = (53 * hash) + getStartime().hashCode();
    hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
    hash = (53 * hash) + getEndtime().hashCode();
    hash = (37 * hash) + TRANSACTIONID_FIELD_NUMBER;
    hash = (53 * hash) + getTransactionId().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.nfyy.RegisteredRecord parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.RegisteredRecord parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.RegisteredRecord parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.RegisteredRecord parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.RegisteredRecord parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.RegisteredRecord parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.RegisteredRecord parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.RegisteredRecord parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.RegisteredRecord parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.RegisteredRecord parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.RegisteredRecord parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.RegisteredRecord parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.nfyy.RegisteredRecord prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code com.ywt.gapi.nfyy.RegisteredRecord}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.nfyy.RegisteredRecord)
      com.ywt.gapi.nfyy.RegisteredRecordOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_RegisteredRecord_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_RegisteredRecord_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.nfyy.RegisteredRecord.class, com.ywt.gapi.nfyy.RegisteredRecord.Builder.class);
    }

    // Construct using com.ywt.gapi.nfyy.RegisteredRecord.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      regId_ = "";

      regDate_ = "";

      status_ = "";

      patName_ = "";

      patientId_ = "";

      admitDate_ = "";

      hospitalName_ = "";

      departmentCode_ = "";

      department_ = "";

      doctorCode_ = "";

      doctor_ = "";

      doctorTitle_ = "";

      regFee_ = "";

      seqCode_ = "";

      admitAddress_ = "";

      sessionName_ = "";

      admitRange_ = "";

      serviceName_ = "";

      insuRegInfo_ = "";

      returnFlag_ = "";

      startime_ = "";

      endtime_ = "";

      transactionId_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_RegisteredRecord_descriptor;
    }

    @java.lang.Override
    public com.ywt.gapi.nfyy.RegisteredRecord getDefaultInstanceForType() {
      return com.ywt.gapi.nfyy.RegisteredRecord.getDefaultInstance();
    }

    @java.lang.Override
    public com.ywt.gapi.nfyy.RegisteredRecord build() {
      com.ywt.gapi.nfyy.RegisteredRecord result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.ywt.gapi.nfyy.RegisteredRecord buildPartial() {
      com.ywt.gapi.nfyy.RegisteredRecord result = new com.ywt.gapi.nfyy.RegisteredRecord(this);
      result.regId_ = regId_;
      result.regDate_ = regDate_;
      result.status_ = status_;
      result.patName_ = patName_;
      result.patientId_ = patientId_;
      result.admitDate_ = admitDate_;
      result.hospitalName_ = hospitalName_;
      result.departmentCode_ = departmentCode_;
      result.department_ = department_;
      result.doctorCode_ = doctorCode_;
      result.doctor_ = doctor_;
      result.doctorTitle_ = doctorTitle_;
      result.regFee_ = regFee_;
      result.seqCode_ = seqCode_;
      result.admitAddress_ = admitAddress_;
      result.sessionName_ = sessionName_;
      result.admitRange_ = admitRange_;
      result.serviceName_ = serviceName_;
      result.insuRegInfo_ = insuRegInfo_;
      result.returnFlag_ = returnFlag_;
      result.startime_ = startime_;
      result.endtime_ = endtime_;
      result.transactionId_ = transactionId_;
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.ywt.gapi.nfyy.RegisteredRecord) {
        return mergeFrom((com.ywt.gapi.nfyy.RegisteredRecord)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.nfyy.RegisteredRecord other) {
      if (other == com.ywt.gapi.nfyy.RegisteredRecord.getDefaultInstance()) return this;
      if (!other.getRegId().isEmpty()) {
        regId_ = other.regId_;
        onChanged();
      }
      if (!other.getRegDate().isEmpty()) {
        regDate_ = other.regDate_;
        onChanged();
      }
      if (!other.getStatus().isEmpty()) {
        status_ = other.status_;
        onChanged();
      }
      if (!other.getPatName().isEmpty()) {
        patName_ = other.patName_;
        onChanged();
      }
      if (!other.getPatientId().isEmpty()) {
        patientId_ = other.patientId_;
        onChanged();
      }
      if (!other.getAdmitDate().isEmpty()) {
        admitDate_ = other.admitDate_;
        onChanged();
      }
      if (!other.getHospitalName().isEmpty()) {
        hospitalName_ = other.hospitalName_;
        onChanged();
      }
      if (!other.getDepartmentCode().isEmpty()) {
        departmentCode_ = other.departmentCode_;
        onChanged();
      }
      if (!other.getDepartment().isEmpty()) {
        department_ = other.department_;
        onChanged();
      }
      if (!other.getDoctorCode().isEmpty()) {
        doctorCode_ = other.doctorCode_;
        onChanged();
      }
      if (!other.getDoctor().isEmpty()) {
        doctor_ = other.doctor_;
        onChanged();
      }
      if (!other.getDoctorTitle().isEmpty()) {
        doctorTitle_ = other.doctorTitle_;
        onChanged();
      }
      if (!other.getRegFee().isEmpty()) {
        regFee_ = other.regFee_;
        onChanged();
      }
      if (!other.getSeqCode().isEmpty()) {
        seqCode_ = other.seqCode_;
        onChanged();
      }
      if (!other.getAdmitAddress().isEmpty()) {
        admitAddress_ = other.admitAddress_;
        onChanged();
      }
      if (!other.getSessionName().isEmpty()) {
        sessionName_ = other.sessionName_;
        onChanged();
      }
      if (!other.getAdmitRange().isEmpty()) {
        admitRange_ = other.admitRange_;
        onChanged();
      }
      if (!other.getServiceName().isEmpty()) {
        serviceName_ = other.serviceName_;
        onChanged();
      }
      if (!other.getInsuRegInfo().isEmpty()) {
        insuRegInfo_ = other.insuRegInfo_;
        onChanged();
      }
      if (!other.getReturnFlag().isEmpty()) {
        returnFlag_ = other.returnFlag_;
        onChanged();
      }
      if (!other.getStartime().isEmpty()) {
        startime_ = other.startime_;
        onChanged();
      }
      if (!other.getEndtime().isEmpty()) {
        endtime_ = other.endtime_;
        onChanged();
      }
      if (!other.getTransactionId().isEmpty()) {
        transactionId_ = other.transactionId_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      com.ywt.gapi.nfyy.RegisteredRecord parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.nfyy.RegisteredRecord) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object regId_ = "";
    /**
     * <pre>
     *挂号ID
     * </pre>
     *
     * <code>string regId = 1;</code>
     * @return The regId.
     */
    public java.lang.String getRegId() {
      java.lang.Object ref = regId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        regId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *挂号ID
     * </pre>
     *
     * <code>string regId = 1;</code>
     * @return The bytes for regId.
     */
    public com.google.protobuf.ByteString
        getRegIdBytes() {
      java.lang.Object ref = regId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        regId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *挂号ID
     * </pre>
     *
     * <code>string regId = 1;</code>
     * @param value The regId to set.
     * @return This builder for chaining.
     */
    public Builder setRegId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      regId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *挂号ID
     * </pre>
     *
     * <code>string regId = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearRegId() {
      
      regId_ = getDefaultInstance().getRegId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *挂号ID
     * </pre>
     *
     * <code>string regId = 1;</code>
     * @param value The bytes for regId to set.
     * @return This builder for chaining.
     */
    public Builder setRegIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      regId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object regDate_ = "";
    /**
     * <pre>
     *挂号日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string regDate = 2;</code>
     * @return The regDate.
     */
    public java.lang.String getRegDate() {
      java.lang.Object ref = regDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        regDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *挂号日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string regDate = 2;</code>
     * @return The bytes for regDate.
     */
    public com.google.protobuf.ByteString
        getRegDateBytes() {
      java.lang.Object ref = regDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        regDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *挂号日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string regDate = 2;</code>
     * @param value The regDate to set.
     * @return This builder for chaining.
     */
    public Builder setRegDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      regDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *挂号日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string regDate = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearRegDate() {
      
      regDate_ = getDefaultInstance().getRegDate();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *挂号日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string regDate = 2;</code>
     * @param value The bytes for regDate to set.
     * @return This builder for chaining.
     */
    public Builder setRegDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      regDate_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object status_ = "";
    /**
     * <pre>
     *状态
     * </pre>
     *
     * <code>string status = 3;</code>
     * @return The status.
     */
    public java.lang.String getStatus() {
      java.lang.Object ref = status_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        status_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *状态
     * </pre>
     *
     * <code>string status = 3;</code>
     * @return The bytes for status.
     */
    public com.google.protobuf.ByteString
        getStatusBytes() {
      java.lang.Object ref = status_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        status_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *状态
     * </pre>
     *
     * <code>string status = 3;</code>
     * @param value The status to set.
     * @return This builder for chaining.
     */
    public Builder setStatus(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      status_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *状态
     * </pre>
     *
     * <code>string status = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearStatus() {
      
      status_ = getDefaultInstance().getStatus();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *状态
     * </pre>
     *
     * <code>string status = 3;</code>
     * @param value The bytes for status to set.
     * @return This builder for chaining.
     */
    public Builder setStatusBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      status_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object patName_ = "";
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patName = 4;</code>
     * @return The patName.
     */
    public java.lang.String getPatName() {
      java.lang.Object ref = patName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patName = 4;</code>
     * @return The bytes for patName.
     */
    public com.google.protobuf.ByteString
        getPatNameBytes() {
      java.lang.Object ref = patName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        patName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patName = 4;</code>
     * @param value The patName to set.
     * @return This builder for chaining.
     */
    public Builder setPatName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patName = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatName() {
      
      patName_ = getDefaultInstance().getPatName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patName = 4;</code>
     * @param value The bytes for patName to set.
     * @return This builder for chaining.
     */
    public Builder setPatNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object patientId_ = "";
    /**
     * <pre>
     *病人ID
     * </pre>
     *
     * <code>string patientId = 5;</code>
     * @return The patientId.
     */
    public java.lang.String getPatientId() {
      java.lang.Object ref = patientId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patientId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *病人ID
     * </pre>
     *
     * <code>string patientId = 5;</code>
     * @return The bytes for patientId.
     */
    public com.google.protobuf.ByteString
        getPatientIdBytes() {
      java.lang.Object ref = patientId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        patientId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *病人ID
     * </pre>
     *
     * <code>string patientId = 5;</code>
     * @param value The patientId to set.
     * @return This builder for chaining.
     */
    public Builder setPatientId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patientId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *病人ID
     * </pre>
     *
     * <code>string patientId = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatientId() {
      
      patientId_ = getDefaultInstance().getPatientId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *病人ID
     * </pre>
     *
     * <code>string patientId = 5;</code>
     * @param value The bytes for patientId to set.
     * @return This builder for chaining.
     */
    public Builder setPatientIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patientId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admitDate_ = "";
    /**
     * <pre>
     *就诊日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string admitDate = 6;</code>
     * @return The admitDate.
     */
    public java.lang.String getAdmitDate() {
      java.lang.Object ref = admitDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admitDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *就诊日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string admitDate = 6;</code>
     * @return The bytes for admitDate.
     */
    public com.google.protobuf.ByteString
        getAdmitDateBytes() {
      java.lang.Object ref = admitDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admitDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *就诊日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string admitDate = 6;</code>
     * @param value The admitDate to set.
     * @return This builder for chaining.
     */
    public Builder setAdmitDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admitDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string admitDate = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmitDate() {
      
      admitDate_ = getDefaultInstance().getAdmitDate();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string admitDate = 6;</code>
     * @param value The bytes for admitDate to set.
     * @return This builder for chaining.
     */
    public Builder setAdmitDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admitDate_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object hospitalName_ = "";
    /**
     * <pre>
     *医院
     * </pre>
     *
     * <code>string hospitalName = 7;</code>
     * @return The hospitalName.
     */
    public java.lang.String getHospitalName() {
      java.lang.Object ref = hospitalName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        hospitalName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医院
     * </pre>
     *
     * <code>string hospitalName = 7;</code>
     * @return The bytes for hospitalName.
     */
    public com.google.protobuf.ByteString
        getHospitalNameBytes() {
      java.lang.Object ref = hospitalName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hospitalName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医院
     * </pre>
     *
     * <code>string hospitalName = 7;</code>
     * @param value The hospitalName to set.
     * @return This builder for chaining.
     */
    public Builder setHospitalName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      hospitalName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医院
     * </pre>
     *
     * <code>string hospitalName = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearHospitalName() {
      
      hospitalName_ = getDefaultInstance().getHospitalName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医院
     * </pre>
     *
     * <code>string hospitalName = 7;</code>
     * @param value The bytes for hospitalName to set.
     * @return This builder for chaining.
     */
    public Builder setHospitalNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      hospitalName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object departmentCode_ = "";
    /**
     * <pre>
     *科室代码
     * </pre>
     *
     * <code>string departmentCode = 8;</code>
     * @return The departmentCode.
     */
    public java.lang.String getDepartmentCode() {
      java.lang.Object ref = departmentCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        departmentCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *科室代码
     * </pre>
     *
     * <code>string departmentCode = 8;</code>
     * @return The bytes for departmentCode.
     */
    public com.google.protobuf.ByteString
        getDepartmentCodeBytes() {
      java.lang.Object ref = departmentCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        departmentCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *科室代码
     * </pre>
     *
     * <code>string departmentCode = 8;</code>
     * @param value The departmentCode to set.
     * @return This builder for chaining.
     */
    public Builder setDepartmentCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      departmentCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *科室代码
     * </pre>
     *
     * <code>string departmentCode = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearDepartmentCode() {
      
      departmentCode_ = getDefaultInstance().getDepartmentCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *科室代码
     * </pre>
     *
     * <code>string departmentCode = 8;</code>
     * @param value The bytes for departmentCode to set.
     * @return This builder for chaining.
     */
    public Builder setDepartmentCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      departmentCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object department_ = "";
    /**
     * <pre>
     *就诊科室
     * </pre>
     *
     * <code>string department = 9;</code>
     * @return The department.
     */
    public java.lang.String getDepartment() {
      java.lang.Object ref = department_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        department_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *就诊科室
     * </pre>
     *
     * <code>string department = 9;</code>
     * @return The bytes for department.
     */
    public com.google.protobuf.ByteString
        getDepartmentBytes() {
      java.lang.Object ref = department_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        department_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *就诊科室
     * </pre>
     *
     * <code>string department = 9;</code>
     * @param value The department to set.
     * @return This builder for chaining.
     */
    public Builder setDepartment(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      department_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊科室
     * </pre>
     *
     * <code>string department = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearDepartment() {
      
      department_ = getDefaultInstance().getDepartment();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊科室
     * </pre>
     *
     * <code>string department = 9;</code>
     * @param value The bytes for department to set.
     * @return This builder for chaining.
     */
    public Builder setDepartmentBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      department_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorCode_ = "";
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 10;</code>
     * @return The doctorCode.
     */
    public java.lang.String getDoctorCode() {
      java.lang.Object ref = doctorCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 10;</code>
     * @return The bytes for doctorCode.
     */
    public com.google.protobuf.ByteString
        getDoctorCodeBytes() {
      java.lang.Object ref = doctorCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 10;</code>
     * @param value The doctorCode to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorCode() {
      
      doctorCode_ = getDefaultInstance().getDoctorCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 10;</code>
     * @param value The bytes for doctorCode to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctor_ = "";
    /**
     * <pre>
     *医生
     * </pre>
     *
     * <code>string doctor = 11;</code>
     * @return The doctor.
     */
    public java.lang.String getDoctor() {
      java.lang.Object ref = doctor_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctor_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医生
     * </pre>
     *
     * <code>string doctor = 11;</code>
     * @return The bytes for doctor.
     */
    public com.google.protobuf.ByteString
        getDoctorBytes() {
      java.lang.Object ref = doctor_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctor_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医生
     * </pre>
     *
     * <code>string doctor = 11;</code>
     * @param value The doctor to set.
     * @return This builder for chaining.
     */
    public Builder setDoctor(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctor_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生
     * </pre>
     *
     * <code>string doctor = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctor() {
      
      doctor_ = getDefaultInstance().getDoctor();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生
     * </pre>
     *
     * <code>string doctor = 11;</code>
     * @param value The bytes for doctor to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctor_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorTitle_ = "";
    /**
     * <pre>
     *医生职称
     * </pre>
     *
     * <code>string doctorTitle = 12;</code>
     * @return The doctorTitle.
     */
    public java.lang.String getDoctorTitle() {
      java.lang.Object ref = doctorTitle_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorTitle_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医生职称
     * </pre>
     *
     * <code>string doctorTitle = 12;</code>
     * @return The bytes for doctorTitle.
     */
    public com.google.protobuf.ByteString
        getDoctorTitleBytes() {
      java.lang.Object ref = doctorTitle_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorTitle_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医生职称
     * </pre>
     *
     * <code>string doctorTitle = 12;</code>
     * @param value The doctorTitle to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorTitle(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorTitle_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生职称
     * </pre>
     *
     * <code>string doctorTitle = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorTitle() {
      
      doctorTitle_ = getDefaultInstance().getDoctorTitle();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生职称
     * </pre>
     *
     * <code>string doctorTitle = 12;</code>
     * @param value The bytes for doctorTitle to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorTitleBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorTitle_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object regFee_ = "";
    /**
     * <pre>
     *总费用
     * </pre>
     *
     * <code>string regFee = 13;</code>
     * @return The regFee.
     */
    public java.lang.String getRegFee() {
      java.lang.Object ref = regFee_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        regFee_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *总费用
     * </pre>
     *
     * <code>string regFee = 13;</code>
     * @return The bytes for regFee.
     */
    public com.google.protobuf.ByteString
        getRegFeeBytes() {
      java.lang.Object ref = regFee_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        regFee_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *总费用
     * </pre>
     *
     * <code>string regFee = 13;</code>
     * @param value The regFee to set.
     * @return This builder for chaining.
     */
    public Builder setRegFee(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      regFee_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *总费用
     * </pre>
     *
     * <code>string regFee = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearRegFee() {
      
      regFee_ = getDefaultInstance().getRegFee();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *总费用
     * </pre>
     *
     * <code>string regFee = 13;</code>
     * @param value The bytes for regFee to set.
     * @return This builder for chaining.
     */
    public Builder setRegFeeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      regFee_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object seqCode_ = "";
    /**
     * <pre>
     *就诊序号
     * </pre>
     *
     * <code>string seqCode = 14;</code>
     * @return The seqCode.
     */
    public java.lang.String getSeqCode() {
      java.lang.Object ref = seqCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        seqCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *就诊序号
     * </pre>
     *
     * <code>string seqCode = 14;</code>
     * @return The bytes for seqCode.
     */
    public com.google.protobuf.ByteString
        getSeqCodeBytes() {
      java.lang.Object ref = seqCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        seqCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *就诊序号
     * </pre>
     *
     * <code>string seqCode = 14;</code>
     * @param value The seqCode to set.
     * @return This builder for chaining.
     */
    public Builder setSeqCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      seqCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊序号
     * </pre>
     *
     * <code>string seqCode = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearSeqCode() {
      
      seqCode_ = getDefaultInstance().getSeqCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊序号
     * </pre>
     *
     * <code>string seqCode = 14;</code>
     * @param value The bytes for seqCode to set.
     * @return This builder for chaining.
     */
    public Builder setSeqCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      seqCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admitAddress_ = "";
    /**
     * <pre>
     *候诊地点
     * </pre>
     *
     * <code>string admitAddress = 15;</code>
     * @return The admitAddress.
     */
    public java.lang.String getAdmitAddress() {
      java.lang.Object ref = admitAddress_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admitAddress_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *候诊地点
     * </pre>
     *
     * <code>string admitAddress = 15;</code>
     * @return The bytes for admitAddress.
     */
    public com.google.protobuf.ByteString
        getAdmitAddressBytes() {
      java.lang.Object ref = admitAddress_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admitAddress_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *候诊地点
     * </pre>
     *
     * <code>string admitAddress = 15;</code>
     * @param value The admitAddress to set.
     * @return This builder for chaining.
     */
    public Builder setAdmitAddress(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admitAddress_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *候诊地点
     * </pre>
     *
     * <code>string admitAddress = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmitAddress() {
      
      admitAddress_ = getDefaultInstance().getAdmitAddress();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *候诊地点
     * </pre>
     *
     * <code>string admitAddress = 15;</code>
     * @param value The bytes for admitAddress to set.
     * @return This builder for chaining.
     */
    public Builder setAdmitAddressBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admitAddress_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object sessionName_ = "";
    /**
     * <pre>
     *就诊时段
     * </pre>
     *
     * <code>string sessionName = 16;</code>
     * @return The sessionName.
     */
    public java.lang.String getSessionName() {
      java.lang.Object ref = sessionName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        sessionName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *就诊时段
     * </pre>
     *
     * <code>string sessionName = 16;</code>
     * @return The bytes for sessionName.
     */
    public com.google.protobuf.ByteString
        getSessionNameBytes() {
      java.lang.Object ref = sessionName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sessionName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *就诊时段
     * </pre>
     *
     * <code>string sessionName = 16;</code>
     * @param value The sessionName to set.
     * @return This builder for chaining.
     */
    public Builder setSessionName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      sessionName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊时段
     * </pre>
     *
     * <code>string sessionName = 16;</code>
     * @return This builder for chaining.
     */
    public Builder clearSessionName() {
      
      sessionName_ = getDefaultInstance().getSessionName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊时段
     * </pre>
     *
     * <code>string sessionName = 16;</code>
     * @param value The bytes for sessionName to set.
     * @return This builder for chaining.
     */
    public Builder setSessionNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      sessionName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admitRange_ = "";
    /**
     * <pre>
     *候诊时间
     * </pre>
     *
     * <code>string admitRange = 17;</code>
     * @return The admitRange.
     */
    public java.lang.String getAdmitRange() {
      java.lang.Object ref = admitRange_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admitRange_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *候诊时间
     * </pre>
     *
     * <code>string admitRange = 17;</code>
     * @return The bytes for admitRange.
     */
    public com.google.protobuf.ByteString
        getAdmitRangeBytes() {
      java.lang.Object ref = admitRange_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admitRange_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *候诊时间
     * </pre>
     *
     * <code>string admitRange = 17;</code>
     * @param value The admitRange to set.
     * @return This builder for chaining.
     */
    public Builder setAdmitRange(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admitRange_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *候诊时间
     * </pre>
     *
     * <code>string admitRange = 17;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmitRange() {
      
      admitRange_ = getDefaultInstance().getAdmitRange();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *候诊时间
     * </pre>
     *
     * <code>string admitRange = 17;</code>
     * @param value The bytes for admitRange to set.
     * @return This builder for chaining.
     */
    public Builder setAdmitRangeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admitRange_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object serviceName_ = "";
    /**
     * <pre>
     *专业名称
     * </pre>
     *
     * <code>string serviceName = 18;</code>
     * @return The serviceName.
     */
    public java.lang.String getServiceName() {
      java.lang.Object ref = serviceName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        serviceName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *专业名称
     * </pre>
     *
     * <code>string serviceName = 18;</code>
     * @return The bytes for serviceName.
     */
    public com.google.protobuf.ByteString
        getServiceNameBytes() {
      java.lang.Object ref = serviceName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        serviceName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *专业名称
     * </pre>
     *
     * <code>string serviceName = 18;</code>
     * @param value The serviceName to set.
     * @return This builder for chaining.
     */
    public Builder setServiceName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      serviceName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *专业名称
     * </pre>
     *
     * <code>string serviceName = 18;</code>
     * @return This builder for chaining.
     */
    public Builder clearServiceName() {
      
      serviceName_ = getDefaultInstance().getServiceName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *专业名称
     * </pre>
     *
     * <code>string serviceName = 18;</code>
     * @param value The bytes for serviceName to set.
     * @return This builder for chaining.
     */
    public Builder setServiceNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      serviceName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object insuRegInfo_ = "";
    /**
     * <pre>
     *医保退号适用串(以&amp;分割的N个入参)，有值时退号需调用医保注销接口
     * </pre>
     *
     * <code>string insuRegInfo = 19;</code>
     * @return The insuRegInfo.
     */
    public java.lang.String getInsuRegInfo() {
      java.lang.Object ref = insuRegInfo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        insuRegInfo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医保退号适用串(以&amp;分割的N个入参)，有值时退号需调用医保注销接口
     * </pre>
     *
     * <code>string insuRegInfo = 19;</code>
     * @return The bytes for insuRegInfo.
     */
    public com.google.protobuf.ByteString
        getInsuRegInfoBytes() {
      java.lang.Object ref = insuRegInfo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        insuRegInfo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医保退号适用串(以&amp;分割的N个入参)，有值时退号需调用医保注销接口
     * </pre>
     *
     * <code>string insuRegInfo = 19;</code>
     * @param value The insuRegInfo to set.
     * @return This builder for chaining.
     */
    public Builder setInsuRegInfo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      insuRegInfo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医保退号适用串(以&amp;分割的N个入参)，有值时退号需调用医保注销接口
     * </pre>
     *
     * <code>string insuRegInfo = 19;</code>
     * @return This builder for chaining.
     */
    public Builder clearInsuRegInfo() {
      
      insuRegInfo_ = getDefaultInstance().getInsuRegInfo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医保退号适用串(以&amp;分割的N个入参)，有值时退号需调用医保注销接口
     * </pre>
     *
     * <code>string insuRegInfo = 19;</code>
     * @param value The bytes for insuRegInfo to set.
     * @return This builder for chaining.
     */
    public Builder setInsuRegInfoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      insuRegInfo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object returnFlag_ = "";
    /**
     * <pre>
     *可退号标志(Y/N)
     * </pre>
     *
     * <code>string returnFlag = 20;</code>
     * @return The returnFlag.
     */
    public java.lang.String getReturnFlag() {
      java.lang.Object ref = returnFlag_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        returnFlag_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *可退号标志(Y/N)
     * </pre>
     *
     * <code>string returnFlag = 20;</code>
     * @return The bytes for returnFlag.
     */
    public com.google.protobuf.ByteString
        getReturnFlagBytes() {
      java.lang.Object ref = returnFlag_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        returnFlag_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *可退号标志(Y/N)
     * </pre>
     *
     * <code>string returnFlag = 20;</code>
     * @param value The returnFlag to set.
     * @return This builder for chaining.
     */
    public Builder setReturnFlag(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      returnFlag_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *可退号标志(Y/N)
     * </pre>
     *
     * <code>string returnFlag = 20;</code>
     * @return This builder for chaining.
     */
    public Builder clearReturnFlag() {
      
      returnFlag_ = getDefaultInstance().getReturnFlag();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *可退号标志(Y/N)
     * </pre>
     *
     * <code>string returnFlag = 20;</code>
     * @param value The bytes for returnFlag to set.
     * @return This builder for chaining.
     */
    public Builder setReturnFlagBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      returnFlag_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object startime_ = "";
    /**
     * <pre>
     *开始时间
     * </pre>
     *
     * <code>string startime = 21;</code>
     * @return The startime.
     */
    public java.lang.String getStartime() {
      java.lang.Object ref = startime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        startime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *开始时间
     * </pre>
     *
     * <code>string startime = 21;</code>
     * @return The bytes for startime.
     */
    public com.google.protobuf.ByteString
        getStartimeBytes() {
      java.lang.Object ref = startime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        startime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *开始时间
     * </pre>
     *
     * <code>string startime = 21;</code>
     * @param value The startime to set.
     * @return This builder for chaining.
     */
    public Builder setStartime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      startime_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *开始时间
     * </pre>
     *
     * <code>string startime = 21;</code>
     * @return This builder for chaining.
     */
    public Builder clearStartime() {
      
      startime_ = getDefaultInstance().getStartime();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *开始时间
     * </pre>
     *
     * <code>string startime = 21;</code>
     * @param value The bytes for startime to set.
     * @return This builder for chaining.
     */
    public Builder setStartimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      startime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object endtime_ = "";
    /**
     * <pre>
     *结束时间
     * </pre>
     *
     * <code>string endtime = 22;</code>
     * @return The endtime.
     */
    public java.lang.String getEndtime() {
      java.lang.Object ref = endtime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        endtime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *结束时间
     * </pre>
     *
     * <code>string endtime = 22;</code>
     * @return The bytes for endtime.
     */
    public com.google.protobuf.ByteString
        getEndtimeBytes() {
      java.lang.Object ref = endtime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        endtime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *结束时间
     * </pre>
     *
     * <code>string endtime = 22;</code>
     * @param value The endtime to set.
     * @return This builder for chaining.
     */
    public Builder setEndtime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      endtime_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *结束时间
     * </pre>
     *
     * <code>string endtime = 22;</code>
     * @return This builder for chaining.
     */
    public Builder clearEndtime() {
      
      endtime_ = getDefaultInstance().getEndtime();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *结束时间
     * </pre>
     *
     * <code>string endtime = 22;</code>
     * @param value The bytes for endtime to set.
     * @return This builder for chaining.
     */
    public Builder setEndtimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      endtime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object transactionId_ = "";
    /**
     * <pre>
     *交易流水号
     * </pre>
     *
     * <code>string transactionId = 23;</code>
     * @return The transactionId.
     */
    public java.lang.String getTransactionId() {
      java.lang.Object ref = transactionId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        transactionId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *交易流水号
     * </pre>
     *
     * <code>string transactionId = 23;</code>
     * @return The bytes for transactionId.
     */
    public com.google.protobuf.ByteString
        getTransactionIdBytes() {
      java.lang.Object ref = transactionId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        transactionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *交易流水号
     * </pre>
     *
     * <code>string transactionId = 23;</code>
     * @param value The transactionId to set.
     * @return This builder for chaining.
     */
    public Builder setTransactionId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      transactionId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *交易流水号
     * </pre>
     *
     * <code>string transactionId = 23;</code>
     * @return This builder for chaining.
     */
    public Builder clearTransactionId() {
      
      transactionId_ = getDefaultInstance().getTransactionId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *交易流水号
     * </pre>
     *
     * <code>string transactionId = 23;</code>
     * @param value The bytes for transactionId to set.
     * @return This builder for chaining.
     */
    public Builder setTransactionIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      transactionId_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.nfyy.RegisteredRecord)
  }

  // @@protoc_insertion_point(class_scope:com.ywt.gapi.nfyy.RegisteredRecord)
  private static final com.ywt.gapi.nfyy.RegisteredRecord DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.ywt.gapi.nfyy.RegisteredRecord();
  }

  public static com.ywt.gapi.nfyy.RegisteredRecord getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<RegisteredRecord>
      PARSER = new com.google.protobuf.AbstractParser<RegisteredRecord>() {
    @java.lang.Override
    public RegisteredRecord parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new RegisteredRecord(input, extensionRegistry);
    }
  };

  public static com.google.protobuf.Parser<RegisteredRecord> parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser<RegisteredRecord> getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public com.ywt.gapi.nfyy.RegisteredRecord getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

