|
@@ -4,6 +4,8 @@ import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import com.fs.common.annotation.Excel;
|
|
|
import com.fs.common.core.domain.BaseEntity;
|
|
|
import com.vdurmont.emoji.EmojiParser;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
@@ -17,7 +19,9 @@ import java.util.Date;
|
|
|
* @author fs
|
|
|
* @date 2023-06-13
|
|
|
*/
|
|
|
+@EqualsAndHashCode(callSuper = true)
|
|
|
@Slf4j
|
|
|
+@Data
|
|
|
public class FsPrescribe extends BaseEntity
|
|
|
{
|
|
|
private static final long serialVersionUID = 1L;
|
|
@@ -170,420 +174,10 @@ public class FsPrescribe extends BaseEntity
|
|
|
|
|
|
public Integer source;
|
|
|
|
|
|
+ /**
|
|
|
+ * 用户确认0未确认 1已确认
|
|
|
+ */
|
|
|
+ private Integer userConfirm;
|
|
|
|
|
|
- public String getPrescribeImgStoreUrl() {
|
|
|
- return prescribeImgStoreUrl;
|
|
|
- }
|
|
|
|
|
|
- public void setPrescribeImgStoreUrl(String prescribeImgStoreUrl) {
|
|
|
- this.prescribeImgStoreUrl = prescribeImgStoreUrl;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getSource() {
|
|
|
- return source;
|
|
|
- }
|
|
|
-
|
|
|
- public void setSource(Integer source) {
|
|
|
- this.source = source;
|
|
|
- }
|
|
|
-
|
|
|
- public String getIcdCode() {
|
|
|
- return icdCode;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIcdCode(String icdCode) {
|
|
|
- this.icdCode = icdCode;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getCycle() {
|
|
|
- return cycle;
|
|
|
- }
|
|
|
-
|
|
|
- public void setCycle(Integer cycle) {
|
|
|
- this.cycle = cycle;
|
|
|
- }
|
|
|
-
|
|
|
- public String getPrescribeCodeUrl() {
|
|
|
- return prescribeCodeUrl;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPrescribeCodeUrl(String prescribeCodeUrl) {
|
|
|
- this.prescribeCodeUrl = prescribeCodeUrl;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getRecipeType() {
|
|
|
- return recipeType;
|
|
|
- }
|
|
|
-
|
|
|
- public void setRecipeType(Integer recipeType) {
|
|
|
- this.recipeType = recipeType;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getPrescribeDoctorId() {
|
|
|
- return prescribeDoctorId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPrescribeDoctorId(Long prescribeDoctorId) {
|
|
|
- this.prescribeDoctorId = prescribeDoctorId;
|
|
|
- }
|
|
|
-
|
|
|
- public String getDoctorSignUrl() {
|
|
|
- return doctorSignUrl;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDoctorSignUrl(String doctorSignUrl) {
|
|
|
- this.doctorSignUrl = doctorSignUrl;
|
|
|
- }
|
|
|
-
|
|
|
- public String getPrescribeDoctorSignUrl() {
|
|
|
- return prescribeDoctorSignUrl;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPrescribeDoctorSignUrl(String prescribeDoctorSignUrl) {
|
|
|
- this.prescribeDoctorSignUrl = prescribeDoctorSignUrl;
|
|
|
- }
|
|
|
-
|
|
|
- public String getPatientBirthday() {
|
|
|
- return patientBirthday;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPatientBirthday(String patientBirthday) {
|
|
|
- this.patientBirthday = patientBirthday;
|
|
|
- }
|
|
|
-
|
|
|
- public String getDrugDoctorSignUrl() {
|
|
|
- return drugDoctorSignUrl;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDrugDoctorSignUrl(String drugDoctorSignUrl) {
|
|
|
- this.drugDoctorSignUrl = drugDoctorSignUrl;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- public Long getStoreId() {
|
|
|
- return storeId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setStoreId(Long storeId) {
|
|
|
- this.storeId = storeId;
|
|
|
- }
|
|
|
-
|
|
|
- public String getUsageJson() {
|
|
|
- return usageJson;
|
|
|
- }
|
|
|
-
|
|
|
- public void setUsageJson(String usageJson) {
|
|
|
- this.usageJson = usageJson;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public String getRemark() {
|
|
|
- return remark;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public void setRemark(String remark) {
|
|
|
- this.remark = remark;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getDrugDoctorId() {
|
|
|
- return drugDoctorId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDrugDoctorId(Long drugDoctorId) {
|
|
|
- this.drugDoctorId = drugDoctorId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPrescribeId(Long prescribeId)
|
|
|
- {
|
|
|
- this.prescribeId = prescribeId;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getPrescribeId()
|
|
|
- {
|
|
|
- return prescribeId;
|
|
|
- }
|
|
|
- public void setPrescribeType(Integer prescribeType)
|
|
|
- {
|
|
|
- this.prescribeType = prescribeType;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getPrescribeType()
|
|
|
- {
|
|
|
- return prescribeType;
|
|
|
- }
|
|
|
- public void setInquiryOrderId(Long inquiryOrderId)
|
|
|
- {
|
|
|
- this.inquiryOrderId = inquiryOrderId;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getInquiryOrderId()
|
|
|
- {
|
|
|
- return inquiryOrderId;
|
|
|
- }
|
|
|
- public void setStoreOrderId(Long storeOrderId)
|
|
|
- {
|
|
|
- this.storeOrderId = storeOrderId;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getStoreOrderId()
|
|
|
- {
|
|
|
- return storeOrderId;
|
|
|
- }
|
|
|
- public void setUserId(Long userId)
|
|
|
- {
|
|
|
- this.userId = userId;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getUserId()
|
|
|
- {
|
|
|
- return userId;
|
|
|
- }
|
|
|
- public void setPatientId(Long patientId)
|
|
|
- {
|
|
|
- this.patientId = patientId;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getPatientId()
|
|
|
- {
|
|
|
- return patientId;
|
|
|
- }
|
|
|
- public void setPrescribeCode(String prescribeCode)
|
|
|
- {
|
|
|
- this.prescribeCode = prescribeCode;
|
|
|
- }
|
|
|
-
|
|
|
- public String getPrescribeCode()
|
|
|
- {
|
|
|
- return prescribeCode;
|
|
|
- }
|
|
|
- public void setPatientDescs(String patientJson) {
|
|
|
- try {
|
|
|
- if (StringUtils.isNotEmpty(patientJson)) {
|
|
|
- this.patientDescs = EmojiParser.parseToHtmlDecimal(patientJson);
|
|
|
- } else {
|
|
|
- this.patientDescs = patientJson;
|
|
|
- }
|
|
|
- } catch (Exception e) {
|
|
|
- // 记录异常并使用原始值
|
|
|
- log.error("处理patientDescs时发生错误: {}", patientJson, e);
|
|
|
- this.patientDescs = patientJson;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- public String getPatientDescs()
|
|
|
- {
|
|
|
- if(StringUtils.isNotEmpty(patientDescs)){
|
|
|
- return EmojiParser.parseToUnicode(patientDescs);
|
|
|
- }
|
|
|
- else{
|
|
|
- return patientDescs;
|
|
|
- }
|
|
|
- }
|
|
|
- public void setNowIllness(String nowIllness)
|
|
|
- {
|
|
|
- this.nowIllness = nowIllness;
|
|
|
- }
|
|
|
-
|
|
|
- public String getNowIllness()
|
|
|
- {
|
|
|
- return nowIllness;
|
|
|
- }
|
|
|
- public void setHistoryIllness(String historyIllness)
|
|
|
- {
|
|
|
- this.historyIllness = historyIllness;
|
|
|
- }
|
|
|
-
|
|
|
- public String getHistoryIllness()
|
|
|
- {
|
|
|
- return historyIllness;
|
|
|
- }
|
|
|
- public void setPatientAge(String patientAge)
|
|
|
- {
|
|
|
- this.patientAge = patientAge;
|
|
|
- }
|
|
|
-
|
|
|
- public String getPatientAge()
|
|
|
- {
|
|
|
- return patientAge;
|
|
|
- }
|
|
|
- public void setPatientName(String patientName)
|
|
|
- {
|
|
|
- this.patientName = patientName;
|
|
|
- }
|
|
|
-
|
|
|
- public String getPatientName()
|
|
|
- {
|
|
|
- return patientName;
|
|
|
- }
|
|
|
- public void setWeight(String weight)
|
|
|
- {
|
|
|
- this.weight = weight;
|
|
|
- }
|
|
|
-
|
|
|
- public String getWeight()
|
|
|
- {
|
|
|
- return weight;
|
|
|
- }
|
|
|
- public void setIsHistoryAllergic(String isHistoryAllergic)
|
|
|
- {
|
|
|
- this.isHistoryAllergic = isHistoryAllergic;
|
|
|
- }
|
|
|
-
|
|
|
- public String getIsHistoryAllergic()
|
|
|
- {
|
|
|
- return isHistoryAllergic;
|
|
|
- }
|
|
|
- public void setHistoryAllergic(String historyAllergic)
|
|
|
- {
|
|
|
- this.historyAllergic = historyAllergic;
|
|
|
- }
|
|
|
-
|
|
|
- public String getHistoryAllergic()
|
|
|
- {
|
|
|
- return historyAllergic;
|
|
|
- }
|
|
|
- public void setLiverUnusual(String liverUnusual)
|
|
|
- {
|
|
|
- this.liverUnusual = liverUnusual;
|
|
|
- }
|
|
|
-
|
|
|
- public String getLiverUnusual()
|
|
|
- {
|
|
|
- return liverUnusual;
|
|
|
- }
|
|
|
- public void setRenalUnusual(String renalUnusual)
|
|
|
- {
|
|
|
- this.renalUnusual = renalUnusual;
|
|
|
- }
|
|
|
-
|
|
|
- public String getRenalUnusual()
|
|
|
- {
|
|
|
- return renalUnusual;
|
|
|
- }
|
|
|
- public void setIsLactation(String isLactation)
|
|
|
- {
|
|
|
- this.isLactation = isLactation;
|
|
|
- }
|
|
|
-
|
|
|
- public String getIsLactation()
|
|
|
- {
|
|
|
- return isLactation;
|
|
|
- }
|
|
|
- public void setPatientTel(String patientTel)
|
|
|
- {
|
|
|
- this.patientTel = patientTel;
|
|
|
- }
|
|
|
-
|
|
|
- public String getPatientTel()
|
|
|
- {
|
|
|
- return patientTel;
|
|
|
- }
|
|
|
- public void setPatientGender(String patientGender)
|
|
|
- {
|
|
|
- this.patientGender = patientGender;
|
|
|
- }
|
|
|
-
|
|
|
- public String getPatientGender()
|
|
|
- {
|
|
|
- return patientGender;
|
|
|
- }
|
|
|
- public void setRecordPic(String recordPic)
|
|
|
- {
|
|
|
- this.recordPic = recordPic;
|
|
|
- }
|
|
|
-
|
|
|
- public String getRecordPic()
|
|
|
- {
|
|
|
- return recordPic;
|
|
|
- }
|
|
|
- public void setPrescribeImgUrl(String prescribeImgUrl)
|
|
|
- {
|
|
|
- this.prescribeImgUrl = prescribeImgUrl;
|
|
|
- }
|
|
|
-
|
|
|
- public String getPrescribeImgUrl()
|
|
|
- {
|
|
|
- return prescribeImgUrl;
|
|
|
- }
|
|
|
- public void setAuditReason(String auditReason)
|
|
|
- {
|
|
|
- this.auditReason = auditReason;
|
|
|
- }
|
|
|
-
|
|
|
- public String getAuditReason()
|
|
|
- {
|
|
|
- return auditReason;
|
|
|
- }
|
|
|
- public void setDiagnose(String diagnose)
|
|
|
- {
|
|
|
- this.diagnose = diagnose;
|
|
|
- }
|
|
|
-
|
|
|
- public String getDiagnose()
|
|
|
- {
|
|
|
- return diagnose;
|
|
|
- }
|
|
|
- public void setDoctorId(Long doctorId)
|
|
|
- {
|
|
|
- this.doctorId = doctorId;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getDoctorId()
|
|
|
- {
|
|
|
- return doctorId;
|
|
|
- }
|
|
|
- public void setStatus(Integer status)
|
|
|
- {
|
|
|
- this.status = status;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getStatus()
|
|
|
- {
|
|
|
- return status;
|
|
|
- }
|
|
|
- public void setAuditTime(Date auditTime)
|
|
|
- {
|
|
|
- this.auditTime = auditTime;
|
|
|
- }
|
|
|
-
|
|
|
- public Date getAuditTime()
|
|
|
- {
|
|
|
- return auditTime;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public String toString() {
|
|
|
- return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
|
|
- .append("prescribeId", getPrescribeId())
|
|
|
- .append("prescribeType", getPrescribeType())
|
|
|
- .append("inquiryOrderId", getInquiryOrderId())
|
|
|
- .append("storeOrderId", getStoreOrderId())
|
|
|
- .append("userId", getUserId())
|
|
|
- .append("patientId", getPatientId())
|
|
|
- .append("prescribeCode", getPrescribeCode())
|
|
|
- .append("patientDescs", getPatientDescs())
|
|
|
- .append("nowIllness", getNowIllness())
|
|
|
- .append("historyIllness", getHistoryIllness())
|
|
|
- .append("patientAge", getPatientAge())
|
|
|
- .append("patientName", getPatientName())
|
|
|
- .append("weight", getWeight())
|
|
|
- .append("isHistoryAllergic", getIsHistoryAllergic())
|
|
|
- .append("historyAllergic", getHistoryAllergic())
|
|
|
- .append("liverUnusual", getLiverUnusual())
|
|
|
- .append("renalUnusual", getRenalUnusual())
|
|
|
- .append("isLactation", getIsLactation())
|
|
|
- .append("patientTel", getPatientTel())
|
|
|
- .append("patientGender", getPatientGender())
|
|
|
- .append("recordPic", getRecordPic())
|
|
|
- .append("prescribeImgUrl", getPrescribeImgUrl())
|
|
|
- .append("auditReason", getAuditReason())
|
|
|
- .append("diagnose", getDiagnose())
|
|
|
- .append("doctorId", getDoctorId())
|
|
|
- .append("createTime", getCreateTime())
|
|
|
- .append("status", getStatus())
|
|
|
- .append("auditTime", getAuditTime())
|
|
|
- .toString();
|
|
|
- }
|
|
|
}
|