|
@@ -80,6 +80,8 @@ public final class PrescriptionInfo extends
|
|
|
patientAddress_ = "";
|
|
|
remarks_ = "";
|
|
|
addressModified_ = false;
|
|
|
+ postSource_ = "";
|
|
|
+ presctype_ = "";
|
|
|
}
|
|
|
|
|
|
@java.lang.Override
|
|
@@ -451,6 +453,18 @@ public final class PrescriptionInfo extends
|
|
|
addressModified_ = input.readBool();
|
|
|
break;
|
|
|
}
|
|
|
+ case 506: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ postSource_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 514: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ presctype_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
@@ -6377,6 +6391,90 @@ public final class PrescriptionInfo extends
|
|
|
return addressModified_;
|
|
|
}
|
|
|
|
|
|
+ public static final int POSTSOURCE_FIELD_NUMBER = 63;
|
|
|
+ private volatile java.lang.Object postSource_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *邮寄服务
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string postSource = 63;</code>
|
|
|
+ */
|
|
|
+ public java.lang.String getPostSource() {
|
|
|
+ java.lang.Object ref = postSource_;
|
|
|
+ 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();
|
|
|
+ postSource_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *邮寄服务
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string postSource = 63;</code>
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getPostSourceBytes() {
|
|
|
+ java.lang.Object ref = postSource_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ postSource_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int PRESCTYPE_FIELD_NUMBER = 64;
|
|
|
+ private volatile java.lang.Object presctype_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *类型:“O”为门诊,“I”为住院 “E”为急诊 “H”为体检
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string presctype = 64;</code>
|
|
|
+ */
|
|
|
+ public java.lang.String getPresctype() {
|
|
|
+ java.lang.Object ref = presctype_;
|
|
|
+ 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();
|
|
|
+ presctype_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *类型:“O”为门诊,“I”为住院 “E”为急诊 “H”为体检
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string presctype = 64;</code>
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getPresctypeBytes() {
|
|
|
+ java.lang.Object ref = presctype_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ presctype_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
public final boolean isInitialized() {
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
@@ -6572,6 +6670,12 @@ public final class PrescriptionInfo extends
|
|
|
if (addressModified_ != false) {
|
|
|
output.writeBool(62, addressModified_);
|
|
|
}
|
|
|
+ if (!getPostSourceBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 63, postSource_);
|
|
|
+ }
|
|
|
+ if (!getPresctypeBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 64, presctype_);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public int getSerializedSize() {
|
|
@@ -6789,6 +6893,12 @@ public final class PrescriptionInfo extends
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
.computeBoolSize(62, addressModified_);
|
|
|
}
|
|
|
+ if (!getPostSourceBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(63, postSource_);
|
|
|
+ }
|
|
|
+ if (!getPresctypeBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(64, presctype_);
|
|
|
+ }
|
|
|
memoizedSize = size;
|
|
|
return size;
|
|
|
}
|
|
@@ -6927,6 +7037,10 @@ public final class PrescriptionInfo extends
|
|
|
.equals(other.getRemarks());
|
|
|
result = result && (getAddressModified()
|
|
|
== other.getAddressModified());
|
|
|
+ result = result && getPostSource()
|
|
|
+ .equals(other.getPostSource());
|
|
|
+ result = result && getPresctype()
|
|
|
+ .equals(other.getPresctype());
|
|
|
return result;
|
|
|
}
|
|
|
|
|
@@ -7065,6 +7179,10 @@ public final class PrescriptionInfo extends
|
|
|
hash = (37 * hash) + ADDRESSMODIFIED_FIELD_NUMBER;
|
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
|
getAddressModified());
|
|
|
+ hash = (37 * hash) + POSTSOURCE_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getPostSource().hashCode();
|
|
|
+ hash = (37 * hash) + PRESCTYPE_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getPresctype().hashCode();
|
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
|
memoizedHashCode = hash;
|
|
|
return hash;
|
|
@@ -7325,6 +7443,10 @@ public final class PrescriptionInfo extends
|
|
|
|
|
|
addressModified_ = false;
|
|
|
|
|
|
+ postSource_ = "";
|
|
|
+
|
|
|
+ presctype_ = "";
|
|
|
+
|
|
|
return this;
|
|
|
}
|
|
|
|
|
@@ -7420,6 +7542,8 @@ public final class PrescriptionInfo extends
|
|
|
result.patientAddress_ = patientAddress_;
|
|
|
result.remarks_ = remarks_;
|
|
|
result.addressModified_ = addressModified_;
|
|
|
+ result.postSource_ = postSource_;
|
|
|
+ result.presctype_ = presctype_;
|
|
|
result.bitField0_ = to_bitField0_;
|
|
|
result.bitField1_ = to_bitField1_;
|
|
|
onBuilt();
|
|
@@ -7703,6 +7827,14 @@ public final class PrescriptionInfo extends
|
|
|
if (other.getAddressModified() != false) {
|
|
|
setAddressModified(other.getAddressModified());
|
|
|
}
|
|
|
+ if (!other.getPostSource().isEmpty()) {
|
|
|
+ postSource_ = other.postSource_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getPresctype().isEmpty()) {
|
|
|
+ presctype_ = other.presctype_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
onChanged();
|
|
|
return this;
|
|
|
}
|
|
@@ -11496,6 +11628,184 @@ public final class PrescriptionInfo extends
|
|
|
onChanged();
|
|
|
return this;
|
|
|
}
|
|
|
+
|
|
|
+ private java.lang.Object postSource_ = "";
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *邮寄服务
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string postSource = 63;</code>
|
|
|
+ */
|
|
|
+ public java.lang.String getPostSource() {
|
|
|
+ java.lang.Object ref = postSource_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ postSource_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *邮寄服务
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string postSource = 63;</code>
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getPostSourceBytes() {
|
|
|
+ java.lang.Object ref = postSource_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ postSource_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *邮寄服务
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string postSource = 63;</code>
|
|
|
+ */
|
|
|
+ public Builder setPostSource(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ postSource_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *邮寄服务
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string postSource = 63;</code>
|
|
|
+ */
|
|
|
+ public Builder clearPostSource() {
|
|
|
+
|
|
|
+ postSource_ = getDefaultInstance().getPostSource();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *邮寄服务
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string postSource = 63;</code>
|
|
|
+ */
|
|
|
+ public Builder setPostSourceBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ postSource_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object presctype_ = "";
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *类型:“O”为门诊,“I”为住院 “E”为急诊 “H”为体检
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string presctype = 64;</code>
|
|
|
+ */
|
|
|
+ public java.lang.String getPresctype() {
|
|
|
+ java.lang.Object ref = presctype_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ presctype_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *类型:“O”为门诊,“I”为住院 “E”为急诊 “H”为体检
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string presctype = 64;</code>
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getPresctypeBytes() {
|
|
|
+ java.lang.Object ref = presctype_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ presctype_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *类型:“O”为门诊,“I”为住院 “E”为急诊 “H”为体检
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string presctype = 64;</code>
|
|
|
+ */
|
|
|
+ public Builder setPresctype(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ presctype_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *类型:“O”为门诊,“I”为住院 “E”为急诊 “H”为体检
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string presctype = 64;</code>
|
|
|
+ */
|
|
|
+ public Builder clearPresctype() {
|
|
|
+
|
|
|
+ presctype_ = getDefaultInstance().getPresctype();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *类型:“O”为门诊,“I”为住院 “E”为急诊 “H”为体检
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string presctype = 64;</code>
|
|
|
+ */
|
|
|
+ public Builder setPresctypeBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ presctype_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
public final Builder setUnknownFields(
|
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
|
return this;
|