浏览代码

诊后服务初始化

LAPTOP-KB9HII50\70708 2 年之前
父节点
当前提交
26a14f7aca
共有 100 个文件被更改,包括 19138 次插入659 次删除
  1. 26 0
      business/base-service/src/main/java/com/yihu/jw/contant/DeviceHealthContant.java
  2. 2 2
      svr/svr-base/src/main/java/com/yihu/jw/base/dao/device/DeviceDetailDao.java
  3. 2 0
      business/base-service/src/main/java/com/yihu/jw/doctor/dao/BaseDoctorDao.java
  4. 9 2
      business/base-service/src/main/java/com/yihu/jw/doctor/dao/BaseDoctorPatientDao.java
  5. 13 0
      business/base-service/src/main/java/com/yihu/jw/hospital/message/dao/SystemMessageDao.java
  6. 3 2
      business/base-service/src/main/java/com/yihu/jw/hospital/prescription/dao/PrescriptionDao.java
  7. 3 2
      business/base-service/src/main/java/com/yihu/jw/hospital/prescription/dao/PrescriptionExpressageDao.java
  8. 4 2
      business/base-service/src/main/java/com/yihu/jw/hospital/prescription/dao/PrescriptionExpressageLogDao.java
  9. 6 1
      business/base-service/src/main/java/com/yihu/jw/hospital/prescription/dao/PrescriptionLogDao.java
  10. 2 2
      svr/svr-internet-hospital/src/main/java/com/yihu/jw/hospital/dao/consult/WlyyPatientExpressageAddrDao.java
  11. 5 0
      business/base-service/src/main/java/com/yihu/jw/hospital/prescription/service/PrescriptionLogService.java
  12. 45 0
      business/base-service/src/main/java/com/yihu/jw/message/service/WxMessageUtil.java
  13. 27 0
      business/base-service/src/main/java/com/yihu/jw/org/dao/OrgAddressDao.java
  14. 6 1
      business/base-service/src/main/java/com/yihu/jw/patient/dao/BasePatientDao.java
  15. 3 2
      business/im-service/src/main/java/com/yihu/jw/im/dao/ConsultTeamDao.java
  16. 22 0
      business/im-service/src/main/java/com/yihu/jw/im/util/ImUtil.java
  17. 5 0
      common/common-entity-es/pom.xml
  18. 420 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/COPDDailyFollowupES.java
  19. 585 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/COPDFirstTimeQuestionnaireES.java
  20. 1006 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/FollowupSevereMentalDisorderES.java
  21. 191 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/GynecologicalInflammationDailyFollowupES.java
  22. 780 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/GynecologicalInflammationFollowupArchivesES.java
  23. 1173 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/NewbornFamilyVisitRecordES.java
  24. 2543 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/OlderPeopleHealthCheckRecordES.java
  25. 379 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/PostpartumVisitRecordES.java
  26. 814 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/followupDisease/BreastFollowupES.java
  27. 2641 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/followupDisease/CerebralApoplexyFollowupES.java
  28. 858 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/followupDisease/CoronaryFollowupES.java
  29. 841 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/followupDisease/FattyLiverFollowUpES.java
  30. 841 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/followupDisease/NephropathyFollowupES.java
  31. 768 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/followupDisease/ProstateFollowupES.java
  32. 292 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFirstFollowupES.java
  33. 59 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupDrugUseES.java
  34. 155 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupHealthEduES.java
  35. 33 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupHomeEnvironmentES.java
  36. 59 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupLifeStyleES.java
  37. 99 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupManagementES.java
  38. 47 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupPatientInfoES.java
  39. 34 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupStopTreateES.java
  40. 47 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupSuperviserES.java
  41. 60 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupTransOrgES.java
  42. 267 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisNTimesFollowupDataES.java
  43. 96 0
      common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisNTimesFollowupES.java
  44. 2 0
      common/common-entity/src/main/java/com/yihu/jw/entity/UuidIdentityEntity.java
  45. 87 0
      common/common-entity/src/main/java/com/yihu/jw/entity/base/device/DeviceWxMessage.java
  46. 98 0
      common/common-entity/src/main/java/com/yihu/jw/entity/base/device/DoctorHealthStandard.java
  47. 108 0
      common/common-entity/src/main/java/com/yihu/jw/entity/base/device/PatientAimBloodPressure.java
  48. 94 0
      common/common-entity/src/main/java/com/yihu/jw/entity/base/device/PatientAimBloodSugger.java
  49. 97 0
      common/common-entity/src/main/java/com/yihu/jw/entity/base/device/PatientAimSports.java
  50. 229 0
      common/common-entity/src/main/java/com/yihu/jw/entity/base/device/PatientBloodSugger.java
  51. 113 0
      common/common-entity/src/main/java/com/yihu/jw/entity/base/device/PatientHealthStandard.java
  52. 251 0
      common/common-entity/src/main/java/com/yihu/jw/entity/base/device/PatientHealthTime.java
  53. 100 0
      common/common-entity/src/main/java/com/yihu/jw/entity/base/dict/DmDrugsGroupItem.java
  54. 114 0
      common/common-entity/src/main/java/com/yihu/jw/entity/base/org/OrgAddress.java
  55. 23 0
      common/common-entity/src/main/java/com/yihu/jw/entity/base/patient/BasePatientDO.java
  56. 59 0
      common/common-entity/src/main/java/com/yihu/jw/entity/care/device/DeviceCategory.java
  57. 45 0
      common/common-entity/src/main/java/com/yihu/jw/entity/followup/Followup.java
  58. 5 5
      common/common-entity/src/main/java/com/yihu/jw/entity/followup/FollowupSign.java
  59. 39 0
      common/common-entity/src/main/java/com/yihu/jw/entity/hospital/message/SystemMessageDO.java
  60. 83 0
      common/common-entity/src/main/java/com/yihu/jw/entity/hospital/prescription/PrescriptionAdjust.java
  61. 82 0
      common/common-entity/src/main/java/com/yihu/jw/entity/hospital/prescription/PrescriptionAdjustReason.java
  62. 79 0
      common/common-entity/src/main/java/com/yihu/jw/entity/hospital/prescription/PrescriptionDispensaryCode.java
  63. 107 0
      common/common-entity/src/main/java/com/yihu/jw/entity/hospital/prescription/PrescriptionFollowupContent.java
  64. 480 0
      common/common-entity/src/main/java/com/yihu/jw/entity/hospital/prescription/PrescriptionPay.java
  65. 108 1
      common/common-entity/src/main/java/com/yihu/jw/entity/hospital/prescription/WlyyPrescriptionLogDO.java
  66. 32 0
      common/common-entity/src/main/java/com/yihu/jw/entity/hospital/prescription/WlyyPrescriptionReviewedDO.java
  67. 0 541
      common/common-entity/src/main/java/com/yihu/jw/entity/patient/Patient.java
  68. 2 4
      common/common-entity/src/main/java/com/yihu/jw/entity/patient/PatientDevice.java
  69. 102 0
      common/common-entity/src/main/java/com/yihu/jw/entity/specialist/rehabilitation/PatientDiseaseServer.java
  70. 75 0
      common/common-entity/src/main/java/com/yihu/jw/entity/specialist/rehabilitation/SpecialDiseaseMessages.java
  71. 5 0
      common/common-rest-model-es/pom.xml
  72. 103 0
      common/common-rest-model/src/main/java/com/yihu/jw/restmodel/base/device/DeviceWxMessageDTO.java
  73. 145 0
      common/common-util/src/main/java/com/yihu/jw/util/common/AmoutUtils.java
  74. 107 0
      common/common-util/src/main/java/com/yihu/jw/util/common/CommonUtil.java
  75. 71 0
      common/common-util/src/main/java/com/yihu/jw/util/common/DataUtils.java
  76. 148 0
      common/common-util/src/main/java/com/yihu/jw/util/common/ISqlUtils.java
  77. 14 0
      common/common-util/src/main/java/com/yihu/jw/util/common/IdCardUtil.java
  78. 0 4
      gateway/ag-basic/pom.xml
  79. 33 77
      gateway/ag-basic/src/main/resources/application.yml
  80. 1 1
      gateway/ag-basic/src/main/resources/bootstrap.yml
  81. 10 1
      server/svr-authentication/src/main/java/com/yihu/jw/security/oauth2/provider/endpoint/WlyyLoginEndpoint.java
  82. 1 1
      server/svr-authentication/src/main/resources/bootstrap.yml
  83. 35 7
      starter/elasticsearch-starter/src/main/java/com/yihu/jw/elasticsearch/ElasticSearch7Helper.java
  84. 9 1
      svr/svr-after-diagnosis/pom.xml
  85. 20 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/DeviceCategoryDao.java
  86. 21 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/DeviceDao.java
  87. 128 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/DevicePatientHealthIndexDao.java
  88. 10 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/DeviceWxMessageDao.java
  89. 27 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/DoctorHealthStandardDao.java
  90. 12 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientAimBloodPressureDao.java
  91. 13 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientAimBloodSuggerDao.java
  92. 23 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientAimSportsDao.java
  93. 14 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientBloodSuggerDao.java
  94. 57 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientDeviceDao.java
  95. 20 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientDeviceLogDao.java
  96. 27 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientHealthStandardDao.java
  97. 35 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientHealthTimeDao.java
  98. 18 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/dict/DmDrugsGroupItemDao.java
  99. 146 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/followup/FollowUpDao.java
  100. 0 0
      svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/followup/FollowupContentDao.java

+ 26 - 0
business/base-service/src/main/java/com/yihu/jw/contant/DeviceHealthContant.java

@ -0,0 +1,26 @@
package com.yihu.jw.contant;
/**
 * 设备健康常量
 * Created by yeshijie on 2023/2/13.
 */
public class DeviceHealthContant {
    // 血糖餐前最小值
    public static final double HEALTH_STANDARD_ST_MIN_BEFORE = 4;
    // 血糖餐前最大值
    public static final double HEALTH_STANDARD_ST_MAX_BEFORE = 7;
    // 血糖餐后最小值
    public static final double HEALTH_STANDARD_ST_MIN_AFTER = 4;
    // 血糖餐后最大值
    public static final double HEALTH_STANDARD_ST_MAX_AFTER = 11.1;
    // 舒张压最小值
    public static final double HEALTH_STANDARD_SZY_MIN = 60;
    // 舒张压最大值
    public static final double HEALTH_STANDARD_SZY_MAX = 90;
    // 收缩压最小值
    public static final double HEALTH_STANDARD_SSY_MIN = 90;
    // 收缩压最大值
    public static final double HEALTH_STANDARD_SSY_MAX = 140;
}

+ 2 - 2
svr/svr-base/src/main/java/com/yihu/jw/base/dao/device/DeviceDetailDao.java

@ -1,9 +1,9 @@
package com.yihu.jw.base.dao.device;
package com.yihu.jw.device.dao;
import com.yihu.jw.entity.care.device.DeviceDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

+ 2 - 0
business/base-service/src/main/java/com/yihu/jw/doctor/dao/BaseDoctorDao.java

@ -27,6 +27,8 @@ public interface BaseDoctorDao extends JpaRepository<BaseDoctorDO, String>, JpaS
    @Query("from BaseDoctorDO d where d.id = ?1 AND d.del ='1'")
    BaseDoctorDO findByIdAndDel(String id);
    List<BaseDoctorDO> findDoctorByName(String name);
    @Query("from BaseDoctorDO d where  d.del ='1'")
    List<BaseDoctorDO> findByDel();

+ 9 - 2
business/base-service/src/main/java/com/yihu/jw/doctor/dao/BaseDoctorPatientDao.java

@ -1,10 +1,11 @@
package com.yihu.jw.doctor.dao;
import com.yihu.jw.entity.base.doctor.BaseDoctorDO;
import com.yihu.jw.entity.base.doctor.BaseDoctorPatientDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.jpa.repository.Query;
import java.util.List;
/**
 * @author HZY
@ -12,4 +13,10 @@ import org.springframework.data.repository.PagingAndSortingRepository;
 * Created at 2020/6/1
 */
public interface BaseDoctorPatientDao extends JpaRepository<BaseDoctorPatientDO, String>, JpaSpecificationExecutor<BaseDoctorPatientDO> {
    @Query("from BaseDoctorPatientDO d where  d.status =?1 and d.patientCode=?2 ")
    List<BaseDoctorPatientDO> findByPatientCode(Integer status,String patient);
    @Query(value = "select d.* from base_doctor_patient d where  d.status =?1 and d.patient_code=?2 limit 1 ",nativeQuery = true)
    BaseDoctorPatientDO findOneByPatientCode(Integer status,String patient);
}

+ 13 - 0
business/base-service/src/main/java/com/yihu/jw/hospital/message/dao/SystemMessageDao.java

@ -7,6 +7,7 @@ import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;
import java.util.Date;
import java.util.List;
@ -22,6 +23,9 @@ public interface SystemMessageDao extends JpaRepository<SystemMessageDO, String>
    @Query("from SystemMessageDO p where p.id = ?1")
    SystemMessageDO queryById(String id);
    @Query("from SystemMessageDO a where a.receiver = ?1 and a.relationCode = ?2 and a.type=?3 ")
    List<SystemMessageDO> findByReceiverAndRelationCode(String receiver, String relationCode, Integer type);
    @Modifying
    @Query("delete from SystemMessageDO a where a.type = '996'")
    int delPushTimeIntegerPoint();
@ -79,4 +83,13 @@ public interface SystemMessageDao extends JpaRepository<SystemMessageDO, String>
    @Modifying
    @Query("update SystemMessageDO m set m.isRead=1 ,m.over=0,m.data=?3 where m.type=?1 and m.relationCode=?2 ")
    void readByTypeAndRelationCode(String type,String relationCode,String data);
    @Modifying
    @Query("update SystemMessageDO a set a.prescriptionStatus=?2 where a.relationCode = ?1 and a.type=?3 ")
    int updatePreScriptionMessage(String relationCode, String prescriptionStatus, Integer type);
    @Query("update SystemMessageDO a set a.isRead = 1,a.over = 0 where a.relationCode = ?1 and a.type = ?2")
    @Modifying
    @Transactional
    int updateMessageByRelationCode(String relationCode, Integer type);
}

+ 3 - 2
business/base-service/src/main/java/com/yihu/jw/hospital/prescription/dao/PrescriptionDao.java

@ -1,12 +1,10 @@
package com.yihu.jw.hospital.prescription.dao;
import com.yihu.jw.entity.door.WlyyDoorPrescriptionDO;
import com.yihu.jw.entity.hospital.prescription.WlyyPrescriptionDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.transaction.annotation.Transactional;
import java.util.Date;
@ -20,6 +18,7 @@ public interface PrescriptionDao extends JpaRepository<WlyyPrescriptionDO, Strin
    @Query("select a from WlyyPrescriptionDO a where a.patientCode = ?1 and a.status >= 0 ")
    List<WlyyPrescriptionDO> findByPatientCode(String patientCode);
    @Modifying
    @Query("update WlyyPrescriptionDO p set p.status=?2 where p.id=?1")
    void updateStatus(String id,Integer status);
@ -43,6 +42,8 @@ public interface PrescriptionDao extends JpaRepository<WlyyPrescriptionDO, Strin
    @Query("update WlyyPrescriptionDO p set p.status=?1 ,p.finishTime =?2 where p.outpatientId=?3")
    void updateStatusByOutPatientId(Integer status, Date date,String id);
    List<WlyyPrescriptionDO> findByPatientCodeAndDispensaryType(String patientCode,Integer dispensaryType);
    @Query("select a from WlyyPrescriptionDO a where a.outpatientId = ?1 and a.checkStatus <>4 ")
    List<WlyyPrescriptionDO> findByOutpatientId(String outpatientId);

+ 3 - 2
business/base-service/src/main/java/com/yihu/jw/hospital/prescription/dao/PrescriptionExpressageDao.java

@ -5,9 +5,7 @@ import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.Date;
import java.util.List;
/**
@ -27,4 +25,7 @@ public interface PrescriptionExpressageDao extends JpaRepository<WlyyPrescriptio
    @Query("from WlyyPrescriptionExpressageDO p where p.outpatientId=?1 and p.oneselfPickupFlg = 1 order by p.createTime desc")
    List<WlyyPrescriptionExpressageDO> findByOutpatientIdAndOneSelfPick(String outpatientId);
    @Query(value = "select p.* from wlyy_prescription_expressage p where p.outpatient_id=?1 order by p.create_time desc limit 1",nativeQuery = true)
    WlyyPrescriptionExpressageDO findByPrescriptionCode(String prescriptionCode);
}

+ 4 - 2
business/base-service/src/main/java/com/yihu/jw/hospital/prescription/dao/PrescriptionExpressageLogDao.java

@ -1,10 +1,9 @@
package com.yihu.jw.hospital.prescription.dao;
import com.yihu.jw.entity.hospital.prescription.WlyyPrescriptionDO;
import com.yihu.jw.entity.hospital.prescription.WlyyPrescriptionExpressageLogDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.jpa.repository.Query;
import java.util.List;
@ -16,4 +15,7 @@ public interface PrescriptionExpressageLogDao extends JpaRepository<WlyyPrescrip
    List<WlyyPrescriptionExpressageLogDO> queryByOutpatientId(String outpatientId);
    List<WlyyPrescriptionExpressageLogDO> queryByOutpatientIdOrderByCreateTimeDesc(String outpatientId);
    @Query("from WlyyPrescriptionExpressageLogDO p where p.prescriptionId=?1 order by p.acceptTime desc")
    List<WlyyPrescriptionExpressageLogDO> findByPrescriptionCode(String prescriptionId);
}

+ 6 - 1
business/base-service/src/main/java/com/yihu/jw/hospital/prescription/dao/PrescriptionLogDao.java

@ -4,7 +4,6 @@ import com.yihu.jw.entity.hospital.prescription.WlyyPrescriptionLogDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.List;
@ -19,4 +18,10 @@ public interface PrescriptionLogDao extends JpaRepository<WlyyPrescriptionLogDO,
    @Query("select a from WlyyPrescriptionLogDO a where a.prescriptionCode = ?1 and a.status in(20,30,10,100)  order by a.createTime asc ")
    List<WlyyPrescriptionLogDO> findByPrescriptionCodeByStatus(String prescriptionCode);
    @Query(" from WlyyPrescriptionLogDO l where l.prescriptionCode=?1 and l.status in ?2 order by createTime desc")
    List<WlyyPrescriptionLogDO> findPrescriptionLogsByPrescriptionCode(String prescriptionCode, Integer[] types);
    @Query(" from WlyyPrescriptionLogDO l where l.prescriptionCode=?1 and l.status = ?2 ")
    List<WlyyPrescriptionLogDO> findByPrescriptionCodeAndStutas(String prescriptionCode, int status);
}

+ 2 - 2
svr/svr-internet-hospital/src/main/java/com/yihu/jw/hospital/dao/consult/WlyyPatientExpressageAddrDao.java

@ -1,8 +1,8 @@
package com.yihu.jw.hospital.dao.consult;
package com.yihu.jw.hospital.prescription.dao;
import com.yihu.jw.entity.hospital.prescription.WlyyPatientExpressageAddrDO;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import java.util.List;

+ 5 - 0
business/base-service/src/main/java/com/yihu/jw/hospital/prescription/service/PrescriptionLogService.java

@ -30,6 +30,11 @@ public class PrescriptionLogService  extends BaseJpaService<WlyyPrescriptionLogD
    @Autowired
    private PrescriptionDao prescriptionDao;
    public List<WlyyPrescriptionLogDO> findPrescriptionLogsByPrescriptionCode(String prescriptionCode, Integer[] status) {
        return logDao.findPrescriptionLogsByPrescriptionCode(prescriptionCode, status);
    }
    /**
     * 处方日志表
     * @param prescriptionCode

+ 45 - 0
business/base-service/src/main/java/com/yihu/jw/message/service/WxMessageUtil.java

@ -53,6 +53,34 @@ public class WxMessageUtil {
    private BaseOrgDao orgDao;
    public String getWechatId(){
        return wechatId;
    }
    public void putWxMsg(String openId,WxTemplateConfigDO newConfig,Integer type,JSONObject json){
        putWxMsg(getWechatId(),openId,newConfig,type,json);
    }
    public void putWxMsg(String wechatId,String openId,WxTemplateConfigDO newConfig,Integer type,JSONObject json){
        try {
            if(StringUtils.isBlank(wechatId)){
                wechatId = getWechatId();
            }
            System.out.println(wechatId);
            WxAccessTokenDO wxAccessTokenDO = wxAccessTokenService.getWxAccessTokenById(wechatId);
            if (wxAccessTokenDO == null) {
                logger.info("wx_access_token表获取为空,wechatId" + wechatId);
                return;
            }
            newConfig = setTemPlateUrl(newConfig,type,openId,json);
            //发起微信消息模板推送
            weixinMessagePushUtils.putWxMsg(wxAccessTokenDO.getAccessToken(), openId, newConfig);
        }catch (Exception e){
            e.printStackTrace();
        }
    }
    /**
     * 批量异步发送微信模板消息
     */
@ -88,6 +116,14 @@ public class WxMessageUtil {
        }
    }
    public WxTemplateConfigDO findByWechatIdAndTemplateNameAndSceneAndStatus(String wechatId, String templateName, String scene, Integer status){
        if(StringUtils.isBlank(wechatId)){
            wechatId = getWechatId();
        }
        return wxTemplateConfigDao.findByWechatIdAndTemplateNameAndSceneAndStatus(wechatId, templateName, scene, status);
    }
    /**
     *
     * @param wechatId
@ -104,6 +140,9 @@ public class WxMessageUtil {
    public void putTemplateWxMessage(String wechatId, String templateName, String scene, String openId, String first
            ,String url, String remark, Integer type,JSONObject json,String ...keywords) {
        try {
            if(StringUtils.isBlank(wechatId)){
                wechatId = getWechatId();
            }
            System.out.println(wechatId);
            WxAccessTokenDO wxAccessTokenDO = wxAccessTokenService.getWxAccessTokenById(wechatId);
@ -218,12 +257,18 @@ public class WxMessageUtil {
                String url1 = "wx/common/";
                wxTemplateConfigDO.setUrl(url1 + wxTemplateConfigDO.getUrl()+"?openid=" + openid + "&consult=" + json.getString("consult") + "&status=" + json.getInteger("status"));
                break;
            case 33:
                wxTemplateConfigDO.setUrl(url + json.getString("url") + "?openid=" + openid + "&id=" + json.get("id")+ "&deviceId=" + json.getString("deviceId"));
                break;
            case 34:
                wxTemplateConfigDO.setUrl(url + wxTemplateConfigDO.getUrl() + "?openid=" + openid + "&orderId=" + json.getString("orderId")+ "&authorizeImage=" + json.getString("authorizeImage"));
                break;
            case 35:
                wxTemplateConfigDO.setUrl(url + wxTemplateConfigDO.getUrl()+json.getString("orderId")+"&isMask=1");
                break;
            default:
                //22
                break;
        }
        return wxTemplateConfigDO;
    }

+ 27 - 0
business/base-service/src/main/java/com/yihu/jw/org/dao/OrgAddressDao.java

@ -0,0 +1,27 @@
package com.yihu.jw.org.dao;
import com.yihu.jw.entity.base.org.OrgAddress;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.List;
/***
 * @ClassName: OrgAddressDao
 * @Description:
 * @Auther: shi kejing
 * @Date: 2021/3/9 10:56
 */
public interface OrgAddressDao extends PagingAndSortingRepository<OrgAddress, Long>, JpaSpecificationExecutor<OrgAddress> {
    @Query("select p from OrgAddress p where p.hospitalCode=?1 ")
    List<OrgAddress> findByHospitalCode(String hospitalCode);
    @Query("select p from OrgAddress p where p.deptCode=?1 ")
    OrgAddress findByDeptCode(String deptCode);
    OrgAddress findById(Integer id);
    OrgAddress findByHospitalCodeAndOrgCodeAndDeptCode(String hospitalCode,String orgCode,String deptCode);
}

+ 6 - 1
business/base-service/src/main/java/com/yihu/jw/patient/dao/BasePatientDao.java

@ -5,7 +5,6 @@ import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.List;
import java.util.Map;
@ -16,8 +15,14 @@ import java.util.Map;
public interface BasePatientDao extends JpaRepository<BasePatientDO, String>, JpaSpecificationExecutor<BasePatientDO> {
    @Query("select p from BasePatientDO p where p.openid=?1 and p.del='1'")
    BasePatientDO findByOpenid(String openid);
    BasePatientDO findByIdcardAndDel(String Idcard,String del);
    @Query(value = "select p.* from base_patient p,patient_medicare_card c where c.code=?1 and c.patient_code=p.id and c.type='A_01' limit 1",nativeQuery = true)
    BasePatientDO findBySsc(String ssc);
    @Query("select id as id,idcard as idcard,name as name,case sex when 1 then '男' when 2 then '女' else '未知' end as sex,mobile as phone,committeeName as committeeName,concat(provinceName,cityName,townName,streetName) as address from BasePatientDO where idcard like ?1")
    List<Map<String,Object>> findByIdcard(String idcard, Pageable pageable);

+ 3 - 2
business/im-service/src/main/java/com/yihu/jw/im/dao/ConsultTeamDao.java

@ -1,14 +1,12 @@
package com.yihu.jw.im.dao;
import com.yihu.jw.entity.base.im.ConsultTeamDo;
import org.hibernate.validator.constraints.LuhnCheck;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.Date;
import java.util.List;
@ -60,4 +58,7 @@ public interface ConsultTeamDao  extends JpaRepository<ConsultTeamDo, String>, J
	@Modifying
	@Query("update ConsultTeamDo a set a.status = -1 where a.consult = ?1 and a.status <> 1")
	int cancel(String consult);
	@Query("select a from ConsultTeamDo a where a.patient = ?1 and a.del = '1' and a.status = 0 and a.type = 8")
	List<ConsultTeamDo> findUnfinishedConsultPrescription(String code);
}

+ 22 - 0
business/im-service/src/main/java/com/yihu/jw/im/util/ImUtil.java

@ -295,6 +295,28 @@ public class ImUtil {
		String response = HttpClientUtil.postBody(imAddr, params);
		return response;
	}
	/**
	 * 发送消息给IM
	 *
	 * @param from        来自
	 * @param contentType 1文字 2图片消息
	 * @param content     内容
	 */
	public String sendImMsg(String from, String fromName, String sessionId, String contentType, String content, String businessType) {
		String imAddr = im_host + "api/v2/sessions/" + sessionId + "/messages";
		System.out.println("im地址"+imAddr);
		JSONObject params = new JSONObject();
		params.put("sender_id", from);
		params.put("sender_name", fromName);
		params.put("content_type", contentType);
		params.put("content", content);
		params.put("session_id", sessionId);
		params.put("business_type", businessType);
		params.put("extend",null);
		String response = HttpClientUtil.postBody(imAddr, params);
		return response;
	}
	
	/**
	 * 更新会话状态

+ 5 - 0
common/common-entity-es/pom.xml

@ -43,5 +43,10 @@
            <artifactId>jna</artifactId>
            <version>${version.jna}</version>
        </dependency>
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <version>1.18.6</version>
        </dependency>
    </dependencies>
</project>

+ 420 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/COPDDailyFollowupES.java

@ -0,0 +1,420 @@
package com.yihu.jw.followup;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.searchbox.annotations.JestId;
import org.springframework.data.annotation.CreatedDate;
import java.util.Date;
/**
 * 慢性阻塞性肺病日常随访
 * @author hmf
 * @date 2020/3/18
 */
public class COPDDailyFollowupES {
    @JestId
    private String id;
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    private String version;//版本号
    private String problemId;//健康问题id(肺癌1001 慢性胃肠病1002 冠心病1003 慢性前列腺疾病1004 慢性乳腺疾病1005  慢性阻塞性肺病1006 脂肪肝1007 慢性妇科炎症1008 脑卒中1009 慢性肾病1010)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
    @CreatedDate
    private Date createTime;//创建时间
    private String createOperator;//创建人
    private String createOperatorName;//创建人
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
    @CreatedDate
    private Date modifyTime;//修改时间
    private String modifyOperator;//修改人
    private String modifyOperatorName;//修改人
    private String validFlag;//有效标志
    private String remark;//备注
    private String symptomNo;//症状_无
    private String symptomCough;//症状_咳嗽
    private String symptomExpectoration;//症状_咳痰
    private String symptomHemoptysis;//症状_咯血
    private String symptomAnhelationAcAf;//症状_气促_活动后
    private String symptomAnhelationCalm;//症状_气促_平静时
    private String symptomChestAcAf;//症状_胸闷_活动后
    private String symptomChestCalm;//症状_胸闷_平静时
    private String symptomChestPainAcAf;//症状_胸痛_活动后
    private String symptomChestPainCalm;//症状_胸痛_平静时
    private String symptomFeverLess;//症状_发热<=38摄氏度
    private String symptomFeverGreater;//症状_发热>=39摄氏度
    private String symptomDrowsiness;//症状_发热>=嗜睡
    private String symptomOther;//症状_其它
    private String symptomAcuteNum;//急性加重次数评估
    private String sickSign;//体征_体征
    //个人基本信息
    private String pulseRate;//脉率
    private String heartRate;//心率
    private String bloodPressureU;//血压(收缩压)
    private String bloodPressureD;//血压(舒张压)
    private String bloodPressureStatus;//血压状态
    private String height;//身高
    private String weight;//体重
    private String spo;//末梢血氧饱和度(spo2)
    private String lung;//慢阻肺
    private String lungType;//慢阻肺类型
    private String pdm;//fev1/fvc参考结论
    private String fev;//fev1占预计的百分比
    private String fvc;//fvc占预计的百分比
    private String historySmokingStatus;//个人信息及病史_吸烟现状
    private String sports;//运动
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getProblemId() {
        return problemId;
    }
    public void setProblemId(String problemId) {
        this.problemId = problemId;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getCreateOperator() {
        return createOperator;
    }
    public void setCreateOperator(String createOperator) {
        this.createOperator = createOperator;
    }
    public String getCreateOperatorName() {
        return createOperatorName;
    }
    public void setCreateOperatorName(String createOperatorName) {
        this.createOperatorName = createOperatorName;
    }
    public Date getModifyTime() {
        return modifyTime;
    }
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
    public String getModifyOperator() {
        return modifyOperator;
    }
    public void setModifyOperator(String modifyOperator) {
        this.modifyOperator = modifyOperator;
    }
    public String getModifyOperatorName() {
        return modifyOperatorName;
    }
    public void setModifyOperatorName(String modifyOperatorName) {
        this.modifyOperatorName = modifyOperatorName;
    }
    public String getValidFlag() {
        return validFlag;
    }
    public void setValidFlag(String validFlag) {
        this.validFlag = validFlag;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getSymptomNo() {
        return symptomNo;
    }
    public void setSymptomNo(String symptomNo) {
        this.symptomNo = symptomNo;
    }
    public String getSymptomCough() {
        return symptomCough;
    }
    public void setSymptomCough(String symptomCough) {
        this.symptomCough = symptomCough;
    }
    public String getSymptomExpectoration() {
        return symptomExpectoration;
    }
    public void setSymptomExpectoration(String symptomExpectoration) {
        this.symptomExpectoration = symptomExpectoration;
    }
    public String getSymptomHemoptysis() {
        return symptomHemoptysis;
    }
    public void setSymptomHemoptysis(String symptomHemoptysis) {
        this.symptomHemoptysis = symptomHemoptysis;
    }
    public String getSymptomAnhelationAcAf() {
        return symptomAnhelationAcAf;
    }
    public void setSymptomAnhelationAcAf(String symptomAnhelationAcAf) {
        this.symptomAnhelationAcAf = symptomAnhelationAcAf;
    }
    public String getSymptomAnhelationCalm() {
        return symptomAnhelationCalm;
    }
    public void setSymptomAnhelationCalm(String symptomAnhelationCalm) {
        this.symptomAnhelationCalm = symptomAnhelationCalm;
    }
    public String getSymptomChestAcAf() {
        return symptomChestAcAf;
    }
    public void setSymptomChestAcAf(String symptomChestAcAf) {
        this.symptomChestAcAf = symptomChestAcAf;
    }
    public String getSymptomChestCalm() {
        return symptomChestCalm;
    }
    public void setSymptomChestCalm(String symptomChestCalm) {
        this.symptomChestCalm = symptomChestCalm;
    }
    public String getSymptomChestPainAcAf() {
        return symptomChestPainAcAf;
    }
    public void setSymptomChestPainAcAf(String symptomChestPainAcAf) {
        this.symptomChestPainAcAf = symptomChestPainAcAf;
    }
    public String getSymptomChestPainCalm() {
        return symptomChestPainCalm;
    }
    public void setSymptomChestPainCalm(String symptomChestPainCalm) {
        this.symptomChestPainCalm = symptomChestPainCalm;
    }
    public String getSymptomFeverLess() {
        return symptomFeverLess;
    }
    public void setSymptomFeverLess(String symptomFeverLess) {
        this.symptomFeverLess = symptomFeverLess;
    }
    public String getSymptomFeverGreater() {
        return symptomFeverGreater;
    }
    public void setSymptomFeverGreater(String symptomFeverGreater) {
        this.symptomFeverGreater = symptomFeverGreater;
    }
    public String getSymptomDrowsiness() {
        return symptomDrowsiness;
    }
    public void setSymptomDrowsiness(String symptomDrowsiness) {
        this.symptomDrowsiness = symptomDrowsiness;
    }
    public String getSymptomOther() {
        return symptomOther;
    }
    public void setSymptomOther(String symptomOther) {
        this.symptomOther = symptomOther;
    }
    public String getSymptomAcuteNum() {
        return symptomAcuteNum;
    }
    public void setSymptomAcuteNum(String symptomAcuteNum) {
        this.symptomAcuteNum = symptomAcuteNum;
    }
    public String getSickSign() {
        return sickSign;
    }
    public void setSickSign(String sickSign) {
        this.sickSign = sickSign;
    }
    public String getPulseRate() {
        return pulseRate;
    }
    public void setPulseRate(String pulseRate) {
        this.pulseRate = pulseRate;
    }
    public String getHeartRate() {
        return heartRate;
    }
    public void setHeartRate(String heartRate) {
        this.heartRate = heartRate;
    }
    public String getBloodPressureU() {
        return bloodPressureU;
    }
    public void setBloodPressureU(String bloodPressureU) {
        this.bloodPressureU = bloodPressureU;
    }
    public String getBloodPressureD() {
        return bloodPressureD;
    }
    public void setBloodPressureD(String bloodPressureD) {
        this.bloodPressureD = bloodPressureD;
    }
    public String getBloodPressureStatus() {
        return bloodPressureStatus;
    }
    public void setBloodPressureStatus(String bloodPressureStatus) {
        this.bloodPressureStatus = bloodPressureStatus;
    }
    public String getHeight() {
        return height;
    }
    public void setHeight(String height) {
        this.height = height;
    }
    public String getWeight() {
        return weight;
    }
    public void setWeight(String weight) {
        this.weight = weight;
    }
    public String getSpo() {
        return spo;
    }
    public void setSpo(String spo) {
        this.spo = spo;
    }
    public String getLung() {
        return lung;
    }
    public void setLung(String lung) {
        this.lung = lung;
    }
    public String getLungType() {
        return lungType;
    }
    public void setLungType(String lungType) {
        this.lungType = lungType;
    }
    public String getPdm() {
        return pdm;
    }
    public void setPdm(String pdm) {
        this.pdm = pdm;
    }
    public String getFev() {
        return fev;
    }
    public void setFev(String fev) {
        this.fev = fev;
    }
    public String getFvc() {
        return fvc;
    }
    public void setFvc(String fvc) {
        this.fvc = fvc;
    }
    public String getHistorySmokingStatus() {
        return historySmokingStatus;
    }
    public void setHistorySmokingStatus(String historySmokingStatus) {
        this.historySmokingStatus = historySmokingStatus;
    }
    public String getSports() {
        return sports;
    }
    public void setSports(String sports) {
        this.sports = sports;
    }
}

+ 585 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/COPDFirstTimeQuestionnaireES.java

@ -0,0 +1,585 @@
package com.yihu.jw.followup;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.searchbox.annotations.JestId;
import org.springframework.data.annotation.CreatedDate;
import java.util.Date;
/**
 * 慢性阻塞性肺病--首次问卷
 * @author hmf
 * @date 2020/3/17
 */
public class COPDFirstTimeQuestionnaireES {
    @JestId
    private String id;
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    private String version;//版本号
    private String problemId;//健康问题id(肺癌1001 慢性胃肠病1002 冠心病1003 慢性前列腺疾病1004 慢性乳腺疾病1005  慢性阻塞性肺病1006 脂肪肝1007 慢性妇科炎症1008 脑卒中1009 慢性肾病1010)
    private String symptomNo;//症状_无
    private String symptomCough;//症状_咳嗽
    private String symptomExpectoration;//症状_咳痰
    private String symptomHemoptysis;//症状_咯血
    private String symptomAnhelationAcAf;//症状_气促_活动后
    private String symptomAnhelationCalm;//症状_气促_平静时
    private String symptomChestAcAf;//症状_胸闷_活动后
    private String symptomChestCalm;//症状_胸闷_平静时
    private String symptomChestPainAcAf;//症状_胸痛_活动后
    private String symptomChestPainCalm;//症状_胸痛_平静时
    private String symptomFeverLess;//症状_发热<=38摄氏度
    private String symptomFeverGreater;//症状_发热>=39摄氏度
    private String symptomDrowsiness;//症状_发热>=嗜睡
    private String symptomOther;//症状_其它
    private String symptomAcuteNum;//急性加重次数评估
    //个人信息及病史
    private String historyEducation;//个人信息及病史_受教育水平
    private String historyOccupaExposure;//个人信息及病史_有无职业暴露史
    private String historyIndoorPollution;//个人信息及病史_室内环境空气污染
    private String historyWorkPollution;//个人信息及病史_工作环境污染暴露
    private String historySmokingStatus;//个人信息及病史_吸烟现状
    private String historyTherioma;//个人信息及病史_家族性存在恶性肿瘤病史
    private String historyHeredopathia;//个人信息及病史_家族性存在遗传病史
    private String historyChronicAirway;//个人信息及病史_家族性慢性气道病史
    private String sickSign;//体征_体征
    //个人基本信息
    private String pulseRate;//脉率
    private String heartRate;//心率
    private String bloodPressureU;//血压(收缩压)
    private String bloodPressureD;//血压(舒张压)
    private String bloodPressureStatus;//血压状态
    private String height;//身高
    private String weight;//体重
    private String spo;//末梢血氧饱和度(spo2)
    private String dr;//dr胸片(半年一次)
    private String lung;//慢阻肺
    private String lungType;//慢阻肺类型
    private String pdm;//fev1/fvc参考结论
    private String fev;//fev1占预计的百分比
    private String fvc;//fvc占预计的百分比
    //生活方式
    private String dailySmokingQuantity;//日吸烟量
    private String dailySmokingStartYear;//吸烟初始年龄
    private String dailySmokingYearNum;//吸烟年数
    private String dailySmokingIndex;//吸烟指数
    private String everyAlcoholTolerance;//日饮酒量
    private String sports;//运动
    private String oralHormone;//口服激素
    private String complianceBehavior;//遵医行为
    private String drugCompliance;//服药依从性
    private String drugAdverseReaction;//药物不良反应
    private String medicationSituation;//用药情况
    private String validFlag;//有效标志
    private String remark;//备注
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
    @CreatedDate
    private Date createTime;//创建时间
    private String createOperator;//创建人
    private String createOperatorName;//创建人
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
    @CreatedDate
    private Date modifyTime;//修改时间
    private String modifyOperator;//修改人
    private String modifyOperatorName;//修改人
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getProblemId() {
        return problemId;
    }
    public void setProblemId(String problemId) {
        this.problemId = problemId;
    }
    public String getSymptomNo() {
        return symptomNo;
    }
    public void setSymptomNo(String symptomNo) {
        this.symptomNo = symptomNo;
    }
    public String getSymptomCough() {
        return symptomCough;
    }
    public void setSymptomCough(String symptomCough) {
        this.symptomCough = symptomCough;
    }
    public String getSymptomExpectoration() {
        return symptomExpectoration;
    }
    public void setSymptomExpectoration(String symptomExpectoration) {
        this.symptomExpectoration = symptomExpectoration;
    }
    public String getSymptomHemoptysis() {
        return symptomHemoptysis;
    }
    public void setSymptomHemoptysis(String symptomHemoptysis) {
        this.symptomHemoptysis = symptomHemoptysis;
    }
    public String getSymptomAnhelationAcAf() {
        return symptomAnhelationAcAf;
    }
    public void setSymptomAnhelationAcAf(String symptomAnhelationAcAf) {
        this.symptomAnhelationAcAf = symptomAnhelationAcAf;
    }
    public String getSymptomAnhelationCalm() {
        return symptomAnhelationCalm;
    }
    public void setSymptomAnhelationCalm(String symptomAnhelationCalm) {
        this.symptomAnhelationCalm = symptomAnhelationCalm;
    }
    public String getSymptomChestAcAf() {
        return symptomChestAcAf;
    }
    public void setSymptomChestAcAf(String symptomChestAcAf) {
        this.symptomChestAcAf = symptomChestAcAf;
    }
    public String getSymptomChestCalm() {
        return symptomChestCalm;
    }
    public void setSymptomChestCalm(String symptomChestCalm) {
        this.symptomChestCalm = symptomChestCalm;
    }
    public String getSymptomChestPainAcAf() {
        return symptomChestPainAcAf;
    }
    public void setSymptomChestPainAcAf(String symptomChestPainAcAf) {
        this.symptomChestPainAcAf = symptomChestPainAcAf;
    }
    public String getSymptomChestPainCalm() {
        return symptomChestPainCalm;
    }
    public void setSymptomChestPainCalm(String symptomChestPainCalm) {
        this.symptomChestPainCalm = symptomChestPainCalm;
    }
    public String getSymptomFeverLess() {
        return symptomFeverLess;
    }
    public void setSymptomFeverLess(String symptomFeverLess) {
        this.symptomFeverLess = symptomFeverLess;
    }
    public String getSymptomFeverGreater() {
        return symptomFeverGreater;
    }
    public void setSymptomFeverGreater(String symptomFeverGreater) {
        this.symptomFeverGreater = symptomFeverGreater;
    }
    public String getSymptomDrowsiness() {
        return symptomDrowsiness;
    }
    public void setSymptomDrowsiness(String symptomDrowsiness) {
        this.symptomDrowsiness = symptomDrowsiness;
    }
    public String getSymptomOther() {
        return symptomOther;
    }
    public void setSymptomOther(String symptomOther) {
        this.symptomOther = symptomOther;
    }
    public String getSymptomAcuteNum() {
        return symptomAcuteNum;
    }
    public void setSymptomAcuteNum(String symptomAcuteNum) {
        this.symptomAcuteNum = symptomAcuteNum;
    }
    public String getHistoryEducation() {
        return historyEducation;
    }
    public void setHistoryEducation(String historyEducation) {
        this.historyEducation = historyEducation;
    }
    public String getHistoryOccupaExposure() {
        return historyOccupaExposure;
    }
    public void setHistoryOccupaExposure(String historyOccupaExposure) {
        this.historyOccupaExposure = historyOccupaExposure;
    }
    public String getHistoryIndoorPollution() {
        return historyIndoorPollution;
    }
    public void setHistoryIndoorPollution(String historyIndoorPollution) {
        this.historyIndoorPollution = historyIndoorPollution;
    }
    public String getHistoryWorkPollution() {
        return historyWorkPollution;
    }
    public void setHistoryWorkPollution(String historyWorkPollution) {
        this.historyWorkPollution = historyWorkPollution;
    }
    public String getHistorySmokingStatus() {
        return historySmokingStatus;
    }
    public void setHistorySmokingStatus(String historySmokingStatus) {
        this.historySmokingStatus = historySmokingStatus;
    }
    public String getHistoryTherioma() {
        return historyTherioma;
    }
    public void setHistoryTherioma(String historyTherioma) {
        this.historyTherioma = historyTherioma;
    }
    public String getHistoryHeredopathia() {
        return historyHeredopathia;
    }
    public void setHistoryHeredopathia(String historyHeredopathia) {
        this.historyHeredopathia = historyHeredopathia;
    }
    public String getHistoryChronicAirway() {
        return historyChronicAirway;
    }
    public void setHistoryChronicAirway(String historyChronicAirway) {
        this.historyChronicAirway = historyChronicAirway;
    }
    public String getSickSign() {
        return sickSign;
    }
    public void setSickSign(String sickSign) {
        this.sickSign = sickSign;
    }
    public String getPulseRate() {
        return pulseRate;
    }
    public void setPulseRate(String pulseRate) {
        this.pulseRate = pulseRate;
    }
    public String getHeartRate() {
        return heartRate;
    }
    public void setHeartRate(String heartRate) {
        this.heartRate = heartRate;
    }
    public String getBloodPressureU() {
        return bloodPressureU;
    }
    public void setBloodPressureU(String bloodPressureU) {
        this.bloodPressureU = bloodPressureU;
    }
    public String getBloodPressureD() {
        return bloodPressureD;
    }
    public void setBloodPressureD(String bloodPressureD) {
        this.bloodPressureD = bloodPressureD;
    }
    public String getBloodPressureStatus() {
        return bloodPressureStatus;
    }
    public void setBloodPressureStatus(String bloodPressureStatus) {
        this.bloodPressureStatus = bloodPressureStatus;
    }
    public String getHeight() {
        return height;
    }
    public void setHeight(String height) {
        this.height = height;
    }
    public String getWeight() {
        return weight;
    }
    public void setWeight(String weight) {
        this.weight = weight;
    }
    public String getSpo() {
        return spo;
    }
    public void setSpo(String spo) {
        this.spo = spo;
    }
    public String getDr() {
        return dr;
    }
    public void setDr(String dr) {
        this.dr = dr;
    }
    public String getLung() {
        return lung;
    }
    public void setLung(String lung) {
        this.lung = lung;
    }
    public String getLungType() {
        return lungType;
    }
    public void setLungType(String lungType) {
        this.lungType = lungType;
    }
    public String getPdm() {
        return pdm;
    }
    public void setPdm(String pdm) {
        this.pdm = pdm;
    }
    public String getFev() {
        return fev;
    }
    public void setFev(String fev) {
        this.fev = fev;
    }
    public String getFvc() {
        return fvc;
    }
    public void setFvc(String fvc) {
        this.fvc = fvc;
    }
    public String getDailySmokingQuantity() {
        return dailySmokingQuantity;
    }
    public void setDailySmokingQuantity(String dailySmokingQuantity) {
        this.dailySmokingQuantity = dailySmokingQuantity;
    }
    public String getDailySmokingStartYear() {
        return dailySmokingStartYear;
    }
    public void setDailySmokingStartYear(String dailySmokingStartYear) {
        this.dailySmokingStartYear = dailySmokingStartYear;
    }
    public String getDailySmokingYearNum() {
        return dailySmokingYearNum;
    }
    public void setDailySmokingYearNum(String dailySmokingYearNum) {
        this.dailySmokingYearNum = dailySmokingYearNum;
    }
    public String getDailySmokingIndex() {
        return dailySmokingIndex;
    }
    public void setDailySmokingIndex(String dailySmokingIndex) {
        this.dailySmokingIndex = dailySmokingIndex;
    }
    public String getEveryAlcoholTolerance() {
        return everyAlcoholTolerance;
    }
    public void setEveryAlcoholTolerance(String everyAlcoholTolerance) {
        this.everyAlcoholTolerance = everyAlcoholTolerance;
    }
    public String getSports() {
        return sports;
    }
    public void setSports(String sports) {
        this.sports = sports;
    }
    public String getOralHormone() {
        return oralHormone;
    }
    public void setOralHormone(String oralHormone) {
        this.oralHormone = oralHormone;
    }
    public String getComplianceBehavior() {
        return complianceBehavior;
    }
    public void setComplianceBehavior(String complianceBehavior) {
        this.complianceBehavior = complianceBehavior;
    }
    public String getDrugCompliance() {
        return drugCompliance;
    }
    public void setDrugCompliance(String drugCompliance) {
        this.drugCompliance = drugCompliance;
    }
    public String getDrugAdverseReaction() {
        return drugAdverseReaction;
    }
    public void setDrugAdverseReaction(String drugAdverseReaction) {
        this.drugAdverseReaction = drugAdverseReaction;
    }
    public String getMedicationSituation() {
        return medicationSituation;
    }
    public void setMedicationSituation(String medicationSituation) {
        this.medicationSituation = medicationSituation;
    }
    public String getValidFlag() {
        return validFlag;
    }
    public void setValidFlag(String validFlag) {
        this.validFlag = validFlag;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getCreateOperator() {
        return createOperator;
    }
    public void setCreateOperator(String createOperator) {
        this.createOperator = createOperator;
    }
    public String getCreateOperatorName() {
        return createOperatorName;
    }
    public void setCreateOperatorName(String createOperatorName) {
        this.createOperatorName = createOperatorName;
    }
    public Date getModifyTime() {
        return modifyTime;
    }
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
    public String getModifyOperator() {
        return modifyOperator;
    }
    public void setModifyOperator(String modifyOperator) {
        this.modifyOperator = modifyOperator;
    }
    public String getModifyOperatorName() {
        return modifyOperatorName;
    }
    public void setModifyOperatorName(String modifyOperatorName) {
        this.modifyOperatorName = modifyOperatorName;
    }
}

+ 1006 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/FollowupSevereMentalDisorderES.java

@ -0,0 +1,1006 @@
package com.yihu.jw.followup;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.searchbox.annotations.JestId;
import org.springframework.data.annotation.CreatedDate;
import java.util.Date;
/**
 * 严重精神障碍患者随访服务记录表
 * create by hmf on 2019/4/17
 */
public class FollowupSevereMentalDisorderES {
    @JestId
    private String id;
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
    @CreatedDate
    private Date create_time;
    private String create_user;
    private String create_user_name;
    private String version;//版本号
    private String name;//患者姓名
    private String number;//编号
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date followup_date;//随访日期
    private Integer followup_type;//随访形式(1门诊 2家庭访视 3电话 4视频)
    private String followup_object;//随访对象(1患者本人 2患者家属、监护人 3其他知情人,多选用逗号隔开)
    private String followup_null_reason;//失访原因(1外出务工 2迁居他处 3走失 4连续三次未访到 5其他)
    /********** 如果死亡,日期和原因 **********/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date death_date;//死亡日期
    private Integer death_reason_type;//死亡原因(1躯体疾病 2自杀 3他杀 4意外 5精神疾病相关并发症 6其他)
    private String physical_disease_type;//躯体疾病类型(1传染病和寄生虫病 2 肿瘤 3心脏病 4脑血管病 5呼吸系统疾病 6消化系统疾病 7其他疾病 8不详)
    private Integer dangerous_level;//危险性评估(0、0级 1、1级 2、2级 3、3级 4、4级 5、5级)
    /********** 目前症状 **********/
    private Integer illusion;//幻觉(1有,0无)
    private Integer communication_difficulty;//交流困难(1有,0无)
    private Integer suspicious;//猜疑(1有,0无)
    private Integer moods;//喜怒无常(1有,0无)
    private Integer weird;//行为怪异(1有,0无)
    private Integer talkative;//兴奋话多(1有,0无)
    private Integer smashing_objects;//伤人毁物(1有,0无)
    private Integer profoundly_pessimistic;//悲观厌世(1有,0无)
    private Integer outside_without_cause;//无故外走(1有,0无)
    private Integer to_myself_from_laughing;//自语自笑(1有,0无)
    private Integer withdrawn_lazy;//孤僻懒散(1有,0无)
    private Integer other_symptom;//其他症状(1有,0无)
    private String other_symptom_description;//其他症状说明
    private Integer intelligence;//自知力(1自知力完全 2不全 3缺失)
    private Integer sleep_condition;//睡眠情况(1良好 2一般 3较差)
    private Integer dietary_status;//饮食情况(1良好 2一般 3较差)
    /********** 社会功能情况 **********/
    private Integer selfcare_ability;//个人生活料理(1良好 2一般 3较差)
    private Integer housework;//家务劳动(1良好 2一般 3较差)
    private Integer work;//生产活动 及工作(1良好 2一般 3较差 9此项不可用)
    private Integer learning_ability;//学习能力(1良好 2一般 3较差)
    private Integer sociability;//社会人际交往(1良好 2一般 3较差)
    /********** 危险行为 **********/
    private Integer dangerous_behavior_1;//轻度滋事次数,次
    private Integer dangerous_behavior_2;//肇事次数,次
    private Integer dangerous_behavior_3;//肇祸次数,次
    private Integer dangerous_behavior_4;//其他危害行为次数,次
    private Integer dangerous_behavior_5;//自伤次数,次
    private Integer dangerous_behavior_6;//自杀未遂次数,次
    private Integer dangerous_behavior_7;//无危险行为(1是 0否)
    private Integer captivity_case;//两次随访期间关锁情况(1无关锁 2关锁 3关锁已清除)
    private Integer in_hospital_case;//两次随访期间住院情况(0未住院 1目前正在住院 2曾住院,现未住院)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date last_discharged_date;//末次出院日期
    private Integer laboratory_examination;//实验室检查(1无 2有)
    private String laboratory_examination_description;//实验室有检查描述
    private Integer compliance;//用药依从性(1按医嘱规律服药 2间断服药 3不服药 4医嘱无须服药)
    private Integer adverse_drug_reaction;//药物不良反应(1无 2有 9此项不适用)
    private String adverse_drug_reaction_description;//有药物不良反应说明
    private Integer treatment_effects;//治疗效果(1痊愈 2好转 3无变化 4加重 9此项不适用)
    /******** 转诊情况 ********/
    private Integer referral;//转诊建议(1否 2是)
    private String referral_reason;//转诊建议(原因)
    private Integer is_referral;//是否已转诊(1否 2是)
    private String organization_org;//转诊机构(智业机构code)
    private String organization_org_name;//转诊机构名称
    private String organization_hospital;//转诊机构code(dm_hospital表的code)
    private String organization;//转诊科室
    /******** 用药情况 ********/
    private String medicine1_name;//药物1名称
    private String medicine2_name;//药物2名称
    private String medicine3_name;//药物3名称
    private Integer medicine1_dosage_early;//药物1早剂量,mg
    private Integer medicine2_dosage_early;//药物2早剂量,mg
    private Integer medicine3_dosage_early;//药物3早剂量,mg
    private Integer medicine1_dosage_noon;//药物1中剂量,mg
    private Integer medicine2_dosage_noon;//药物2中剂量,mg
    private Integer medicine3_dosage_noon;//药物3中剂量,mg
    private Integer medicine1_dosage_night;//药物1晚剂量,mg
    private Integer medicine2_dosage_night;//药物2晚剂量,mg
    private Integer medicine3_dosage_night;//药物3晚剂量,mg
    private Integer medicine1_frequency;//药物1长效药,次/周
    private Integer medicine1_dosage;//药物1长效药,mg/次
    private Integer medicine2_frequency;//药物1长效药,次/周
    private Integer medicine2_dosage;//药物1长效药,mg/次
    private Integer medicine3_frequency;//药物1长效药,次/周
    private Integer medicine3_dosage;//药物1长效药,mg/次
    /******** 用药指导 ********/
    private String guide_medicine1_name;//药物1名称
    private Integer guide_medicine1_dosage_early;//药物1早上用量,mg
    private Integer guide_medicine1_dosage_noon;//药物1中午用量,mg
    private Integer guide_medicine1_dosage_night;//药物1晚用量,mg
    private Integer guide_sustained_medicine1_frequency;//长效药,次/周
    private Integer guide_sustained_meidicine1_dosage;//长效药,mg/次
    private String guide_medicine2_name;//药物2名称
    private Integer guide_medicine2_dosage_early;//早上用量,mg
    private Integer guide_medicine2_dosage_noon;//中午用量,mg
    private Integer guide_medicine2_dosage_night;//晚用量,mg
    private Integer guide_sustained_medicine2_frequency;//长效药,次/周
    private Integer guide_sustained_meidicine2_dosage;//长效药,mg/次
    private String guide_medicine3_name;//药物3名称
    private Integer guide_medicine3_dosage_early;//早上用量,mg
    private Integer guide_medicine3_dosage_noon;//中午用量,mg
    private Integer guide_medicine3_dosage_night;//晚用量,mg
    private Integer guide_sustained_medicine3_frequency;//长效药,次/周
    private Integer guide_sustained_meidicine3_dosage;//长效药,mg/次
    /******** 康复措施 ********/
    private Integer rehabilitation_work_ability;//生活劳动能力(1有 0无)
    private Integer rehabilitation_training;//职业训练(1有 0无)
    private Integer rehabilitation_learning_ability;//学习能力(1有 0无)
    private Integer rehabilitation_sociability;//社会交往(1有 0无)
    private Integer rehabilitation_other;//其他康复措施(1有 0无)
    private String rehabilitation_other_description;//其他康复措施描述
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date followup_next_date;//随访日期
    private Integer followup_class;//随访分类
    private String doctor_name;//随访医生名字
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public Date getCreate_time() {
        return create_time;
    }
    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
    public String getCreate_user() {
        return create_user;
    }
    public void setCreate_user(String create_user) {
        this.create_user = create_user;
    }
    public String getCreate_user_name() {
        return create_user_name;
    }
    public void setCreate_user_name(String create_user_name) {
        this.create_user_name = create_user_name;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getNumber() {
        return number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getFollowup_date() {
        return followup_date;
    }
    public void setFollowup_date(Date followup_date) {
        this.followup_date = followup_date;
    }
    public Integer getFollowup_type() {
        return followup_type;
    }
    public void setFollowup_type(Integer followup_type) {
        this.followup_type = followup_type;
    }
    public String getFollowup_object() {
        return followup_object;
    }
    public void setFollowup_object(String followup_object) {
        this.followup_object = followup_object;
    }
    public String getFollowup_null_reason() {
        return followup_null_reason;
    }
    public void setFollowup_null_reason(String followup_null_reason) {
        this.followup_null_reason = followup_null_reason;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getDeath_date() {
        return death_date;
    }
    public void setDeath_date(Date death_date) {
        this.death_date = death_date;
    }
    public Integer getDeath_reason_type() {
        return death_reason_type;
    }
    public void setDeath_reason_type(Integer death_reason_type) {
        this.death_reason_type = death_reason_type;
    }
    public String getPhysical_disease_type() {
        return physical_disease_type;
    }
    public void setPhysical_disease_type(String physical_disease_type) {
        this.physical_disease_type = physical_disease_type;
    }
    public Integer getDangerous_level() {
        return dangerous_level;
    }
    public void setDangerous_level(Integer dangerous_level) {
        this.dangerous_level = dangerous_level;
    }
    public Integer getIllusion() {
        return illusion;
    }
    public void setIllusion(Integer illusion) {
        this.illusion = illusion;
    }
    public Integer getCommunication_difficulty() {
        return communication_difficulty;
    }
    public void setCommunication_difficulty(Integer communication_difficulty) {
        this.communication_difficulty = communication_difficulty;
    }
    public Integer getSuspicious() {
        return suspicious;
    }
    public void setSuspicious(Integer suspicious) {
        this.suspicious = suspicious;
    }
    public Integer getMoods() {
        return moods;
    }
    public void setMoods(Integer moods) {
        this.moods = moods;
    }
    public Integer getWeird() {
        return weird;
    }
    public void setWeird(Integer weird) {
        this.weird = weird;
    }
    public Integer getTalkative() {
        return talkative;
    }
    public void setTalkative(Integer talkative) {
        this.talkative = talkative;
    }
    public Integer getSmashing_objects() {
        return smashing_objects;
    }
    public void setSmashing_objects(Integer smashing_objects) {
        this.smashing_objects = smashing_objects;
    }
    public Integer getProfoundly_pessimistic() {
        return profoundly_pessimistic;
    }
    public void setProfoundly_pessimistic(Integer profoundly_pessimistic) {
        this.profoundly_pessimistic = profoundly_pessimistic;
    }
    public Integer getOutside_without_cause() {
        return outside_without_cause;
    }
    public void setOutside_without_cause(Integer outside_without_cause) {
        this.outside_without_cause = outside_without_cause;
    }
    public Integer getTo_myself_from_laughing() {
        return to_myself_from_laughing;
    }
    public void setTo_myself_from_laughing(Integer to_myself_from_laughing) {
        this.to_myself_from_laughing = to_myself_from_laughing;
    }
    public Integer getWithdrawn_lazy() {
        return withdrawn_lazy;
    }
    public void setWithdrawn_lazy(Integer withdrawn_lazy) {
        this.withdrawn_lazy = withdrawn_lazy;
    }
    public Integer getOther_symptom() {
        return other_symptom;
    }
    public void setOther_symptom(Integer other_symptom) {
        this.other_symptom = other_symptom;
    }
    public String getOther_symptom_description() {
        return other_symptom_description;
    }
    public void setOther_symptom_description(String other_symptom_description) {
        this.other_symptom_description = other_symptom_description;
    }
    public Integer getIntelligence() {
        return intelligence;
    }
    public void setIntelligence(Integer intelligence) {
        this.intelligence = intelligence;
    }
    public Integer getSleep_condition() {
        return sleep_condition;
    }
    public void setSleep_condition(Integer sleep_condition) {
        this.sleep_condition = sleep_condition;
    }
    public Integer getDietary_status() {
        return dietary_status;
    }
    public void setDietary_status(Integer dietary_status) {
        this.dietary_status = dietary_status;
    }
    public Integer getSelfcare_ability() {
        return selfcare_ability;
    }
    public void setSelfcare_ability(Integer selfcare_ability) {
        this.selfcare_ability = selfcare_ability;
    }
    public Integer getHousework() {
        return housework;
    }
    public void setHousework(Integer housework) {
        this.housework = housework;
    }
    public Integer getWork() {
        return work;
    }
    public void setWork(Integer work) {
        this.work = work;
    }
    public Integer getLearning_ability() {
        return learning_ability;
    }
    public void setLearning_ability(Integer learning_ability) {
        this.learning_ability = learning_ability;
    }
    public Integer getSociability() {
        return sociability;
    }
    public void setSociability(Integer sociability) {
        this.sociability = sociability;
    }
    public Integer getDangerous_behavior_1() {
        return dangerous_behavior_1;
    }
    public void setDangerous_behavior_1(Integer dangerous_behavior_1) {
        this.dangerous_behavior_1 = dangerous_behavior_1;
    }
    public Integer getDangerous_behavior_2() {
        return dangerous_behavior_2;
    }
    public void setDangerous_behavior_2(Integer dangerous_behavior_2) {
        this.dangerous_behavior_2 = dangerous_behavior_2;
    }
    public Integer getDangerous_behavior_3() {
        return dangerous_behavior_3;
    }
    public void setDangerous_behavior_3(Integer dangerous_behavior_3) {
        this.dangerous_behavior_3 = dangerous_behavior_3;
    }
    public Integer getDangerous_behavior_4() {
        return dangerous_behavior_4;
    }
    public void setDangerous_behavior_4(Integer dangerous_behavior_4) {
        this.dangerous_behavior_4 = dangerous_behavior_4;
    }
    public Integer getDangerous_behavior_5() {
        return dangerous_behavior_5;
    }
    public void setDangerous_behavior_5(Integer dangerous_behavior_5) {
        this.dangerous_behavior_5 = dangerous_behavior_5;
    }
    public Integer getDangerous_behavior_6() {
        return dangerous_behavior_6;
    }
    public void setDangerous_behavior_6(Integer dangerous_behavior_6) {
        this.dangerous_behavior_6 = dangerous_behavior_6;
    }
    public Integer getDangerous_behavior_7() {
        return dangerous_behavior_7;
    }
    public void setDangerous_behavior_7(Integer dangerous_behavior_7) {
        this.dangerous_behavior_7 = dangerous_behavior_7;
    }
    public Integer getCaptivity_case() {
        return captivity_case;
    }
    public void setCaptivity_case(Integer captivity_case) {
        this.captivity_case = captivity_case;
    }
    public Integer getIn_hospital_case() {
        return in_hospital_case;
    }
    public void setIn_hospital_case(Integer in_hospital_case) {
        this.in_hospital_case = in_hospital_case;
    }
    public Date getLast_discharged_date() {
        return last_discharged_date;
    }
    public void setLast_discharged_date(Date last_discharged_date) {
        this.last_discharged_date = last_discharged_date;
    }
    public Integer getLaboratory_examination() {
        return laboratory_examination;
    }
    public void setLaboratory_examination(Integer laboratory_examination) {
        this.laboratory_examination = laboratory_examination;
    }
    public String getLaboratory_examination_description() {
        return laboratory_examination_description;
    }
    public void setLaboratory_examination_description(String laboratory_examination_description) {
        this.laboratory_examination_description = laboratory_examination_description;
    }
    public Integer getCompliance() {
        return compliance;
    }
    public void setCompliance(Integer compliance) {
        this.compliance = compliance;
    }
    public Integer getAdverse_drug_reaction() {
        return adverse_drug_reaction;
    }
    public void setAdverse_drug_reaction(Integer adverse_drug_reaction) {
        this.adverse_drug_reaction = adverse_drug_reaction;
    }
    public String getAdverse_drug_reaction_description() {
        return adverse_drug_reaction_description;
    }
    public void setAdverse_drug_reaction_description(String adverse_drug_reaction_description) {
        this.adverse_drug_reaction_description = adverse_drug_reaction_description;
    }
    public Integer getTreatment_effects() {
        return treatment_effects;
    }
    public void setTreatment_effects(Integer treatment_effects) {
        this.treatment_effects = treatment_effects;
    }
    public Integer getReferral() {
        return referral;
    }
    public void setReferral(Integer referral) {
        this.referral = referral;
    }
    public String getReferral_reason() {
        return referral_reason;
    }
    public void setReferral_reason(String referral_reason) {
        this.referral_reason = referral_reason;
    }
    public Integer getIs_referral() {
        return is_referral;
    }
    public void setIs_referral(Integer is_referral) {
        this.is_referral = is_referral;
    }
    public String getOrganization_org() {
        return organization_org;
    }
    public void setOrganization_org(String organization_org) {
        this.organization_org = organization_org;
    }
    public String getOrganization_org_name() {
        return organization_org_name;
    }
    public void setOrganization_org_name(String organization_org_name) {
        this.organization_org_name = organization_org_name;
    }
    public String getOrganization_hospital() {
        return organization_hospital;
    }
    public void setOrganization_hospital(String organization_hospital) {
        this.organization_hospital = organization_hospital;
    }
    public String getOrganization() {
        return organization;
    }
    public void setOrganization(String organization) {
        this.organization = organization;
    }
    public String getMedicine1_name() {
        return medicine1_name;
    }
    public void setMedicine1_name(String medicine1_name) {
        this.medicine1_name = medicine1_name;
    }
    public String getMedicine2_name() {
        return medicine2_name;
    }
    public void setMedicine2_name(String medicine2_name) {
        this.medicine2_name = medicine2_name;
    }
    public String getMedicine3_name() {
        return medicine3_name;
    }
    public void setMedicine3_name(String medicine3_name) {
        this.medicine3_name = medicine3_name;
    }
    public Integer getMedicine1_dosage_early() {
        return medicine1_dosage_early;
    }
    public void setMedicine1_dosage_early(Integer medicine1_dosage_early) {
        this.medicine1_dosage_early = medicine1_dosage_early;
    }
    public Integer getMedicine2_dosage_early() {
        return medicine2_dosage_early;
    }
    public void setMedicine2_dosage_early(Integer medicine2_dosage_early) {
        this.medicine2_dosage_early = medicine2_dosage_early;
    }
    public Integer getMedicine3_dosage_early() {
        return medicine3_dosage_early;
    }
    public void setMedicine3_dosage_early(Integer medicine3_dosage_early) {
        this.medicine3_dosage_early = medicine3_dosage_early;
    }
    public Integer getMedicine1_dosage_noon() {
        return medicine1_dosage_noon;
    }
    public void setMedicine1_dosage_noon(Integer medicine1_dosage_noon) {
        this.medicine1_dosage_noon = medicine1_dosage_noon;
    }
    public Integer getMedicine2_dosage_noon() {
        return medicine2_dosage_noon;
    }
    public void setMedicine2_dosage_noon(Integer medicine2_dosage_noon) {
        this.medicine2_dosage_noon = medicine2_dosage_noon;
    }
    public Integer getMedicine3_dosage_noon() {
        return medicine3_dosage_noon;
    }
    public void setMedicine3_dosage_noon(Integer medicine3_dosage_noon) {
        this.medicine3_dosage_noon = medicine3_dosage_noon;
    }
    public Integer getMedicine1_dosage_night() {
        return medicine1_dosage_night;
    }
    public void setMedicine1_dosage_night(Integer medicine1_dosage_night) {
        this.medicine1_dosage_night = medicine1_dosage_night;
    }
    public Integer getMedicine2_dosage_night() {
        return medicine2_dosage_night;
    }
    public void setMedicine2_dosage_night(Integer medicine2_dosage_night) {
        this.medicine2_dosage_night = medicine2_dosage_night;
    }
    public Integer getMedicine3_dosage_night() {
        return medicine3_dosage_night;
    }
    public void setMedicine3_dosage_night(Integer medicine3_dosage_night) {
        this.medicine3_dosage_night = medicine3_dosage_night;
    }
    public Integer getMedicine1_frequency() {
        return medicine1_frequency;
    }
    public void setMedicine1_frequency(Integer medicine1_frequency) {
        this.medicine1_frequency = medicine1_frequency;
    }
    public Integer getMedicine1_dosage() {
        return medicine1_dosage;
    }
    public void setMedicine1_dosage(Integer medicine1_dosage) {
        this.medicine1_dosage = medicine1_dosage;
    }
    public Integer getMedicine2_frequency() {
        return medicine2_frequency;
    }
    public void setMedicine2_frequency(Integer medicine2_frequency) {
        this.medicine2_frequency = medicine2_frequency;
    }
    public Integer getMedicine2_dosage() {
        return medicine2_dosage;
    }
    public void setMedicine2_dosage(Integer medicine2_dosage) {
        this.medicine2_dosage = medicine2_dosage;
    }
    public Integer getMedicine3_frequency() {
        return medicine3_frequency;
    }
    public void setMedicine3_frequency(Integer medicine3_frequency) {
        this.medicine3_frequency = medicine3_frequency;
    }
    public Integer getMedicine3_dosage() {
        return medicine3_dosage;
    }
    public void setMedicine3_dosage(Integer medicine3_dosage) {
        this.medicine3_dosage = medicine3_dosage;
    }
    public String getGuide_medicine1_name() {
        return guide_medicine1_name;
    }
    public void setGuide_medicine1_name(String guide_medicine1_name) {
        this.guide_medicine1_name = guide_medicine1_name;
    }
    public Integer getGuide_medicine1_dosage_early() {
        return guide_medicine1_dosage_early;
    }
    public void setGuide_medicine1_dosage_early(Integer guide_medicine1_dosage_early) {
        this.guide_medicine1_dosage_early = guide_medicine1_dosage_early;
    }
    public Integer getGuide_medicine1_dosage_noon() {
        return guide_medicine1_dosage_noon;
    }
    public void setGuide_medicine1_dosage_noon(Integer guide_medicine1_dosage_noon) {
        this.guide_medicine1_dosage_noon = guide_medicine1_dosage_noon;
    }
    public Integer getGuide_medicine1_dosage_night() {
        return guide_medicine1_dosage_night;
    }
    public void setGuide_medicine1_dosage_night(Integer guide_medicine1_dosage_night) {
        this.guide_medicine1_dosage_night = guide_medicine1_dosage_night;
    }
    public Integer getGuide_sustained_medicine1_frequency() {
        return guide_sustained_medicine1_frequency;
    }
    public void setGuide_sustained_medicine1_frequency(Integer guide_sustained_medicine1_frequency) {
        this.guide_sustained_medicine1_frequency = guide_sustained_medicine1_frequency;
    }
    public Integer getGuide_sustained_meidicine1_dosage() {
        return guide_sustained_meidicine1_dosage;
    }
    public void setGuide_sustained_meidicine1_dosage(Integer guide_sustained_meidicine1_dosage) {
        this.guide_sustained_meidicine1_dosage = guide_sustained_meidicine1_dosage;
    }
    public String getGuide_medicine2_name() {
        return guide_medicine2_name;
    }
    public void setGuide_medicine2_name(String guide_medicine2_name) {
        this.guide_medicine2_name = guide_medicine2_name;
    }
    public Integer getGuide_medicine2_dosage_early() {
        return guide_medicine2_dosage_early;
    }
    public void setGuide_medicine2_dosage_early(Integer guide_medicine2_dosage_early) {
        this.guide_medicine2_dosage_early = guide_medicine2_dosage_early;
    }
    public Integer getGuide_medicine2_dosage_noon() {
        return guide_medicine2_dosage_noon;
    }
    public void setGuide_medicine2_dosage_noon(Integer guide_medicine2_dosage_noon) {
        this.guide_medicine2_dosage_noon = guide_medicine2_dosage_noon;
    }
    public Integer getGuide_medicine2_dosage_night() {
        return guide_medicine2_dosage_night;
    }
    public void setGuide_medicine2_dosage_night(Integer guide_medicine2_dosage_night) {
        this.guide_medicine2_dosage_night = guide_medicine2_dosage_night;
    }
    public Integer getGuide_sustained_medicine2_frequency() {
        return guide_sustained_medicine2_frequency;
    }
    public void setGuide_sustained_medicine2_frequency(Integer guide_sustained_medicine2_frequency) {
        this.guide_sustained_medicine2_frequency = guide_sustained_medicine2_frequency;
    }
    public Integer getGuide_sustained_meidicine2_dosage() {
        return guide_sustained_meidicine2_dosage;
    }
    public void setGuide_sustained_meidicine2_dosage(Integer guide_sustained_meidicine2_dosage) {
        this.guide_sustained_meidicine2_dosage = guide_sustained_meidicine2_dosage;
    }
    public String getGuide_medicine3_name() {
        return guide_medicine3_name;
    }
    public void setGuide_medicine3_name(String guide_medicine3_name) {
        this.guide_medicine3_name = guide_medicine3_name;
    }
    public Integer getGuide_medicine3_dosage_early() {
        return guide_medicine3_dosage_early;
    }
    public void setGuide_medicine3_dosage_early(Integer guide_medicine3_dosage_early) {
        this.guide_medicine3_dosage_early = guide_medicine3_dosage_early;
    }
    public Integer getGuide_medicine3_dosage_noon() {
        return guide_medicine3_dosage_noon;
    }
    public void setGuide_medicine3_dosage_noon(Integer guide_medicine3_dosage_noon) {
        this.guide_medicine3_dosage_noon = guide_medicine3_dosage_noon;
    }
    public Integer getGuide_medicine3_dosage_night() {
        return guide_medicine3_dosage_night;
    }
    public void setGuide_medicine3_dosage_night(Integer guide_medicine3_dosage_night) {
        this.guide_medicine3_dosage_night = guide_medicine3_dosage_night;
    }
    public Integer getGuide_sustained_medicine3_frequency() {
        return guide_sustained_medicine3_frequency;
    }
    public void setGuide_sustained_medicine3_frequency(Integer guide_sustained_medicine3_frequency) {
        this.guide_sustained_medicine3_frequency = guide_sustained_medicine3_frequency;
    }
    public Integer getGuide_sustained_meidicine3_dosage() {
        return guide_sustained_meidicine3_dosage;
    }
    public void setGuide_sustained_meidicine3_dosage(Integer guide_sustained_meidicine3_dosage) {
        this.guide_sustained_meidicine3_dosage = guide_sustained_meidicine3_dosage;
    }
    public Integer getRehabilitation_work_ability() {
        return rehabilitation_work_ability;
    }
    public void setRehabilitation_work_ability(Integer rehabilitation_work_ability) {
        this.rehabilitation_work_ability = rehabilitation_work_ability;
    }
    public Integer getRehabilitation_training() {
        return rehabilitation_training;
    }
    public void setRehabilitation_training(Integer rehabilitation_training) {
        this.rehabilitation_training = rehabilitation_training;
    }
    public Integer getRehabilitation_learning_ability() {
        return rehabilitation_learning_ability;
    }
    public void setRehabilitation_learning_ability(Integer rehabilitation_learning_ability) {
        this.rehabilitation_learning_ability = rehabilitation_learning_ability;
    }
    public Integer getRehabilitation_sociability() {
        return rehabilitation_sociability;
    }
    public void setRehabilitation_sociability(Integer rehabilitation_sociability) {
        this.rehabilitation_sociability = rehabilitation_sociability;
    }
    public Integer getRehabilitation_other() {
        return rehabilitation_other;
    }
    public void setRehabilitation_other(Integer rehabilitation_other) {
        this.rehabilitation_other = rehabilitation_other;
    }
    public String getRehabilitation_other_description() {
        return rehabilitation_other_description;
    }
    public void setRehabilitation_other_description(String rehabilitation_other_description) {
        this.rehabilitation_other_description = rehabilitation_other_description;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getFollowup_next_date() {
        return followup_next_date;
    }
    public void setFollowup_next_date(Date followup_next_date) {
        this.followup_next_date = followup_next_date;
    }
    public Integer getFollowup_class() {
        return followup_class;
    }
    public void setFollowup_class(Integer followup_class) {
        this.followup_class = followup_class;
    }
    public String getDoctor_name() {
        return doctor_name;
    }
    public void setDoctor_name(String doctor_name) {
        this.doctor_name = doctor_name;
    }
}

+ 191 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/GynecologicalInflammationDailyFollowupES.java

@ -0,0 +1,191 @@
package com.yihu.jw.followup;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.searchbox.annotations.JestId;
import org.springframework.data.annotation.CreatedDate;
import java.util.Date;
/**
 * 妇科炎症日常随访表
 * @author hmf
 * @date 2020/3/12
 */
public class GynecologicalInflammationDailyFollowupES {
    @JestId
    private String id;
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    private String version;//版本号
    private String followClass;//随访类别【1.阴道炎 2.盆腔炎 3.宫颈炎4.其他】
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
    @CreatedDate
    private Date createTime;//创建时间
    private String createOperator;//创建人
    private String createOperatorName;//创建人
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
    @CreatedDate
    private Date modifyTime;//修改时间
    private String modifyOperator;//修改人
    private String modifyOperatorName;//修改人
    private String problemId;//健康问题id(肺癌1001 慢性胃肠病1002 冠心病1003 慢性前列腺疾病1004 慢性乳腺疾病1005  慢性阻塞性肺病1006 脂肪肝1007 慢性妇科炎症1008 脑卒中1009 慢性肾病1010)
    private String referralHospital;//是否已经转诊上级医院 1是 0否
    private String hospitalOrg;//就诊机构
    private String hospitalOrgName;//就诊机构
    private String illnessBetter;//该院治疗后病情是否好转 1是 0否
    private String currentStatus;//目前情况(1还在治疗中 2还在治疗中、暂未就诊 3还在治疗中、拒绝管理 4还在治疗中、失访 5已结束治疗)
    private String validFlag;//有效标志
    private String remark;//备注
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public String getProblemId() {
        return problemId;
    }
    public void setProblemId(String problemId) {
        this.problemId = problemId;
    }
    public String getReferralHospital() {
        return referralHospital;
    }
    public void setReferralHospital(String referralHospital) {
        this.referralHospital = referralHospital;
    }
    public String getHospitalOrg() {
        return hospitalOrg;
    }
    public void setHospitalOrg(String hospitalOrg) {
        this.hospitalOrg = hospitalOrg;
    }
    public String getIllnessBetter() {
        return illnessBetter;
    }
    public void setIllnessBetter(String illnessBetter) {
        this.illnessBetter = illnessBetter;
    }
    public String getCurrentStatus() {
        return currentStatus;
    }
    public void setCurrentStatus(String currentStatus) {
        this.currentStatus = currentStatus;
    }
    public String getValidFlag() {
        return validFlag;
    }
    public void setValidFlag(String validFlag) {
        this.validFlag = validFlag;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getFollowClass() {
        return followClass;
    }
    public void setFollowClass(String followClass) {
        this.followClass = followClass;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getCreateOperator() {
        return createOperator;
    }
    public void setCreateOperator(String createOperator) {
        this.createOperator = createOperator;
    }
    public String getCreateOperatorName() {
        return createOperatorName;
    }
    public void setCreateOperatorName(String createOperatorName) {
        this.createOperatorName = createOperatorName;
    }
    public Date getModifyTime() {
        return modifyTime;
    }
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
    public String getModifyOperator() {
        return modifyOperator;
    }
    public void setModifyOperator(String modifyOperator) {
        this.modifyOperator = modifyOperator;
    }
    public String getModifyOperatorName() {
        return modifyOperatorName;
    }
    public void setModifyOperatorName(String modifyOperatorName) {
        this.modifyOperatorName = modifyOperatorName;
    }
    public String getHospitalOrgName() {
        return hospitalOrgName;
    }
    public void setHospitalOrgName(String hospitalOrgName) {
        this.hospitalOrgName = hospitalOrgName;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
}

+ 780 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/GynecologicalInflammationFollowupArchivesES.java

@ -0,0 +1,780 @@
package com.yihu.jw.followup;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.searchbox.annotations.JestId;
import org.springframework.data.annotation.CreatedDate;
import java.util.Date;
/**
 * 妇科炎症随访档案
 * @author hmf
 * @date 2020/3/20
 */
public class GynecologicalInflammationFollowupArchivesES {
    @JestId
    private String id;
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    private String version;//版本号
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
    @CreatedDate
    private Date createTime;//创建时间
    private String createOperator;//创建人
    private String createOperatorName;//创建人
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
    @CreatedDate
    private Date modifyTime;//修改时间
    private String modifyOperator;//修改人
    private String modifyOperatorName;//修改人
    private String problemId;//健康问题id(肺癌1001 慢性胃肠病1002 冠心病1003 慢性前列腺疾病1004 慢性乳腺疾病1005  慢性阻塞性肺病1006 脂肪肝1007 慢性妇科炎症1008 脑卒中1009 慢性肾病1010)
    private String validFlag;//有效标志
    private String remark;//备注
    private String symptomNo;//症状_无
    private String symptomPv;//症状_外阴瘙痒
    private String symptomDoap;//症状_腹痛程度
    private String bloodPressureD;//血压(舒张压)
    private String bloodPressureU;//血压(收缩压)
    private String height;//身高
    private String weight;//体重
    private String bmi;//体质指数
    private String heartRate;//心率
    private String leukorrheaWs;//白带_水样
    private String leukorrheaThick;//白带_稠
    private String leukorrheaCurd;//白带_凝乳或豆腐渣样
    private String leukorrheaSpum;//白带_泡沫状
    private String leukorrheaWhite;//白带_白色
    private String leukorrheaKelly;//白带_黄绿色
    private String leukorrheaPuru;//白带_脓性
    private String leukorrheaOdour;//白带_臭味
    private String leukorrheaCau;//白带_血性
    private String unCs;//宫颈_常大
    private String unPlump;//宫颈_肥大
    private String unLs;//宫颈_轻糜
    private String unMs;//宫颈_中糜
    private String unS;//宫颈_重糜
    private String unCb;//宫颈_接触性出血
    private String unLp;//宫颈_举痛
    private String ubCs;//宫体_常大
    private String ubM;//宫体_增大
    private String ubT;//宫体_压痛
    private String ubRt;//宫体_反跳痛
    private String aaLeftG;//附件区_左_肿物
    private String aaLeftT;//附件区_左_压痛
    private String aaLeftRt;//附件区_左_反跳痛
    private String aaRightG;//附件区_右_肿物
    private String aaRightT;//附件区_右_压痛
    private String aaRightRt;//附件区_右_反跳痛
    private String aeEm;//辅助检查_阴道微生态
    private String aeSc;//辅助检查_分泌物培养
    private String aeRbt;//辅助检查_血常规
    private String aeCrp;//辅助检查Crp
    private String aeCdu;//辅助检查_彩超
    private String aeLe;//辅助检查_白带检查
    private String aeOther;//辅助检查_其他
    private String aeResult;//辅助检查_结果登记
    private String heAoa;//健康宣教_是否滥用抗生素
    private String heCyua;//健康宣教_是否单独清洁内裤
    private String heFuodsl;//健康宣教_是否频繁使用药字号洗液、消毒护垫
    private String heLwttfalt;//健康宣教_是否长时间穿着厚紧身裤
    private String drugTimeStart1;//开始用药时间_1
    private String drugTimeEnd1;//结束用药时间_1
    private String drugName1;//药物名称_1
    private String drugResult1;//用药效果_1
    private String drugTimeStart2;//开始用药时间_2
    private String drugTimeEnd2;//结束用药时间_2
    private String drugName2;//药物名称_2
    private String drugResult2;//用药效果_2
    private String drugTimeStart3;//开始用药时间_3
    private String drugTimeEnd3;//结束用药时间_3
    private String drugName3;//药物名称_3
    private String drugResult3;//用药效果_3
    private String drugTimeStart4;//开始用药时间_4
    private String drugTimeEnd4;//结束用药时间_4
    private String drugName4;//药物名称_4
    private String drugResult4;//用药效果_4
    private String drugTimeStart5;//开始用药时间_5
    private String drugTimeEnd5;//结束用药时间_5
    private String drugName5;//药物名称_5
    private String drugResult5;//用药效果_5
    private String drugTimeStart6;//开始用药时间_6
    private String drugTimeEnd6;//结束用药时间_6
    private String drugName6;//药物名称_6
    private String drugResult6;//用药效果_6
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getCreateOperator() {
        return createOperator;
    }
    public void setCreateOperator(String createOperator) {
        this.createOperator = createOperator;
    }
    public String getCreateOperatorName() {
        return createOperatorName;
    }
    public void setCreateOperatorName(String createOperatorName) {
        this.createOperatorName = createOperatorName;
    }
    public Date getModifyTime() {
        return modifyTime;
    }
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
    public String getModifyOperator() {
        return modifyOperator;
    }
    public void setModifyOperator(String modifyOperator) {
        this.modifyOperator = modifyOperator;
    }
    public String getModifyOperatorName() {
        return modifyOperatorName;
    }
    public void setModifyOperatorName(String modifyOperatorName) {
        this.modifyOperatorName = modifyOperatorName;
    }
    public String getProblemId() {
        return problemId;
    }
    public void setProblemId(String problemId) {
        this.problemId = problemId;
    }
    public String getValidFlag() {
        return validFlag;
    }
    public void setValidFlag(String validFlag) {
        this.validFlag = validFlag;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getSymptomNo() {
        return symptomNo;
    }
    public void setSymptomNo(String symptomNo) {
        this.symptomNo = symptomNo;
    }
    public String getSymptomPv() {
        return symptomPv;
    }
    public void setSymptomPv(String symptomPv) {
        this.symptomPv = symptomPv;
    }
    public String getSymptomDoap() {
        return symptomDoap;
    }
    public void setSymptomDoap(String symptomDoap) {
        this.symptomDoap = symptomDoap;
    }
    public String getBloodPressureD() {
        return bloodPressureD;
    }
    public void setBloodPressureD(String bloodPressureD) {
        this.bloodPressureD = bloodPressureD;
    }
    public String getBloodPressureU() {
        return bloodPressureU;
    }
    public void setBloodPressureU(String bloodPressureU) {
        this.bloodPressureU = bloodPressureU;
    }
    public String getHeight() {
        return height;
    }
    public void setHeight(String height) {
        this.height = height;
    }
    public String getWeight() {
        return weight;
    }
    public void setWeight(String weight) {
        this.weight = weight;
    }
    public String getBmi() {
        return bmi;
    }
    public void setBmi(String bmi) {
        this.bmi = bmi;
    }
    public String getHeartRate() {
        return heartRate;
    }
    public void setHeartRate(String heartRate) {
        this.heartRate = heartRate;
    }
    public String getLeukorrheaWs() {
        return leukorrheaWs;
    }
    public void setLeukorrheaWs(String leukorrheaWs) {
        this.leukorrheaWs = leukorrheaWs;
    }
    public String getLeukorrheaThick() {
        return leukorrheaThick;
    }
    public void setLeukorrheaThick(String leukorrheaThick) {
        this.leukorrheaThick = leukorrheaThick;
    }
    public String getLeukorrheaCurd() {
        return leukorrheaCurd;
    }
    public void setLeukorrheaCurd(String leukorrheaCurd) {
        this.leukorrheaCurd = leukorrheaCurd;
    }
    public String getLeukorrheaSpum() {
        return leukorrheaSpum;
    }
    public void setLeukorrheaSpum(String leukorrheaSpum) {
        this.leukorrheaSpum = leukorrheaSpum;
    }
    public String getLeukorrheaWhite() {
        return leukorrheaWhite;
    }
    public void setLeukorrheaWhite(String leukorrheaWhite) {
        this.leukorrheaWhite = leukorrheaWhite;
    }
    public String getLeukorrheaKelly() {
        return leukorrheaKelly;
    }
    public void setLeukorrheaKelly(String leukorrheaKelly) {
        this.leukorrheaKelly = leukorrheaKelly;
    }
    public String getLeukorrheaPuru() {
        return leukorrheaPuru;
    }
    public void setLeukorrheaPuru(String leukorrheaPuru) {
        this.leukorrheaPuru = leukorrheaPuru;
    }
    public String getLeukorrheaOdour() {
        return leukorrheaOdour;
    }
    public void setLeukorrheaOdour(String leukorrheaOdour) {
        this.leukorrheaOdour = leukorrheaOdour;
    }
    public String getLeukorrheaCau() {
        return leukorrheaCau;
    }
    public void setLeukorrheaCau(String leukorrheaCau) {
        this.leukorrheaCau = leukorrheaCau;
    }
    public String getUnCs() {
        return unCs;
    }
    public void setUnCs(String unCs) {
        this.unCs = unCs;
    }
    public String getUnPlump() {
        return unPlump;
    }
    public void setUnPlump(String unPlump) {
        this.unPlump = unPlump;
    }
    public String getUnLs() {
        return unLs;
    }
    public void setUnLs(String unLs) {
        this.unLs = unLs;
    }
    public String getUnMs() {
        return unMs;
    }
    public void setUnMs(String unMs) {
        this.unMs = unMs;
    }
    public String getUnS() {
        return unS;
    }
    public void setUnS(String unS) {
        this.unS = unS;
    }
    public String getUnCb() {
        return unCb;
    }
    public void setUnCb(String unCb) {
        this.unCb = unCb;
    }
    public String getUnLp() {
        return unLp;
    }
    public void setUnLp(String unLp) {
        this.unLp = unLp;
    }
    public String getUbCs() {
        return ubCs;
    }
    public void setUbCs(String ubCs) {
        this.ubCs = ubCs;
    }
    public String getUbM() {
        return ubM;
    }
    public void setUbM(String ubM) {
        this.ubM = ubM;
    }
    public String getUbT() {
        return ubT;
    }
    public void setUbT(String ubT) {
        this.ubT = ubT;
    }
    public String getUbRt() {
        return ubRt;
    }
    public void setUbRt(String ubRt) {
        this.ubRt = ubRt;
    }
    public String getAaLeftG() {
        return aaLeftG;
    }
    public void setAaLeftG(String aaLeftG) {
        this.aaLeftG = aaLeftG;
    }
    public String getAaLeftT() {
        return aaLeftT;
    }
    public void setAaLeftT(String aaLeftT) {
        this.aaLeftT = aaLeftT;
    }
    public String getAaLeftRt() {
        return aaLeftRt;
    }
    public void setAaLeftRt(String aaLeftRt) {
        this.aaLeftRt = aaLeftRt;
    }
    public String getAaRightG() {
        return aaRightG;
    }
    public void setAaRightG(String aaRightG) {
        this.aaRightG = aaRightG;
    }
    public String getAaRightT() {
        return aaRightT;
    }
    public void setAaRightT(String aaRightT) {
        this.aaRightT = aaRightT;
    }
    public String getAaRightRt() {
        return aaRightRt;
    }
    public void setAaRightRt(String aaRightRt) {
        this.aaRightRt = aaRightRt;
    }
    public String getAeEm() {
        return aeEm;
    }
    public void setAeEm(String aeEm) {
        this.aeEm = aeEm;
    }
    public String getAeSc() {
        return aeSc;
    }
    public void setAeSc(String aeSc) {
        this.aeSc = aeSc;
    }
    public String getAeRbt() {
        return aeRbt;
    }
    public void setAeRbt(String aeRbt) {
        this.aeRbt = aeRbt;
    }
    public String getAeCrp() {
        return aeCrp;
    }
    public void setAeCrp(String aeCrp) {
        this.aeCrp = aeCrp;
    }
    public String getAeCdu() {
        return aeCdu;
    }
    public void setAeCdu(String aeCdu) {
        this.aeCdu = aeCdu;
    }
    public String getAeLe() {
        return aeLe;
    }
    public void setAeLe(String aeLe) {
        this.aeLe = aeLe;
    }
    public String getAeOther() {
        return aeOther;
    }
    public void setAeOther(String aeOther) {
        this.aeOther = aeOther;
    }
    public String getAeResult() {
        return aeResult;
    }
    public void setAeResult(String aeResult) {
        this.aeResult = aeResult;
    }
    public String getHeAoa() {
        return heAoa;
    }
    public void setHeAoa(String heAoa) {
        this.heAoa = heAoa;
    }
    public String getHeCyua() {
        return heCyua;
    }
    public void setHeCyua(String heCyua) {
        this.heCyua = heCyua;
    }
    public String getHeFuodsl() {
        return heFuodsl;
    }
    public void setHeFuodsl(String heFuodsl) {
        this.heFuodsl = heFuodsl;
    }
    public String getHeLwttfalt() {
        return heLwttfalt;
    }
    public void setHeLwttfalt(String heLwttfalt) {
        this.heLwttfalt = heLwttfalt;
    }
    public String getDrugTimeStart1() {
        return drugTimeStart1;
    }
    public void setDrugTimeStart1(String drugTimeStart1) {
        this.drugTimeStart1 = drugTimeStart1;
    }
    public String getDrugTimeEnd1() {
        return drugTimeEnd1;
    }
    public void setDrugTimeEnd1(String drugTimeEnd1) {
        this.drugTimeEnd1 = drugTimeEnd1;
    }
    public String getDrugName1() {
        return drugName1;
    }
    public void setDrugName1(String drugName1) {
        this.drugName1 = drugName1;
    }
    public String getDrugResult1() {
        return drugResult1;
    }
    public void setDrugResult1(String drugResult1) {
        this.drugResult1 = drugResult1;
    }
    public String getDrugTimeStart2() {
        return drugTimeStart2;
    }
    public void setDrugTimeStart2(String drugTimeStart2) {
        this.drugTimeStart2 = drugTimeStart2;
    }
    public String getDrugTimeEnd2() {
        return drugTimeEnd2;
    }
    public void setDrugTimeEnd2(String drugTimeEnd2) {
        this.drugTimeEnd2 = drugTimeEnd2;
    }
    public String getDrugName2() {
        return drugName2;
    }
    public void setDrugName2(String drugName2) {
        this.drugName2 = drugName2;
    }
    public String getDrugResult2() {
        return drugResult2;
    }
    public void setDrugResult2(String drugResult2) {
        this.drugResult2 = drugResult2;
    }
    public String getDrugTimeStart3() {
        return drugTimeStart3;
    }
    public void setDrugTimeStart3(String drugTimeStart3) {
        this.drugTimeStart3 = drugTimeStart3;
    }
    public String getDrugTimeEnd3() {
        return drugTimeEnd3;
    }
    public void setDrugTimeEnd3(String drugTimeEnd3) {
        this.drugTimeEnd3 = drugTimeEnd3;
    }
    public String getDrugName3() {
        return drugName3;
    }
    public void setDrugName3(String drugName3) {
        this.drugName3 = drugName3;
    }
    public String getDrugResult3() {
        return drugResult3;
    }
    public void setDrugResult3(String drugResult3) {
        this.drugResult3 = drugResult3;
    }
    public String getDrugTimeStart4() {
        return drugTimeStart4;
    }
    public void setDrugTimeStart4(String drugTimeStart4) {
        this.drugTimeStart4 = drugTimeStart4;
    }
    public String getDrugTimeEnd4() {
        return drugTimeEnd4;
    }
    public void setDrugTimeEnd4(String drugTimeEnd4) {
        this.drugTimeEnd4 = drugTimeEnd4;
    }
    public String getDrugName4() {
        return drugName4;
    }
    public void setDrugName4(String drugName4) {
        this.drugName4 = drugName4;
    }
    public String getDrugResult4() {
        return drugResult4;
    }
    public void setDrugResult4(String drugResult4) {
        this.drugResult4 = drugResult4;
    }
    public String getDrugTimeStart5() {
        return drugTimeStart5;
    }
    public void setDrugTimeStart5(String drugTimeStart5) {
        this.drugTimeStart5 = drugTimeStart5;
    }
    public String getDrugTimeEnd5() {
        return drugTimeEnd5;
    }
    public void setDrugTimeEnd5(String drugTimeEnd5) {
        this.drugTimeEnd5 = drugTimeEnd5;
    }
    public String getDrugName5() {
        return drugName5;
    }
    public void setDrugName5(String drugName5) {
        this.drugName5 = drugName5;
    }
    public String getDrugResult5() {
        return drugResult5;
    }
    public void setDrugResult5(String drugResult5) {
        this.drugResult5 = drugResult5;
    }
    public String getDrugTimeStart6() {
        return drugTimeStart6;
    }
    public void setDrugTimeStart6(String drugTimeStart6) {
        this.drugTimeStart6 = drugTimeStart6;
    }
    public String getDrugTimeEnd6() {
        return drugTimeEnd6;
    }
    public void setDrugTimeEnd6(String drugTimeEnd6) {
        this.drugTimeEnd6 = drugTimeEnd6;
    }
    public String getDrugName6() {
        return drugName6;
    }
    public void setDrugName6(String drugName6) {
        this.drugName6 = drugName6;
    }
    public String getDrugResult6() {
        return drugResult6;
    }
    public void setDrugResult6(String drugResult6) {
        this.drugResult6 = drugResult6;
    }
}

+ 1173 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/NewbornFamilyVisitRecordES.java

@ -0,0 +1,1173 @@
package com.yihu.jw.followup;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.searchbox.annotations.JestId;
import org.springframework.data.annotation.CreatedDate;
import java.util.Date;
/**
 * 新生儿家庭访视记录表
 * create by hmf on 2019/4/17
 */
public class NewbornFamilyVisitRecordES {
    @JestId
    private String id;
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
    @CreatedDate
    private Date create_time;
    private String create_user;
    private String create_user_name;
    private String version;//版本号
    private String SICK_NAME;//儿童姓名
    private Integer HELP_ORGANIZATION_FLAG;//本地外地标志【1本地,2省内 3省外】
    private String PREGNANCY_NO;//妊娠编号
    private String NUMBER_NO;//建册编号
    private String HOME_REMARK;//家庭访视备注
    private String BIRTH_NO;//出生证号
    //第一次随访新生儿家庭基本信息
    private Integer SICK_SEX;//儿童性别(0未知 1男 2 女 9 未说明的性别)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date BIRTHDAY;//出生日期
    private String PERMANENT_RESIDENCE_ADDRESS;//户籍地址
    /******** 母亲信息 ********/
    private String MOTHER_IDENTITY_CARD_NO;//母亲身份证号
    private String MOTHER_ADDRESS;//母亲住址
    private String MOTHER_NAME;//母亲名字
    private String MOTHER_OCCUPATION;//母亲职业
    private String MOTHER_PHONE;//母亲电话
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date MOTHER_BIRTHDAY;//母亲出生日期
    /******** 父亲信息 ********/
    private String FATHER_NAME;//父亲名字
    private String FATHER_OCCUPATION;//父亲职业
    private String FATHER_PHONE;//父亲电话
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date FATHER_BIRTHDAY;//父亲出生日期
    /******** 新生儿信息 ********/
    private Integer BIRTH_PREGNANCY_WEEK;//出生孕周
    private Integer PREGNANCY_SICK;//母亲妊娠期患病情况(1无 2糖尿病  3妊娠期高血压 4其他)
    private String PREGNANCY_SICK_CIRCS;//母亲妊娠期其他患病情况
    private String HELP_ORGANIZATION_NAME;//助产机构名称
    private String HELP_HOSPITAL;//助产机构code(dm_hospital表的code)
    private String HELP_ORGANIZATION;//助产机构mapping_code (智业机构编码)
    private String HELP_OUT_ORGANIZATION;//外地转诊机构
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date DISCHARGED_DATE;//出院日期
    private String DELIVERY_WAY;//出生情况(1顺产 2胎头吸引 3产钳 4剖宫 5双多胎 6臀位 7其他,多个用逗号隔开 )
    private String BIRTH_OTHER;//出生情况-其他内容
    private Integer SUFFOCATION;//新生儿窒息【1无,2有】
    private Integer APGAR_O;//APGAR评分(1分钟)(1否 2是)
    private Integer APGAR_F;//APGAR评分(5分钟)(1否 2是)
    private Integer APGAR_N;//APGAR评分(不详)(1否 2是)
    private String BLESSEDEVENT_MEDICAL_HISTORY;// 新生儿期病史
    private Integer PLAN_IMMUNE;//计划免疫情况(1卡介苗 2乙肝疫苗 3以上两种 4未种 )
    private Double BLESSEDEVENT_BIRTH_WEIGHT;//新生儿出生体重,kg
    private Double BIRTH_BODY_LENGTH;//出生身长 cm
    private Integer DEFORMITY_NULL;//畸形异常(1无2有)
    /******** 新生儿疾病筛查 ********/
    private Integer SCREENING_1;//新生儿疾病筛查-甲低【1是,0否】
    private Integer SCREENING_2;//新生儿疾病筛查-苯丙酮尿症【1是,0否】
    private Integer SCREENING_3;//新生儿疾病筛查-其他遗传代谢病【1是,0否】
    private String SCREENING_ABNORMAL;//新生儿疾病筛查-其他遗传代谢病-内容
    private Integer SCREENING_4;//新生儿疾病筛查-未进行【1是,0否】
    private Integer SCREENING_5;//新生儿疾病筛查-检查均阴性【1是,0否】
    private Integer SCREENING_6;//新生儿疾病筛查-已查无结果【1是,0否】
    private Integer HEARING;//新生儿听力筛查(1通过 2未通过 3未筛查 4 不详 5已查无结果)
    private Double NOW_WEIGHT; //现在体重 kg
    private Integer FEED_TYPE;//喂奶方式【1纯母乳,2混合,3人工】
    private Integer EAT_MILE_TIME;//吃奶次数 次/日
    private Double EAT_MILE_AMOUNT;//吃奶量ml/次
    private Integer VOMIT;//呕吐【1无,2有】
    private Integer VULNUS;//大便【1糊状,2稀 3其他】
    private String VULNUS_OTHER;//大便其他说明
    private String VULNUS_TIME;//大便次数
    private Double BODY_TEMPERATURE;//体温
    private String PULSE_FREQUENCY;//心率 次/分钟
    private String BREATH_FREQUENCY;//呼吸频率 次/分钟
    private Integer COMPLEXION;//面色【1红润,2黄染,3其他】
    private String COMPLEXION_NULL;//面色异常表现
    private Integer FACE;//黄疸部位-面部
    private Integer TRUNK;//黄疸部位-躯干【1有,0无】
    private Integer LIMB;//黄疸部位-四肢【1是,0否】
    private Integer EXTREMITY;//黄疸部位-手足 【1是,0否】
    private Double BREGMA_FRONT;//前囟1 CM
    private Double BREGMA_BACK;//前囟2 CM
    private String BREGMA_PERFORMANCE;//前囟 其他表现
    private Integer BREGMA;//前囟 单选【1正常,2膨隆,3凹陷,4其他】
    private Integer EYE;//眼外观【1未见异常,2异常】
    private String EYE_NULL;//眼外观异常
    private Integer EAR;//耳外观异常【1未见异常,2异常】
    private String EAR_FACE;//耳外观
    private Integer LIMBS;//四肢活动度异常【1未见异常,2异常】
    private String LIMBS_NULL;//四肢活动度异常说明
    private Integer NECK_PACK;//颈部包块【1无,2有】
    private String NECK_PACK_NULL;//颈部包块异常说明
    private Integer NOSE;//鼻【1未见异常,2异常】
    private String NOSE_PERFORMANCE;//鼻异常说明
    private Integer ORAL;//口腔【1未见异常,2异常】
    private String ORAL_PERFORMANCE;//口腔异常
    private Integer ABDOMEN;//腹部触诊异常【1未见异常,2异常】
    private String ABDOMEN_NULL;//腹部触诊
    private Integer GENITALIA;//外生殖器异常【1未见异常,2异常】
    private String GENITALIA_NULL;//外生殖器
    private Integer VERTEBRAL;//脊柱异常【1未见异常,2异常】
    private String VERTEBRAL_NULL;//脊柱
    private Integer SKIN;//皮肤【1未见异常,2湿疹,3糜烂,4其他】
    private String SKIN_PERFORMANCE;//皮肤异常
    private Integer ANUS;//肛门【1未见异常,2异常】
    private String ANUS_PERFORMANCE;//肛门异常说明
    private Integer HEART;//心肺听诊【1未见异常,2异常】
    private String HEART_PERFORMANCE;//心肺听诊异常
    private Integer UMBILICAL;//脐带(1未脱落 2脱落 3脐带有渗出 4 其他)
    private String UMBILICAL_NULL;//脐带异常
    private String other;//其他
    private Integer referral;//转诊建议(1有,0无)
    private String referral_reason;//转诊建议(原因)
    private String organization_org;//转诊机构(智业机构code)
    private String organization_org_name;//转诊机构名称
    private String organization_hospital;//转诊机构code(dm_hospital表的code)
    private String organization;//转诊科室
    /******** 指导 ********/
    private Integer FEED_GUID ;//喂养指导【1有,0无】
    private Integer PREVENTION_HURT_GUID;//预防伤害指导【1有,0无】
    private Integer ORAL_CAVITY_GUID;//口腔保健指导【1有,0无】
    private Integer GROWUP_GUID;//发育指导【1是,0否】
    private Integer PREVENTION_DEFORMITY_GUID;//防残指导【1是,0否】
    private Integer OTHER_GUIDE;//其他指导
    private String OTHER_GUIDE_CONTENT;//其他指导内容
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date THIS_INTERVIEW_DATE;//本次访视日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date NEXT_VISITING_DATE;//下次随访日期
    private String  NEXT_VISITING_ADDRESS;//下次随访地点
    private String VISITING_DOCTOR;//随访医生
    private String FAMILY_SIGN;//签字家属
    //智业多余字段
    private String ORG_ID;//随访机构
    private String PHYSICLAL_STATUS;//两次访视间患者情况
    private String IDENTITY_CARD_NO;//身份证号
    private Integer IS_CHILD_WEAK;//是否高危儿
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public Date getCreate_time() {
        return create_time;
    }
    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
    public String getCreate_user() {
        return create_user;
    }
    public void setCreate_user(String create_user) {
        this.create_user = create_user;
    }
    public String getCreate_user_name() {
        return create_user_name;
    }
    public void setCreate_user_name(String create_user_name) {
        this.create_user_name = create_user_name;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getSICK_NAME() {
        return SICK_NAME;
    }
    public void setSICK_NAME(String SICK_NAME) {
        this.SICK_NAME = SICK_NAME;
    }
    public Integer getHELP_ORGANIZATION_FLAG() {
        return HELP_ORGANIZATION_FLAG;
    }
    public void setHELP_ORGANIZATION_FLAG(Integer HELP_ORGANIZATION_FLAG) {
        this.HELP_ORGANIZATION_FLAG = HELP_ORGANIZATION_FLAG;
    }
    public String getPREGNANCY_NO() {
        return PREGNANCY_NO;
    }
    public void setPREGNANCY_NO(String PREGNANCY_NO) {
        this.PREGNANCY_NO = PREGNANCY_NO;
    }
    public String getNUMBER_NO() {
        return NUMBER_NO;
    }
    public void setNUMBER_NO(String NUMBER_NO) {
        this.NUMBER_NO = NUMBER_NO;
    }
    public String getHOME_REMARK() {
        return HOME_REMARK;
    }
    public void setHOME_REMARK(String HOME_REMARK) {
        this.HOME_REMARK = HOME_REMARK;
    }
    public String getBIRTH_NO() {
        return BIRTH_NO;
    }
    public void setBIRTH_NO(String BIRTH_NO) {
        this.BIRTH_NO = BIRTH_NO;
    }
    public Integer getSICK_SEX() {
        return SICK_SEX;
    }
    public void setSICK_SEX(Integer SICK_SEX) {
        this.SICK_SEX = SICK_SEX;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getBIRTHDAY() {
        return BIRTHDAY;
    }
    public void setBIRTHDAY(Date BIRTHDAY) {
        this.BIRTHDAY = BIRTHDAY;
    }
    public String getPERMANENT_RESIDENCE_ADDRESS() {
        return PERMANENT_RESIDENCE_ADDRESS;
    }
    public void setPERMANENT_RESIDENCE_ADDRESS(String PERMANENT_RESIDENCE_ADDRESS) {
        this.PERMANENT_RESIDENCE_ADDRESS = PERMANENT_RESIDENCE_ADDRESS;
    }
    public String getMOTHER_IDENTITY_CARD_NO() {
        return MOTHER_IDENTITY_CARD_NO;
    }
    public void setMOTHER_IDENTITY_CARD_NO(String MOTHER_IDENTITY_CARD_NO) {
        this.MOTHER_IDENTITY_CARD_NO = MOTHER_IDENTITY_CARD_NO;
    }
    public String getMOTHER_ADDRESS() {
        return MOTHER_ADDRESS;
    }
    public void setMOTHER_ADDRESS(String MOTHER_ADDRESS) {
        this.MOTHER_ADDRESS = MOTHER_ADDRESS;
    }
    public String getMOTHER_NAME() {
        return MOTHER_NAME;
    }
    public void setMOTHER_NAME(String MOTHER_NAME) {
        this.MOTHER_NAME = MOTHER_NAME;
    }
    public String getMOTHER_OCCUPATION() {
        return MOTHER_OCCUPATION;
    }
    public void setMOTHER_OCCUPATION(String MOTHER_OCCUPATION) {
        this.MOTHER_OCCUPATION = MOTHER_OCCUPATION;
    }
    public String getMOTHER_PHONE() {
        return MOTHER_PHONE;
    }
    public void setMOTHER_PHONE(String MOTHER_PHONE) {
        this.MOTHER_PHONE = MOTHER_PHONE;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getMOTHER_BIRTHDAY() {
        return MOTHER_BIRTHDAY;
    }
    public void setMOTHER_BIRTHDAY(Date MOTHER_BIRTHDAY) {
        this.MOTHER_BIRTHDAY = MOTHER_BIRTHDAY;
    }
    public String getFATHER_NAME() {
        return FATHER_NAME;
    }
    public void setFATHER_NAME(String FATHER_NAME) {
        this.FATHER_NAME = FATHER_NAME;
    }
    public String getFATHER_OCCUPATION() {
        return FATHER_OCCUPATION;
    }
    public void setFATHER_OCCUPATION(String FATHER_OCCUPATION) {
        this.FATHER_OCCUPATION = FATHER_OCCUPATION;
    }
    public String getFATHER_PHONE() {
        return FATHER_PHONE;
    }
    public void setFATHER_PHONE(String FATHER_PHONE) {
        this.FATHER_PHONE = FATHER_PHONE;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getFATHER_BIRTHDAY() {
        return FATHER_BIRTHDAY;
    }
    public void setFATHER_BIRTHDAY(Date FATHER_BIRTHDAY) {
        this.FATHER_BIRTHDAY = FATHER_BIRTHDAY;
    }
    public Integer getBIRTH_PREGNANCY_WEEK() {
        return BIRTH_PREGNANCY_WEEK;
    }
    public void setBIRTH_PREGNANCY_WEEK(Integer BIRTH_PREGNANCY_WEEK) {
        this.BIRTH_PREGNANCY_WEEK = BIRTH_PREGNANCY_WEEK;
    }
    public Integer getPREGNANCY_SICK() {
        return PREGNANCY_SICK;
    }
    public void setPREGNANCY_SICK(Integer PREGNANCY_SICK) {
        this.PREGNANCY_SICK = PREGNANCY_SICK;
    }
    public String getPREGNANCY_SICK_CIRCS() {
        return PREGNANCY_SICK_CIRCS;
    }
    public void setPREGNANCY_SICK_CIRCS(String PREGNANCY_SICK_CIRCS) {
        this.PREGNANCY_SICK_CIRCS = PREGNANCY_SICK_CIRCS;
    }
    public String getHELP_ORGANIZATION_NAME() {
        return HELP_ORGANIZATION_NAME;
    }
    public void setHELP_ORGANIZATION_NAME(String HELP_ORGANIZATION_NAME) {
        this.HELP_ORGANIZATION_NAME = HELP_ORGANIZATION_NAME;
    }
    public String getHELP_HOSPITAL() {
        return HELP_HOSPITAL;
    }
    public void setHELP_HOSPITAL(String HELP_HOSPITAL) {
        this.HELP_HOSPITAL = HELP_HOSPITAL;
    }
    public String getHELP_ORGANIZATION() {
        return HELP_ORGANIZATION;
    }
    public void setHELP_ORGANIZATION(String HELP_ORGANIZATION) {
        this.HELP_ORGANIZATION = HELP_ORGANIZATION;
    }
    public String getHELP_OUT_ORGANIZATION() {
        return HELP_OUT_ORGANIZATION;
    }
    public void setHELP_OUT_ORGANIZATION(String HELP_OUT_ORGANIZATION) {
        this.HELP_OUT_ORGANIZATION = HELP_OUT_ORGANIZATION;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getDISCHARGED_DATE() {
        return DISCHARGED_DATE;
    }
    public void setDISCHARGED_DATE(Date DISCHARGED_DATE) {
        this.DISCHARGED_DATE = DISCHARGED_DATE;
    }
    public String getDELIVERY_WAY() {
        return DELIVERY_WAY;
    }
    public void setDELIVERY_WAY(String DELIVERY_WAY) {
        this.DELIVERY_WAY = DELIVERY_WAY;
    }
    public String getBIRTH_OTHER() {
        return BIRTH_OTHER;
    }
    public void setBIRTH_OTHER(String BIRTH_OTHER) {
        this.BIRTH_OTHER = BIRTH_OTHER;
    }
    public Integer getSUFFOCATION() {
        return SUFFOCATION;
    }
    public void setSUFFOCATION(Integer SUFFOCATION) {
        this.SUFFOCATION = SUFFOCATION;
    }
    public Integer getAPGAR_O() {
        return APGAR_O;
    }
    public void setAPGAR_O(Integer APGAR_O) {
        this.APGAR_O = APGAR_O;
    }
    public Integer getAPGAR_F() {
        return APGAR_F;
    }
    public void setAPGAR_F(Integer APGAR_F) {
        this.APGAR_F = APGAR_F;
    }
    public Integer getAPGAR_N() {
        return APGAR_N;
    }
    public void setAPGAR_N(Integer APGAR_N) {
        this.APGAR_N = APGAR_N;
    }
    public String getBLESSEDEVENT_MEDICAL_HISTORY() {
        return BLESSEDEVENT_MEDICAL_HISTORY;
    }
    public void setBLESSEDEVENT_MEDICAL_HISTORY(String BLESSEDEVENT_MEDICAL_HISTORY) {
        this.BLESSEDEVENT_MEDICAL_HISTORY = BLESSEDEVENT_MEDICAL_HISTORY;
    }
    public Integer getPLAN_IMMUNE() {
        return PLAN_IMMUNE;
    }
    public void setPLAN_IMMUNE(Integer PLAN_IMMUNE) {
        this.PLAN_IMMUNE = PLAN_IMMUNE;
    }
    public Double getBLESSEDEVENT_BIRTH_WEIGHT() {
        return BLESSEDEVENT_BIRTH_WEIGHT;
    }
    public void setBLESSEDEVENT_BIRTH_WEIGHT(Double BLESSEDEVENT_BIRTH_WEIGHT) {
        this.BLESSEDEVENT_BIRTH_WEIGHT = BLESSEDEVENT_BIRTH_WEIGHT;
    }
    public Double getBIRTH_BODY_LENGTH() {
        return BIRTH_BODY_LENGTH;
    }
    public void setBIRTH_BODY_LENGTH(Double BIRTH_BODY_LENGTH) {
        this.BIRTH_BODY_LENGTH = BIRTH_BODY_LENGTH;
    }
    public Integer getDEFORMITY_NULL() {
        return DEFORMITY_NULL;
    }
    public void setDEFORMITY_NULL(Integer DEFORMITY_NULL) {
        this.DEFORMITY_NULL = DEFORMITY_NULL;
    }
    public Integer getSCREENING_1() {
        return SCREENING_1;
    }
    public void setSCREENING_1(Integer SCREENING_1) {
        this.SCREENING_1 = SCREENING_1;
    }
    public Integer getSCREENING_2() {
        return SCREENING_2;
    }
    public void setSCREENING_2(Integer SCREENING_2) {
        this.SCREENING_2 = SCREENING_2;
    }
    public Integer getSCREENING_3() {
        return SCREENING_3;
    }
    public void setSCREENING_3(Integer SCREENING_3) {
        this.SCREENING_3 = SCREENING_3;
    }
    public String getSCREENING_ABNORMAL() {
        return SCREENING_ABNORMAL;
    }
    public void setSCREENING_ABNORMAL(String SCREENING_ABNORMAL) {
        this.SCREENING_ABNORMAL = SCREENING_ABNORMAL;
    }
    public Integer getSCREENING_4() {
        return SCREENING_4;
    }
    public void setSCREENING_4(Integer SCREENING_4) {
        this.SCREENING_4 = SCREENING_4;
    }
    public Integer getSCREENING_5() {
        return SCREENING_5;
    }
    public void setSCREENING_5(Integer SCREENING_5) {
        this.SCREENING_5 = SCREENING_5;
    }
    public Integer getSCREENING_6() {
        return SCREENING_6;
    }
    public void setSCREENING_6(Integer SCREENING_6) {
        this.SCREENING_6 = SCREENING_6;
    }
    public Integer getHEARING() {
        return HEARING;
    }
    public void setHEARING(Integer HEARING) {
        this.HEARING = HEARING;
    }
    public Double getNOW_WEIGHT() {
        return NOW_WEIGHT;
    }
    public void setNOW_WEIGHT(Double NOW_WEIGHT) {
        this.NOW_WEIGHT = NOW_WEIGHT;
    }
    public Integer getFEED_TYPE() {
        return FEED_TYPE;
    }
    public void setFEED_TYPE(Integer FEED_TYPE) {
        this.FEED_TYPE = FEED_TYPE;
    }
    public Integer getEAT_MILE_TIME() {
        return EAT_MILE_TIME;
    }
    public void setEAT_MILE_TIME(Integer EAT_MILE_TIME) {
        this.EAT_MILE_TIME = EAT_MILE_TIME;
    }
    public Double getEAT_MILE_AMOUNT() {
        return EAT_MILE_AMOUNT;
    }
    public void setEAT_MILE_AMOUNT(Double EAT_MILE_AMOUNT) {
        this.EAT_MILE_AMOUNT = EAT_MILE_AMOUNT;
    }
    public Integer getVOMIT() {
        return VOMIT;
    }
    public void setVOMIT(Integer VOMIT) {
        this.VOMIT = VOMIT;
    }
    public Integer getVULNUS() {
        return VULNUS;
    }
    public void setVULNUS(Integer VULNUS) {
        this.VULNUS = VULNUS;
    }
    public String getVULNUS_OTHER() {
        return VULNUS_OTHER;
    }
    public void setVULNUS_OTHER(String VULNUS_OTHER) {
        this.VULNUS_OTHER = VULNUS_OTHER;
    }
    public String getVULNUS_TIME() {
        return VULNUS_TIME;
    }
    public void setVULNUS_TIME(String VULNUS_TIME) {
        this.VULNUS_TIME = VULNUS_TIME;
    }
    public Double getBODY_TEMPERATURE() {
        return BODY_TEMPERATURE;
    }
    public void setBODY_TEMPERATURE(Double BODY_TEMPERATURE) {
        this.BODY_TEMPERATURE = BODY_TEMPERATURE;
    }
    public String getPULSE_FREQUENCY() {
        return PULSE_FREQUENCY;
    }
    public void setPULSE_FREQUENCY(String PULSE_FREQUENCY) {
        this.PULSE_FREQUENCY = PULSE_FREQUENCY;
    }
    public String getBREATH_FREQUENCY() {
        return BREATH_FREQUENCY;
    }
    public void setBREATH_FREQUENCY(String BREATH_FREQUENCY) {
        this.BREATH_FREQUENCY = BREATH_FREQUENCY;
    }
    public Integer getCOMPLEXION() {
        return COMPLEXION;
    }
    public void setCOMPLEXION(Integer COMPLEXION) {
        this.COMPLEXION = COMPLEXION;
    }
    public String getCOMPLEXION_NULL() {
        return COMPLEXION_NULL;
    }
    public void setCOMPLEXION_NULL(String COMPLEXION_NULL) {
        this.COMPLEXION_NULL = COMPLEXION_NULL;
    }
    public Integer getFACE() {
        return FACE;
    }
    public void setFACE(Integer FACE) {
        this.FACE = FACE;
    }
    public Integer getTRUNK() {
        return TRUNK;
    }
    public void setTRUNK(Integer TRUNK) {
        this.TRUNK = TRUNK;
    }
    public Integer getLIMB() {
        return LIMB;
    }
    public void setLIMB(Integer LIMB) {
        this.LIMB = LIMB;
    }
    public Integer getEXTREMITY() {
        return EXTREMITY;
    }
    public void setEXTREMITY(Integer EXTREMITY) {
        this.EXTREMITY = EXTREMITY;
    }
    public Double getBREGMA_FRONT() {
        return BREGMA_FRONT;
    }
    public void setBREGMA_FRONT(Double BREGMA_FRONT) {
        this.BREGMA_FRONT = BREGMA_FRONT;
    }
    public Double getBREGMA_BACK() {
        return BREGMA_BACK;
    }
    public void setBREGMA_BACK(Double BREGMA_BACK) {
        this.BREGMA_BACK = BREGMA_BACK;
    }
    public String getBREGMA_PERFORMANCE() {
        return BREGMA_PERFORMANCE;
    }
    public void setBREGMA_PERFORMANCE(String BREGMA_PERFORMANCE) {
        this.BREGMA_PERFORMANCE = BREGMA_PERFORMANCE;
    }
    public Integer getBREGMA() {
        return BREGMA;
    }
    public void setBREGMA(Integer BREGMA) {
        this.BREGMA = BREGMA;
    }
    public Integer getEYE() {
        return EYE;
    }
    public void setEYE(Integer EYE) {
        this.EYE = EYE;
    }
    public String getEYE_NULL() {
        return EYE_NULL;
    }
    public void setEYE_NULL(String EYE_NULL) {
        this.EYE_NULL = EYE_NULL;
    }
    public Integer getEAR() {
        return EAR;
    }
    public void setEAR(Integer EAR) {
        this.EAR = EAR;
    }
    public String getEAR_FACE() {
        return EAR_FACE;
    }
    public void setEAR_FACE(String EAR_FACE) {
        this.EAR_FACE = EAR_FACE;
    }
    public Integer getLIMBS() {
        return LIMBS;
    }
    public void setLIMBS(Integer LIMBS) {
        this.LIMBS = LIMBS;
    }
    public String getLIMBS_NULL() {
        return LIMBS_NULL;
    }
    public void setLIMBS_NULL(String LIMBS_NULL) {
        this.LIMBS_NULL = LIMBS_NULL;
    }
    public Integer getNECK_PACK() {
        return NECK_PACK;
    }
    public void setNECK_PACK(Integer NECK_PACK) {
        this.NECK_PACK = NECK_PACK;
    }
    public String getNECK_PACK_NULL() {
        return NECK_PACK_NULL;
    }
    public void setNECK_PACK_NULL(String NECK_PACK_NULL) {
        this.NECK_PACK_NULL = NECK_PACK_NULL;
    }
    public Integer getNOSE() {
        return NOSE;
    }
    public void setNOSE(Integer NOSE) {
        this.NOSE = NOSE;
    }
    public String getNOSE_PERFORMANCE() {
        return NOSE_PERFORMANCE;
    }
    public void setNOSE_PERFORMANCE(String NOSE_PERFORMANCE) {
        this.NOSE_PERFORMANCE = NOSE_PERFORMANCE;
    }
    public Integer getORAL() {
        return ORAL;
    }
    public void setORAL(Integer ORAL) {
        this.ORAL = ORAL;
    }
    public String getORAL_PERFORMANCE() {
        return ORAL_PERFORMANCE;
    }
    public void setORAL_PERFORMANCE(String ORAL_PERFORMANCE) {
        this.ORAL_PERFORMANCE = ORAL_PERFORMANCE;
    }
    public Integer getABDOMEN() {
        return ABDOMEN;
    }
    public void setABDOMEN(Integer ABDOMEN) {
        this.ABDOMEN = ABDOMEN;
    }
    public String getABDOMEN_NULL() {
        return ABDOMEN_NULL;
    }
    public void setABDOMEN_NULL(String ABDOMEN_NULL) {
        this.ABDOMEN_NULL = ABDOMEN_NULL;
    }
    public Integer getGENITALIA() {
        return GENITALIA;
    }
    public void setGENITALIA(Integer GENITALIA) {
        this.GENITALIA = GENITALIA;
    }
    public String getGENITALIA_NULL() {
        return GENITALIA_NULL;
    }
    public void setGENITALIA_NULL(String GENITALIA_NULL) {
        this.GENITALIA_NULL = GENITALIA_NULL;
    }
    public Integer getVERTEBRAL() {
        return VERTEBRAL;
    }
    public void setVERTEBRAL(Integer VERTEBRAL) {
        this.VERTEBRAL = VERTEBRAL;
    }
    public String getVERTEBRAL_NULL() {
        return VERTEBRAL_NULL;
    }
    public void setVERTEBRAL_NULL(String VERTEBRAL_NULL) {
        this.VERTEBRAL_NULL = VERTEBRAL_NULL;
    }
    public Integer getSKIN() {
        return SKIN;
    }
    public void setSKIN(Integer SKIN) {
        this.SKIN = SKIN;
    }
    public String getSKIN_PERFORMANCE() {
        return SKIN_PERFORMANCE;
    }
    public void setSKIN_PERFORMANCE(String SKIN_PERFORMANCE) {
        this.SKIN_PERFORMANCE = SKIN_PERFORMANCE;
    }
    public Integer getANUS() {
        return ANUS;
    }
    public void setANUS(Integer ANUS) {
        this.ANUS = ANUS;
    }
    public String getANUS_PERFORMANCE() {
        return ANUS_PERFORMANCE;
    }
    public void setANUS_PERFORMANCE(String ANUS_PERFORMANCE) {
        this.ANUS_PERFORMANCE = ANUS_PERFORMANCE;
    }
    public Integer getHEART() {
        return HEART;
    }
    public void setHEART(Integer HEART) {
        this.HEART = HEART;
    }
    public String getHEART_PERFORMANCE() {
        return HEART_PERFORMANCE;
    }
    public void setHEART_PERFORMANCE(String HEART_PERFORMANCE) {
        this.HEART_PERFORMANCE = HEART_PERFORMANCE;
    }
    public Integer getUMBILICAL() {
        return UMBILICAL;
    }
    public void setUMBILICAL(Integer UMBILICAL) {
        this.UMBILICAL = UMBILICAL;
    }
    public String getUMBILICAL_NULL() {
        return UMBILICAL_NULL;
    }
    public void setUMBILICAL_NULL(String UMBILICAL_NULL) {
        this.UMBILICAL_NULL = UMBILICAL_NULL;
    }
    public String getOther() {
        return other;
    }
    public void setOther(String other) {
        this.other = other;
    }
    public Integer getReferral() {
        return referral;
    }
    public void setReferral(Integer referral) {
        this.referral = referral;
    }
    public String getReferral_reason() {
        return referral_reason;
    }
    public void setReferral_reason(String referral_reason) {
        this.referral_reason = referral_reason;
    }
    public String getOrganization_org() {
        return organization_org;
    }
    public void setOrganization_org(String organization_org) {
        this.organization_org = organization_org;
    }
    public String getOrganization_org_name() {
        return organization_org_name;
    }
    public void setOrganization_org_name(String organization_org_name) {
        this.organization_org_name = organization_org_name;
    }
    public String getOrganization_hospital() {
        return organization_hospital;
    }
    public void setOrganization_hospital(String organization_hospital) {
        this.organization_hospital = organization_hospital;
    }
    public String getOrganization() {
        return organization;
    }
    public void setOrganization(String organization) {
        this.organization = organization;
    }
    public Integer getFEED_GUID() {
        return FEED_GUID;
    }
    public void setFEED_GUID(Integer FEED_GUID) {
        this.FEED_GUID = FEED_GUID;
    }
    public Integer getPREVENTION_HURT_GUID() {
        return PREVENTION_HURT_GUID;
    }
    public void setPREVENTION_HURT_GUID(Integer PREVENTION_HURT_GUID) {
        this.PREVENTION_HURT_GUID = PREVENTION_HURT_GUID;
    }
    public Integer getORAL_CAVITY_GUID() {
        return ORAL_CAVITY_GUID;
    }
    public void setORAL_CAVITY_GUID(Integer ORAL_CAVITY_GUID) {
        this.ORAL_CAVITY_GUID = ORAL_CAVITY_GUID;
    }
    public Integer getGROWUP_GUID() {
        return GROWUP_GUID;
    }
    public void setGROWUP_GUID(Integer GROWUP_GUID) {
        this.GROWUP_GUID = GROWUP_GUID;
    }
    public Integer getPREVENTION_DEFORMITY_GUID() {
        return PREVENTION_DEFORMITY_GUID;
    }
    public void setPREVENTION_DEFORMITY_GUID(Integer PREVENTION_DEFORMITY_GUID) {
        this.PREVENTION_DEFORMITY_GUID = PREVENTION_DEFORMITY_GUID;
    }
    public Integer getOTHER_GUIDE() {
        return OTHER_GUIDE;
    }
    public void setOTHER_GUIDE(Integer OTHER_GUIDE) {
        this.OTHER_GUIDE = OTHER_GUIDE;
    }
    public String getOTHER_GUIDE_CONTENT() {
        return OTHER_GUIDE_CONTENT;
    }
    public void setOTHER_GUIDE_CONTENT(String OTHER_GUIDE_CONTENT) {
        this.OTHER_GUIDE_CONTENT = OTHER_GUIDE_CONTENT;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getTHIS_INTERVIEW_DATE() {
        return THIS_INTERVIEW_DATE;
    }
    public void setTHIS_INTERVIEW_DATE(Date THIS_INTERVIEW_DATE) {
        this.THIS_INTERVIEW_DATE = THIS_INTERVIEW_DATE;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getNEXT_VISITING_DATE() {
        return NEXT_VISITING_DATE;
    }
    public void setNEXT_VISITING_DATE(Date NEXT_VISITING_DATE) {
        this.NEXT_VISITING_DATE = NEXT_VISITING_DATE;
    }
    public String getNEXT_VISITING_ADDRESS() {
        return NEXT_VISITING_ADDRESS;
    }
    public void setNEXT_VISITING_ADDRESS(String NEXT_VISITING_ADDRESS) {
        this.NEXT_VISITING_ADDRESS = NEXT_VISITING_ADDRESS;
    }
    public String getVISITING_DOCTOR() {
        return VISITING_DOCTOR;
    }
    public void setVISITING_DOCTOR(String VISITING_DOCTOR) {
        this.VISITING_DOCTOR = VISITING_DOCTOR;
    }
    public String getFAMILY_SIGN() {
        return FAMILY_SIGN;
    }
    public void setFAMILY_SIGN(String FAMILY_SIGN) {
        this.FAMILY_SIGN = FAMILY_SIGN;
    }
    public String getORG_ID() {
        return ORG_ID;
    }
    public void setORG_ID(String ORG_ID) {
        this.ORG_ID = ORG_ID;
    }
    public String getPHYSICLAL_STATUS() {
        return PHYSICLAL_STATUS;
    }
    public void setPHYSICLAL_STATUS(String PHYSICLAL_STATUS) {
        this.PHYSICLAL_STATUS = PHYSICLAL_STATUS;
    }
    public String getIDENTITY_CARD_NO() {
        return IDENTITY_CARD_NO;
    }
    public void setIDENTITY_CARD_NO(String IDENTITY_CARD_NO) {
        this.IDENTITY_CARD_NO = IDENTITY_CARD_NO;
    }
    public Integer getIS_CHILD_WEAK() {
        return IS_CHILD_WEAK;
    }
    public void setIS_CHILD_WEAK(Integer IS_CHILD_WEAK) {
        this.IS_CHILD_WEAK = IS_CHILD_WEAK;
    }
}

+ 2543 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/OlderPeopleHealthCheckRecordES.java

@ -0,0 +1,2543 @@
package com.yihu.jw.followup;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.searchbox.annotations.JestId;
import lombok.Data;
import org.springframework.data.annotation.CreatedDate;
import java.util.Date;
/**
 * 老年人健康体检随访记录表
 * create by hmf on 2019/4/18
 */
@Data
public class OlderPeopleHealthCheckRecordES {
    @JestId
    private String id;
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
    @CreatedDate
    private Date create_time;
    private String create_user;
    private String create_user_name;
    private String version;//版本号
    private String name;//老人姓名
    private String idcard;//身份证
    private String number;//体检编号
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date duty;//体检日期
    private String responsibility_doctor_name;//责任医生
    /**********  症状  **********/
    private String symptom;//症状,多个用逗号隔开(1无症状 2头痛 3头晕 4心悸 5胸闷 6胸痛 7慢性咳嗽 8咳痰 9呼吸困难 10多饮
    // 11多尿 12体重下降 13乏力 14 关节肿痛 15视力模糊 16手脚麻木 17尿急 18尿痛 19便秘 20腹泻 21恶心呕吐 22眼花 23 耳鸣 24乳房胀痛 25其他)
    private String symptom_other;//其他症状说明
    /**********  一般情况  **********/
    private Double temperature;//体温
    private String pulse_frequency;//心率 次/分钟
    private String breath_frequency;//呼吸频率 次/分钟
    private Integer blood_pressure_left_low;//血压左侧低值
    private Integer blood_pressure_left_high;//血压左侧高值
    private Integer blood_pressure_right_low;//血压右侧低值
    private Integer blood_pressure_right_high;//血压右侧高值
    private Double height;//身高,cm
    private Double weight;//体重,kg
    private Double waistline;//腰围,cm
    private Double BMI;//体质组数,kg/m2
    private Integer health_status;//老年人健康状态自我评估(1满意 2基本满意 3说不清楚 4不太满意 5不满意)
    private Integer selfcare_ability;//老年人生活自理能力自我评估(1、可自理0~3分 2、轻度依赖4~8分 3、中度依赖9~18分 4、不能自理≥19分)
    private Integer cognitive_function;//认知功能(1粗筛阴性 2粗筛阳性)
    private Integer cognitive_function_score;//简易智力状态检查,总分
    private Integer emotional_state;//情感状态(1粗筛阴性 2粗筛阳性)
    private Integer emotional_state_score;//简易抑郁评分检查,总分
    /**********  生活方式  **********/
    //体育锻炼
    private Integer exercise_frequency;//锻炼频率(1每天 2每周一次以上 3偶尔 4不锻炼)
    private Integer exercise_time;//每次锻炼时间 ,分钟
    private String sustain_exercise_time;//坚持锻炼时间,年
    private String exercise_type;//锻炼方式
    private String dietary_habit;//饮食习惯(1荤素均衡 2荤食为主 3素食为主 4嗜盐 5嗜油 6嗜糖)
    //吸烟情况
    private Integer smoking_state;//吸烟状况(1从不吸烟 2已戒烟 3吸烟)
    private Integer smoking_daily;//日吸烟量,支
    private Integer start_smoking_age;//开始吸烟年龄,岁
    private Integer stop_smoking_age;//戒烟年龄,岁
    //饮酒情况
    private Integer drinking_frequency;//饮酒频率(1从不 2偶尔 3经常 4每天)
    private Integer drinking_daily;//日饮酒量,两
    private Integer is_stop_drinking;//是否戒酒(1否,2是)
    private Integer stop_drinking_age;//戒酒年龄,岁
    private Integer start_drinking_age;//开始饮酒年龄
    private Integer drunkenness;//近一年是否曾醉酒(1是 2否)
    private String drinking_type;//饮酒品种(1白酒 2啤酒 3红酒 4黄酒 5其他)
    private String other_drinking_type;//其他的饮酒品种
    //职业病危害因素接触史
    private String dust;//粉尘
    private Integer dust_protective_measures;//是否有粉尘防护措施(1无 2有)
    private String dust_protective_measures_has;//粉尘防护措施
    private String radiogen;//放射物质
    private Integer radiogen_protective_measures;//是否有放射物质防护措施(1无 2有)
    private String radiogen_protective_measures_has;//放射物质防护措施
    private String physical_factor;//物理因素
    private Integer physical_protective_measures;//是否有物理因素防护措施(1无 2有)
    private String physical_protective_measures_has;//物理因素防护措施
    private String chemical_factor;//化学因素
    private Integer chemical_protective_measures;//是否有化学因素防护措施(1无 2有)
    private String chemical_protective_measures_has;//化学因素防护措施
    private String other_hazard_factors;//其他危害因素
    private Integer other_hazard_protective_measures;//是否有其他危害因素防护措施(1无 2有)
    private String other_hazard_protective_measures_has;//其他危害因素防护措施
    /**********  脏器功能  **********/
    //口腔
    private Integer lip;//口唇(1红润 2苍白 3发钳 4皲裂 5疱疹)
    private Integer dentition;//齿列(1正常 2缺齿 3龋齿 4义齿,假牙)
    private Integer oropharynx;//咽部(1无充血 2充血 3淋巴滤泡增生)
    private Double left_eyesight;//左眼视力
    private Double right_eyesight;//右眼视力
    private Double left_correctional_eyesight;//左眼矫正视力
    private Double right_correctional_eyesight;//右眼矫正视力
    private Integer hearing;//听力(1听见 2听不清或无法听见)
    private Integer motor_function;//运动功能(1可顺利完成 2无法独立完成任何一个动作)
    /**********  查体  **********/
    private Integer fundus;//眼底(1正常 2异常)
    private String fundus_abnormal;//眼底异常表现
    private Integer skin;//皮肤(1正常 2潮红 3苍白 4发钳 5黄染 6色素沉着 7其他)
    private String skin_other;//皮肤其他状态描述
    private Integer sclera;//巩膜(1正常 2黄染 3充血 4其他)
    private String sclera_other;//巩膜其他状态描述
    private Integer lymphaden;//淋巴结(1未触及 2锁骨上 3腋窝 4其他 )
    private String lymphaden_other;//淋巴结其他位置
    //肺
    private Integer barrel_chest;//桶状胸(1否 2是)
    private Integer breath_sounds;//呼吸音(1正常 2异常)
    private String breath_sounds_abnormal;//呼吸异常描述
    private Integer rale;//罗音(1无 2干罗音 3湿罗音 4其他)
    private String rale_abnormal;//其他罗音描述
    //心脏
    private Integer heart_rate;//心率,次/分钟
    private Integer heart_rhythm;//心律(1齐 2不齐 3绝对不齐)
    private Integer heart_noise;//杂音(1无 2有)
    private String heart_noise_has;//有杂音描述
    //腹部
    private Integer abdominal_tenderness;//是否压痛(1无 2有)
    private String tenderness_has;//有压痛描述
    private Integer abdominal_mass;//是否腹部包块(1无 2有)
    private String mass_has;//有腹部包块描述
    private Integer abdominal_hepatomegaly;//是否腹部肝大(1无 2有)
    private String hepatomegaly_has;//腹部肝大描述
    private Integer abdominal_spleen_big;//是否腹部脾大(1无 2有)
    private String spleen_big_has;//腹部脾大
    private Integer abdominal_shifting_dullness;//是否移动性浊音(1无 2有)
    private String shifting_dullness_has;//移动性浊音
    private Integer crura_edema;//下肢水肿(1无 2单侧 3双侧不对称 4双侧对称)
    private Integer dorsal_foot_pulse;//足背动脉搏动(1未接触 2触及双侧对称 3触及左侧弱或消失 4触及右侧弱或消失 )
    private Integer anus_dre;//肛门指诊(1未见异常 2触痛 3包块 4前列腺异常 5其他)
    private String anus_dre_other;//肛门指诊其他现象
    private String breast;//乳腺(1未见异常 2乳房切除 3异常泌乳 4乳腺包块 5其他)
    private String breast_other;//乳腺其他现象
    //妇科
    private Integer vulva;//外阴(1未见异常 2异常)
    private String vulva_abnormal;//外阴异常描述
    private Integer vagina;//阴道(1未见异常 2异常)
    private String vagina_abnormal;//阴道异常描述
    private Integer cervical;//宫颈(1未见异常 2异常)
    private String cervical_abnormal;//宫颈异常描述
    private Integer corpus;//宫体(1未见异常 2异常)
    private String corpus_abnormal;//宫体异常描述
    private Integer gynecologic_appendix;//妇科附件(1未见异常 2异常)
    private String appendix_abnormal;//附件异常描述
    private String physical_examination_other;//查体其他信息
    /**********  辅助检查  **********/
    //血常规
    private Double hemoglobin;//血红蛋白
    private Double leukocyte;//白细胞
    private Double thrombocyte;//血小板
    private String blood_routine_other;//其他血常规
    //尿常规
    private String urine_protein;//尿蛋白
    private String urine_sugar;//尿糖
    private String urine_acetone_bodies;//尿酮体
    private String urine_occult_blood;//尿潜血
    private String urine_routine_other;//其他尿常规
    private Double fasting_blood_glucose_L;//空腹血糖,单位mmol/L
    private Double fasting_blood_glucose_dL;//空腹血糖,单位mg/dL
    private Integer electrocardiogram;//心电图(1正常 2异常)
    private String electrocardiogram_abnormal;//心电图异常
    private Double microalbuminuria;//尿微量白蛋白, mg/dL
    private Integer occult_blood_in_stool;//大便潜血(1阴性 2阳性)
    private Double glycated_hemoglobin;//糖化血红蛋白
    private Integer HBsAg;//乙型肝炎表面抗原(1阴性 2阳性)
    //肝功能
    private Double ALT;//血清谷丙转氨酶
    private Double SGOT;//血清谷草转氨酶
    private Double albumin;//白蛋白
    private Double total_bilirubin;//总胆红素
    private Double conjugated_bilirubin;//结合胆红素
    //肾功能
    private Double serum_creatinine;//血清肌酐
    private Double blood_urea_nitrogen;//血尿素氮
    private Double blood_potassium_concentration;//血钾浓度
    private Double blood_Na_concentration;//血钠浓度
    private Double uric_acid;//尿酸
    //血脂
    private Double total_cholesterol;//总胆固醇
    private Double triglyceride;//甘油三酯
    private Double LDL_cholesterol;//血清低密度脂蛋白胆固醇
    private Double HDL_cholesterol;//血清高密度脂蛋白胆固醇
    private Double alpha_fetal_protein;//甲胎蛋白
    private Integer chest_Xray;//胸部X线片(1正常 2异常)
    private String chest_Xray_abnormal;//胸部X线片异常
    //B超
    private Integer abdomen_B_ultrasonic;//腹部b超(1正常 2异常)
    private String abdomen_B_ultrasonic_abnormal;//腹部b超异常描述
    private Integer B_ultrasonic_other;//b超其他部位(1正常 2异常)
    private String B_ultrasonic_other_abnormal;//b超其他部位异常描述
    private Integer cervical_smear;//宫颈涂片(1正常 2异常)
    private String cervical_smear_abnormal;//宫颈涂片异常描述
    private String  auxiliary_examination_other;//其他辅助检查
    /**********  中医体质辨识  **********/
    private Integer mild_physical;//平和质(1是 2基本是)
    private Integer qi_deficiency;//气虚质(1是 2倾向是)
    private Integer  yang_deficiency;//阳虚质(1是 2倾向是)
    private Integer yin_deficiency ;//阴虚质(1是 2倾向是)
    private Integer phlegm_dampness;//痰湿质(1是 2倾向是)
    private Integer dampness_heat;//湿热质(1是 2倾向是)
    private Integer blood_stasis;//血瘀质(1是 2倾向是)
    private Integer logistic_regression;//气郁质(1是 2倾向是)
    private Integer grasp_quality;//特秉质(1是 2倾向是)
    /**********  现存主要健康问题  **********/
    //脑血管疾病
    private String cerebrovascular_disease;//脑血管疾病(1未发现 2缺血性卒中 3脑出血 4蛛网膜下腔出血 5短暂性脑缺血发作 6其他)
    private String cerebrovascular_disease_other;//其他脑血管疾病
    private String nephropathy;//肾脏疾病(1未发现 2糖尿病肾病 3 肾功能衰竭 4急性肾炎 5慢性肾炎 6其他)
    private String nephropathy_other;//其他肾脏疾病
    private String heart_disease;//心脏疾病(1未发现 2心肌梗死 3心绞痛 4冠状动脉血运重建 5充血性心力衰竭 6心前区疼痛 7其他)
    private String heart_disease_other;//其他心脏疾病
    private String vascular_disease;//血管疾病(1未发现 2夹层动脉瘤 3动脉闭塞性疾病 4其他)
    private String vascular_disease_other;//其他血管疾病
    private String eye_disease;//眼部疾病(1未发现 2视网膜出血或渗出 3视乳头水肿 4白内障 5其他)
    private String eye_disease_other;//其他眼部疾病
    private Integer nervous_system_disease;//神经系统疾病(1未发现 2有)
    private String nervous_system_disease_has;//有神经系统疾病
    private Integer other_system_disease;//其他系统疾病(1未发现 2有)
    private String other_system_disease_has;//有其他系统疾病说明
    /**********  住院治疗情况  **********/
    //住院史
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date admission_date1;//入院日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date discharge_date1;//出院日期
    private String admission_reason1;//入院原因
    private String admission_hospital_name1;//入院医疗机构名称
    private String admission_number1;//病案号
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date admission_date2;//入院日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date discharge_date2;//出院日期
    private String admission_reason2;//入院原因
    private String admission_hospital_name2;//入院医疗机构名称
    private String admission_number2;//病案号
    //家庭病床史
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date building_bed_date1;//建床日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date cancel_bed_date1;//撤床日期
    private String building_bed_reason1;//建床原因
    private String building_bed_hospiatl_name1;//医疗机构名称
    private String building_bed_number1;//建床病案号
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date building_bed_date2;//建床日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date cancel_bed_date2;//撤床日期
    private String building_bed_reason2;//建床原因
    private String building_bed_hospiatl_name2;//医疗机构名称
    private String building_bed_number2;//建床病案号
    /**********  主要用药情况  **********/
    private String medicine1;//药物名称
    private String medicine1_use;//用法
    private String medicine1_dosage;//用量
    private String medication1_time;//用药时间
    private Integer medication1_compliance;//服药依从性(1规律 2间断 3不服药)
    private String medicine2;//药物名称
    private String medicine2_use;//用法
    private String medicine2_dosage;//用量
    private String medication2_time;//用药时间
    private Integer medication2_compliance;//服药依从性(1规律 2间断 3不服药)
    private String medicine3;//药物名称
    private String medicine3_use;//用法
    private String medicine3_dosage;//用量
    private String medication3_time;//用药时间
    private Integer medication3_compliance;//服药依从性(1规律 2间断 3不服药)
    private String medicine4;//药物名称
    private String medicine4_use;//用法
    private String medicine4_dosage;//用量
    private String medication4_time;//用药时间
    private Integer medication4_compliance;//服药依从性(1规律 2间断 3不服药)
    private String medicine5;//药物名称
    private String medicine5_use;//用法
    private String medicine5_dosage;//用量
    private String medication5_time;//用药时间
    private Integer medication5_compliance;//服药依从性(1规律 2间断 3不服药)
    private String medicine6;//药物名称
    private String medicine6_use;//用法
    private String medicine6_dosage;//用量
    private String medication6_time;//用药时间
    private Integer medication6_compliance;//服药依从性(1规律 2间断 3不服药)
    /**********  非免疫规划预防接种史  **********/
    private String vaccination_name1;//预防接种名称
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date vaccination_date1;//预防接种日期
    private String vaccination_hospital_name1;//预防接种机构
    private String vaccination_name2;//预防接种名称
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date vaccination_date2;//预防接种日期
    private String vaccination_hospital_name2;//预防接种机构
    private String vaccination_name3;//预防接种名称
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date vaccination_date3;//预防接种日期
    private String vaccination_hospital_name3;//预防接种机构
    /**********  健康评价  **********/
    private Integer health_examination;//体检是否异常(1无 2有)
    private String health_examination_abnormal1;//体检异常1
    private String health_examination_abnormal2;//体检异常2
    private String health_examination_abnormal3;//体检异常3
    private String health_examination_abnormal4;//体检异常4
    /**********  健康指导  **********/
    private Integer regular_followup;//定期随访(1无,2有)
    private Integer chronic_health_management;//纳入慢性病患者健康管理(1无,2有)
    private Integer suggest_recheck;//建议复查(1无,2有)
    private Integer suggest_referral;//建议转诊(1无,2有)
    private Integer other_health_guidance;//其他健康指导(1无,2有)
    private String other_health_guidance_description;//其他健康指导内容(1无,2有)
    /**********  危险因素控制  **********/
    private Integer stop_smoking;//戒烟(1无,2有)
    private Integer healthy_drinking;//健康饮酒(1无,2有)
    private Integer diet;//饮食(1无,2有)
    private Integer exercise;//锻炼(1无,2有)
    private Integer lose_weight;//减肥(1无,2有)
    private Double goal_weight;//目标体重
    private String recommended_vaccination;//建议接种疫苗(1无,2有)
    private Integer other_advice;//是否有其他建议(1无,2有)
    private String other_advice_description;//其他建议内容
    /**********  老人自理能力评估内容  **********/
    private String assessment_number;//评估编号
    private String assessment_doctorName;//评估医生
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date assessment_time;//评估日期
    private Integer eat;//进餐(1独立完成0-3分 2轻度依赖4-8分 3中度依赖9-18分 4不能自理≥19分)
    private Integer wash;//梳洗(1独立完成0-3分 2轻度依赖4-8分 3中度依赖9-18分 4不能自理≥19分
    private Integer dress;//穿衣(1独立完成0-3分 2轻度依赖4-8分 3中度依赖9-18分 4不能自理≥19分
    private Integer toilet;//如厕(1独立完成0-3分 2轻度依赖4-8分 3中度依赖9-18分 4不能自理≥19分
    private Integer activity;//活动(1独立完成0-3分 2轻度依赖4-8分 3中度依赖9-18分 4不能自理≥19分
    private Integer score;//总评分
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public Date getCreate_time() {
        return create_time;
    }
    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
    public String getCreate_user() {
        return create_user;
    }
    public void setCreate_user(String create_user) {
        this.create_user = create_user;
    }
    public String getCreate_user_name() {
        return create_user_name;
    }
    public void setCreate_user_name(String create_user_name) {
        this.create_user_name = create_user_name;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getIdcard() {
        return idcard;
    }
    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }
    public String getNumber() {
        return number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public Date getDuty() {
        return duty;
    }
    public void setDuty(Date duty) {
        this.duty = duty;
    }
    public String getResponsibility_doctor_name() {
        return responsibility_doctor_name;
    }
    public void setResponsibility_doctor_name(String responsibility_doctor_name) {
        this.responsibility_doctor_name = responsibility_doctor_name;
    }
    public String getSymptom() {
        return symptom;
    }
    public void setSymptom(String symptom) {
        this.symptom = symptom;
    }
    public String getSymptom_other() {
        return symptom_other;
    }
    public void setSymptom_other(String symptom_other) {
        this.symptom_other = symptom_other;
    }
    public Double getTemperature() {
        return temperature;
    }
    public void setTemperature(Double temperature) {
        this.temperature = temperature;
    }
    public String getPulse_frequency() {
        return pulse_frequency;
    }
    public void setPulse_frequency(String pulse_frequency) {
        this.pulse_frequency = pulse_frequency;
    }
    public String getBreath_frequency() {
        return breath_frequency;
    }
    public void setBreath_frequency(String breath_frequency) {
        this.breath_frequency = breath_frequency;
    }
    public Integer getBlood_pressure_left_low() {
        return blood_pressure_left_low;
    }
    public void setBlood_pressure_left_low(Integer blood_pressure_left_low) {
        this.blood_pressure_left_low = blood_pressure_left_low;
    }
    public Integer getBlood_pressure_left_high() {
        return blood_pressure_left_high;
    }
    public void setBlood_pressure_left_high(Integer blood_pressure_left_high) {
        this.blood_pressure_left_high = blood_pressure_left_high;
    }
    public Integer getBlood_pressure_right_low() {
        return blood_pressure_right_low;
    }
    public void setBlood_pressure_right_low(Integer blood_pressure_right_low) {
        this.blood_pressure_right_low = blood_pressure_right_low;
    }
    public Integer getBlood_pressure_right_high() {
        return blood_pressure_right_high;
    }
    public void setBlood_pressure_right_high(Integer blood_pressure_right_high) {
        this.blood_pressure_right_high = blood_pressure_right_high;
    }
    public Double getHeight() {
        return height;
    }
    public void setHeight(Double height) {
        this.height = height;
    }
    public Double getWeight() {
        return weight;
    }
    public void setWeight(Double weight) {
        this.weight = weight;
    }
    public Double getWaistline() {
        return waistline;
    }
    public void setWaistline(Double waistline) {
        this.waistline = waistline;
    }
    public Double getBMI() {
        return BMI;
    }
    public void setBMI(Double BMI) {
        this.BMI = BMI;
    }
    public Integer getHealth_status() {
        return health_status;
    }
    public void setHealth_status(Integer health_status) {
        this.health_status = health_status;
    }
    public Integer getSelfcare_ability() {
        return selfcare_ability;
    }
    public void setSelfcare_ability(Integer selfcare_ability) {
        this.selfcare_ability = selfcare_ability;
    }
    public Integer getCognitive_function() {
        return cognitive_function;
    }
    public void setCognitive_function(Integer cognitive_function) {
        this.cognitive_function = cognitive_function;
    }
    public Integer getCognitive_function_score() {
        return cognitive_function_score;
    }
    public void setCognitive_function_score(Integer cognitive_function_score) {
        this.cognitive_function_score = cognitive_function_score;
    }
    public Integer getEmotional_state() {
        return emotional_state;
    }
    public void setEmotional_state(Integer emotional_state) {
        this.emotional_state = emotional_state;
    }
    public Integer getEmotional_state_score() {
        return emotional_state_score;
    }
    public void setEmotional_state_score(Integer emotional_state_score) {
        this.emotional_state_score = emotional_state_score;
    }
    public Integer getExercise_frequency() {
        return exercise_frequency;
    }
    public void setExercise_frequency(Integer exercise_frequency) {
        this.exercise_frequency = exercise_frequency;
    }
    public Integer getExercise_time() {
        return exercise_time;
    }
    public void setExercise_time(Integer exercise_time) {
        this.exercise_time = exercise_time;
    }
    public String getSustain_exercise_time() {
        return sustain_exercise_time;
    }
    public void setSustain_exercise_time(String sustain_exercise_time) {
        this.sustain_exercise_time = sustain_exercise_time;
    }
    public String getExercise_type() {
        return exercise_type;
    }
    public void setExercise_type(String exercise_type) {
        this.exercise_type = exercise_type;
    }
    public String getDietary_habit() {
        return dietary_habit;
    }
    public void setDietary_habit(String dietary_habit) {
        this.dietary_habit = dietary_habit;
    }
    public Integer getSmoking_state() {
        return smoking_state;
    }
    public void setSmoking_state(Integer smoking_state) {
        this.smoking_state = smoking_state;
    }
    public Integer getSmoking_daily() {
        return smoking_daily;
    }
    public void setSmoking_daily(Integer smoking_daily) {
        this.smoking_daily = smoking_daily;
    }
    public Integer getStart_smoking_age() {
        return start_smoking_age;
    }
    public void setStart_smoking_age(Integer start_smoking_age) {
        this.start_smoking_age = start_smoking_age;
    }
    public Integer getStop_smoking_age() {
        return stop_smoking_age;
    }
    public void setStop_smoking_age(Integer stop_smoking_age) {
        this.stop_smoking_age = stop_smoking_age;
    }
    public Integer getDrinking_frequency() {
        return drinking_frequency;
    }
    public void setDrinking_frequency(Integer drinking_frequency) {
        this.drinking_frequency = drinking_frequency;
    }
    public Integer getDrinking_daily() {
        return drinking_daily;
    }
    public void setDrinking_daily(Integer drinking_daily) {
        this.drinking_daily = drinking_daily;
    }
    public Integer getIs_stop_drinking() {
        return is_stop_drinking;
    }
    public void setIs_stop_drinking(Integer is_stop_drinking) {
        this.is_stop_drinking = is_stop_drinking;
    }
    public Integer getStop_drinking_age() {
        return stop_drinking_age;
    }
    public void setStop_drinking_age(Integer stop_drinking_age) {
        this.stop_drinking_age = stop_drinking_age;
    }
    public Integer getStart_drinking_age() {
        return start_drinking_age;
    }
    public void setStart_drinking_age(Integer start_drinking_age) {
        this.start_drinking_age = start_drinking_age;
    }
    public Integer getDrunkenness() {
        return drunkenness;
    }
    public void setDrunkenness(Integer drunkenness) {
        this.drunkenness = drunkenness;
    }
    public String getDrinking_type() {
        return drinking_type;
    }
    public void setDrinking_type(String drinking_type) {
        this.drinking_type = drinking_type;
    }
    public String getOther_drinking_type() {
        return other_drinking_type;
    }
    public void setOther_drinking_type(String other_drinking_type) {
        this.other_drinking_type = other_drinking_type;
    }
    public String getDust() {
        return dust;
    }
    public void setDust(String dust) {
        this.dust = dust;
    }
    public Integer getDust_protective_measures() {
        return dust_protective_measures;
    }
    public void setDust_protective_measures(Integer dust_protective_measures) {
        this.dust_protective_measures = dust_protective_measures;
    }
    public String getDust_protective_measures_has() {
        return dust_protective_measures_has;
    }
    public void setDust_protective_measures_has(String dust_protective_measures_has) {
        this.dust_protective_measures_has = dust_protective_measures_has;
    }
    public String getRadiogen() {
        return radiogen;
    }
    public void setRadiogen(String radiogen) {
        this.radiogen = radiogen;
    }
    public Integer getRadiogen_protective_measures() {
        return radiogen_protective_measures;
    }
    public void setRadiogen_protective_measures(Integer radiogen_protective_measures) {
        this.radiogen_protective_measures = radiogen_protective_measures;
    }
    public String getRadiogen_protective_measures_has() {
        return radiogen_protective_measures_has;
    }
    public void setRadiogen_protective_measures_has(String radiogen_protective_measures_has) {
        this.radiogen_protective_measures_has = radiogen_protective_measures_has;
    }
    public String getPhysical_factor() {
        return physical_factor;
    }
    public void setPhysical_factor(String physical_factor) {
        this.physical_factor = physical_factor;
    }
    public Integer getPhysical_protective_measures() {
        return physical_protective_measures;
    }
    public void setPhysical_protective_measures(Integer physical_protective_measures) {
        this.physical_protective_measures = physical_protective_measures;
    }
    public String getPhysical_protective_measures_has() {
        return physical_protective_measures_has;
    }
    public void setPhysical_protective_measures_has(String physical_protective_measures_has) {
        this.physical_protective_measures_has = physical_protective_measures_has;
    }
    public String getChemical_factor() {
        return chemical_factor;
    }
    public void setChemical_factor(String chemical_factor) {
        this.chemical_factor = chemical_factor;
    }
    public Integer getChemical_protective_measures() {
        return chemical_protective_measures;
    }
    public void setChemical_protective_measures(Integer chemical_protective_measures) {
        this.chemical_protective_measures = chemical_protective_measures;
    }
    public String getChemical_protective_measures_has() {
        return chemical_protective_measures_has;
    }
    public void setChemical_protective_measures_has(String chemical_protective_measures_has) {
        this.chemical_protective_measures_has = chemical_protective_measures_has;
    }
    public String getOther_hazard_factors() {
        return other_hazard_factors;
    }
    public void setOther_hazard_factors(String other_hazard_factors) {
        this.other_hazard_factors = other_hazard_factors;
    }
    public Integer getOther_hazard_protective_measures() {
        return other_hazard_protective_measures;
    }
    public void setOther_hazard_protective_measures(Integer other_hazard_protective_measures) {
        this.other_hazard_protective_measures = other_hazard_protective_measures;
    }
    public String getOther_hazard_protective_measures_has() {
        return other_hazard_protective_measures_has;
    }
    public void setOther_hazard_protective_measures_has(String other_hazard_protective_measures_has) {
        this.other_hazard_protective_measures_has = other_hazard_protective_measures_has;
    }
    public Integer getLip() {
        return lip;
    }
    public void setLip(Integer lip) {
        this.lip = lip;
    }
    public Integer getDentition() {
        return dentition;
    }
    public void setDentition(Integer dentition) {
        this.dentition = dentition;
    }
    public Integer getOropharynx() {
        return oropharynx;
    }
    public void setOropharynx(Integer oropharynx) {
        this.oropharynx = oropharynx;
    }
    public Double getLeft_eyesight() {
        return left_eyesight;
    }
    public void setLeft_eyesight(Double left_eyesight) {
        this.left_eyesight = left_eyesight;
    }
    public Double getRight_eyesight() {
        return right_eyesight;
    }
    public void setRight_eyesight(Double right_eyesight) {
        this.right_eyesight = right_eyesight;
    }
    public Double getLeft_correctional_eyesight() {
        return left_correctional_eyesight;
    }
    public void setLeft_correctional_eyesight(Double left_correctional_eyesight) {
        this.left_correctional_eyesight = left_correctional_eyesight;
    }
    public Double getRight_correctional_eyesight() {
        return right_correctional_eyesight;
    }
    public void setRight_correctional_eyesight(Double right_correctional_eyesight) {
        this.right_correctional_eyesight = right_correctional_eyesight;
    }
    public Integer getHearing() {
        return hearing;
    }
    public void setHearing(Integer hearing) {
        this.hearing = hearing;
    }
    public Integer getMotor_function() {
        return motor_function;
    }
    public void setMotor_function(Integer motor_function) {
        this.motor_function = motor_function;
    }
    public Integer getFundus() {
        return fundus;
    }
    public void setFundus(Integer fundus) {
        this.fundus = fundus;
    }
    public String getFundus_abnormal() {
        return fundus_abnormal;
    }
    public void setFundus_abnormal(String fundus_abnormal) {
        this.fundus_abnormal = fundus_abnormal;
    }
    public Integer getSkin() {
        return skin;
    }
    public void setSkin(Integer skin) {
        this.skin = skin;
    }
    public String getSkin_other() {
        return skin_other;
    }
    public void setSkin_other(String skin_other) {
        this.skin_other = skin_other;
    }
    public Integer getSclera() {
        return sclera;
    }
    public void setSclera(Integer sclera) {
        this.sclera = sclera;
    }
    public String getSclera_other() {
        return sclera_other;
    }
    public void setSclera_other(String sclera_other) {
        this.sclera_other = sclera_other;
    }
    public Integer getLymphaden() {
        return lymphaden;
    }
    public void setLymphaden(Integer lymphaden) {
        this.lymphaden = lymphaden;
    }
    public String getLymphaden_other() {
        return lymphaden_other;
    }
    public void setLymphaden_other(String lymphaden_other) {
        this.lymphaden_other = lymphaden_other;
    }
    public Integer getBarrel_chest() {
        return barrel_chest;
    }
    public void setBarrel_chest(Integer barrel_chest) {
        this.barrel_chest = barrel_chest;
    }
    public Integer getBreath_sounds() {
        return breath_sounds;
    }
    public void setBreath_sounds(Integer breath_sounds) {
        this.breath_sounds = breath_sounds;
    }
    public String getBreath_sounds_abnormal() {
        return breath_sounds_abnormal;
    }
    public void setBreath_sounds_abnormal(String breath_sounds_abnormal) {
        this.breath_sounds_abnormal = breath_sounds_abnormal;
    }
    public Integer getRale() {
        return rale;
    }
    public void setRale(Integer rale) {
        this.rale = rale;
    }
    public String getRale_abnormal() {
        return rale_abnormal;
    }
    public void setRale_abnormal(String rale_abnormal) {
        this.rale_abnormal = rale_abnormal;
    }
    public Integer getHeart_rate() {
        return heart_rate;
    }
    public void setHeart_rate(Integer heart_rate) {
        this.heart_rate = heart_rate;
    }
    public Integer getHeart_rhythm() {
        return heart_rhythm;
    }
    public void setHeart_rhythm(Integer heart_rhythm) {
        this.heart_rhythm = heart_rhythm;
    }
    public Integer getHeart_noise() {
        return heart_noise;
    }
    public void setHeart_noise(Integer heart_noise) {
        this.heart_noise = heart_noise;
    }
    public String getHeart_noise_has() {
        return heart_noise_has;
    }
    public void setHeart_noise_has(String heart_noise_has) {
        this.heart_noise_has = heart_noise_has;
    }
    public Integer getAbdominal_tenderness() {
        return abdominal_tenderness;
    }
    public void setAbdominal_tenderness(Integer abdominal_tenderness) {
        this.abdominal_tenderness = abdominal_tenderness;
    }
    public String getTenderness_has() {
        return tenderness_has;
    }
    public void setTenderness_has(String tenderness_has) {
        this.tenderness_has = tenderness_has;
    }
    public Integer getAbdominal_mass() {
        return abdominal_mass;
    }
    public void setAbdominal_mass(Integer abdominal_mass) {
        this.abdominal_mass = abdominal_mass;
    }
    public String getMass_has() {
        return mass_has;
    }
    public void setMass_has(String mass_has) {
        this.mass_has = mass_has;
    }
    public Integer getAbdominal_hepatomegaly() {
        return abdominal_hepatomegaly;
    }
    public void setAbdominal_hepatomegaly(Integer abdominal_hepatomegaly) {
        this.abdominal_hepatomegaly = abdominal_hepatomegaly;
    }
    public String getHepatomegaly_has() {
        return hepatomegaly_has;
    }
    public void setHepatomegaly_has(String hepatomegaly_has) {
        this.hepatomegaly_has = hepatomegaly_has;
    }
    public Integer getAbdominal_spleen_big() {
        return abdominal_spleen_big;
    }
    public void setAbdominal_spleen_big(Integer abdominal_spleen_big) {
        this.abdominal_spleen_big = abdominal_spleen_big;
    }
    public String getSpleen_big_has() {
        return spleen_big_has;
    }
    public void setSpleen_big_has(String spleen_big_has) {
        this.spleen_big_has = spleen_big_has;
    }
    public Integer getAbdominal_shifting_dullness() {
        return abdominal_shifting_dullness;
    }
    public void setAbdominal_shifting_dullness(Integer abdominal_shifting_dullness) {
        this.abdominal_shifting_dullness = abdominal_shifting_dullness;
    }
    public String getShifting_dullness_has() {
        return shifting_dullness_has;
    }
    public void setShifting_dullness_has(String shifting_dullness_has) {
        this.shifting_dullness_has = shifting_dullness_has;
    }
    public Integer getCrura_edema() {
        return crura_edema;
    }
    public void setCrura_edema(Integer crura_edema) {
        this.crura_edema = crura_edema;
    }
    public Integer getDorsal_foot_pulse() {
        return dorsal_foot_pulse;
    }
    public void setDorsal_foot_pulse(Integer dorsal_foot_pulse) {
        this.dorsal_foot_pulse = dorsal_foot_pulse;
    }
    public Integer getAnus_dre() {
        return anus_dre;
    }
    public void setAnus_dre(Integer anus_dre) {
        this.anus_dre = anus_dre;
    }
    public String getAnus_dre_other() {
        return anus_dre_other;
    }
    public void setAnus_dre_other(String anus_dre_other) {
        this.anus_dre_other = anus_dre_other;
    }
    public String getBreast() {
        return breast;
    }
    public void setBreast(String breast) {
        this.breast = breast;
    }
    public String getBreast_other() {
        return breast_other;
    }
    public void setBreast_other(String breast_other) {
        this.breast_other = breast_other;
    }
    public Integer getVulva() {
        return vulva;
    }
    public void setVulva(Integer vulva) {
        this.vulva = vulva;
    }
    public String getVulva_abnormal() {
        return vulva_abnormal;
    }
    public void setVulva_abnormal(String vulva_abnormal) {
        this.vulva_abnormal = vulva_abnormal;
    }
    public Integer getVagina() {
        return vagina;
    }
    public void setVagina(Integer vagina) {
        this.vagina = vagina;
    }
    public String getVagina_abnormal() {
        return vagina_abnormal;
    }
    public void setVagina_abnormal(String vagina_abnormal) {
        this.vagina_abnormal = vagina_abnormal;
    }
    public Integer getCervical() {
        return cervical;
    }
    public void setCervical(Integer cervical) {
        this.cervical = cervical;
    }
    public String getCervical_abnormal() {
        return cervical_abnormal;
    }
    public void setCervical_abnormal(String cervical_abnormal) {
        this.cervical_abnormal = cervical_abnormal;
    }
    public Integer getCorpus() {
        return corpus;
    }
    public void setCorpus(Integer corpus) {
        this.corpus = corpus;
    }
    public String getCorpus_abnormal() {
        return corpus_abnormal;
    }
    public void setCorpus_abnormal(String corpus_abnormal) {
        this.corpus_abnormal = corpus_abnormal;
    }
    public Integer getGynecologic_appendix() {
        return gynecologic_appendix;
    }
    public void setGynecologic_appendix(Integer gynecologic_appendix) {
        this.gynecologic_appendix = gynecologic_appendix;
    }
    public String getAppendix_abnormal() {
        return appendix_abnormal;
    }
    public void setAppendix_abnormal(String appendix_abnormal) {
        this.appendix_abnormal = appendix_abnormal;
    }
    public String getPhysical_examination_other() {
        return physical_examination_other;
    }
    public void setPhysical_examination_other(String physical_examination_other) {
        this.physical_examination_other = physical_examination_other;
    }
    public Double getHemoglobin() {
        return hemoglobin;
    }
    public void setHemoglobin(Double hemoglobin) {
        this.hemoglobin = hemoglobin;
    }
    public Double getLeukocyte() {
        return leukocyte;
    }
    public void setLeukocyte(Double leukocyte) {
        this.leukocyte = leukocyte;
    }
    public Double getThrombocyte() {
        return thrombocyte;
    }
    public void setThrombocyte(Double thrombocyte) {
        this.thrombocyte = thrombocyte;
    }
    public String getBlood_routine_other() {
        return blood_routine_other;
    }
    public void setBlood_routine_other(String blood_routine_other) {
        this.blood_routine_other = blood_routine_other;
    }
    public String getUrine_protein() {
        return urine_protein;
    }
    public void setUrine_protein(String urine_protein) {
        this.urine_protein = urine_protein;
    }
    public String getUrine_sugar() {
        return urine_sugar;
    }
    public void setUrine_sugar(String urine_sugar) {
        this.urine_sugar = urine_sugar;
    }
    public String getUrine_acetone_bodies() {
        return urine_acetone_bodies;
    }
    public void setUrine_acetone_bodies(String urine_acetone_bodies) {
        this.urine_acetone_bodies = urine_acetone_bodies;
    }
    public String getUrine_occult_blood() {
        return urine_occult_blood;
    }
    public void setUrine_occult_blood(String urine_occult_blood) {
        this.urine_occult_blood = urine_occult_blood;
    }
    public String getUrine_routine_other() {
        return urine_routine_other;
    }
    public void setUrine_routine_other(String urine_routine_other) {
        this.urine_routine_other = urine_routine_other;
    }
    public Double getFasting_blood_glucose_L() {
        return fasting_blood_glucose_L;
    }
    public void setFasting_blood_glucose_L(Double fasting_blood_glucose_L) {
        this.fasting_blood_glucose_L = fasting_blood_glucose_L;
    }
    public Double getFasting_blood_glucose_dL() {
        return fasting_blood_glucose_dL;
    }
    public void setFasting_blood_glucose_dL(Double fasting_blood_glucose_dL) {
        this.fasting_blood_glucose_dL = fasting_blood_glucose_dL;
    }
    public Integer getElectrocardiogram() {
        return electrocardiogram;
    }
    public void setElectrocardiogram(Integer electrocardiogram) {
        this.electrocardiogram = electrocardiogram;
    }
    public String getElectrocardiogram_abnormal() {
        return electrocardiogram_abnormal;
    }
    public void setElectrocardiogram_abnormal(String electrocardiogram_abnormal) {
        this.electrocardiogram_abnormal = electrocardiogram_abnormal;
    }
    public Double getMicroalbuminuria() {
        return microalbuminuria;
    }
    public void setMicroalbuminuria(Double microalbuminuria) {
        this.microalbuminuria = microalbuminuria;
    }
    public Integer getOccult_blood_in_stool() {
        return occult_blood_in_stool;
    }
    public void setOccult_blood_in_stool(Integer occult_blood_in_stool) {
        this.occult_blood_in_stool = occult_blood_in_stool;
    }
    public Double getGlycated_hemoglobin() {
        return glycated_hemoglobin;
    }
    public void setGlycated_hemoglobin(Double glycated_hemoglobin) {
        this.glycated_hemoglobin = glycated_hemoglobin;
    }
    public Integer getHBsAg() {
        return HBsAg;
    }
    public void setHBsAg(Integer HBsAg) {
        this.HBsAg = HBsAg;
    }
    public Double getALT() {
        return ALT;
    }
    public void setALT(Double ALT) {
        this.ALT = ALT;
    }
    public Double getSGOT() {
        return SGOT;
    }
    public void setSGOT(Double SGOT) {
        this.SGOT = SGOT;
    }
    public Double getAlbumin() {
        return albumin;
    }
    public void setAlbumin(Double albumin) {
        this.albumin = albumin;
    }
    public Double getTotal_bilirubin() {
        return total_bilirubin;
    }
    public void setTotal_bilirubin(Double total_bilirubin) {
        this.total_bilirubin = total_bilirubin;
    }
    public Double getConjugated_bilirubin() {
        return conjugated_bilirubin;
    }
    public void setConjugated_bilirubin(Double conjugated_bilirubin) {
        this.conjugated_bilirubin = conjugated_bilirubin;
    }
    public Double getSerum_creatinine() {
        return serum_creatinine;
    }
    public void setSerum_creatinine(Double serum_creatinine) {
        this.serum_creatinine = serum_creatinine;
    }
    public Double getBlood_urea_nitrogen() {
        return blood_urea_nitrogen;
    }
    public void setBlood_urea_nitrogen(Double blood_urea_nitrogen) {
        this.blood_urea_nitrogen = blood_urea_nitrogen;
    }
    public Double getBlood_potassium_concentration() {
        return blood_potassium_concentration;
    }
    public void setBlood_potassium_concentration(Double blood_potassium_concentration) {
        this.blood_potassium_concentration = blood_potassium_concentration;
    }
    public Double getBlood_Na_concentration() {
        return blood_Na_concentration;
    }
    public void setBlood_Na_concentration(Double blood_Na_concentration) {
        this.blood_Na_concentration = blood_Na_concentration;
    }
    public Double getUric_acid() {
        return uric_acid;
    }
    public void setUric_acid(Double uric_acid) {
        this.uric_acid = uric_acid;
    }
    public Double getTotal_cholesterol() {
        return total_cholesterol;
    }
    public void setTotal_cholesterol(Double total_cholesterol) {
        this.total_cholesterol = total_cholesterol;
    }
    public Double getTriglyceride() {
        return triglyceride;
    }
    public void setTriglyceride(Double triglyceride) {
        this.triglyceride = triglyceride;
    }
    public Double getLDL_cholesterol() {
        return LDL_cholesterol;
    }
    public void setLDL_cholesterol(Double LDL_cholesterol) {
        this.LDL_cholesterol = LDL_cholesterol;
    }
    public Double getHDL_cholesterol() {
        return HDL_cholesterol;
    }
    public void setHDL_cholesterol(Double HDL_cholesterol) {
        this.HDL_cholesterol = HDL_cholesterol;
    }
    public Double getAlpha_fetal_protein() {
        return alpha_fetal_protein;
    }
    public void setAlpha_fetal_protein(Double alpha_fetal_protein) {
        this.alpha_fetal_protein = alpha_fetal_protein;
    }
    public Integer getChest_Xray() {
        return chest_Xray;
    }
    public void setChest_Xray(Integer chest_Xray) {
        this.chest_Xray = chest_Xray;
    }
    public String getChest_Xray_abnormal() {
        return chest_Xray_abnormal;
    }
    public void setChest_Xray_abnormal(String chest_Xray_abnormal) {
        this.chest_Xray_abnormal = chest_Xray_abnormal;
    }
    public Integer getAbdomen_B_ultrasonic() {
        return abdomen_B_ultrasonic;
    }
    public void setAbdomen_B_ultrasonic(Integer abdomen_B_ultrasonic) {
        this.abdomen_B_ultrasonic = abdomen_B_ultrasonic;
    }
    public String getAbdomen_B_ultrasonic_abnormal() {
        return abdomen_B_ultrasonic_abnormal;
    }
    public void setAbdomen_B_ultrasonic_abnormal(String abdomen_B_ultrasonic_abnormal) {
        this.abdomen_B_ultrasonic_abnormal = abdomen_B_ultrasonic_abnormal;
    }
    public Integer getB_ultrasonic_other() {
        return B_ultrasonic_other;
    }
    public void setB_ultrasonic_other(Integer b_ultrasonic_other) {
        B_ultrasonic_other = b_ultrasonic_other;
    }
    public String getB_ultrasonic_other_abnormal() {
        return B_ultrasonic_other_abnormal;
    }
    public void setB_ultrasonic_other_abnormal(String b_ultrasonic_other_abnormal) {
        B_ultrasonic_other_abnormal = b_ultrasonic_other_abnormal;
    }
    public Integer getCervical_smear() {
        return cervical_smear;
    }
    public void setCervical_smear(Integer cervical_smear) {
        this.cervical_smear = cervical_smear;
    }
    public String getCervical_smear_abnormal() {
        return cervical_smear_abnormal;
    }
    public void setCervical_smear_abnormal(String cervical_smear_abnormal) {
        this.cervical_smear_abnormal = cervical_smear_abnormal;
    }
    public String getAuxiliary_examination_other() {
        return auxiliary_examination_other;
    }
    public void setAuxiliary_examination_other(String auxiliary_examination_other) {
        this.auxiliary_examination_other = auxiliary_examination_other;
    }
    public Integer getMild_physical() {
        return mild_physical;
    }
    public void setMild_physical(Integer mild_physical) {
        this.mild_physical = mild_physical;
    }
    public Integer getQi_deficiency() {
        return qi_deficiency;
    }
    public void setQi_deficiency(Integer qi_deficiency) {
        this.qi_deficiency = qi_deficiency;
    }
    public Integer getYang_deficiency() {
        return yang_deficiency;
    }
    public void setYang_deficiency(Integer yang_deficiency) {
        this.yang_deficiency = yang_deficiency;
    }
    public Integer getYin_deficiency() {
        return yin_deficiency;
    }
    public void setYin_deficiency(Integer yin_deficiency) {
        this.yin_deficiency = yin_deficiency;
    }
    public Integer getPhlegm_dampness() {
        return phlegm_dampness;
    }
    public void setPhlegm_dampness(Integer phlegm_dampness) {
        this.phlegm_dampness = phlegm_dampness;
    }
    public Integer getDampness_heat() {
        return dampness_heat;
    }
    public void setDampness_heat(Integer dampness_heat) {
        this.dampness_heat = dampness_heat;
    }
    public Integer getBlood_stasis() {
        return blood_stasis;
    }
    public void setBlood_stasis(Integer blood_stasis) {
        this.blood_stasis = blood_stasis;
    }
    public Integer getLogistic_regression() {
        return logistic_regression;
    }
    public void setLogistic_regression(Integer logistic_regression) {
        this.logistic_regression = logistic_regression;
    }
    public Integer getGrasp_quality() {
        return grasp_quality;
    }
    public void setGrasp_quality(Integer grasp_quality) {
        this.grasp_quality = grasp_quality;
    }
    public String getCerebrovascular_disease() {
        return cerebrovascular_disease;
    }
    public void setCerebrovascular_disease(String cerebrovascular_disease) {
        this.cerebrovascular_disease = cerebrovascular_disease;
    }
    public String getCerebrovascular_disease_other() {
        return cerebrovascular_disease_other;
    }
    public void setCerebrovascular_disease_other(String cerebrovascular_disease_other) {
        this.cerebrovascular_disease_other = cerebrovascular_disease_other;
    }
    public String getNephropathy() {
        return nephropathy;
    }
    public void setNephropathy(String nephropathy) {
        this.nephropathy = nephropathy;
    }
    public String getNephropathy_other() {
        return nephropathy_other;
    }
    public void setNephropathy_other(String nephropathy_other) {
        this.nephropathy_other = nephropathy_other;
    }
    public String getHeart_disease() {
        return heart_disease;
    }
    public void setHeart_disease(String heart_disease) {
        this.heart_disease = heart_disease;
    }
    public String getHeart_disease_other() {
        return heart_disease_other;
    }
    public void setHeart_disease_other(String heart_disease_other) {
        this.heart_disease_other = heart_disease_other;
    }
    public String getVascular_disease() {
        return vascular_disease;
    }
    public void setVascular_disease(String vascular_disease) {
        this.vascular_disease = vascular_disease;
    }
    public String getVascular_disease_other() {
        return vascular_disease_other;
    }
    public void setVascular_disease_other(String vascular_disease_other) {
        this.vascular_disease_other = vascular_disease_other;
    }
    public String getEye_disease() {
        return eye_disease;
    }
    public void setEye_disease(String eye_disease) {
        this.eye_disease = eye_disease;
    }
    public String getEye_disease_other() {
        return eye_disease_other;
    }
    public void setEye_disease_other(String eye_disease_other) {
        this.eye_disease_other = eye_disease_other;
    }
    public Integer getNervous_system_disease() {
        return nervous_system_disease;
    }
    public void setNervous_system_disease(Integer nervous_system_disease) {
        this.nervous_system_disease = nervous_system_disease;
    }
    public String getNervous_system_disease_has() {
        return nervous_system_disease_has;
    }
    public void setNervous_system_disease_has(String nervous_system_disease_has) {
        this.nervous_system_disease_has = nervous_system_disease_has;
    }
    public Integer getOther_system_disease() {
        return other_system_disease;
    }
    public void setOther_system_disease(Integer other_system_disease) {
        this.other_system_disease = other_system_disease;
    }
    public String getOther_system_disease_has() {
        return other_system_disease_has;
    }
    public void setOther_system_disease_has(String other_system_disease_has) {
        this.other_system_disease_has = other_system_disease_has;
    }
    public Date getAdmission_date1() {
        return admission_date1;
    }
    public void setAdmission_date1(Date admission_date1) {
        this.admission_date1 = admission_date1;
    }
    public Date getDischarge_date1() {
        return discharge_date1;
    }
    public void setDischarge_date1(Date discharge_date1) {
        this.discharge_date1 = discharge_date1;
    }
    public String getAdmission_reason1() {
        return admission_reason1;
    }
    public void setAdmission_reason1(String admission_reason1) {
        this.admission_reason1 = admission_reason1;
    }
    public String getAdmission_hospital_name1() {
        return admission_hospital_name1;
    }
    public void setAdmission_hospital_name1(String admission_hospital_name1) {
        this.admission_hospital_name1 = admission_hospital_name1;
    }
    public String getAdmission_number1() {
        return admission_number1;
    }
    public void setAdmission_number1(String admission_number1) {
        this.admission_number1 = admission_number1;
    }
    public Date getAdmission_date2() {
        return admission_date2;
    }
    public void setAdmission_date2(Date admission_date2) {
        this.admission_date2 = admission_date2;
    }
    public Date getDischarge_date2() {
        return discharge_date2;
    }
    public void setDischarge_date2(Date discharge_date2) {
        this.discharge_date2 = discharge_date2;
    }
    public String getAdmission_reason2() {
        return admission_reason2;
    }
    public void setAdmission_reason2(String admission_reason2) {
        this.admission_reason2 = admission_reason2;
    }
    public String getAdmission_hospital_name2() {
        return admission_hospital_name2;
    }
    public void setAdmission_hospital_name2(String admission_hospital_name2) {
        this.admission_hospital_name2 = admission_hospital_name2;
    }
    public String getAdmission_number2() {
        return admission_number2;
    }
    public void setAdmission_number2(String admission_number2) {
        this.admission_number2 = admission_number2;
    }
    public Date getBuilding_bed_date1() {
        return building_bed_date1;
    }
    public void setBuilding_bed_date1(Date building_bed_date1) {
        this.building_bed_date1 = building_bed_date1;
    }
    public Date getCancel_bed_date1() {
        return cancel_bed_date1;
    }
    public void setCancel_bed_date1(Date cancel_bed_date1) {
        this.cancel_bed_date1 = cancel_bed_date1;
    }
    public String getBuilding_bed_reason1() {
        return building_bed_reason1;
    }
    public void setBuilding_bed_reason1(String building_bed_reason1) {
        this.building_bed_reason1 = building_bed_reason1;
    }
    public String getBuilding_bed_hospiatl_name1() {
        return building_bed_hospiatl_name1;
    }
    public void setBuilding_bed_hospiatl_name1(String building_bed_hospiatl_name1) {
        this.building_bed_hospiatl_name1 = building_bed_hospiatl_name1;
    }
    public String getBuilding_bed_number1() {
        return building_bed_number1;
    }
    public void setBuilding_bed_number1(String building_bed_number1) {
        this.building_bed_number1 = building_bed_number1;
    }
    public Date getBuilding_bed_date2() {
        return building_bed_date2;
    }
    public void setBuilding_bed_date2(Date building_bed_date2) {
        this.building_bed_date2 = building_bed_date2;
    }
    public Date getCancel_bed_date2() {
        return cancel_bed_date2;
    }
    public void setCancel_bed_date2(Date cancel_bed_date2) {
        this.cancel_bed_date2 = cancel_bed_date2;
    }
    public String getBuilding_bed_reason2() {
        return building_bed_reason2;
    }
    public void setBuilding_bed_reason2(String building_bed_reason2) {
        this.building_bed_reason2 = building_bed_reason2;
    }
    public String getBuilding_bed_hospiatl_name2() {
        return building_bed_hospiatl_name2;
    }
    public void setBuilding_bed_hospiatl_name2(String building_bed_hospiatl_name2) {
        this.building_bed_hospiatl_name2 = building_bed_hospiatl_name2;
    }
    public String getBuilding_bed_number2() {
        return building_bed_number2;
    }
    public void setBuilding_bed_number2(String building_bed_number2) {
        this.building_bed_number2 = building_bed_number2;
    }
    public String getMedicine1() {
        return medicine1;
    }
    public void setMedicine1(String medicine1) {
        this.medicine1 = medicine1;
    }
    public String getMedicine1_use() {
        return medicine1_use;
    }
    public void setMedicine1_use(String medicine1_use) {
        this.medicine1_use = medicine1_use;
    }
    public String getMedicine1_dosage() {
        return medicine1_dosage;
    }
    public void setMedicine1_dosage(String medicine1_dosage) {
        this.medicine1_dosage = medicine1_dosage;
    }
    public String getMedication1_time() {
        return medication1_time;
    }
    public void setMedication1_time(String medication1_time) {
        this.medication1_time = medication1_time;
    }
    public Integer getMedication1_compliance() {
        return medication1_compliance;
    }
    public void setMedication1_compliance(Integer medication1_compliance) {
        this.medication1_compliance = medication1_compliance;
    }
    public String getMedicine2() {
        return medicine2;
    }
    public void setMedicine2(String medicine2) {
        this.medicine2 = medicine2;
    }
    public String getMedicine2_use() {
        return medicine2_use;
    }
    public void setMedicine2_use(String medicine2_use) {
        this.medicine2_use = medicine2_use;
    }
    public String getMedicine2_dosage() {
        return medicine2_dosage;
    }
    public void setMedicine2_dosage(String medicine2_dosage) {
        this.medicine2_dosage = medicine2_dosage;
    }
    public String getMedication2_time() {
        return medication2_time;
    }
    public void setMedication2_time(String medication2_time) {
        this.medication2_time = medication2_time;
    }
    public Integer getMedication2_compliance() {
        return medication2_compliance;
    }
    public void setMedication2_compliance(Integer medication2_compliance) {
        this.medication2_compliance = medication2_compliance;
    }
    public String getMedicine3() {
        return medicine3;
    }
    public void setMedicine3(String medicine3) {
        this.medicine3 = medicine3;
    }
    public String getMedicine3_use() {
        return medicine3_use;
    }
    public void setMedicine3_use(String medicine3_use) {
        this.medicine3_use = medicine3_use;
    }
    public String getMedicine3_dosage() {
        return medicine3_dosage;
    }
    public void setMedicine3_dosage(String medicine3_dosage) {
        this.medicine3_dosage = medicine3_dosage;
    }
    public String getMedication3_time() {
        return medication3_time;
    }
    public void setMedication3_time(String medication3_time) {
        this.medication3_time = medication3_time;
    }
    public Integer getMedication3_compliance() {
        return medication3_compliance;
    }
    public void setMedication3_compliance(Integer medication3_compliance) {
        this.medication3_compliance = medication3_compliance;
    }
    public String getMedicine4() {
        return medicine4;
    }
    public void setMedicine4(String medicine4) {
        this.medicine4 = medicine4;
    }
    public String getMedicine4_use() {
        return medicine4_use;
    }
    public void setMedicine4_use(String medicine4_use) {
        this.medicine4_use = medicine4_use;
    }
    public String getMedicine4_dosage() {
        return medicine4_dosage;
    }
    public void setMedicine4_dosage(String medicine4_dosage) {
        this.medicine4_dosage = medicine4_dosage;
    }
    public String getMedication4_time() {
        return medication4_time;
    }
    public void setMedication4_time(String medication4_time) {
        this.medication4_time = medication4_time;
    }
    public Integer getMedication4_compliance() {
        return medication4_compliance;
    }
    public void setMedication4_compliance(Integer medication4_compliance) {
        this.medication4_compliance = medication4_compliance;
    }
    public String getMedicine5() {
        return medicine5;
    }
    public void setMedicine5(String medicine5) {
        this.medicine5 = medicine5;
    }
    public String getMedicine5_use() {
        return medicine5_use;
    }
    public void setMedicine5_use(String medicine5_use) {
        this.medicine5_use = medicine5_use;
    }
    public String getMedicine5_dosage() {
        return medicine5_dosage;
    }
    public void setMedicine5_dosage(String medicine5_dosage) {
        this.medicine5_dosage = medicine5_dosage;
    }
    public String getMedication5_time() {
        return medication5_time;
    }
    public void setMedication5_time(String medication5_time) {
        this.medication5_time = medication5_time;
    }
    public Integer getMedication5_compliance() {
        return medication5_compliance;
    }
    public void setMedication5_compliance(Integer medication5_compliance) {
        this.medication5_compliance = medication5_compliance;
    }
    public String getMedicine6() {
        return medicine6;
    }
    public void setMedicine6(String medicine6) {
        this.medicine6 = medicine6;
    }
    public String getMedicine6_use() {
        return medicine6_use;
    }
    public void setMedicine6_use(String medicine6_use) {
        this.medicine6_use = medicine6_use;
    }
    public String getMedicine6_dosage() {
        return medicine6_dosage;
    }
    public void setMedicine6_dosage(String medicine6_dosage) {
        this.medicine6_dosage = medicine6_dosage;
    }
    public String getMedication6_time() {
        return medication6_time;
    }
    public void setMedication6_time(String medication6_time) {
        this.medication6_time = medication6_time;
    }
    public Integer getMedication6_compliance() {
        return medication6_compliance;
    }
    public void setMedication6_compliance(Integer medication6_compliance) {
        this.medication6_compliance = medication6_compliance;
    }
    public String getVaccination_name1() {
        return vaccination_name1;
    }
    public void setVaccination_name1(String vaccination_name1) {
        this.vaccination_name1 = vaccination_name1;
    }
    public Date getVaccination_date1() {
        return vaccination_date1;
    }
    public void setVaccination_date1(Date vaccination_date1) {
        this.vaccination_date1 = vaccination_date1;
    }
    public String getVaccination_hospital_name1() {
        return vaccination_hospital_name1;
    }
    public void setVaccination_hospital_name1(String vaccination_hospital_name1) {
        this.vaccination_hospital_name1 = vaccination_hospital_name1;
    }
    public String getVaccination_name2() {
        return vaccination_name2;
    }
    public void setVaccination_name2(String vaccination_name2) {
        this.vaccination_name2 = vaccination_name2;
    }
    public Date getVaccination_date2() {
        return vaccination_date2;
    }
    public void setVaccination_date2(Date vaccination_date2) {
        this.vaccination_date2 = vaccination_date2;
    }
    public String getVaccination_hospital_name2() {
        return vaccination_hospital_name2;
    }
    public void setVaccination_hospital_name2(String vaccination_hospital_name2) {
        this.vaccination_hospital_name2 = vaccination_hospital_name2;
    }
    public String getVaccination_name3() {
        return vaccination_name3;
    }
    public void setVaccination_name3(String vaccination_name3) {
        this.vaccination_name3 = vaccination_name3;
    }
    public Date getVaccination_date3() {
        return vaccination_date3;
    }
    public void setVaccination_date3(Date vaccination_date3) {
        this.vaccination_date3 = vaccination_date3;
    }
    public String getVaccination_hospital_name3() {
        return vaccination_hospital_name3;
    }
    public void setVaccination_hospital_name3(String vaccination_hospital_name3) {
        this.vaccination_hospital_name3 = vaccination_hospital_name3;
    }
    public Integer getHealth_examination() {
        return health_examination;
    }
    public void setHealth_examination(Integer health_examination) {
        this.health_examination = health_examination;
    }
    public String getHealth_examination_abnormal1() {
        return health_examination_abnormal1;
    }
    public void setHealth_examination_abnormal1(String health_examination_abnormal1) {
        this.health_examination_abnormal1 = health_examination_abnormal1;
    }
    public String getHealth_examination_abnormal2() {
        return health_examination_abnormal2;
    }
    public void setHealth_examination_abnormal2(String health_examination_abnormal2) {
        this.health_examination_abnormal2 = health_examination_abnormal2;
    }
    public String getHealth_examination_abnormal3() {
        return health_examination_abnormal3;
    }
    public void setHealth_examination_abnormal3(String health_examination_abnormal3) {
        this.health_examination_abnormal3 = health_examination_abnormal3;
    }
    public String getHealth_examination_abnormal4() {
        return health_examination_abnormal4;
    }
    public void setHealth_examination_abnormal4(String health_examination_abnormal4) {
        this.health_examination_abnormal4 = health_examination_abnormal4;
    }
    public Integer getRegular_followup() {
        return regular_followup;
    }
    public void setRegular_followup(Integer regular_followup) {
        this.regular_followup = regular_followup;
    }
    public Integer getChronic_health_management() {
        return chronic_health_management;
    }
    public void setChronic_health_management(Integer chronic_health_management) {
        this.chronic_health_management = chronic_health_management;
    }
    public Integer getSuggest_recheck() {
        return suggest_recheck;
    }
    public void setSuggest_recheck(Integer suggest_recheck) {
        this.suggest_recheck = suggest_recheck;
    }
    public Integer getSuggest_referral() {
        return suggest_referral;
    }
    public void setSuggest_referral(Integer suggest_referral) {
        this.suggest_referral = suggest_referral;
    }
    public Integer getOther_health_guidance() {
        return other_health_guidance;
    }
    public void setOther_health_guidance(Integer other_health_guidance) {
        this.other_health_guidance = other_health_guidance;
    }
    public String getOther_health_guidance_description() {
        return other_health_guidance_description;
    }
    public void setOther_health_guidance_description(String other_health_guidance_description) {
        this.other_health_guidance_description = other_health_guidance_description;
    }
    public Integer getStop_smoking() {
        return stop_smoking;
    }
    public void setStop_smoking(Integer stop_smoking) {
        this.stop_smoking = stop_smoking;
    }
    public Integer getHealthy_drinking() {
        return healthy_drinking;
    }
    public void setHealthy_drinking(Integer healthy_drinking) {
        this.healthy_drinking = healthy_drinking;
    }
    public Integer getDiet() {
        return diet;
    }
    public void setDiet(Integer diet) {
        this.diet = diet;
    }
    public Integer getExercise() {
        return exercise;
    }
    public void setExercise(Integer exercise) {
        this.exercise = exercise;
    }
    public Integer getLose_weight() {
        return lose_weight;
    }
    public void setLose_weight(Integer lose_weight) {
        this.lose_weight = lose_weight;
    }
    public Double getGoal_weight() {
        return goal_weight;
    }
    public void setGoal_weight(Double goal_weight) {
        this.goal_weight = goal_weight;
    }
    public String getRecommended_vaccination() {
        return recommended_vaccination;
    }
    public void setRecommended_vaccination(String recommended_vaccination) {
        this.recommended_vaccination = recommended_vaccination;
    }
    public Integer getOther_advice() {
        return other_advice;
    }
    public void setOther_advice(Integer other_advice) {
        this.other_advice = other_advice;
    }
    public String getOther_advice_description() {
        return other_advice_description;
    }
    public void setOther_advice_description(String other_advice_description) {
        this.other_advice_description = other_advice_description;
    }
    public String getAssessment_number() {
        return assessment_number;
    }
    public void setAssessment_number(String assessment_number) {
        this.assessment_number = assessment_number;
    }
    public String getAssessment_doctorName() {
        return assessment_doctorName;
    }
    public void setAssessment_doctorName(String assessment_doctorName) {
        this.assessment_doctorName = assessment_doctorName;
    }
    public Date getAssessment_time() {
        return assessment_time;
    }
    public void setAssessment_time(Date assessment_time) {
        this.assessment_time = assessment_time;
    }
    public Integer getEat() {
        return eat;
    }
    public void setEat(Integer eat) {
        this.eat = eat;
    }
    public Integer getWash() {
        return wash;
    }
    public void setWash(Integer wash) {
        this.wash = wash;
    }
    public Integer getDress() {
        return dress;
    }
    public void setDress(Integer dress) {
        this.dress = dress;
    }
    public Integer getToilet() {
        return toilet;
    }
    public void setToilet(Integer toilet) {
        this.toilet = toilet;
    }
    public Integer getActivity() {
        return activity;
    }
    public void setActivity(Integer activity) {
        this.activity = activity;
    }
    public Integer getScore() {
        return score;
    }
    public void setScore(Integer score) {
        this.score = score;
    }
}

+ 379 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/PostpartumVisitRecordES.java

@ -0,0 +1,379 @@
package com.yihu.jw.followup;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.searchbox.annotations.JestId;
import org.springframework.data.annotation.CreatedDate;
import java.util.Date;
/**
 * 产后访视记录表
 * create by hmf on 2019/4/17
 */
public class PostpartumVisitRecordES {
    @JestId
    private String id;
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
    @CreatedDate
    private Date create_time;
    private String create_user;
    private String create_user_name;
    private String version;//版本号
    private String name;//产妇姓名
    private String number;//编号
    private Date followup_date;//随访日期
    private Date parturition_date;//分娩日期
    private Date discharged_date;//出院日期
    private Double body_temperature;//体温
    private String healthy_condition;//一般健康情况
    private String psychologic_status;//一般心理状况
    private Integer blood_pressure_low;//血压低值
    private Integer blood_pressure_high;//血压高值
    private Integer breast_status;//乳房(1未见异常 2异常)
    private Integer lochia_status;//恶露(1未见异常 2异常)
    private Integer uterus_status;//子宫(1未见异常 2异常)
    private Integer wound_status;//伤口(1未见异常 2异常)
    private String other;//其他
    private Integer category;//分类(1未见异常 2异常)
    /******** 指导 ********/
    private Integer personal_hygiene ;//个人卫生【1有,0无】
    private Integer mentality;//心理指导【1有,0无】
    private Integer nutrition;//营养指导【1有,0无】
    private Integer breast_feeding;//母乳喂养指导【1是,0否】
    private Integer newborn_care_and_feeding;//新生儿护理与喂养指导【1有,0无】
    private Integer other_guide;//是否有其他指导【1有,0无】
    private String other_guide_content;//其他指导内容
    /******** 转诊 ********/
    private Integer REFERRAL;//转诊建议(1有,0无)
    private String REFERRAL_REASON;//转诊建议(原因)
    private String ORGANIZATION_ORG;//转诊机构(智业机构code)
    private String ORGANIZATION_ORG_NAME;//转诊机构名称
    private String ORGANIZATION_HOSPITAL;//转诊机构code(dm_hospital表的code)
    private String ORGANIZATION;//转诊科室
    private Date next_visiting_date;//下次随访日期
    private String visiting_doctor_name;//随访医生名称
    private String visiting_doctor_code;//随访医生code
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public Date getCreate_time() {
        return create_time;
    }
    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getNumber() {
        return number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getFollowup_date() {
        return followup_date;
    }
    public void setFollowup_date(Date followup_date) {
        this.followup_date = followup_date;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getParturition_date() {
        return parturition_date;
    }
    public void setParturition_date(Date parturition_date) {
        this.parturition_date = parturition_date;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getDischarged_date() {
        return discharged_date;
    }
    public void setDischarged_date(Date discharged_date) {
        this.discharged_date = discharged_date;
    }
    public Double getBody_temperature() {
        return body_temperature;
    }
    public void setBody_temperature(Double body_temperature) {
        this.body_temperature = body_temperature;
    }
    public String getHealthy_condition() {
        return healthy_condition;
    }
    public void setHealthy_condition(String healthy_condition) {
        this.healthy_condition = healthy_condition;
    }
    public String getPsychologic_status() {
        return psychologic_status;
    }
    public void setPsychologic_status(String psychologic_status) {
        this.psychologic_status = psychologic_status;
    }
    public Integer getBlood_pressure_low() {
        return blood_pressure_low;
    }
    public void setBlood_pressure_low(Integer blood_pressure_low) {
        this.blood_pressure_low = blood_pressure_low;
    }
    public Integer getBlood_pressure_high() {
        return blood_pressure_high;
    }
    public void setBlood_pressure_high(Integer blood_pressure_high) {
        this.blood_pressure_high = blood_pressure_high;
    }
    public Integer getBreast_status() {
        return breast_status;
    }
    public void setBreast_status(Integer breast_status) {
        this.breast_status = breast_status;
    }
    public Integer getLochia_status() {
        return lochia_status;
    }
    public void setLochia_status(Integer lochia_status) {
        this.lochia_status = lochia_status;
    }
    public Integer getUterus_status() {
        return uterus_status;
    }
    public void setUterus_status(Integer uterus_status) {
        this.uterus_status = uterus_status;
    }
    public Integer getWound_status() {
        return wound_status;
    }
    public void setWound_status(Integer wound_status) {
        this.wound_status = wound_status;
    }
    public String getOther() {
        return other;
    }
    public void setOther(String other) {
        this.other = other;
    }
    public Integer getCategory() {
        return category;
    }
    public void setCategory(Integer category) {
        this.category = category;
    }
    public Integer getPersonal_hygiene() {
        return personal_hygiene;
    }
    public void setPersonal_hygiene(Integer personal_hygiene) {
        this.personal_hygiene = personal_hygiene;
    }
    public Integer getMentality() {
        return mentality;
    }
    public void setMentality(Integer mentality) {
        this.mentality = mentality;
    }
    public Integer getNutrition() {
        return nutrition;
    }
    public void setNutrition(Integer nutrition) {
        this.nutrition = nutrition;
    }
    public Integer getBreast_feeding() {
        return breast_feeding;
    }
    public void setBreast_feeding(Integer breast_feeding) {
        this.breast_feeding = breast_feeding;
    }
    public Integer getNewborn_care_and_feeding() {
        return newborn_care_and_feeding;
    }
    public void setNewborn_care_and_feeding(Integer newborn_care_and_feeding) {
        this.newborn_care_and_feeding = newborn_care_and_feeding;
    }
    public Integer getOther_guide() {
        return other_guide;
    }
    public void setOther_guide(Integer other_guide) {
        this.other_guide = other_guide;
    }
    public String getOther_guide_content() {
        return other_guide_content;
    }
    public void setOther_guide_content(String other_guide_content) {
        this.other_guide_content = other_guide_content;
    }
    public Integer getREFERRAL() {
        return REFERRAL;
    }
    public void setREFERRAL(Integer REFERRAL) {
        this.REFERRAL = REFERRAL;
    }
    public String getREFERRAL_REASON() {
        return REFERRAL_REASON;
    }
    public void setREFERRAL_REASON(String REFERRAL_REASON) {
        this.REFERRAL_REASON = REFERRAL_REASON;
    }
    public String getORGANIZATION_ORG() {
        return ORGANIZATION_ORG;
    }
    public void setORGANIZATION_ORG(String ORGANIZATION_ORG) {
        this.ORGANIZATION_ORG = ORGANIZATION_ORG;
    }
    public String getORGANIZATION_ORG_NAME() {
        return ORGANIZATION_ORG_NAME;
    }
    public void setORGANIZATION_ORG_NAME(String ORGANIZATION_ORG_NAME) {
        this.ORGANIZATION_ORG_NAME = ORGANIZATION_ORG_NAME;
    }
    public String getORGANIZATION_HOSPITAL() {
        return ORGANIZATION_HOSPITAL;
    }
    public void setORGANIZATION_HOSPITAL(String ORGANIZATION_HOSPITAL) {
        this.ORGANIZATION_HOSPITAL = ORGANIZATION_HOSPITAL;
    }
    public String getORGANIZATION() {
        return ORGANIZATION;
    }
    public void setORGANIZATION(String ORGANIZATION) {
        this.ORGANIZATION = ORGANIZATION;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getNext_visiting_date() {
        return next_visiting_date;
    }
    public void setNext_visiting_date(Date next_visiting_date) {
        this.next_visiting_date = next_visiting_date;
    }
    public String getVisiting_doctor_name() {
        return visiting_doctor_name;
    }
    public void setVisiting_doctor_name(String visiting_doctor_name) {
        this.visiting_doctor_name = visiting_doctor_name;
    }
    public String getVisiting_doctor_code() {
        return visiting_doctor_code;
    }
    public void setVisiting_doctor_code(String visiting_doctor_code) {
        this.visiting_doctor_code = visiting_doctor_code;
    }
    public String getCreate_user() {
        return create_user;
    }
    public void setCreate_user(String create_user) {
        this.create_user = create_user;
    }
    public String getCreate_user_name() {
        return create_user_name;
    }
    public void setCreate_user_name(String create_user_name) {
        this.create_user_name = create_user_name;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
}

+ 814 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/followupDisease/BreastFollowupES.java

@ -0,0 +1,814 @@
package com.yihu.jw.followup.followupDisease;
import io.searchbox.annotations.JestId;
/**
 * Created by wangzhinan on 2020/3/23.
 * 4.慢性乳腺疾病日常随访
 */
public class BreastFollowupES {
    // private String id;//id&【为新增】
    @JestId
    private String id;
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    private String version;//版本号
    private String createOperatorName;//创建人
    private String modifyOperatorName;//修改人
    private String orgId;//机构id&【必填】
    private String sickId;//病人id&
    private String problemId;//健康问题id&
    private String followOrgId;//随访机构&【必填】
    private String followDoctor;//随访医生&【必填】
    private String followTime;//随访时间&【必填】
    private String followType;//随访方式【1.门诊 2.电话 3.入户】&【必填】
    private String followDoctorType;//随访医生类型【1.专科医生 2.全科医生 3.健康管理师】&【必填】
    private String nextFollowTime;//下次随访时间&【必填】
    private String identityCardNo;//身份证号&【必填】
    private String assessSource;//评估来源【1.前台三合一 2. 前台独立 3.后台自动 4.i健康】&【必填】
    private String symptomBossing;//症状_手术侧胸壁肿块或对侧乳房肿块&【症状必选,至少选一个】
    private String symptomArmpit;//症状_腋窝或颈部肿块&
    private String symptomSkeletal;//症状_骨骼疼痛&
    private String symptomRecurrent;//症状_胸部疼痛/反复咳嗽/呼吸困难&
    private String symptomAbdominal;//症状_腹部疼痛&
    private String symptomPersistent;//症状_持续性头痛&
    private String symptomOther;//症状_其它&
    private String symptomOtherStr;//症状_其它内容&
    private String signPalpable;//体征_手术切口周围可触及结节&【体征必选,至少选一个】
    private String signArmpit;//体征_腋窝或锁骨上下区触及结节&
    private String signAxillary;//体征_腋窝触及结节&
    private String cea;//cea&【必填】
    private String ca153;//ca153&【必填】
    private String ca199;//ca199&【必填】
    private String ca125;//ca125&【必填】
    private String bloodFatTc;//血脂_总胆固醇&【必填】
    private String bloodFatTriglyceride;//血脂_甘油三脂&【必填】
    private String bloodFatLdlc;//血脂_血清低密度脂蛋白胆固醇&【必填】
    private String bloodFatHdlc;//血脂_血清高密度脂蛋白胆固醇&【必填】
    private String liverFunctionSalt;//肝功能_血清谷丙转氨酶&【必填】
    private String liverFunctionSgot;//肝功能_血清谷草转氨酶&【必填】
    private String liverFunctionAlbumin;//肝功能_白蛋白&【必填】
    private String liverFunctionTotalBilirubin;//肝功能_总胆红素&【必填】
    private String liverFunctionCb;//肝功能_结合胆红素&【必填】
    private String renalFunctionCreatinine;//肾功能_血清肌酐&【必填】
    private String renalFunctionBun;//肾功能_血尿素氮&【必填】
    private String renalFunctionBloodPotassium;//肾功能_血钾浓度&【必填】
    private String renalFunctionNatremia;//肾功能_血钠浓度&【必填】
    private String renalUricAcid;//肾功能_尿酸&【必填】
    private String ultraBreastNodule;//乳腺超声检查_乳腺结节&【乳腺超声检查必选,至少选一个】
    private String ultraAln;//乳腺超声检查_腋窝肿大淋巴结&
    private String ultraElniscr;//乳腺超声检查_锁骨上上下区肿大淋巴结&
    private String ultraAhn;//乳腺超声检查_肝脏异常结节&
    private String chestCt;//胸片或胸部ct&
    private String xRay;//乳腺x线检查&
    private String et;//子宫附件检查_子宫内膜增厚&
    private String weight;//体重&【必填】
    private String sports;//运动&【必填】
    private String diet;//饮食情况&【必填】
    private String modeOtherStr;//生活方式_其它内容&【必填】
    private String drugCompliance;//服药依从性&【必填】
    private String drugAdverseReaction;//药物不良反应&【必填】
    private String drugName1;//药物名称_1&
    private String drugSubdose1;//药物次剂量_1&
    private String dosageUnit1;//剂量单位_1&
    private String frequency1;//用药频次_1&
    private String drugName2;//药物名称_2&
    private String drugSubdose2;//药物次剂量_2&
    private String dosageUnit2;//剂量单位_2&
    private String frequency2;//用药频次_2&
    private String drugName3;//药物名称_3&
    private String drugSubdose3;//药物次剂量_3&
    private String dosageUnit3;//剂量单位_3&
    private String frequency3;//用药频次_3&
    private String drugName4;//药物名称_4&
    private String drugSubdose4;//药物次剂量_4&
    private String dosageUnit4;//剂量单位_4&
    private String frequency4;//用药频次_4&
    private String drugName5;//药物名称_5&
    private String drugSubdose5;//药物次剂量_5&
    private String dosageUnit5;//剂量单位_5&
    private String frequency5;//用药频次_5&
    private String drugName6;//药物名称_6&
    private String drugSubdose6;//药物次剂量_6&
    private String dosageUnit6;//剂量单位_6&
    private String frequency6;//用药频次_6&
    private String validFlag;//有效标志&【必填】
    private String createTime;//创建时间&
    private String createOperator;//创建人&【新增必填】
    private String modifyTime;//修改时间&
    private String modifyOperator;//修改人&【修改必填】
    private String remark;//备注
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getOrgId() {
        return orgId;
    }
    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }
    public String getSickId() {
        return sickId;
    }
    public void setSickId(String sickId) {
        this.sickId = sickId;
    }
    public String getProblemId() {
        return problemId;
    }
    public void setProblemId(String problemId) {
        this.problemId = problemId;
    }
    public String getFollowOrgId() {
        return followOrgId;
    }
    public void setFollowOrgId(String followOrgId) {
        this.followOrgId = followOrgId;
    }
    public String getFollowDoctor() {
        return followDoctor;
    }
    public void setFollowDoctor(String followDoctor) {
        this.followDoctor = followDoctor;
    }
    public String getFollowTime() {
        return followTime;
    }
    public void setFollowTime(String followTime) {
        this.followTime = followTime;
    }
    public String getFollowType() {
        return followType;
    }
    public void setFollowType(String followType) {
        this.followType = followType;
    }
    public String getFollowDoctorType() {
        return followDoctorType;
    }
    public void setFollowDoctorType(String followDoctorType) {
        this.followDoctorType = followDoctorType;
    }
    public String getNextFollowTime() {
        return nextFollowTime;
    }
    public void setNextFollowTime(String nextFollowTime) {
        this.nextFollowTime = nextFollowTime;
    }
    public String getIdentityCardNo() {
        return identityCardNo;
    }
    public void setIdentityCardNo(String identityCardNo) {
        this.identityCardNo = identityCardNo;
    }
    public String getAssessSource() {
        return assessSource;
    }
    public void setAssessSource(String assessSource) {
        this.assessSource = assessSource;
    }
    public String getSymptomBossing() {
        return symptomBossing;
    }
    public void setSymptomBossing(String symptomBossing) {
        this.symptomBossing = symptomBossing;
    }
    public String getSymptomArmpit() {
        return symptomArmpit;
    }
    public void setSymptomArmpit(String symptomArmpit) {
        this.symptomArmpit = symptomArmpit;
    }
    public String getSymptomSkeletal() {
        return symptomSkeletal;
    }
    public void setSymptomSkeletal(String symptomSkeletal) {
        this.symptomSkeletal = symptomSkeletal;
    }
    public String getSymptomRecurrent() {
        return symptomRecurrent;
    }
    public void setSymptomRecurrent(String symptomRecurrent) {
        this.symptomRecurrent = symptomRecurrent;
    }
    public String getSymptomAbdominal() {
        return symptomAbdominal;
    }
    public void setSymptomAbdominal(String symptomAbdominal) {
        this.symptomAbdominal = symptomAbdominal;
    }
    public String getSymptomPersistent() {
        return symptomPersistent;
    }
    public void setSymptomPersistent(String symptomPersistent) {
        this.symptomPersistent = symptomPersistent;
    }
    public String getSymptomOther() {
        return symptomOther;
    }
    public void setSymptomOther(String symptomOther) {
        this.symptomOther = symptomOther;
    }
    public String getSymptomOtherStr() {
        return symptomOtherStr;
    }
    public void setSymptomOtherStr(String symptomOtherStr) {
        this.symptomOtherStr = symptomOtherStr;
    }
    public String getSignPalpable() {
        return signPalpable;
    }
    public void setSignPalpable(String signPalpable) {
        this.signPalpable = signPalpable;
    }
    public String getSignArmpit() {
        return signArmpit;
    }
    public void setSignArmpit(String signArmpit) {
        this.signArmpit = signArmpit;
    }
    public String getSignAxillary() {
        return signAxillary;
    }
    public void setSignAxillary(String signAxillary) {
        this.signAxillary = signAxillary;
    }
    public String getCea() {
        return cea;
    }
    public void setCea(String cea) {
        this.cea = cea;
    }
    public String getCa153() {
        return ca153;
    }
    public void setCa153(String ca153) {
        this.ca153 = ca153;
    }
    public String getCa199() {
        return ca199;
    }
    public void setCa199(String ca199) {
        this.ca199 = ca199;
    }
    public String getCa125() {
        return ca125;
    }
    public void setCa125(String ca125) {
        this.ca125 = ca125;
    }
    public String getBloodFatTc() {
        return bloodFatTc;
    }
    public void setBloodFatTc(String bloodFatTc) {
        this.bloodFatTc = bloodFatTc;
    }
    public String getBloodFatTriglyceride() {
        return bloodFatTriglyceride;
    }
    public void setBloodFatTriglyceride(String bloodFatTriglyceride) {
        this.bloodFatTriglyceride = bloodFatTriglyceride;
    }
    public String getBloodFatLdlc() {
        return bloodFatLdlc;
    }
    public void setBloodFatLdlc(String bloodFatLdlc) {
        this.bloodFatLdlc = bloodFatLdlc;
    }
    public String getBloodFatHdlc() {
        return bloodFatHdlc;
    }
    public void setBloodFatHdlc(String bloodFatHdlc) {
        this.bloodFatHdlc = bloodFatHdlc;
    }
    public String getLiverFunctionSalt() {
        return liverFunctionSalt;
    }
    public void setLiverFunctionSalt(String liverFunctionSalt) {
        this.liverFunctionSalt = liverFunctionSalt;
    }
    public String getLiverFunctionSgot() {
        return liverFunctionSgot;
    }
    public void setLiverFunctionSgot(String liverFunctionSgot) {
        this.liverFunctionSgot = liverFunctionSgot;
    }
    public String getLiverFunctionAlbumin() {
        return liverFunctionAlbumin;
    }
    public void setLiverFunctionAlbumin(String liverFunctionAlbumin) {
        this.liverFunctionAlbumin = liverFunctionAlbumin;
    }
    public String getLiverFunctionTotalBilirubin() {
        return liverFunctionTotalBilirubin;
    }
    public void setLiverFunctionTotalBilirubin(String liverFunctionTotalBilirubin) {
        this.liverFunctionTotalBilirubin = liverFunctionTotalBilirubin;
    }
    public String getLiverFunctionCb() {
        return liverFunctionCb;
    }
    public void setLiverFunctionCb(String liverFunctionCb) {
        this.liverFunctionCb = liverFunctionCb;
    }
    public String getRenalFunctionCreatinine() {
        return renalFunctionCreatinine;
    }
    public void setRenalFunctionCreatinine(String renalFunctionCreatinine) {
        this.renalFunctionCreatinine = renalFunctionCreatinine;
    }
    public String getRenalFunctionBun() {
        return renalFunctionBun;
    }
    public void setRenalFunctionBun(String renalFunctionBun) {
        this.renalFunctionBun = renalFunctionBun;
    }
    public String getRenalFunctionBloodPotassium() {
        return renalFunctionBloodPotassium;
    }
    public void setRenalFunctionBloodPotassium(String renalFunctionBloodPotassium) {
        this.renalFunctionBloodPotassium = renalFunctionBloodPotassium;
    }
    public String getRenalFunctionNatremia() {
        return renalFunctionNatremia;
    }
    public void setRenalFunctionNatremia(String renalFunctionNatremia) {
        this.renalFunctionNatremia = renalFunctionNatremia;
    }
    public String getRenalUricAcid() {
        return renalUricAcid;
    }
    public void setRenalUricAcid(String renalUricAcid) {
        this.renalUricAcid = renalUricAcid;
    }
    public String getUltraBreastNodule() {
        return ultraBreastNodule;
    }
    public void setUltraBreastNodule(String ultraBreastNodule) {
        this.ultraBreastNodule = ultraBreastNodule;
    }
    public String getUltraAln() {
        return ultraAln;
    }
    public void setUltraAln(String ultraAln) {
        this.ultraAln = ultraAln;
    }
    public String getUltraElniscr() {
        return ultraElniscr;
    }
    public void setUltraElniscr(String ultraElniscr) {
        this.ultraElniscr = ultraElniscr;
    }
    public String getUltraAhn() {
        return ultraAhn;
    }
    public void setUltraAhn(String ultraAhn) {
        this.ultraAhn = ultraAhn;
    }
    public String getChestCt() {
        return chestCt;
    }
    public void setChestCt(String chestCt) {
        this.chestCt = chestCt;
    }
    public String getxRay() {
        return xRay;
    }
    public void setxRay(String xRay) {
        this.xRay = xRay;
    }
    public String getEt() {
        return et;
    }
    public void setEt(String et) {
        this.et = et;
    }
    public String getWeight() {
        return weight;
    }
    public void setWeight(String weight) {
        this.weight = weight;
    }
    public String getSports() {
        return sports;
    }
    public void setSports(String sports) {
        this.sports = sports;
    }
    public String getDiet() {
        return diet;
    }
    public void setDiet(String diet) {
        this.diet = diet;
    }
    public String getModeOtherStr() {
        return modeOtherStr;
    }
    public void setModeOtherStr(String modeOtherStr) {
        this.modeOtherStr = modeOtherStr;
    }
    public String getDrugCompliance() {
        return drugCompliance;
    }
    public void setDrugCompliance(String drugCompliance) {
        this.drugCompliance = drugCompliance;
    }
    public String getDrugAdverseReaction() {
        return drugAdverseReaction;
    }
    public void setDrugAdverseReaction(String drugAdverseReaction) {
        this.drugAdverseReaction = drugAdverseReaction;
    }
    public String getDrugName1() {
        return drugName1;
    }
    public void setDrugName1(String drugName1) {
        this.drugName1 = drugName1;
    }
    public String getDrugSubdose1() {
        return drugSubdose1;
    }
    public void setDrugSubdose1(String drugSubdose1) {
        this.drugSubdose1 = drugSubdose1;
    }
    public String getDosageUnit1() {
        return dosageUnit1;
    }
    public void setDosageUnit1(String dosageUnit1) {
        this.dosageUnit1 = dosageUnit1;
    }
    public String getFrequency1() {
        return frequency1;
    }
    public void setFrequency1(String frequency1) {
        this.frequency1 = frequency1;
    }
    public String getDrugName2() {
        return drugName2;
    }
    public void setDrugName2(String drugName2) {
        this.drugName2 = drugName2;
    }
    public String getDrugSubdose2() {
        return drugSubdose2;
    }
    public void setDrugSubdose2(String drugSubdose2) {
        this.drugSubdose2 = drugSubdose2;
    }
    public String getDosageUnit2() {
        return dosageUnit2;
    }
    public void setDosageUnit2(String dosageUnit2) {
        this.dosageUnit2 = dosageUnit2;
    }
    public String getFrequency2() {
        return frequency2;
    }
    public void setFrequency2(String frequency2) {
        this.frequency2 = frequency2;
    }
    public String getDrugName3() {
        return drugName3;
    }
    public void setDrugName3(String drugName3) {
        this.drugName3 = drugName3;
    }
    public String getDrugSubdose3() {
        return drugSubdose3;
    }
    public void setDrugSubdose3(String drugSubdose3) {
        this.drugSubdose3 = drugSubdose3;
    }
    public String getDosageUnit3() {
        return dosageUnit3;
    }
    public void setDosageUnit3(String dosageUnit3) {
        this.dosageUnit3 = dosageUnit3;
    }
    public String getFrequency3() {
        return frequency3;
    }
    public void setFrequency3(String frequency3) {
        this.frequency3 = frequency3;
    }
    public String getDrugName4() {
        return drugName4;
    }
    public void setDrugName4(String drugName4) {
        this.drugName4 = drugName4;
    }
    public String getDrugSubdose4() {
        return drugSubdose4;
    }
    public void setDrugSubdose4(String drugSubdose4) {
        this.drugSubdose4 = drugSubdose4;
    }
    public String getDosageUnit4() {
        return dosageUnit4;
    }
    public void setDosageUnit4(String dosageUnit4) {
        this.dosageUnit4 = dosageUnit4;
    }
    public String getFrequency4() {
        return frequency4;
    }
    public void setFrequency4(String frequency4) {
        this.frequency4 = frequency4;
    }
    public String getDrugName5() {
        return drugName5;
    }
    public void setDrugName5(String drugName5) {
        this.drugName5 = drugName5;
    }
    public String getDrugSubdose5() {
        return drugSubdose5;
    }
    public void setDrugSubdose5(String drugSubdose5) {
        this.drugSubdose5 = drugSubdose5;
    }
    public String getDosageUnit5() {
        return dosageUnit5;
    }
    public void setDosageUnit5(String dosageUnit5) {
        this.dosageUnit5 = dosageUnit5;
    }
    public String getFrequency5() {
        return frequency5;
    }
    public void setFrequency5(String frequency5) {
        this.frequency5 = frequency5;
    }
    public String getDrugName6() {
        return drugName6;
    }
    public void setDrugName6(String drugName6) {
        this.drugName6 = drugName6;
    }
    public String getDrugSubdose6() {
        return drugSubdose6;
    }
    public void setDrugSubdose6(String drugSubdose6) {
        this.drugSubdose6 = drugSubdose6;
    }
    public String getDosageUnit6() {
        return dosageUnit6;
    }
    public void setDosageUnit6(String dosageUnit6) {
        this.dosageUnit6 = dosageUnit6;
    }
    public String getFrequency6() {
        return frequency6;
    }
    public void setFrequency6(String frequency6) {
        this.frequency6 = frequency6;
    }
    public String getValidFlag() {
        return validFlag;
    }
    public void setValidFlag(String validFlag) {
        this.validFlag = validFlag;
    }
    public String getCreateTime() {
        return createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getCreateOperator() {
        return createOperator;
    }
    public void setCreateOperator(String createOperator) {
        this.createOperator = createOperator;
    }
    public String getModifyTime() {
        return modifyTime;
    }
    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }
    public String getModifyOperator() {
        return modifyOperator;
    }
    public void setModifyOperator(String modifyOperator) {
        this.modifyOperator = modifyOperator;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getCreateOperatorName() {
        return createOperatorName;
    }
    public void setCreateOperatorName(String createOperatorName) {
        this.createOperatorName = createOperatorName;
    }
    public String getModifyOperatorName() {
        return modifyOperatorName;
    }
    public void setModifyOperatorName(String modifyOperatorName) {
        this.modifyOperatorName = modifyOperatorName;
    }
}

+ 2641 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/followupDisease/CerebralApoplexyFollowupES.java

@ -0,0 +1,2641 @@
package com.yihu.jw.followup.followupDisease;
import io.searchbox.annotations.JestId;
/**
 * Created by wangzhinan on 2020/3/23.
 * 7.脑卒中日常随访
 */
public class CerebralApoplexyFollowupES {
    //private String id;//id&【为新增】
    @JestId
    private String id;
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    private String version;//版本号
    private String createOperatorName;//创建人
    private String modifyOperatorName;//修改人
    private String orgId;//机构id&【必填】
    private String sickId;//病人id&
    private String problemId;//健康问题id&
    private String followOrgId;//随访机构&【必填】
    private String followDoctor;//随访医生&【必填】
    private String followTime;//随访时间&【必填】
    private String followType;//随访方式【1.门诊 2.电话 3.入户】&【必填】
    private String followDoctorType;//随访医生类型【1.专科医生 2.全科医生 3.健康管理师】&【必填】
    private String nextFollowTime;//下次随访时间&【必填】
    private String identityCardNo;//身份证号&【必填】
    private String assessSource;//评估来源【1.前台三合一 2. 前台独立 3.后台自动 4.i健康】&【必填】
    private String sickName;//病人姓名&【必填】
    private String sickSex;//病人性别&【必填】
    private String national;//民族&
    //private String identityCardNo;//身份证号码&【必填】
    private String marriage;//婚姻状况&
    private String homeAddress;//家庭地址&
    private String homePhone;//家庭电话&
    private String linkphone;//联系人电话&
    private String fSelfFlag;//是否随访本人&
    private String fSelfRelation;//随访者与提供信息者关系&
    private String fSelfReContent;//随访者与提供信息者关系其它内容&
    private String fLostFlag;//是否失访&
    private String fLostCause;//失访原因&
    private String fLostCauseContent;//失访原因其它内容&
    private String fDieFlag;//是否死亡&
    private String fDieTime;//死亡时间&
    private String fDieCause;//死亡原因&
    private String fDieSType;//死亡原因_脑卒中类型&
    private String fDieCauseContent;//死亡原因其它内容&
    private String diCi;//诊断_脑梗死&
    private String diHc;//诊断_脑出血&
    private String diSh;//诊断_蛛网膜下腔出血&
    private String diTia;//诊断Tia&
    private String diOai;//诊断_眼动脉梗塞&
    private String diDavf;//诊断_硬脑膜动静脉瘘davf&
    private String diMa;//诊断_脊髓血管疾病&
    private String diIvdcd;//诊断_颅内静脉源性脑血管病&
    private String diUca;//诊断_未破裂脑动脉瘤&
    private String diAvm;//诊断_未破裂avm&
    private String diOther;//诊断_其他&
    private String diOtherContent;//诊断_其他内容&
    private String diYear;//诊断_确诊年份&
    private String complNo;//合并症_无&
    private String complMi;//合并症_心肌梗死&
    private String complHi;//合并症_肝功能不全&
    private String complCsa;//合并症_颈动脉支架植入术(cas)&
    private String complAf;//合并症_房颤&
    private String complDyslip;//合并症_血脂异常&
    private String complSas;//合并症_睡眠呼吸暂停综合征(sas)&
    private String complIa;//合并症_颅内动脉成形术&
    private String complHyper;//合并症_高血压&
    private String complCass;//合并症_颈动脉狭窄&
    private String complCop;//合并症_慢性阻塞性肺疾病&
    private String complHbtb;//合并症_出血史或者出血倾向&
    private String complDm;//合并症_糖尿病&
    private String complPvd;//合并症_周围血管病(pvd)&
    private String complStupid;//合并症_痴呆&
    private String complDrepan;//合并症_镰状细胞病&
    private String complAp;//合并症_心绞痛&
    private String complCeph;//合并症_偏头痛&
    private String complAlleosis;//合并症_精神障碍&
    private String complEncyesis;//合并症_妊娠或产后6周&
    private String complChf;//合并症_心力衰竭(chf)&
    private String complFat;//合并症_肥胖&
    private String complRtpa;//合并症R-tpa静脉溶栓&
    private String complHot;//合并症_肿瘤病史&
    private String complShd;//合并症_结构性心脏病&
    private String complRi;//合并症_肾功能不全&
    private String complOha;//合并症_其他心脏病&
    private String complSh;//合并症_近期外伤、手术史&
    private String complIhd;//合并症_缺血性心脏病&
    private String complAv;//合并症_人工瓣膜&
    private String complCea;//合并症_颈动脉内膜剥脱术(cea)&
    private String complOther;//合并症_其他&
    private String complOtherContent;//合并症_其他内容&
    private String lifeSmoking;//生活方式_吸烟&
    private String lifeDrinking;//生活方式_饮酒&
    private String lifeSport;//生活方式_运动&
    private String lifeMeatVegetables;//生活方式_荤素&
    private String lifeTaste;//生活方式_口味&
    private String lifeEatVegetables;//生活方式_吃蔬菜&
    private String lifeEatFruit;//生活方式_吃水果&
    private String newEventFlag;//新发事件&
    private String evSNew;//事件_卒中新发&
    private String evSNewTCi;//事件_新发卒中类型_脑梗死&
    private String evSNewTHe;//事件_新发卒中类型_脑出血&
    private String evSNewTSh;//事件_新发卒中类型_蛛网膜下腔出血&
    private String evSNewTTia;//事件_新发卒中类型Tia&
    private String evSRe;//事件_卒中复发&
    private String evSReTCi;//事件_卒中复发类型_脑梗死&
    private String evSReTHe;//事件_卒中复发类型_脑出血&
    private String evSReTSh;//事件_卒中复发类型_蛛网膜下腔出血&
    private String evSReTTia;//事件_卒中复发类型Tia&
    private String evSReNum;//事件_卒中复发次数&
    private String evMi;//事件_心肌梗死&
    private String evHf;//事件_心力衰竭&
    private String evCvs;//事件_脑血管相关手术名称&
    private String evCvsCas;//事件_脑血管相关手术名称_颈动脉支架置入术(cas)&
    private String evCvsCea;//事件_脑血管相关手术名称_颈动脉内膜剥脱术(cea)&
    private String evCvsPoias;//事件_脑血管相关手术名称_颅内动脉支架置入术&
    private String evCvsCsp;//事件_脑血管相关手术名称_冠状动脉支架置入术&
    private String evCvsBd;//事件_脑血管相关手术名称_球囊扩张术&
    private String evCvsOther;//事件_脑血管相关手术名称_其他&
    private String evCvsOtherContent;//事件_脑血管相关手术名称_其他内容&
    private String evSee;//事件_系统性栓塞事件&
    private String evOther;//事件_其他&
    private String evOtherContent;//事件_其他内容&
    private String height;//身高&
    private String weight;//体重&
    private String bmi;//体质指数&
    private String bloodPressureLeftU;//左侧血压(收缩压)&
    private String bloodPressureLeftD;//左侧血压(舒张压)&
    private String bloodPressureRightU;//右侧血压(收缩压)&
    private String bloodPressureRightD;//右侧血压(舒张压)&
    private String pulse;//脉搏&
    private String breathe;//呼吸&
    private String cardiacSouffle;//心脏杂音&
    private String heartRate;//心率&
    private String electroRoutine;//心电图_常规心电图&
    private String electro_24Hour;//心电图_24小时动态心电图&
    private String electroGt_24Hour;//心电图_大于24小时心电记录&
    private String electroNoExam;//心电图_未做任何检查&
    private String electroExamResult;//心电图_检查结果&
    private String electroUnusualType;//心电图_异常类型&
    private String electroUnusualContent;//心电图_异常类型其它内容&
    private String leFbg;//空腹血糖&
    private String leNoFbg;//餐后2小时血糖&
    private String leGh;//糖化血红蛋白&
    private String leGt;//甘油三酯&
    private String leCholesterin;//胆固醇&
    private String leCLdl;//低密度脂蛋白胆固醇&
    private String leCHdl;//高密度脂蛋白胆固醇&
    private String leHomocysteine;//同型半胱氨酸&
    private String leCruorPtInr;//凝血Pt-inr&
    private String leCruorPt;//凝血_凝血酶原时间&
    private String leCruorAptt;//凝血_活化部分凝血活酶时间&
    private String leCruorTt;//凝血_凝血酶时间&
    private String leSc;//血清肌酐&
    private String leSun;//血清尿素氮&
    private String leLa;//尿酸&
    private String lePc;//血小板计数&
    private String cvuFlag;//是否颈部血管超声检查&
    private String cvuExamResult;//颈部血管超声_检查结果&
    private String cvuImtILTn;//颈部血管超声_内膜imt_增厚_左侧_颈总&
    private String cvuImtIRTn;//颈部血管超声_内膜imt_增厚_右侧_颈总&
    private String cvuPlaqueNum;//颈部血管超声_斑块_数量&
    private String cvuPlaqueSLTn;//颈部血管超声_斑块_形态_左侧_颈总&
    private String cvuPlaqueSRTn;//颈部血管超声_斑块_形态_右侧_颈总&
    private String cvuPlaqueSLSinus;//颈部血管超声_斑块_形态_左侧_窦部&
    private String cvuPlaqueSRSinus;//颈部血管超声_斑块_形态_右侧_窦部&
    private String cvuPlaqueSLIn;//颈部血管超声_斑块_形态_左侧_颈内&
    private String cvuPlaqueSRIn;//颈部血管超声_斑块_形态_右侧_颈内&
    private String cvuPlaqueSLSa;//颈部血管超声_斑块_形态_左侧_锁骨下动脉&
    private String cvuPlaqueSRSa;//颈部血管超声_斑块_形态_右侧_锁骨下动脉&
    private String cvuPlaqueSLVa;//颈部血管超声_斑块_形态_左侧_椎动脉&
    private String cvuPlaqueSRVa;//颈部血管超声_斑块_形态_右侧_椎动脉&
    private String cvuPlaqueULTn;//颈部血管超声_斑块_溃疡_左侧_颈总&
    private String cvuPlaqueURTn;//颈部血管超声_斑块_溃疡_右侧_颈总&
    private String cvuPlaqueULSinus;//颈部血管超声_斑块_溃疡_左侧_窦部&
    private String cvuPlaqueURSinus;//颈部血管超声_斑块_溃疡_右侧_窦部&
    private String cvuPlaqueULIn;//颈部血管超声_斑块_溃疡_左侧_颈内&
    private String cvuPlaqueURIn;//颈部血管超声_斑块_溃疡_右侧_颈内&
    private String cvuPlaqueULSa;//颈部血管超声_斑块_溃疡_左侧_锁骨下动脉&
    private String cvuPlaqueURSa;//颈部血管超声_斑块_溃疡_右侧_锁骨下动脉&
    private String cvuPlaqueULVa;//颈部血管超声_斑块_溃疡_左侧_椎动脉&
    private String cvuPlaqueURVa;//颈部血管超声_斑块_溃疡_右侧_椎动脉&
    private String cvuPlaqueELTn;//颈部血管超声_斑块_回声_左侧_颈总&
    private String cvuPlaqueERTn;//颈部血管超声_斑块_回声_右侧_颈总&
    private String cvuPlaqueELSinus;//颈部血管超声_斑块_回声_左侧_窦部&
    private String cvuPlaqueERSinus;//颈部血管超声_斑块_回声_右侧_窦部&
    private String cvuPlaqueELIn;//颈部血管超声_斑块_回声_左侧_颈内&
    private String cvuPlaqueERIn;//颈部血管超声_斑块_回声_右侧_颈内&
    private String cvuPlaqueELSa;//颈部血管超声_斑块_回声_左侧_锁骨下动脉&
    private String cvuPlaqueERSa;//颈部血管超声_斑块_回声_右侧_锁骨下动脉&
    private String cvuPlaqueELVa;//颈部血管超声_斑块_回声_左侧_椎动脉&
    private String cvuPlaqueERVa;//颈部血管超声_斑块_回声_右侧_椎动脉&
    private String cvuNarrowSrLTn;//颈部血管超声_狭窄_狭窄率_左侧_颈总&
    private String cvuNarrowSrRTn;//颈部血管超声_狭窄_狭窄率_右侧_颈总&
    private String cvuNarrowSrLSinus;//颈部血管超声_狭窄_狭窄率_左侧_窦部&
    private String cvuNarrowSrRSinus;//颈部血管超声_狭窄_狭窄率_右侧_窦部&
    private String cvuNarrowSrLIn;//颈部血管超声_狭窄_狭窄率_左侧_颈内&
    private String cvuNarrowSrRIn;//颈部血管超声_狭窄_狭窄率_右侧_颈内&
    private String cvuNarrowSrLSa;//颈部血管超声_狭窄_狭窄率_左侧_锁骨下动脉&
    private String cvuNarrowSrRSa;//颈部血管超声_狭窄_狭窄率_右侧_锁骨下动脉&
    private String cvuNarrowSrLVa;//颈部血管超声_狭窄_狭窄率_左侧_椎动脉&
    private String cvuNarrowSrRVa;//颈部血管超声_狭窄_狭窄率_右侧_椎动脉&
    private String cvuDc;//颈部血管超声_诊断结论&
    private String mrsScoreFlag;//专科评估Mrs评分_是否评分&
    private String mrsScoreResult;//专科评估Mrs评分_评分结果&
    private String mrsPatientStatus;//专科评估Mrs评分_患者状况&
    private String essenScoreFlag;//专科评估Essen评分_是否评分&
    private String essenScoreResult;//专科评估Essen评分_评分结果&
    private String essenYear;//专科评估Essen评分_危险因素_年龄&
    private String essenHyper;//专科评估Essen评分_危险因素_高血压&
    private String essenDm;//专科评估Essen评分_危险因素_糖尿病&
    private String essenPmi;//专科评估Essen评分_危险因素_既往心肌梗死&
    private String essenOha;//专科评估Essen评分_危险因素_其他心脏病&
    private String essenPad;//专科评估Essen评分_危险因素_外周动脉疾病&
    private String essenSmoke;//专科评估Essen评分_危险因素_吸烟&
    private String essenTia;//专科评估Essen评分_危险因素_既往缺血性卒中或tia史&
    private String mdAmAspirin;//药物治疗_抗血小板药物_阿司匹林&
    private String mdAmClopidogrel;//药物治疗_抗血小板药物_氯吡格雷&
    private String mdAmOzagrel;//药物治疗_抗血小板药物_奥扎格雷&
    private String mdAmPersantin;//药物治疗_抗血小板药物_双嘧达莫&
    private String mdAmCichloro;//药物治疗_抗血小板药物_塞氯吡啶&
    private String mdAmCiloprost;//药物治疗_抗血小板药物_西洛他唑&
    private String mdAmOther;//药物治疗_抗血小板药物_其他&
    private String mdAnWarfarin;//药物治疗_抗凝药物_华法令&
    private String mdAnLivarshaban;//药物治疗_抗凝药物_利伐沙班&
    private String mdAnDabigatran;//药物治疗_抗凝药物_达比加群&
    private String mdAnApishaban;//药物治疗_抗凝药物_阿哌沙班&
    private String mdAnYidusaban;//药物治疗_抗凝药物_依度沙班&
    private String mdAnLmh;//药物治疗_抗凝药物_低分子肝素&
    private String mdAnCh;//药物治疗_抗凝药物_普通肝素&
    private String mdAnOther;//药物治疗_抗凝药物_其他&
    private String mdAdAcei;//药物治疗_降压药物Acei&
    private String mdAdArb;//药物治疗_降压药物Arb&
    private String mdAdDiuretic;//药物治疗_降压药物_利尿剂&
    private String mdAdRb;//药物治疗_降压药物_β受体阻滞剂&
    private String mdAdCa;//药物治疗_降压药物_钙拮抗剂&
    private String mdAdOther;//药物治疗_降压药物_其他&
    private String mdHdInsulin;//药物治疗_降糖药物_胰岛素(静脉或皮下)&
    private String mdHdSulfonylurea;//药物治疗_降糖药物_磺酰脲类&
    private String mdHdBiguanides;//药物治疗_降糖药物_双胍类&
    private String mdHdGi;//药物治疗_降糖药物_α糖苷酶抑制剂&
    private String mdHdEa;//药物治疗_降糖药物_胰岛素增敏剂&
    private String mdHdNsipa;//药物治疗_降糖药物_非磺酰脲类促胰岛素分泌剂&
    private String mdHdOther;//药物治疗_降糖药物_其他&
    private String mdIrmStatins;//药物治疗_调脂药物_他汀类&
    private String mdIrmNaid;//药物治疗_调脂药物_烟酸及其衍生物&
    private String mdIrmBc;//药物治疗_调脂药物_贝特类&
    private String mdIrmCai;//药物治疗_调脂药物_胆固醇吸收抑制剂&
    private String mdIrmOther;//药物治疗_调脂药物_其他&
    private String drugName1;//药物名称_1&
    private String drugSubdose1;//药物次剂量_1&
    private String dosageUnit1;//剂量单位_1&
    private String frequency1;//用药频次_1&
    private String drugTmFlag1;//是否服药_1&
    private String drugTmStatus1;//服药情况_1&
    private String drugTmStop1;//停药情况_1&
    private String drugName2;//药物名称_2&
    private String drugSubdose2;//药物次剂量_2&
    private String dosageUnit2;//剂量单位_2&
    private String frequency2;//用药频次_2&
    private String drugTmFlag2;//是否服药_2&
    private String drugTmStatus2;//服药情况_2&
    private String drugTmStop2;//停药情况_2&
    private String drugName3;//药物名称_3&
    private String drugSubdose3;//药物次剂量_3&
    private String dosageUnit3;//剂量单位_3&
    private String frequency3;//用药频次_3&
    private String drugTmFlag3;//是否服药_3&
    private String drugTmStatus3;//服药情况_3&
    private String drugTmStop3;//停药情况_3&
    private String drugName4;//药物名称_4&
    private String drugSubdose4;//药物次剂量_4&
    private String dosageUnit4;//剂量单位_4&
    private String frequency4;//用药频次_4&
    private String drugTmFlag4;//是否服药_4&
    private String drugTmStatus4;//服药情况_4&
    private String drugTmStop4;//停药情况_4&
    private String drugName5;//药物名称_5&
    private String drugSubdose5;//药物次剂量_5&
    private String dosageUnit5;//剂量单位_5&
    private String frequency5;//用药频次_5&
    private String drugTmFlag5;//是否服药_5&
    private String drugTmStatus5;//服药情况_5&
    private String drugTmStop5;//停药情况_5&
    private String drugName6;//药物名称_6&
    private String drugSubdose6;//药物次剂量_6&
    private String dosageUnit6;//剂量单位_6&
    private String frequency6;//用药频次_6&
    private String drugTmFlag6;//是否服药_6&
    private String drugTmStatus6;//服药情况_6&
    private String drugTmStop6;//停药情况_6&
    private String validFlag;//有效标志&【必填】
    private String createTime;//创建时间&
    private String createOperator;//创建人&【新增必填】
    private String modifyTime;//修改时间&
    private String modifyOperator;//修改人&【修改必填】
    private String remark;//备注&
    private String sickProvince;//省&
    private String sickCity;//市&
    private String sickCounty;//县(区)&
    private String sickCountry;//乡/街道&
    private String sickVillage;//居委会
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getOrgId() {
        return orgId;
    }
    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }
    public String getSickId() {
        return sickId;
    }
    public void setSickId(String sickId) {
        this.sickId = sickId;
    }
    public String getProblemId() {
        return problemId;
    }
    public void setProblemId(String problemId) {
        this.problemId = problemId;
    }
    public String getFollowOrgId() {
        return followOrgId;
    }
    public void setFollowOrgId(String followOrgId) {
        this.followOrgId = followOrgId;
    }
    public String getFollowDoctor() {
        return followDoctor;
    }
    public void setFollowDoctor(String followDoctor) {
        this.followDoctor = followDoctor;
    }
    public String getFollowTime() {
        return followTime;
    }
    public void setFollowTime(String followTime) {
        this.followTime = followTime;
    }
    public String getFollowType() {
        return followType;
    }
    public void setFollowType(String followType) {
        this.followType = followType;
    }
    public String getFollowDoctorType() {
        return followDoctorType;
    }
    public void setFollowDoctorType(String followDoctorType) {
        this.followDoctorType = followDoctorType;
    }
    public String getNextFollowTime() {
        return nextFollowTime;
    }
    public void setNextFollowTime(String nextFollowTime) {
        this.nextFollowTime = nextFollowTime;
    }
    public String getIdentityCardNo() {
        return identityCardNo;
    }
    public void setIdentityCardNo(String identityCardNo) {
        this.identityCardNo = identityCardNo;
    }
    public String getMarriage() {
        return marriage;
    }
    public void setMarriage(String marriage) {
        this.marriage = marriage;
    }
    public String getHomeAddress() {
        return homeAddress;
    }
    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }
    public String getHomePhone() {
        return homePhone;
    }
    public void setHomePhone(String homePhone) {
        this.homePhone = homePhone;
    }
    public String getLinkphone() {
        return linkphone;
    }
    public void setLinkphone(String linkphone) {
        this.linkphone = linkphone;
    }
    public String getfSelfFlag() {
        return fSelfFlag;
    }
    public void setfSelfFlag(String fSelfFlag) {
        this.fSelfFlag = fSelfFlag;
    }
    public String getfSelfRelation() {
        return fSelfRelation;
    }
    public void setfSelfRelation(String fSelfRelation) {
        this.fSelfRelation = fSelfRelation;
    }
    public String getfSelfReContent() {
        return fSelfReContent;
    }
    public void setfSelfReContent(String fSelfReContent) {
        this.fSelfReContent = fSelfReContent;
    }
    public String getfLostFlag() {
        return fLostFlag;
    }
    public void setfLostFlag(String fLostFlag) {
        this.fLostFlag = fLostFlag;
    }
    public String getfLostCause() {
        return fLostCause;
    }
    public void setfLostCause(String fLostCause) {
        this.fLostCause = fLostCause;
    }
    public String getfLostCauseContent() {
        return fLostCauseContent;
    }
    public void setfLostCauseContent(String fLostCauseContent) {
        this.fLostCauseContent = fLostCauseContent;
    }
    public String getfDieFlag() {
        return fDieFlag;
    }
    public void setfDieFlag(String fDieFlag) {
        this.fDieFlag = fDieFlag;
    }
    public String getfDieTime() {
        return fDieTime;
    }
    public void setfDieTime(String fDieTime) {
        this.fDieTime = fDieTime;
    }
    public String getfDieCause() {
        return fDieCause;
    }
    public void setfDieCause(String fDieCause) {
        this.fDieCause = fDieCause;
    }
    public String getfDieSType() {
        return fDieSType;
    }
    public void setfDieSType(String fDieSType) {
        this.fDieSType = fDieSType;
    }
    public String getfDieCauseContent() {
        return fDieCauseContent;
    }
    public void setfDieCauseContent(String fDieCauseContent) {
        this.fDieCauseContent = fDieCauseContent;
    }
    public String getDiCi() {
        return diCi;
    }
    public void setDiCi(String diCi) {
        this.diCi = diCi;
    }
    public String getDiHc() {
        return diHc;
    }
    public void setDiHc(String diHc) {
        this.diHc = diHc;
    }
    public String getDiSh() {
        return diSh;
    }
    public void setDiSh(String diSh) {
        this.diSh = diSh;
    }
    public String getDiTia() {
        return diTia;
    }
    public void setDiTia(String diTia) {
        this.diTia = diTia;
    }
    public String getDiOai() {
        return diOai;
    }
    public void setDiOai(String diOai) {
        this.diOai = diOai;
    }
    public String getDiDavf() {
        return diDavf;
    }
    public void setDiDavf(String diDavf) {
        this.diDavf = diDavf;
    }
    public String getDiMa() {
        return diMa;
    }
    public void setDiMa(String diMa) {
        this.diMa = diMa;
    }
    public String getDiIvdcd() {
        return diIvdcd;
    }
    public void setDiIvdcd(String diIvdcd) {
        this.diIvdcd = diIvdcd;
    }
    public String getDiUca() {
        return diUca;
    }
    public void setDiUca(String diUca) {
        this.diUca = diUca;
    }
    public String getDiAvm() {
        return diAvm;
    }
    public void setDiAvm(String diAvm) {
        this.diAvm = diAvm;
    }
    public String getDiOther() {
        return diOther;
    }
    public void setDiOther(String diOther) {
        this.diOther = diOther;
    }
    public String getDiOtherContent() {
        return diOtherContent;
    }
    public void setDiOtherContent(String diOtherContent) {
        this.diOtherContent = diOtherContent;
    }
    public String getDiYear() {
        return diYear;
    }
    public void setDiYear(String diYear) {
        this.diYear = diYear;
    }
    public String getComplNo() {
        return complNo;
    }
    public void setComplNo(String complNo) {
        this.complNo = complNo;
    }
    public String getComplMi() {
        return complMi;
    }
    public void setComplMi(String complMi) {
        this.complMi = complMi;
    }
    public String getComplHi() {
        return complHi;
    }
    public void setComplHi(String complHi) {
        this.complHi = complHi;
    }
    public String getComplCsa() {
        return complCsa;
    }
    public void setComplCsa(String complCsa) {
        this.complCsa = complCsa;
    }
    public String getComplAf() {
        return complAf;
    }
    public void setComplAf(String complAf) {
        this.complAf = complAf;
    }
    public String getComplDyslip() {
        return complDyslip;
    }
    public void setComplDyslip(String complDyslip) {
        this.complDyslip = complDyslip;
    }
    public String getComplSas() {
        return complSas;
    }
    public void setComplSas(String complSas) {
        this.complSas = complSas;
    }
    public String getComplIa() {
        return complIa;
    }
    public void setComplIa(String complIa) {
        this.complIa = complIa;
    }
    public String getComplHyper() {
        return complHyper;
    }
    public void setComplHyper(String complHyper) {
        this.complHyper = complHyper;
    }
    public String getComplCass() {
        return complCass;
    }
    public void setComplCass(String complCass) {
        this.complCass = complCass;
    }
    public String getComplCop() {
        return complCop;
    }
    public void setComplCop(String complCop) {
        this.complCop = complCop;
    }
    public String getComplHbtb() {
        return complHbtb;
    }
    public void setComplHbtb(String complHbtb) {
        this.complHbtb = complHbtb;
    }
    public String getComplDm() {
        return complDm;
    }
    public void setComplDm(String complDm) {
        this.complDm = complDm;
    }
    public String getComplPvd() {
        return complPvd;
    }
    public void setComplPvd(String complPvd) {
        this.complPvd = complPvd;
    }
    public String getComplStupid() {
        return complStupid;
    }
    public void setComplStupid(String complStupid) {
        this.complStupid = complStupid;
    }
    public String getComplDrepan() {
        return complDrepan;
    }
    public void setComplDrepan(String complDrepan) {
        this.complDrepan = complDrepan;
    }
    public String getComplAp() {
        return complAp;
    }
    public void setComplAp(String complAp) {
        this.complAp = complAp;
    }
    public String getComplCeph() {
        return complCeph;
    }
    public void setComplCeph(String complCeph) {
        this.complCeph = complCeph;
    }
    public String getComplAlleosis() {
        return complAlleosis;
    }
    public void setComplAlleosis(String complAlleosis) {
        this.complAlleosis = complAlleosis;
    }
    public String getComplEncyesis() {
        return complEncyesis;
    }
    public void setComplEncyesis(String complEncyesis) {
        this.complEncyesis = complEncyesis;
    }
    public String getComplChf() {
        return complChf;
    }
    public void setComplChf(String complChf) {
        this.complChf = complChf;
    }
    public String getComplFat() {
        return complFat;
    }
    public void setComplFat(String complFat) {
        this.complFat = complFat;
    }
    public String getComplRtpa() {
        return complRtpa;
    }
    public void setComplRtpa(String complRtpa) {
        this.complRtpa = complRtpa;
    }
    public String getComplHot() {
        return complHot;
    }
    public void setComplHot(String complHot) {
        this.complHot = complHot;
    }
    public String getComplShd() {
        return complShd;
    }
    public void setComplShd(String complShd) {
        this.complShd = complShd;
    }
    public String getComplRi() {
        return complRi;
    }
    public void setComplRi(String complRi) {
        this.complRi = complRi;
    }
    public String getComplOha() {
        return complOha;
    }
    public void setComplOha(String complOha) {
        this.complOha = complOha;
    }
    public String getComplSh() {
        return complSh;
    }
    public void setComplSh(String complSh) {
        this.complSh = complSh;
    }
    public String getComplIhd() {
        return complIhd;
    }
    public void setComplIhd(String complIhd) {
        this.complIhd = complIhd;
    }
    public String getComplAv() {
        return complAv;
    }
    public void setComplAv(String complAv) {
        this.complAv = complAv;
    }
    public String getComplCea() {
        return complCea;
    }
    public void setComplCea(String complCea) {
        this.complCea = complCea;
    }
    public String getComplOther() {
        return complOther;
    }
    public void setComplOther(String complOther) {
        this.complOther = complOther;
    }
    public String getComplOtherContent() {
        return complOtherContent;
    }
    public void setComplOtherContent(String complOtherContent) {
        this.complOtherContent = complOtherContent;
    }
    public String getLifeSmoking() {
        return lifeSmoking;
    }
    public void setLifeSmoking(String lifeSmoking) {
        this.lifeSmoking = lifeSmoking;
    }
    public String getLifeDrinking() {
        return lifeDrinking;
    }
    public void setLifeDrinking(String lifeDrinking) {
        this.lifeDrinking = lifeDrinking;
    }
    public String getLifeSport() {
        return lifeSport;
    }
    public void setLifeSport(String lifeSport) {
        this.lifeSport = lifeSport;
    }
    public String getLifeMeatVegetables() {
        return lifeMeatVegetables;
    }
    public void setLifeMeatVegetables(String lifeMeatVegetables) {
        this.lifeMeatVegetables = lifeMeatVegetables;
    }
    public String getLifeTaste() {
        return lifeTaste;
    }
    public void setLifeTaste(String lifeTaste) {
        this.lifeTaste = lifeTaste;
    }
    public String getLifeEatVegetables() {
        return lifeEatVegetables;
    }
    public void setLifeEatVegetables(String lifeEatVegetables) {
        this.lifeEatVegetables = lifeEatVegetables;
    }
    public String getLifeEatFruit() {
        return lifeEatFruit;
    }
    public void setLifeEatFruit(String lifeEatFruit) {
        this.lifeEatFruit = lifeEatFruit;
    }
    public String getNewEventFlag() {
        return newEventFlag;
    }
    public void setNewEventFlag(String newEventFlag) {
        this.newEventFlag = newEventFlag;
    }
    public String getEvSNew() {
        return evSNew;
    }
    public void setEvSNew(String evSNew) {
        this.evSNew = evSNew;
    }
    public String getEvSNewTCi() {
        return evSNewTCi;
    }
    public void setEvSNewTCi(String evSNewTCi) {
        this.evSNewTCi = evSNewTCi;
    }
    public String getEvSNewTHe() {
        return evSNewTHe;
    }
    public void setEvSNewTHe(String evSNewTHe) {
        this.evSNewTHe = evSNewTHe;
    }
    public String getEvSNewTSh() {
        return evSNewTSh;
    }
    public void setEvSNewTSh(String evSNewTSh) {
        this.evSNewTSh = evSNewTSh;
    }
    public String getEvSNewTTia() {
        return evSNewTTia;
    }
    public void setEvSNewTTia(String evSNewTTia) {
        this.evSNewTTia = evSNewTTia;
    }
    public String getEvSRe() {
        return evSRe;
    }
    public void setEvSRe(String evSRe) {
        this.evSRe = evSRe;
    }
    public String getEvSReTCi() {
        return evSReTCi;
    }
    public void setEvSReTCi(String evSReTCi) {
        this.evSReTCi = evSReTCi;
    }
    public String getEvSReTHe() {
        return evSReTHe;
    }
    public void setEvSReTHe(String evSReTHe) {
        this.evSReTHe = evSReTHe;
    }
    public String getEvSReTSh() {
        return evSReTSh;
    }
    public void setEvSReTSh(String evSReTSh) {
        this.evSReTSh = evSReTSh;
    }
    public String getEvSReTTia() {
        return evSReTTia;
    }
    public void setEvSReTTia(String evSReTTia) {
        this.evSReTTia = evSReTTia;
    }
    public String getEvSReNum() {
        return evSReNum;
    }
    public void setEvSReNum(String evSReNum) {
        this.evSReNum = evSReNum;
    }
    public String getEvMi() {
        return evMi;
    }
    public void setEvMi(String evMi) {
        this.evMi = evMi;
    }
    public String getEvHf() {
        return evHf;
    }
    public void setEvHf(String evHf) {
        this.evHf = evHf;
    }
    public String getEvCvs() {
        return evCvs;
    }
    public void setEvCvs(String evCvs) {
        this.evCvs = evCvs;
    }
    public String getEvCvsCas() {
        return evCvsCas;
    }
    public void setEvCvsCas(String evCvsCas) {
        this.evCvsCas = evCvsCas;
    }
    public String getEvCvsCea() {
        return evCvsCea;
    }
    public void setEvCvsCea(String evCvsCea) {
        this.evCvsCea = evCvsCea;
    }
    public String getEvCvsPoias() {
        return evCvsPoias;
    }
    public void setEvCvsPoias(String evCvsPoias) {
        this.evCvsPoias = evCvsPoias;
    }
    public String getEvCvsCsp() {
        return evCvsCsp;
    }
    public void setEvCvsCsp(String evCvsCsp) {
        this.evCvsCsp = evCvsCsp;
    }
    public String getEvCvsBd() {
        return evCvsBd;
    }
    public void setEvCvsBd(String evCvsBd) {
        this.evCvsBd = evCvsBd;
    }
    public String getEvCvsOther() {
        return evCvsOther;
    }
    public void setEvCvsOther(String evCvsOther) {
        this.evCvsOther = evCvsOther;
    }
    public String getEvCvsOtherContent() {
        return evCvsOtherContent;
    }
    public void setEvCvsOtherContent(String evCvsOtherContent) {
        this.evCvsOtherContent = evCvsOtherContent;
    }
    public String getEvSee() {
        return evSee;
    }
    public void setEvSee(String evSee) {
        this.evSee = evSee;
    }
    public String getEvOther() {
        return evOther;
    }
    public void setEvOther(String evOther) {
        this.evOther = evOther;
    }
    public String getEvOtherContent() {
        return evOtherContent;
    }
    public void setEvOtherContent(String evOtherContent) {
        this.evOtherContent = evOtherContent;
    }
    public String getHeight() {
        return height;
    }
    public void setHeight(String height) {
        this.height = height;
    }
    public String getWeight() {
        return weight;
    }
    public void setWeight(String weight) {
        this.weight = weight;
    }
    public String getBmi() {
        return bmi;
    }
    public void setBmi(String bmi) {
        this.bmi = bmi;
    }
    public String getBloodPressureLeftU() {
        return bloodPressureLeftU;
    }
    public void setBloodPressureLeftU(String bloodPressureLeftU) {
        this.bloodPressureLeftU = bloodPressureLeftU;
    }
    public String getBloodPressureLeftD() {
        return bloodPressureLeftD;
    }
    public void setBloodPressureLeftD(String bloodPressureLeftD) {
        this.bloodPressureLeftD = bloodPressureLeftD;
    }
    public String getBloodPressureRightU() {
        return bloodPressureRightU;
    }
    public void setBloodPressureRightU(String bloodPressureRightU) {
        this.bloodPressureRightU = bloodPressureRightU;
    }
    public String getBloodPressureRightD() {
        return bloodPressureRightD;
    }
    public void setBloodPressureRightD(String bloodPressureRightD) {
        this.bloodPressureRightD = bloodPressureRightD;
    }
    public String getPulse() {
        return pulse;
    }
    public void setPulse(String pulse) {
        this.pulse = pulse;
    }
    public String getBreathe() {
        return breathe;
    }
    public void setBreathe(String breathe) {
        this.breathe = breathe;
    }
    public String getCardiacSouffle() {
        return cardiacSouffle;
    }
    public void setCardiacSouffle(String cardiacSouffle) {
        this.cardiacSouffle = cardiacSouffle;
    }
    public String getHeartRate() {
        return heartRate;
    }
    public void setHeartRate(String heartRate) {
        this.heartRate = heartRate;
    }
    public String getElectroRoutine() {
        return electroRoutine;
    }
    public void setElectroRoutine(String electroRoutine) {
        this.electroRoutine = electroRoutine;
    }
    public String getElectro_24Hour() {
        return electro_24Hour;
    }
    public void setElectro_24Hour(String electro_24Hour) {
        this.electro_24Hour = electro_24Hour;
    }
    public String getElectroGt_24Hour() {
        return electroGt_24Hour;
    }
    public void setElectroGt_24Hour(String electroGt_24Hour) {
        this.electroGt_24Hour = electroGt_24Hour;
    }
    public String getElectroNoExam() {
        return electroNoExam;
    }
    public void setElectroNoExam(String electroNoExam) {
        this.electroNoExam = electroNoExam;
    }
    public String getElectroExamResult() {
        return electroExamResult;
    }
    public void setElectroExamResult(String electroExamResult) {
        this.electroExamResult = electroExamResult;
    }
    public String getElectroUnusualType() {
        return electroUnusualType;
    }
    public void setElectroUnusualType(String electroUnusualType) {
        this.electroUnusualType = electroUnusualType;
    }
    public String getElectroUnusualContent() {
        return electroUnusualContent;
    }
    public void setElectroUnusualContent(String electroUnusualContent) {
        this.electroUnusualContent = electroUnusualContent;
    }
    public String getLeFbg() {
        return leFbg;
    }
    public void setLeFbg(String leFbg) {
        this.leFbg = leFbg;
    }
    public String getLeNoFbg() {
        return leNoFbg;
    }
    public void setLeNoFbg(String leNoFbg) {
        this.leNoFbg = leNoFbg;
    }
    public String getLeGh() {
        return leGh;
    }
    public void setLeGh(String leGh) {
        this.leGh = leGh;
    }
    public String getLeGt() {
        return leGt;
    }
    public void setLeGt(String leGt) {
        this.leGt = leGt;
    }
    public String getLeCholesterin() {
        return leCholesterin;
    }
    public void setLeCholesterin(String leCholesterin) {
        this.leCholesterin = leCholesterin;
    }
    public String getLeCLdl() {
        return leCLdl;
    }
    public void setLeCLdl(String leCLdl) {
        this.leCLdl = leCLdl;
    }
    public String getLeCHdl() {
        return leCHdl;
    }
    public void setLeCHdl(String leCHdl) {
        this.leCHdl = leCHdl;
    }
    public String getLeHomocysteine() {
        return leHomocysteine;
    }
    public void setLeHomocysteine(String leHomocysteine) {
        this.leHomocysteine = leHomocysteine;
    }
    public String getLeCruorPtInr() {
        return leCruorPtInr;
    }
    public void setLeCruorPtInr(String leCruorPtInr) {
        this.leCruorPtInr = leCruorPtInr;
    }
    public String getLeCruorPt() {
        return leCruorPt;
    }
    public void setLeCruorPt(String leCruorPt) {
        this.leCruorPt = leCruorPt;
    }
    public String getLeCruorAptt() {
        return leCruorAptt;
    }
    public void setLeCruorAptt(String leCruorAptt) {
        this.leCruorAptt = leCruorAptt;
    }
    public String getLeCruorTt() {
        return leCruorTt;
    }
    public void setLeCruorTt(String leCruorTt) {
        this.leCruorTt = leCruorTt;
    }
    public String getLeSc() {
        return leSc;
    }
    public void setLeSc(String leSc) {
        this.leSc = leSc;
    }
    public String getLeSun() {
        return leSun;
    }
    public void setLeSun(String leSun) {
        this.leSun = leSun;
    }
    public String getLeLa() {
        return leLa;
    }
    public void setLeLa(String leLa) {
        this.leLa = leLa;
    }
    public String getLePc() {
        return lePc;
    }
    public void setLePc(String lePc) {
        this.lePc = lePc;
    }
    public String getCvuFlag() {
        return cvuFlag;
    }
    public void setCvuFlag(String cvuFlag) {
        this.cvuFlag = cvuFlag;
    }
    public String getCvuExamResult() {
        return cvuExamResult;
    }
    public void setCvuExamResult(String cvuExamResult) {
        this.cvuExamResult = cvuExamResult;
    }
    public String getCvuImtILTn() {
        return cvuImtILTn;
    }
    public void setCvuImtILTn(String cvuImtILTn) {
        this.cvuImtILTn = cvuImtILTn;
    }
    public String getCvuImtIRTn() {
        return cvuImtIRTn;
    }
    public void setCvuImtIRTn(String cvuImtIRTn) {
        this.cvuImtIRTn = cvuImtIRTn;
    }
    public String getCvuPlaqueNum() {
        return cvuPlaqueNum;
    }
    public void setCvuPlaqueNum(String cvuPlaqueNum) {
        this.cvuPlaqueNum = cvuPlaqueNum;
    }
    public String getCvuPlaqueSLTn() {
        return cvuPlaqueSLTn;
    }
    public void setCvuPlaqueSLTn(String cvuPlaqueSLTn) {
        this.cvuPlaqueSLTn = cvuPlaqueSLTn;
    }
    public String getCvuPlaqueSRTn() {
        return cvuPlaqueSRTn;
    }
    public void setCvuPlaqueSRTn(String cvuPlaqueSRTn) {
        this.cvuPlaqueSRTn = cvuPlaqueSRTn;
    }
    public String getCvuPlaqueSLSinus() {
        return cvuPlaqueSLSinus;
    }
    public void setCvuPlaqueSLSinus(String cvuPlaqueSLSinus) {
        this.cvuPlaqueSLSinus = cvuPlaqueSLSinus;
    }
    public String getCvuPlaqueSRSinus() {
        return cvuPlaqueSRSinus;
    }
    public void setCvuPlaqueSRSinus(String cvuPlaqueSRSinus) {
        this.cvuPlaqueSRSinus = cvuPlaqueSRSinus;
    }
    public String getCvuPlaqueSLIn() {
        return cvuPlaqueSLIn;
    }
    public void setCvuPlaqueSLIn(String cvuPlaqueSLIn) {
        this.cvuPlaqueSLIn = cvuPlaqueSLIn;
    }
    public String getCvuPlaqueSRIn() {
        return cvuPlaqueSRIn;
    }
    public void setCvuPlaqueSRIn(String cvuPlaqueSRIn) {
        this.cvuPlaqueSRIn = cvuPlaqueSRIn;
    }
    public String getCvuPlaqueSLSa() {
        return cvuPlaqueSLSa;
    }
    public void setCvuPlaqueSLSa(String cvuPlaqueSLSa) {
        this.cvuPlaqueSLSa = cvuPlaqueSLSa;
    }
    public String getCvuPlaqueSRSa() {
        return cvuPlaqueSRSa;
    }
    public void setCvuPlaqueSRSa(String cvuPlaqueSRSa) {
        this.cvuPlaqueSRSa = cvuPlaqueSRSa;
    }
    public String getCvuPlaqueSLVa() {
        return cvuPlaqueSLVa;
    }
    public void setCvuPlaqueSLVa(String cvuPlaqueSLVa) {
        this.cvuPlaqueSLVa = cvuPlaqueSLVa;
    }
    public String getCvuPlaqueSRVa() {
        return cvuPlaqueSRVa;
    }
    public void setCvuPlaqueSRVa(String cvuPlaqueSRVa) {
        this.cvuPlaqueSRVa = cvuPlaqueSRVa;
    }
    public String getCvuPlaqueULTn() {
        return cvuPlaqueULTn;
    }
    public void setCvuPlaqueULTn(String cvuPlaqueULTn) {
        this.cvuPlaqueULTn = cvuPlaqueULTn;
    }
    public String getCvuPlaqueURTn() {
        return cvuPlaqueURTn;
    }
    public void setCvuPlaqueURTn(String cvuPlaqueURTn) {
        this.cvuPlaqueURTn = cvuPlaqueURTn;
    }
    public String getCvuPlaqueULSinus() {
        return cvuPlaqueULSinus;
    }
    public void setCvuPlaqueULSinus(String cvuPlaqueULSinus) {
        this.cvuPlaqueULSinus = cvuPlaqueULSinus;
    }
    public String getCvuPlaqueURSinus() {
        return cvuPlaqueURSinus;
    }
    public void setCvuPlaqueURSinus(String cvuPlaqueURSinus) {
        this.cvuPlaqueURSinus = cvuPlaqueURSinus;
    }
    public String getCvuPlaqueULIn() {
        return cvuPlaqueULIn;
    }
    public void setCvuPlaqueULIn(String cvuPlaqueULIn) {
        this.cvuPlaqueULIn = cvuPlaqueULIn;
    }
    public String getCvuPlaqueURIn() {
        return cvuPlaqueURIn;
    }
    public void setCvuPlaqueURIn(String cvuPlaqueURIn) {
        this.cvuPlaqueURIn = cvuPlaqueURIn;
    }
    public String getCvuPlaqueULSa() {
        return cvuPlaqueULSa;
    }
    public void setCvuPlaqueULSa(String cvuPlaqueULSa) {
        this.cvuPlaqueULSa = cvuPlaqueULSa;
    }
    public String getCvuPlaqueURSa() {
        return cvuPlaqueURSa;
    }
    public void setCvuPlaqueURSa(String cvuPlaqueURSa) {
        this.cvuPlaqueURSa = cvuPlaqueURSa;
    }
    public String getCvuPlaqueULVa() {
        return cvuPlaqueULVa;
    }
    public void setCvuPlaqueULVa(String cvuPlaqueULVa) {
        this.cvuPlaqueULVa = cvuPlaqueULVa;
    }
    public String getCvuPlaqueURVa() {
        return cvuPlaqueURVa;
    }
    public void setCvuPlaqueURVa(String cvuPlaqueURVa) {
        this.cvuPlaqueURVa = cvuPlaqueURVa;
    }
    public String getCvuPlaqueELTn() {
        return cvuPlaqueELTn;
    }
    public void setCvuPlaqueELTn(String cvuPlaqueELTn) {
        this.cvuPlaqueELTn = cvuPlaqueELTn;
    }
    public String getCvuPlaqueERTn() {
        return cvuPlaqueERTn;
    }
    public void setCvuPlaqueERTn(String cvuPlaqueERTn) {
        this.cvuPlaqueERTn = cvuPlaqueERTn;
    }
    public String getCvuPlaqueELSinus() {
        return cvuPlaqueELSinus;
    }
    public void setCvuPlaqueELSinus(String cvuPlaqueELSinus) {
        this.cvuPlaqueELSinus = cvuPlaqueELSinus;
    }
    public String getCvuPlaqueERSinus() {
        return cvuPlaqueERSinus;
    }
    public void setCvuPlaqueERSinus(String cvuPlaqueERSinus) {
        this.cvuPlaqueERSinus = cvuPlaqueERSinus;
    }
    public String getCvuPlaqueELIn() {
        return cvuPlaqueELIn;
    }
    public void setCvuPlaqueELIn(String cvuPlaqueELIn) {
        this.cvuPlaqueELIn = cvuPlaqueELIn;
    }
    public String getCvuPlaqueERIn() {
        return cvuPlaqueERIn;
    }
    public void setCvuPlaqueERIn(String cvuPlaqueERIn) {
        this.cvuPlaqueERIn = cvuPlaqueERIn;
    }
    public String getCvuPlaqueELSa() {
        return cvuPlaqueELSa;
    }
    public void setCvuPlaqueELSa(String cvuPlaqueELSa) {
        this.cvuPlaqueELSa = cvuPlaqueELSa;
    }
    public String getCvuPlaqueERSa() {
        return cvuPlaqueERSa;
    }
    public void setCvuPlaqueERSa(String cvuPlaqueERSa) {
        this.cvuPlaqueERSa = cvuPlaqueERSa;
    }
    public String getCvuPlaqueELVa() {
        return cvuPlaqueELVa;
    }
    public void setCvuPlaqueELVa(String cvuPlaqueELVa) {
        this.cvuPlaqueELVa = cvuPlaqueELVa;
    }
    public String getCvuPlaqueERVa() {
        return cvuPlaqueERVa;
    }
    public void setCvuPlaqueERVa(String cvuPlaqueERVa) {
        this.cvuPlaqueERVa = cvuPlaqueERVa;
    }
    public String getCvuNarrowSrLTn() {
        return cvuNarrowSrLTn;
    }
    public void setCvuNarrowSrLTn(String cvuNarrowSrLTn) {
        this.cvuNarrowSrLTn = cvuNarrowSrLTn;
    }
    public String getCvuNarrowSrRTn() {
        return cvuNarrowSrRTn;
    }
    public void setCvuNarrowSrRTn(String cvuNarrowSrRTn) {
        this.cvuNarrowSrRTn = cvuNarrowSrRTn;
    }
    public String getCvuNarrowSrLSinus() {
        return cvuNarrowSrLSinus;
    }
    public void setCvuNarrowSrLSinus(String cvuNarrowSrLSinus) {
        this.cvuNarrowSrLSinus = cvuNarrowSrLSinus;
    }
    public String getCvuNarrowSrRSinus() {
        return cvuNarrowSrRSinus;
    }
    public void setCvuNarrowSrRSinus(String cvuNarrowSrRSinus) {
        this.cvuNarrowSrRSinus = cvuNarrowSrRSinus;
    }
    public String getCvuNarrowSrLIn() {
        return cvuNarrowSrLIn;
    }
    public void setCvuNarrowSrLIn(String cvuNarrowSrLIn) {
        this.cvuNarrowSrLIn = cvuNarrowSrLIn;
    }
    public String getCvuNarrowSrRIn() {
        return cvuNarrowSrRIn;
    }
    public void setCvuNarrowSrRIn(String cvuNarrowSrRIn) {
        this.cvuNarrowSrRIn = cvuNarrowSrRIn;
    }
    public String getCvuNarrowSrLSa() {
        return cvuNarrowSrLSa;
    }
    public void setCvuNarrowSrLSa(String cvuNarrowSrLSa) {
        this.cvuNarrowSrLSa = cvuNarrowSrLSa;
    }
    public String getCvuNarrowSrRSa() {
        return cvuNarrowSrRSa;
    }
    public void setCvuNarrowSrRSa(String cvuNarrowSrRSa) {
        this.cvuNarrowSrRSa = cvuNarrowSrRSa;
    }
    public String getCvuNarrowSrLVa() {
        return cvuNarrowSrLVa;
    }
    public void setCvuNarrowSrLVa(String cvuNarrowSrLVa) {
        this.cvuNarrowSrLVa = cvuNarrowSrLVa;
    }
    public String getCvuNarrowSrRVa() {
        return cvuNarrowSrRVa;
    }
    public void setCvuNarrowSrRVa(String cvuNarrowSrRVa) {
        this.cvuNarrowSrRVa = cvuNarrowSrRVa;
    }
    public String getCvuDc() {
        return cvuDc;
    }
    public void setCvuDc(String cvuDc) {
        this.cvuDc = cvuDc;
    }
    public String getMrsScoreFlag() {
        return mrsScoreFlag;
    }
    public void setMrsScoreFlag(String mrsScoreFlag) {
        this.mrsScoreFlag = mrsScoreFlag;
    }
    public String getMrsScoreResult() {
        return mrsScoreResult;
    }
    public void setMrsScoreResult(String mrsScoreResult) {
        this.mrsScoreResult = mrsScoreResult;
    }
    public String getMrsPatientStatus() {
        return mrsPatientStatus;
    }
    public void setMrsPatientStatus(String mrsPatientStatus) {
        this.mrsPatientStatus = mrsPatientStatus;
    }
    public String getEssenScoreFlag() {
        return essenScoreFlag;
    }
    public void setEssenScoreFlag(String essenScoreFlag) {
        this.essenScoreFlag = essenScoreFlag;
    }
    public String getEssenScoreResult() {
        return essenScoreResult;
    }
    public void setEssenScoreResult(String essenScoreResult) {
        this.essenScoreResult = essenScoreResult;
    }
    public String getEssenYear() {
        return essenYear;
    }
    public void setEssenYear(String essenYear) {
        this.essenYear = essenYear;
    }
    public String getEssenHyper() {
        return essenHyper;
    }
    public void setEssenHyper(String essenHyper) {
        this.essenHyper = essenHyper;
    }
    public String getEssenDm() {
        return essenDm;
    }
    public void setEssenDm(String essenDm) {
        this.essenDm = essenDm;
    }
    public String getEssenPmi() {
        return essenPmi;
    }
    public void setEssenPmi(String essenPmi) {
        this.essenPmi = essenPmi;
    }
    public String getEssenOha() {
        return essenOha;
    }
    public void setEssenOha(String essenOha) {
        this.essenOha = essenOha;
    }
    public String getEssenPad() {
        return essenPad;
    }
    public void setEssenPad(String essenPad) {
        this.essenPad = essenPad;
    }
    public String getEssenSmoke() {
        return essenSmoke;
    }
    public void setEssenSmoke(String essenSmoke) {
        this.essenSmoke = essenSmoke;
    }
    public String getEssenTia() {
        return essenTia;
    }
    public void setEssenTia(String essenTia) {
        this.essenTia = essenTia;
    }
    public String getMdAmAspirin() {
        return mdAmAspirin;
    }
    public void setMdAmAspirin(String mdAmAspirin) {
        this.mdAmAspirin = mdAmAspirin;
    }
    public String getMdAmClopidogrel() {
        return mdAmClopidogrel;
    }
    public void setMdAmClopidogrel(String mdAmClopidogrel) {
        this.mdAmClopidogrel = mdAmClopidogrel;
    }
    public String getMdAmOzagrel() {
        return mdAmOzagrel;
    }
    public void setMdAmOzagrel(String mdAmOzagrel) {
        this.mdAmOzagrel = mdAmOzagrel;
    }
    public String getMdAmPersantin() {
        return mdAmPersantin;
    }
    public void setMdAmPersantin(String mdAmPersantin) {
        this.mdAmPersantin = mdAmPersantin;
    }
    public String getMdAmCichloro() {
        return mdAmCichloro;
    }
    public void setMdAmCichloro(String mdAmCichloro) {
        this.mdAmCichloro = mdAmCichloro;
    }
    public String getMdAmCiloprost() {
        return mdAmCiloprost;
    }
    public void setMdAmCiloprost(String mdAmCiloprost) {
        this.mdAmCiloprost = mdAmCiloprost;
    }
    public String getMdAmOther() {
        return mdAmOther;
    }
    public void setMdAmOther(String mdAmOther) {
        this.mdAmOther = mdAmOther;
    }
    public String getMdAnWarfarin() {
        return mdAnWarfarin;
    }
    public void setMdAnWarfarin(String mdAnWarfarin) {
        this.mdAnWarfarin = mdAnWarfarin;
    }
    public String getMdAnLivarshaban() {
        return mdAnLivarshaban;
    }
    public void setMdAnLivarshaban(String mdAnLivarshaban) {
        this.mdAnLivarshaban = mdAnLivarshaban;
    }
    public String getMdAnDabigatran() {
        return mdAnDabigatran;
    }
    public void setMdAnDabigatran(String mdAnDabigatran) {
        this.mdAnDabigatran = mdAnDabigatran;
    }
    public String getMdAnApishaban() {
        return mdAnApishaban;
    }
    public void setMdAnApishaban(String mdAnApishaban) {
        this.mdAnApishaban = mdAnApishaban;
    }
    public String getMdAnYidusaban() {
        return mdAnYidusaban;
    }
    public void setMdAnYidusaban(String mdAnYidusaban) {
        this.mdAnYidusaban = mdAnYidusaban;
    }
    public String getMdAnLmh() {
        return mdAnLmh;
    }
    public void setMdAnLmh(String mdAnLmh) {
        this.mdAnLmh = mdAnLmh;
    }
    public String getMdAnCh() {
        return mdAnCh;
    }
    public void setMdAnCh(String mdAnCh) {
        this.mdAnCh = mdAnCh;
    }
    public String getMdAnOther() {
        return mdAnOther;
    }
    public void setMdAnOther(String mdAnOther) {
        this.mdAnOther = mdAnOther;
    }
    public String getMdAdAcei() {
        return mdAdAcei;
    }
    public void setMdAdAcei(String mdAdAcei) {
        this.mdAdAcei = mdAdAcei;
    }
    public String getMdAdArb() {
        return mdAdArb;
    }
    public void setMdAdArb(String mdAdArb) {
        this.mdAdArb = mdAdArb;
    }
    public String getMdAdDiuretic() {
        return mdAdDiuretic;
    }
    public void setMdAdDiuretic(String mdAdDiuretic) {
        this.mdAdDiuretic = mdAdDiuretic;
    }
    public String getMdAdRb() {
        return mdAdRb;
    }
    public void setMdAdRb(String mdAdRb) {
        this.mdAdRb = mdAdRb;
    }
    public String getMdAdCa() {
        return mdAdCa;
    }
    public void setMdAdCa(String mdAdCa) {
        this.mdAdCa = mdAdCa;
    }
    public String getMdAdOther() {
        return mdAdOther;
    }
    public void setMdAdOther(String mdAdOther) {
        this.mdAdOther = mdAdOther;
    }
    public String getMdHdInsulin() {
        return mdHdInsulin;
    }
    public void setMdHdInsulin(String mdHdInsulin) {
        this.mdHdInsulin = mdHdInsulin;
    }
    public String getMdHdSulfonylurea() {
        return mdHdSulfonylurea;
    }
    public void setMdHdSulfonylurea(String mdHdSulfonylurea) {
        this.mdHdSulfonylurea = mdHdSulfonylurea;
    }
    public String getMdHdBiguanides() {
        return mdHdBiguanides;
    }
    public void setMdHdBiguanides(String mdHdBiguanides) {
        this.mdHdBiguanides = mdHdBiguanides;
    }
    public String getMdHdGi() {
        return mdHdGi;
    }
    public void setMdHdGi(String mdHdGi) {
        this.mdHdGi = mdHdGi;
    }
    public String getMdHdEa() {
        return mdHdEa;
    }
    public void setMdHdEa(String mdHdEa) {
        this.mdHdEa = mdHdEa;
    }
    public String getMdHdNsipa() {
        return mdHdNsipa;
    }
    public void setMdHdNsipa(String mdHdNsipa) {
        this.mdHdNsipa = mdHdNsipa;
    }
    public String getMdHdOther() {
        return mdHdOther;
    }
    public void setMdHdOther(String mdHdOther) {
        this.mdHdOther = mdHdOther;
    }
    public String getMdIrmStatins() {
        return mdIrmStatins;
    }
    public void setMdIrmStatins(String mdIrmStatins) {
        this.mdIrmStatins = mdIrmStatins;
    }
    public String getMdIrmNaid() {
        return mdIrmNaid;
    }
    public void setMdIrmNaid(String mdIrmNaid) {
        this.mdIrmNaid = mdIrmNaid;
    }
    public String getMdIrmBc() {
        return mdIrmBc;
    }
    public void setMdIrmBc(String mdIrmBc) {
        this.mdIrmBc = mdIrmBc;
    }
    public String getMdIrmCai() {
        return mdIrmCai;
    }
    public void setMdIrmCai(String mdIrmCai) {
        this.mdIrmCai = mdIrmCai;
    }
    public String getMdIrmOther() {
        return mdIrmOther;
    }
    public void setMdIrmOther(String mdIrmOther) {
        this.mdIrmOther = mdIrmOther;
    }
    public String getDrugName1() {
        return drugName1;
    }
    public void setDrugName1(String drugName1) {
        this.drugName1 = drugName1;
    }
    public String getDrugSubdose1() {
        return drugSubdose1;
    }
    public void setDrugSubdose1(String drugSubdose1) {
        this.drugSubdose1 = drugSubdose1;
    }
    public String getDosageUnit1() {
        return dosageUnit1;
    }
    public void setDosageUnit1(String dosageUnit1) {
        this.dosageUnit1 = dosageUnit1;
    }
    public String getFrequency1() {
        return frequency1;
    }
    public void setFrequency1(String frequency1) {
        this.frequency1 = frequency1;
    }
    public String getDrugTmFlag1() {
        return drugTmFlag1;
    }
    public void setDrugTmFlag1(String drugTmFlag1) {
        this.drugTmFlag1 = drugTmFlag1;
    }
    public String getDrugTmStatus1() {
        return drugTmStatus1;
    }
    public void setDrugTmStatus1(String drugTmStatus1) {
        this.drugTmStatus1 = drugTmStatus1;
    }
    public String getDrugTmStop1() {
        return drugTmStop1;
    }
    public void setDrugTmStop1(String drugTmStop1) {
        this.drugTmStop1 = drugTmStop1;
    }
    public String getDrugName2() {
        return drugName2;
    }
    public void setDrugName2(String drugName2) {
        this.drugName2 = drugName2;
    }
    public String getDrugSubdose2() {
        return drugSubdose2;
    }
    public void setDrugSubdose2(String drugSubdose2) {
        this.drugSubdose2 = drugSubdose2;
    }
    public String getDosageUnit2() {
        return dosageUnit2;
    }
    public void setDosageUnit2(String dosageUnit2) {
        this.dosageUnit2 = dosageUnit2;
    }
    public String getFrequency2() {
        return frequency2;
    }
    public void setFrequency2(String frequency2) {
        this.frequency2 = frequency2;
    }
    public String getDrugTmFlag2() {
        return drugTmFlag2;
    }
    public void setDrugTmFlag2(String drugTmFlag2) {
        this.drugTmFlag2 = drugTmFlag2;
    }
    public String getDrugTmStatus2() {
        return drugTmStatus2;
    }
    public void setDrugTmStatus2(String drugTmStatus2) {
        this.drugTmStatus2 = drugTmStatus2;
    }
    public String getDrugTmStop2() {
        return drugTmStop2;
    }
    public void setDrugTmStop2(String drugTmStop2) {
        this.drugTmStop2 = drugTmStop2;
    }
    public String getDrugName3() {
        return drugName3;
    }
    public void setDrugName3(String drugName3) {
        this.drugName3 = drugName3;
    }
    public String getDrugSubdose3() {
        return drugSubdose3;
    }
    public void setDrugSubdose3(String drugSubdose3) {
        this.drugSubdose3 = drugSubdose3;
    }
    public String getDosageUnit3() {
        return dosageUnit3;
    }
    public void setDosageUnit3(String dosageUnit3) {
        this.dosageUnit3 = dosageUnit3;
    }
    public String getFrequency3() {
        return frequency3;
    }
    public void setFrequency3(String frequency3) {
        this.frequency3 = frequency3;
    }
    public String getDrugTmFlag3() {
        return drugTmFlag3;
    }
    public void setDrugTmFlag3(String drugTmFlag3) {
        this.drugTmFlag3 = drugTmFlag3;
    }
    public String getDrugTmStatus3() {
        return drugTmStatus3;
    }
    public void setDrugTmStatus3(String drugTmStatus3) {
        this.drugTmStatus3 = drugTmStatus3;
    }
    public String getDrugTmStop3() {
        return drugTmStop3;
    }
    public void setDrugTmStop3(String drugTmStop3) {
        this.drugTmStop3 = drugTmStop3;
    }
    public String getDrugName4() {
        return drugName4;
    }
    public void setDrugName4(String drugName4) {
        this.drugName4 = drugName4;
    }
    public String getDrugSubdose4() {
        return drugSubdose4;
    }
    public void setDrugSubdose4(String drugSubdose4) {
        this.drugSubdose4 = drugSubdose4;
    }
    public String getDosageUnit4() {
        return dosageUnit4;
    }
    public void setDosageUnit4(String dosageUnit4) {
        this.dosageUnit4 = dosageUnit4;
    }
    public String getFrequency4() {
        return frequency4;
    }
    public void setFrequency4(String frequency4) {
        this.frequency4 = frequency4;
    }
    public String getDrugTmFlag4() {
        return drugTmFlag4;
    }
    public void setDrugTmFlag4(String drugTmFlag4) {
        this.drugTmFlag4 = drugTmFlag4;
    }
    public String getDrugTmStatus4() {
        return drugTmStatus4;
    }
    public void setDrugTmStatus4(String drugTmStatus4) {
        this.drugTmStatus4 = drugTmStatus4;
    }
    public String getDrugTmStop4() {
        return drugTmStop4;
    }
    public void setDrugTmStop4(String drugTmStop4) {
        this.drugTmStop4 = drugTmStop4;
    }
    public String getDrugName5() {
        return drugName5;
    }
    public void setDrugName5(String drugName5) {
        this.drugName5 = drugName5;
    }
    public String getDrugSubdose5() {
        return drugSubdose5;
    }
    public void setDrugSubdose5(String drugSubdose5) {
        this.drugSubdose5 = drugSubdose5;
    }
    public String getDosageUnit5() {
        return dosageUnit5;
    }
    public void setDosageUnit5(String dosageUnit5) {
        this.dosageUnit5 = dosageUnit5;
    }
    public String getFrequency5() {
        return frequency5;
    }
    public void setFrequency5(String frequency5) {
        this.frequency5 = frequency5;
    }
    public String getDrugTmFlag5() {
        return drugTmFlag5;
    }
    public void setDrugTmFlag5(String drugTmFlag5) {
        this.drugTmFlag5 = drugTmFlag5;
    }
    public String getDrugTmStatus5() {
        return drugTmStatus5;
    }
    public void setDrugTmStatus5(String drugTmStatus5) {
        this.drugTmStatus5 = drugTmStatus5;
    }
    public String getDrugTmStop5() {
        return drugTmStop5;
    }
    public void setDrugTmStop5(String drugTmStop5) {
        this.drugTmStop5 = drugTmStop5;
    }
    public String getDrugName6() {
        return drugName6;
    }
    public void setDrugName6(String drugName6) {
        this.drugName6 = drugName6;
    }
    public String getDrugSubdose6() {
        return drugSubdose6;
    }
    public void setDrugSubdose6(String drugSubdose6) {
        this.drugSubdose6 = drugSubdose6;
    }
    public String getDosageUnit6() {
        return dosageUnit6;
    }
    public void setDosageUnit6(String dosageUnit6) {
        this.dosageUnit6 = dosageUnit6;
    }
    public String getFrequency6() {
        return frequency6;
    }
    public void setFrequency6(String frequency6) {
        this.frequency6 = frequency6;
    }
    public String getDrugTmFlag6() {
        return drugTmFlag6;
    }
    public void setDrugTmFlag6(String drugTmFlag6) {
        this.drugTmFlag6 = drugTmFlag6;
    }
    public String getDrugTmStatus6() {
        return drugTmStatus6;
    }
    public void setDrugTmStatus6(String drugTmStatus6) {
        this.drugTmStatus6 = drugTmStatus6;
    }
    public String getDrugTmStop6() {
        return drugTmStop6;
    }
    public void setDrugTmStop6(String drugTmStop6) {
        this.drugTmStop6 = drugTmStop6;
    }
    public String getValidFlag() {
        return validFlag;
    }
    public void setValidFlag(String validFlag) {
        this.validFlag = validFlag;
    }
    public String getCreateTime() {
        return createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getCreateOperator() {
        return createOperator;
    }
    public void setCreateOperator(String createOperator) {
        this.createOperator = createOperator;
    }
    public String getModifyTime() {
        return modifyTime;
    }
    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }
    public String getModifyOperator() {
        return modifyOperator;
    }
    public void setModifyOperator(String modifyOperator) {
        this.modifyOperator = modifyOperator;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getSickProvince() {
        return sickProvince;
    }
    public void setSickProvince(String sickProvince) {
        this.sickProvince = sickProvince;
    }
    public String getSickCity() {
        return sickCity;
    }
    public void setSickCity(String sickCity) {
        this.sickCity = sickCity;
    }
    public String getSickCounty() {
        return sickCounty;
    }
    public void setSickCounty(String sickCounty) {
        this.sickCounty = sickCounty;
    }
    public String getSickCountry() {
        return sickCountry;
    }
    public void setSickCountry(String sickCountry) {
        this.sickCountry = sickCountry;
    }
    public String getSickVillage() {
        return sickVillage;
    }
    public void setSickVillage(String sickVillage) {
        this.sickVillage = sickVillage;
    }
    public String getAssessSource() {
        return assessSource;
    }
    public void setAssessSource(String assessSource) {
        this.assessSource = assessSource;
    }
    public String getSickName() {
        return sickName;
    }
    public void setSickName(String sickName) {
        this.sickName = sickName;
    }
    public String getSickSex() {
        return sickSex;
    }
    public void setSickSex(String sickSex) {
        this.sickSex = sickSex;
    }
    public String getNational() {
        return national;
    }
    public void setNational(String national) {
        this.national = national;
    }
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getCreateOperatorName() {
        return createOperatorName;
    }
    public void setCreateOperatorName(String createOperatorName) {
        this.createOperatorName = createOperatorName;
    }
    public String getModifyOperatorName() {
        return modifyOperatorName;
    }
    public void setModifyOperatorName(String modifyOperatorName) {
        this.modifyOperatorName = modifyOperatorName;
    }
}

+ 858 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/followupDisease/CoronaryFollowupES.java

@ -0,0 +1,858 @@
package com.yihu.jw.followup.followupDisease;
import io.searchbox.annotations.JestId;
/**
 * Created by wangzhinan on 2020/3/23.
 * 1.冠心病日常随访
 */
public class CoronaryFollowupES {
    @JestId
    private String id;
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    private String version;//版本号
    private String createOperatorName;//创建人
    private String modifyOperatorName;//修改人
    private String orgId;//机构id&//【必填】
    private String sickId;//病人id&
    private String problemId;//健康问题id&
    private String followOrgId;//随访机构&【必填】
    private String followDoctor;//随访医生&【必填】
    private String followTime;//随访时间&【必填】
    private String followType;//随访方式【1.门诊 2.电话 3.入户】&【必填】
    private String followDoctorType;//随访医生类型【1.专科医生 2.全科医生 3.健康管理师】&【必填】
    private String nextFollowTime;//下次随访时间&【必填】
    private String identityCardNo;//身份证号&【必填】
    private String assessSource;//评估来源【1.前台三合一 2. 前台独立 3.后台自动 4.i健康】&【必填】
    private String symptomNo;//症状_无&【症状必选,至少选一个】
    private String symptomHeadache;//症状_头痛&
    private String symptomDizziness;//症状_头晕&
    private String symptomPalpitation;//症状_心悸&
    private String symptomChestStuffiness;//症状_胸闷&
    private String symptomChestPain;//症状_胸痛&
    private String symptomDyspnea;//症状_呼吸困难&
    private String symptomOliguria;//症状_少尿&
    private String symptomLackOfPower;//症状_乏力&
    private String symptomLowerEdema;//症状_下肢浮肿&
    private String symptomGainWeight;//症状_体重增加&
    private String symptomAnhelation;//症状_气促&
    private String symptomOther;//症状_其它&
    private String symptomOtherStr;//症状_其它内容&
    private String bodyTemperature;//体温&
    private String heartRate;//心率&
    private String bloodPressureLeftU;//左侧血压(收缩压)&【必填】
    private String bloodPressureLeftD;//左侧血压(舒张压)&【必填】
    private String bloodPressureRigthU;//右侧血压(收缩压)&【必填】
    private String bloodPressureRigthD;//右侧血压(舒张压)&【必填】
    private String height;//身高&
    private String weight;//体重&
    private String bmi;//体质指数&
    private String ldlc;//ldl-c(低密度脂蛋白胆固醇)& 【必填】
    private String elecHeartNormal;//动态心电图_正常结果&
    private String elecHeartTremble;//动态心电图_房颤&
    private String elecHeartPreBeat;//动态心电图_室性早搏&
    private String elecHeartBrady;//动态心电图_显著心动过缓&
    private String elecHeartVenTachy;//动态心电图_室速&
    private String elecHeartStUp;//动态心电图St段抬高&
    private String elecHeartStDown;//动态心电图St段压低&
    private String dailySmokingQuantity;//日吸烟量&【必填】
    private String everyAlcoholTolerance;//日饮酒量&【必填】
    private String sports;//运动&
    private String complianceBehavior;//遵医行为&
    private String saltIntake;//摄盐情况&
    private String drugCompliance;//服药依从性&
    private String drugAdverseReaction;//药物不良反应&【必填】
    private String liverFunctionSalt;//肝功能:谷丙转氨酶(alt)&【必填】
    private String cardiacSouffle;//心脏杂音&【必填】
    private String lungRales;//肺部罗音&【必填】
    private String heartColourNormal;//心脏彩超_正常&
    private String heartColourVntriAneur;//心脏彩超_室壁瘤&
    private String heartColourValveDisease;//心脏彩超_瓣膜病变&
    private String heartColourThrombus;//心脏彩超_血栓&
    private String heartColourLeftUpstep;//心脏彩超_左室扩大&
    private String heartColourRightUpstep;//心脏彩超_右室扩大&
    private String drugName1;//药物名称_1&
    private String drugSubdose1;//药物次剂量_1&
    private String dosageUnit1;//剂量单位_1&
    private String frequency1;//用药频次_1&
    private String drugName2;//药物名称_2&
    private String drugSubdose2;//药物次剂量_2&
    private String dosageUnit2;//剂量单位_2&
    private String frequency2;//用药频次_2&
    private String drugName3;//药物名称_3&
    private String drugSubdose3;//药物次剂量_3&
    private String dosageUnit3;//剂量单位_3&
    private String frequency3;//用药频次_3&
    private String drugName4;//药物名称_4&
    private String drugSubdose4;//药物次剂量_4&
    private String dosageUnit4;//剂量单位_4&
    private String frequency4;//用药频次_4&
    private String drugName5;//药物名称_5&
    private String drugSubdose5;//药物次剂量_5&
    private String dosageUnit5;//剂量单位_5&
    private String frequency5;//用药频次_5&
    private String drugName6;//药物名称_6&
    private String drugSubdose6;//药物次剂量_6&
    private String dosageUnit6;//剂量单位_6&
    private String frequency6;//用药频次_6&
    private String validFlag;//有效标志&【必填】
    private String createTime;//创建时间&
    private String createOperator;//创建人&【新增必填】
    private String modifyTime;//修改时间&
    private String modifyOperator;//修改人&【修改必填】
    private String remark;//备注
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getOrgId() {
        return orgId;
    }
    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }
    public String getSickId() {
        return sickId;
    }
    public void setSickId(String sickId) {
        this.sickId = sickId;
    }
    public String getProblemId() {
        return problemId;
    }
    public void setProblemId(String problemId) {
        this.problemId = problemId;
    }
    public String getFollowOrgId() {
        return followOrgId;
    }
    public void setFollowOrgId(String followOrgId) {
        this.followOrgId = followOrgId;
    }
    public String getFollowDoctor() {
        return followDoctor;
    }
    public void setFollowDoctor(String followDoctor) {
        this.followDoctor = followDoctor;
    }
    public String getFollowTime() {
        return followTime;
    }
    public void setFollowTime(String followTime) {
        this.followTime = followTime;
    }
    public String getFollowType() {
        return followType;
    }
    public void setFollowType(String followType) {
        this.followType = followType;
    }
    public String getFollowDoctorType() {
        return followDoctorType;
    }
    public void setFollowDoctorType(String followDoctorType) {
        this.followDoctorType = followDoctorType;
    }
    public String getNextFollowTime() {
        return nextFollowTime;
    }
    public void setNextFollowTime(String nextFollowTime) {
        this.nextFollowTime = nextFollowTime;
    }
    public String getIdentityCardNo() {
        return identityCardNo;
    }
    public void setIdentityCardNo(String identityCardNo) {
        this.identityCardNo = identityCardNo;
    }
    public String getAssessSource() {
        return assessSource;
    }
    public void setAssessSource(String assessSource) {
        this.assessSource = assessSource;
    }
    public String getSymptomNo() {
        return symptomNo;
    }
    public void setSymptomNo(String symptomNo) {
        this.symptomNo = symptomNo;
    }
    public String getSymptomHeadache() {
        return symptomHeadache;
    }
    public void setSymptomHeadache(String symptomHeadache) {
        this.symptomHeadache = symptomHeadache;
    }
    public String getSymptomDizziness() {
        return symptomDizziness;
    }
    public void setSymptomDizziness(String symptomDizziness) {
        this.symptomDizziness = symptomDizziness;
    }
    public String getSymptomPalpitation() {
        return symptomPalpitation;
    }
    public void setSymptomPalpitation(String symptomPalpitation) {
        this.symptomPalpitation = symptomPalpitation;
    }
    public String getSymptomChestStuffiness() {
        return symptomChestStuffiness;
    }
    public void setSymptomChestStuffiness(String symptomChestStuffiness) {
        this.symptomChestStuffiness = symptomChestStuffiness;
    }
    public String getSymptomChestPain() {
        return symptomChestPain;
    }
    public void setSymptomChestPain(String symptomChestPain) {
        this.symptomChestPain = symptomChestPain;
    }
    public String getSymptomDyspnea() {
        return symptomDyspnea;
    }
    public void setSymptomDyspnea(String symptomDyspnea) {
        this.symptomDyspnea = symptomDyspnea;
    }
    public String getSymptomOliguria() {
        return symptomOliguria;
    }
    public void setSymptomOliguria(String symptomOliguria) {
        this.symptomOliguria = symptomOliguria;
    }
    public String getSymptomLackOfPower() {
        return symptomLackOfPower;
    }
    public void setSymptomLackOfPower(String symptomLackOfPower) {
        this.symptomLackOfPower = symptomLackOfPower;
    }
    public String getSymptomLowerEdema() {
        return symptomLowerEdema;
    }
    public void setSymptomLowerEdema(String symptomLowerEdema) {
        this.symptomLowerEdema = symptomLowerEdema;
    }
    public String getSymptomGainWeight() {
        return symptomGainWeight;
    }
    public void setSymptomGainWeight(String symptomGainWeight) {
        this.symptomGainWeight = symptomGainWeight;
    }
    public String getSymptomAnhelation() {
        return symptomAnhelation;
    }
    public void setSymptomAnhelation(String symptomAnhelation) {
        this.symptomAnhelation = symptomAnhelation;
    }
    public String getSymptomOther() {
        return symptomOther;
    }
    public void setSymptomOther(String symptomOther) {
        this.symptomOther = symptomOther;
    }
    public String getSymptomOtherStr() {
        return symptomOtherStr;
    }
    public void setSymptomOtherStr(String symptomOtherStr) {
        this.symptomOtherStr = symptomOtherStr;
    }
    public String getBodyTemperature() {
        return bodyTemperature;
    }
    public void setBodyTemperature(String bodyTemperature) {
        this.bodyTemperature = bodyTemperature;
    }
    public String getHeartRate() {
        return heartRate;
    }
    public void setHeartRate(String heartRate) {
        this.heartRate = heartRate;
    }
    public String getBloodPressureLeftU() {
        return bloodPressureLeftU;
    }
    public void setBloodPressureLeftU(String bloodPressureLeftU) {
        this.bloodPressureLeftU = bloodPressureLeftU;
    }
    public String getBloodPressureLeftD() {
        return bloodPressureLeftD;
    }
    public void setBloodPressureLeftD(String bloodPressureLeftD) {
        this.bloodPressureLeftD = bloodPressureLeftD;
    }
    public String getBloodPressureRigthU() {
        return bloodPressureRigthU;
    }
    public void setBloodPressureRigthU(String bloodPressureRigthU) {
        this.bloodPressureRigthU = bloodPressureRigthU;
    }
    public String getBloodPressureRigthD() {
        return bloodPressureRigthD;
    }
    public void setBloodPressureRigthD(String bloodPressureRigthD) {
        this.bloodPressureRigthD = bloodPressureRigthD;
    }
    public String getHeight() {
        return height;
    }
    public void setHeight(String height) {
        this.height = height;
    }
    public String getWeight() {
        return weight;
    }
    public void setWeight(String weight) {
        this.weight = weight;
    }
    public String getBmi() {
        return bmi;
    }
    public void setBmi(String bmi) {
        this.bmi = bmi;
    }
    public String getLdlc() {
        return ldlc;
    }
    public void setLdlc(String ldlc) {
        this.ldlc = ldlc;
    }
    public String getElecHeartNormal() {
        return elecHeartNormal;
    }
    public void setElecHeartNormal(String elecHeartNormal) {
        this.elecHeartNormal = elecHeartNormal;
    }
    public String getElecHeartTremble() {
        return elecHeartTremble;
    }
    public void setElecHeartTremble(String elecHeartTremble) {
        this.elecHeartTremble = elecHeartTremble;
    }
    public String getElecHeartPreBeat() {
        return elecHeartPreBeat;
    }
    public void setElecHeartPreBeat(String elecHeartPreBeat) {
        this.elecHeartPreBeat = elecHeartPreBeat;
    }
    public String getElecHeartBrady() {
        return elecHeartBrady;
    }
    public void setElecHeartBrady(String elecHeartBrady) {
        this.elecHeartBrady = elecHeartBrady;
    }
    public String getElecHeartVenTachy() {
        return elecHeartVenTachy;
    }
    public void setElecHeartVenTachy(String elecHeartVenTachy) {
        this.elecHeartVenTachy = elecHeartVenTachy;
    }
    public String getElecHeartStUp() {
        return elecHeartStUp;
    }
    public void setElecHeartStUp(String elecHeartStUp) {
        this.elecHeartStUp = elecHeartStUp;
    }
    public String getElecHeartStDown() {
        return elecHeartStDown;
    }
    public void setElecHeartStDown(String elecHeartStDown) {
        this.elecHeartStDown = elecHeartStDown;
    }
    public String getDailySmokingQuantity() {
        return dailySmokingQuantity;
    }
    public void setDailySmokingQuantity(String dailySmokingQuantity) {
        this.dailySmokingQuantity = dailySmokingQuantity;
    }
    public String getEveryAlcoholTolerance() {
        return everyAlcoholTolerance;
    }
    public void setEveryAlcoholTolerance(String everyAlcoholTolerance) {
        this.everyAlcoholTolerance = everyAlcoholTolerance;
    }
    public String getSports() {
        return sports;
    }
    public void setSports(String sports) {
        this.sports = sports;
    }
    public String getComplianceBehavior() {
        return complianceBehavior;
    }
    public void setComplianceBehavior(String complianceBehavior) {
        this.complianceBehavior = complianceBehavior;
    }
    public String getSaltIntake() {
        return saltIntake;
    }
    public void setSaltIntake(String saltIntake) {
        this.saltIntake = saltIntake;
    }
    public String getDrugCompliance() {
        return drugCompliance;
    }
    public void setDrugCompliance(String drugCompliance) {
        this.drugCompliance = drugCompliance;
    }
    public String getDrugAdverseReaction() {
        return drugAdverseReaction;
    }
    public void setDrugAdverseReaction(String drugAdverseReaction) {
        this.drugAdverseReaction = drugAdverseReaction;
    }
    public String getLiverFunctionSalt() {
        return liverFunctionSalt;
    }
    public void setLiverFunctionSalt(String liverFunctionSalt) {
        this.liverFunctionSalt = liverFunctionSalt;
    }
    public String getCardiacSouffle() {
        return cardiacSouffle;
    }
    public void setCardiacSouffle(String cardiacSouffle) {
        this.cardiacSouffle = cardiacSouffle;
    }
    public String getLungRales() {
        return lungRales;
    }
    public void setLungRales(String lungRales) {
        this.lungRales = lungRales;
    }
    public String getHeartColourNormal() {
        return heartColourNormal;
    }
    public void setHeartColourNormal(String heartColourNormal) {
        this.heartColourNormal = heartColourNormal;
    }
    public String getHeartColourVntriAneur() {
        return heartColourVntriAneur;
    }
    public void setHeartColourVntriAneur(String heartColourVntriAneur) {
        this.heartColourVntriAneur = heartColourVntriAneur;
    }
    public String getHeartColourValveDisease() {
        return heartColourValveDisease;
    }
    public void setHeartColourValveDisease(String heartColourValveDisease) {
        this.heartColourValveDisease = heartColourValveDisease;
    }
    public String getHeartColourThrombus() {
        return heartColourThrombus;
    }
    public void setHeartColourThrombus(String heartColourThrombus) {
        this.heartColourThrombus = heartColourThrombus;
    }
    public String getHeartColourLeftUpstep() {
        return heartColourLeftUpstep;
    }
    public void setHeartColourLeftUpstep(String heartColourLeftUpstep) {
        this.heartColourLeftUpstep = heartColourLeftUpstep;
    }
    public String getHeartColourRightUpstep() {
        return heartColourRightUpstep;
    }
    public void setHeartColourRightUpstep(String heartColourRightUpstep) {
        this.heartColourRightUpstep = heartColourRightUpstep;
    }
    public String getDrugName1() {
        return drugName1;
    }
    public void setDrugName1(String drugName1) {
        this.drugName1 = drugName1;
    }
    public String getDrugSubdose1() {
        return drugSubdose1;
    }
    public void setDrugSubdose1(String drugSubdose1) {
        this.drugSubdose1 = drugSubdose1;
    }
    public String getDosageUnit1() {
        return dosageUnit1;
    }
    public void setDosageUnit1(String dosageUnit1) {
        this.dosageUnit1 = dosageUnit1;
    }
    public String getFrequency1() {
        return frequency1;
    }
    public void setFrequency1(String frequency1) {
        this.frequency1 = frequency1;
    }
    public String getDrugName2() {
        return drugName2;
    }
    public void setDrugName2(String drugName2) {
        this.drugName2 = drugName2;
    }
    public String getDrugSubdose2() {
        return drugSubdose2;
    }
    public void setDrugSubdose2(String drugSubdose2) {
        this.drugSubdose2 = drugSubdose2;
    }
    public String getDosageUnit2() {
        return dosageUnit2;
    }
    public void setDosageUnit2(String dosageUnit2) {
        this.dosageUnit2 = dosageUnit2;
    }
    public String getFrequency2() {
        return frequency2;
    }
    public void setFrequency2(String frequency2) {
        this.frequency2 = frequency2;
    }
    public String getDrugName3() {
        return drugName3;
    }
    public void setDrugName3(String drugName3) {
        this.drugName3 = drugName3;
    }
    public String getDrugSubdose3() {
        return drugSubdose3;
    }
    public void setDrugSubdose3(String drugSubdose3) {
        this.drugSubdose3 = drugSubdose3;
    }
    public String getDosageUnit3() {
        return dosageUnit3;
    }
    public void setDosageUnit3(String dosageUnit3) {
        this.dosageUnit3 = dosageUnit3;
    }
    public String getFrequency3() {
        return frequency3;
    }
    public void setFrequency3(String frequency3) {
        this.frequency3 = frequency3;
    }
    public String getDrugName4() {
        return drugName4;
    }
    public void setDrugName4(String drugName4) {
        this.drugName4 = drugName4;
    }
    public String getDrugSubdose4() {
        return drugSubdose4;
    }
    public void setDrugSubdose4(String drugSubdose4) {
        this.drugSubdose4 = drugSubdose4;
    }
    public String getDosageUnit4() {
        return dosageUnit4;
    }
    public void setDosageUnit4(String dosageUnit4) {
        this.dosageUnit4 = dosageUnit4;
    }
    public String getFrequency4() {
        return frequency4;
    }
    public void setFrequency4(String frequency4) {
        this.frequency4 = frequency4;
    }
    public String getDrugName5() {
        return drugName5;
    }
    public void setDrugName5(String drugName5) {
        this.drugName5 = drugName5;
    }
    public String getDrugSubdose5() {
        return drugSubdose5;
    }
    public void setDrugSubdose5(String drugSubdose5) {
        this.drugSubdose5 = drugSubdose5;
    }
    public String getDosageUnit5() {
        return dosageUnit5;
    }
    public void setDosageUnit5(String dosageUnit5) {
        this.dosageUnit5 = dosageUnit5;
    }
    public String getFrequency5() {
        return frequency5;
    }
    public void setFrequency5(String frequency5) {
        this.frequency5 = frequency5;
    }
    public String getDrugName6() {
        return drugName6;
    }
    public void setDrugName6(String drugName6) {
        this.drugName6 = drugName6;
    }
    public String getDrugSubdose6() {
        return drugSubdose6;
    }
    public void setDrugSubdose6(String drugSubdose6) {
        this.drugSubdose6 = drugSubdose6;
    }
    public String getDosageUnit6() {
        return dosageUnit6;
    }
    public void setDosageUnit6(String dosageUnit6) {
        this.dosageUnit6 = dosageUnit6;
    }
    public String getFrequency6() {
        return frequency6;
    }
    public void setFrequency6(String frequency6) {
        this.frequency6 = frequency6;
    }
    public String getValidFlag() {
        return validFlag;
    }
    public void setValidFlag(String validFlag) {
        this.validFlag = validFlag;
    }
    public String getCreateTime() {
        return createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getCreateOperator() {
        return createOperator;
    }
    public void setCreateOperator(String createOperator) {
        this.createOperator = createOperator;
    }
    public String getModifyTime() {
        return modifyTime;
    }
    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }
    public String getModifyOperator() {
        return modifyOperator;
    }
    public void setModifyOperator(String modifyOperator) {
        this.modifyOperator = modifyOperator;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getCreateOperatorName() {
        return createOperatorName;
    }
    public void setCreateOperatorName(String createOperatorName) {
        this.createOperatorName = createOperatorName;
    }
    public String getModifyOperatorName() {
        return modifyOperatorName;
    }
    public void setModifyOperatorName(String modifyOperatorName) {
        this.modifyOperatorName = modifyOperatorName;
    }
}

+ 841 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/followupDisease/FattyLiverFollowUpES.java

@ -0,0 +1,841 @@
package com.yihu.jw.followup.followupDisease;
import io.searchbox.annotations.JestId;
/**
 * Created by wangzhinan on 2020/3/23.
 * 8.脂肪肝日常随访
 */
public class FattyLiverFollowUpES {
    @JestId
    private String id;
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    private String version;//版本号
    private String createOperatorName;//创建人
    private String modifyOperatorName;//修改人
    private String orgId;//机构id&【必填】
    private String sickId;//病人id&
    private String problemId;//健康问题id&
    private String followOrgId;//随访机构&【必填】
    private String followDoctor;//随访医生&【必填】
    private String followTime;//随访时间&【必填】
    private String followType;//随访方式【1.门诊 2.电话 3.入户】&【必填】
    private String followDoctorType;//随访医生类型【1.专科医生 2.全科医生 3.健康管理师】&【必填】
    private String nextFollowTime;//下次随访时间&【必填】
    private String identityCardNo;//身份证&【必填】
    private String assessSource;//评估来源【1.前台三合一 2. 前台独立 3.后台自动 4.i健康】&【必填】
    private String symptomNo;//症状_无&【症状必选,至少选一个】
    private String symptomLackOfPower;//症状_乏力&
    private String symptomVentosity;//症状_腹胀&
    private String symptomAnorexia;//症状_食欲减退或者进食减少&
    private String symptomSensationFull;//症状_右上腹不适或胀满感&
    private String symptomDpil;//症状_肝区隐痛&
    private String symptomOther;//症状_其它&
    private String signFatApp;//体征_肥胖外观&【体征必选,至少选一个】
    private String signWaistline;//体征_腰围&
    private String signHip;//体征_臀围&
    private String signHepatomegaly;//体征_肝肿大&
    private String signSplenomegaly;//体征_脾肿大&
    private String signIcterus;//体征_黄疸&
    private String signLiverPalms;//体征_肝掌&
    private String signSpider;//体征_蜘蛛痣&
    private String signSvvoaw;//体征_腹壁静脉曲张&
    private String signAscites;//体征_腹水&
    private String signEole;//体征_下肢水肿&
    private String height;//身高&【必填】
    private String weight;//体重&【必填】
    private String bmi;//体质指数&【必填】
    private String bloodPressureU;//血压(收缩压)&【必填】
    private String bloodPressureD;//血压(舒张压)&【必填】
    private String tg;//甘油三脂&【必填】
    private String hdlc;//低密度脂蛋白&【必填】
    private String alt;//谷丙转氨酶(ALT)&【必填】
    private String ast;//谷丙转氨酶(ALT)&【必填】
    private String fbg;//空腹血糖&【必填】
    private String afp;//甲胎蛋白&
    private String abdominalUltrasound;//腹部超声&
    private String fibroscanE;//fibroscan e值&
    private String cap;//cap值&
    private String epigastriumCt;//上腹部ct&
    private String dailySmokingQuantity;//日吸烟量&【必填】
    private String everyAlcoholTolerance;//日饮酒量&【必填】
    private String sports;//运动&【必填】
    private String complianceBehavior;//遵医行为&【必填】
    private String diet;//饮食情况&【必填】
    private String drugCompliance;//服药依从性&【必填】
    private String drugAdverseReaction;//药物不良反应&
    private String drugName1;//药物名称_1&
    private String drugSubdose1;//药物次剂量_1&
    private String dosageUnit1;//剂量单位_1&
    private String frequency1;//用药频次_1&
    private String drugName2;//药物名称_2&
    private String drugSubdose2;//药物次剂量_2&
    private String dosageUnit2;//剂量单位_2&
    private String frequency2;//用药频次_2&
    private String drugName3;//药物名称_3&
    private String drugSubdose3;//药物次剂量_3&
    private String dosageUnit3;//剂量单位_3&
    private String frequency3;//用药频次_3&
    private String drugName4;//药物名称_4&
    private String drugSubdose4;//药物次剂量_4&
    private String dosageUnit4;//剂量单位_4&
    private String frequency4;//用药频次_4&
    private String drugName5;//药物名称_5&
    private String drugSubdose5;//药物次剂量_5&
    private String dosageUnit5;//剂量单位_5&
    private String frequency5;//用药频次_5&
    private String drugName6;//药物名称_6&
    private String drugSubdose6;//药物次剂量_6&
    private String dosageUnit6;//剂量单位_6&
    private String frequency6;//用药频次_6&
    private String validFlag;//有效标志&【必填】
    private String createTime;//创建时间&
    private String createOperator;//创建人&【新增必填】
    private String modifyTime;//修改时间&
    private String modifyOperator;//修改人&【修改必填】
    private String remark;//备注&
    private String comorbidityHypertension;//合并症_高血压&【合并症必选,至少选一个】
    private String comorbidityDiabetes;//合并症_糖尿病&
    private String comorbidityGout;//合并症_痛风&
    private String comorbidityCoronary;//合并症_冠心病&
    private String uricAcid;//尿酸【必填】
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getOrgId() {
        return orgId;
    }
    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }
    public String getSickId() {
        return sickId;
    }
    public void setSickId(String sickId) {
        this.sickId = sickId;
    }
    public String getProblemId() {
        return problemId;
    }
    public void setProblemId(String problemId) {
        this.problemId = problemId;
    }
    public String getFollowOrgId() {
        return followOrgId;
    }
    public void setFollowOrgId(String followOrgId) {
        this.followOrgId = followOrgId;
    }
    public String getFollowDoctor() {
        return followDoctor;
    }
    public void setFollowDoctor(String followDoctor) {
        this.followDoctor = followDoctor;
    }
    public String getFollowTime() {
        return followTime;
    }
    public void setFollowTime(String followTime) {
        this.followTime = followTime;
    }
    public String getFollowType() {
        return followType;
    }
    public void setFollowType(String followType) {
        this.followType = followType;
    }
    public String getFollowDoctorType() {
        return followDoctorType;
    }
    public void setFollowDoctorType(String followDoctorType) {
        this.followDoctorType = followDoctorType;
    }
    public String getNextFollowTime() {
        return nextFollowTime;
    }
    public void setNextFollowTime(String nextFollowTime) {
        this.nextFollowTime = nextFollowTime;
    }
    public String getIdentityCardNo() {
        return identityCardNo;
    }
    public void setIdentityCardNo(String identityCardNo) {
        this.identityCardNo = identityCardNo;
    }
    public String getAssessSource() {
        return assessSource;
    }
    public void setAssessSource(String assessSource) {
        this.assessSource = assessSource;
    }
    public String getSymptomNo() {
        return symptomNo;
    }
    public void setSymptomNo(String symptomNo) {
        this.symptomNo = symptomNo;
    }
    public String getSymptomLackOfPower() {
        return symptomLackOfPower;
    }
    public void setSymptomLackOfPower(String symptomLackOfPower) {
        this.symptomLackOfPower = symptomLackOfPower;
    }
    public String getSymptomVentosity() {
        return symptomVentosity;
    }
    public void setSymptomVentosity(String symptomVentosity) {
        this.symptomVentosity = symptomVentosity;
    }
    public String getSymptomAnorexia() {
        return symptomAnorexia;
    }
    public void setSymptomAnorexia(String symptomAnorexia) {
        this.symptomAnorexia = symptomAnorexia;
    }
    public String getSymptomSensationFull() {
        return symptomSensationFull;
    }
    public void setSymptomSensationFull(String symptomSensationFull) {
        this.symptomSensationFull = symptomSensationFull;
    }
    public String getSymptomDpil() {
        return symptomDpil;
    }
    public void setSymptomDpil(String symptomDpil) {
        this.symptomDpil = symptomDpil;
    }
    public String getSymptomOther() {
        return symptomOther;
    }
    public void setSymptomOther(String symptomOther) {
        this.symptomOther = symptomOther;
    }
    public String getSignFatApp() {
        return signFatApp;
    }
    public void setSignFatApp(String signFatApp) {
        this.signFatApp = signFatApp;
    }
    public String getSignWaistline() {
        return signWaistline;
    }
    public void setSignWaistline(String signWaistline) {
        this.signWaistline = signWaistline;
    }
    public String getSignHip() {
        return signHip;
    }
    public void setSignHip(String signHip) {
        this.signHip = signHip;
    }
    public String getSignHepatomegaly() {
        return signHepatomegaly;
    }
    public void setSignHepatomegaly(String signHepatomegaly) {
        this.signHepatomegaly = signHepatomegaly;
    }
    public String getSignSplenomegaly() {
        return signSplenomegaly;
    }
    public void setSignSplenomegaly(String signSplenomegaly) {
        this.signSplenomegaly = signSplenomegaly;
    }
    public String getSignIcterus() {
        return signIcterus;
    }
    public void setSignIcterus(String signIcterus) {
        this.signIcterus = signIcterus;
    }
    public String getSignLiverPalms() {
        return signLiverPalms;
    }
    public void setSignLiverPalms(String signLiverPalms) {
        this.signLiverPalms = signLiverPalms;
    }
    public String getSignSpider() {
        return signSpider;
    }
    public void setSignSpider(String signSpider) {
        this.signSpider = signSpider;
    }
    public String getSignSvvoaw() {
        return signSvvoaw;
    }
    public void setSignSvvoaw(String signSvvoaw) {
        this.signSvvoaw = signSvvoaw;
    }
    public String getSignAscites() {
        return signAscites;
    }
    public void setSignAscites(String signAscites) {
        this.signAscites = signAscites;
    }
    public String getSignEole() {
        return signEole;
    }
    public void setSignEole(String signEole) {
        this.signEole = signEole;
    }
    public String getHeight() {
        return height;
    }
    public void setHeight(String height) {
        this.height = height;
    }
    public String getWeight() {
        return weight;
    }
    public void setWeight(String weight) {
        this.weight = weight;
    }
    public String getBmi() {
        return bmi;
    }
    public void setBmi(String bmi) {
        this.bmi = bmi;
    }
    public String getBloodPressureU() {
        return bloodPressureU;
    }
    public void setBloodPressureU(String bloodPressureU) {
        this.bloodPressureU = bloodPressureU;
    }
    public String getBloodPressureD() {
        return bloodPressureD;
    }
    public void setBloodPressureD(String bloodPressureD) {
        this.bloodPressureD = bloodPressureD;
    }
    public String getTg() {
        return tg;
    }
    public void setTg(String tg) {
        this.tg = tg;
    }
    public String getHdlc() {
        return hdlc;
    }
    public void setHdlc(String hdlc) {
        this.hdlc = hdlc;
    }
    public String getAlt() {
        return alt;
    }
    public void setAlt(String alt) {
        this.alt = alt;
    }
    public String getAst() {
        return ast;
    }
    public void setAst(String ast) {
        this.ast = ast;
    }
    public String getFbg() {
        return fbg;
    }
    public void setFbg(String fbg) {
        this.fbg = fbg;
    }
    public String getAfp() {
        return afp;
    }
    public void setAfp(String afp) {
        this.afp = afp;
    }
    public String getAbdominalUltrasound() {
        return abdominalUltrasound;
    }
    public void setAbdominalUltrasound(String abdominalUltrasound) {
        this.abdominalUltrasound = abdominalUltrasound;
    }
    public String getFibroscanE() {
        return fibroscanE;
    }
    public void setFibroscanE(String fibroscanE) {
        this.fibroscanE = fibroscanE;
    }
    public String getCap() {
        return cap;
    }
    public void setCap(String cap) {
        this.cap = cap;
    }
    public String getEpigastriumCt() {
        return epigastriumCt;
    }
    public void setEpigastriumCt(String epigastriumCt) {
        this.epigastriumCt = epigastriumCt;
    }
    public String getDailySmokingQuantity() {
        return dailySmokingQuantity;
    }
    public void setDailySmokingQuantity(String dailySmokingQuantity) {
        this.dailySmokingQuantity = dailySmokingQuantity;
    }
    public String getEveryAlcoholTolerance() {
        return everyAlcoholTolerance;
    }
    public void setEveryAlcoholTolerance(String everyAlcoholTolerance) {
        this.everyAlcoholTolerance = everyAlcoholTolerance;
    }
    public String getSports() {
        return sports;
    }
    public void setSports(String sports) {
        this.sports = sports;
    }
    public String getComplianceBehavior() {
        return complianceBehavior;
    }
    public void setComplianceBehavior(String complianceBehavior) {
        this.complianceBehavior = complianceBehavior;
    }
    public String getDiet() {
        return diet;
    }
    public void setDiet(String diet) {
        this.diet = diet;
    }
    public String getDrugCompliance() {
        return drugCompliance;
    }
    public void setDrugCompliance(String drugCompliance) {
        this.drugCompliance = drugCompliance;
    }
    public String getDrugAdverseReaction() {
        return drugAdverseReaction;
    }
    public void setDrugAdverseReaction(String drugAdverseReaction) {
        this.drugAdverseReaction = drugAdverseReaction;
    }
    public String getDrugName1() {
        return drugName1;
    }
    public void setDrugName1(String drugName1) {
        this.drugName1 = drugName1;
    }
    public String getDrugSubdose1() {
        return drugSubdose1;
    }
    public void setDrugSubdose1(String drugSubdose1) {
        this.drugSubdose1 = drugSubdose1;
    }
    public String getDosageUnit1() {
        return dosageUnit1;
    }
    public void setDosageUnit1(String dosageUnit1) {
        this.dosageUnit1 = dosageUnit1;
    }
    public String getFrequency1() {
        return frequency1;
    }
    public void setFrequency1(String frequency1) {
        this.frequency1 = frequency1;
    }
    public String getDrugName2() {
        return drugName2;
    }
    public void setDrugName2(String drugName2) {
        this.drugName2 = drugName2;
    }
    public String getDrugSubdose2() {
        return drugSubdose2;
    }
    public void setDrugSubdose2(String drugSubdose2) {
        this.drugSubdose2 = drugSubdose2;
    }
    public String getDosageUnit2() {
        return dosageUnit2;
    }
    public void setDosageUnit2(String dosageUnit2) {
        this.dosageUnit2 = dosageUnit2;
    }
    public String getFrequency2() {
        return frequency2;
    }
    public void setFrequency2(String frequency2) {
        this.frequency2 = frequency2;
    }
    public String getDrugName3() {
        return drugName3;
    }
    public void setDrugName3(String drugName3) {
        this.drugName3 = drugName3;
    }
    public String getDrugSubdose3() {
        return drugSubdose3;
    }
    public void setDrugSubdose3(String drugSubdose3) {
        this.drugSubdose3 = drugSubdose3;
    }
    public String getDosageUnit3() {
        return dosageUnit3;
    }
    public void setDosageUnit3(String dosageUnit3) {
        this.dosageUnit3 = dosageUnit3;
    }
    public String getFrequency3() {
        return frequency3;
    }
    public void setFrequency3(String frequency3) {
        this.frequency3 = frequency3;
    }
    public String getDrugName4() {
        return drugName4;
    }
    public void setDrugName4(String drugName4) {
        this.drugName4 = drugName4;
    }
    public String getDrugSubdose4() {
        return drugSubdose4;
    }
    public void setDrugSubdose4(String drugSubdose4) {
        this.drugSubdose4 = drugSubdose4;
    }
    public String getDosageUnit4() {
        return dosageUnit4;
    }
    public void setDosageUnit4(String dosageUnit4) {
        this.dosageUnit4 = dosageUnit4;
    }
    public String getFrequency4() {
        return frequency4;
    }
    public void setFrequency4(String frequency4) {
        this.frequency4 = frequency4;
    }
    public String getDrugName5() {
        return drugName5;
    }
    public void setDrugName5(String drugName5) {
        this.drugName5 = drugName5;
    }
    public String getDrugSubdose5() {
        return drugSubdose5;
    }
    public void setDrugSubdose5(String drugSubdose5) {
        this.drugSubdose5 = drugSubdose5;
    }
    public String getDosageUnit5() {
        return dosageUnit5;
    }
    public void setDosageUnit5(String dosageUnit5) {
        this.dosageUnit5 = dosageUnit5;
    }
    public String getFrequency5() {
        return frequency5;
    }
    public void setFrequency5(String frequency5) {
        this.frequency5 = frequency5;
    }
    public String getDrugName6() {
        return drugName6;
    }
    public void setDrugName6(String drugName6) {
        this.drugName6 = drugName6;
    }
    public String getDrugSubdose6() {
        return drugSubdose6;
    }
    public void setDrugSubdose6(String drugSubdose6) {
        this.drugSubdose6 = drugSubdose6;
    }
    public String getDosageUnit6() {
        return dosageUnit6;
    }
    public void setDosageUnit6(String dosageUnit6) {
        this.dosageUnit6 = dosageUnit6;
    }
    public String getFrequency6() {
        return frequency6;
    }
    public void setFrequency6(String frequency6) {
        this.frequency6 = frequency6;
    }
    public String getValidFlag() {
        return validFlag;
    }
    public void setValidFlag(String validFlag) {
        this.validFlag = validFlag;
    }
    public String getCreateTime() {
        return createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getCreateOperator() {
        return createOperator;
    }
    public void setCreateOperator(String createOperator) {
        this.createOperator = createOperator;
    }
    public String getModifyTime() {
        return modifyTime;
    }
    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }
    public String getModifyOperator() {
        return modifyOperator;
    }
    public void setModifyOperator(String modifyOperator) {
        this.modifyOperator = modifyOperator;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getComorbidityHypertension() {
        return comorbidityHypertension;
    }
    public void setComorbidityHypertension(String comorbidityHypertension) {
        this.comorbidityHypertension = comorbidityHypertension;
    }
    public String getComorbidityDiabetes() {
        return comorbidityDiabetes;
    }
    public void setComorbidityDiabetes(String comorbidityDiabetes) {
        this.comorbidityDiabetes = comorbidityDiabetes;
    }
    public String getComorbidityGout() {
        return comorbidityGout;
    }
    public void setComorbidityGout(String comorbidityGout) {
        this.comorbidityGout = comorbidityGout;
    }
    public String getComorbidityCoronary() {
        return comorbidityCoronary;
    }
    public void setComorbidityCoronary(String comorbidityCoronary) {
        this.comorbidityCoronary = comorbidityCoronary;
    }
    public String getUricAcid() {
        return uricAcid;
    }
    public void setUricAcid(String uricAcid) {
        this.uricAcid = uricAcid;
    }
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getCreateOperatorName() {
        return createOperatorName;
    }
    public void setCreateOperatorName(String createOperatorName) {
        this.createOperatorName = createOperatorName;
    }
    public String getModifyOperatorName() {
        return modifyOperatorName;
    }
    public void setModifyOperatorName(String modifyOperatorName) {
        this.modifyOperatorName = modifyOperatorName;
    }
}

+ 841 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/followupDisease/NephropathyFollowupES.java

@ -0,0 +1,841 @@
package com.yihu.jw.followup.followupDisease;
import io.searchbox.annotations.JestId;
/**
 * Created by wangzhinan on 2020/3/23.
 * 5.慢性肾病日常随访
 */
public class NephropathyFollowupES {
    @JestId
    private String id;
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    private String version;//版本号
    private String createOperatorName;//创建人
    private String modifyOperatorName;//修改人
    private String orgId;//机构id&【必填】
    private String sickId;//病人id&
    private String problemId;//健康问题id&
    private String followOrgId;//随访机构&【必填】
    private String followDoctor;//随访医生&【必填】
    private String followTime;//随访时间&【必填】
    private String followType;//随访方式【1.门诊 2.电话 3.入户】&【必填】
    private String followDoctorType;//随访医生类型【1.专科医生 2.全科医生 3.健康管理师】&【必填】
    private String nextFollowTime;//下次随访时间&【必填】
    private String identityCardNo;//身份证号&【必填】
    private String assessSource;//评估来源【1.前台三合一 2. 前台独立 3.后台自动 4.i健康】&【必填】
    private String symptomNo;//症状_无&【症状必选,至少选一个】
    private String symptomHeadache;//症状_头痛&
    private String symptomDizziness;//症状_头晕&
    private String symptomPalpitation;//症状_心悸&
    private String symptomChestStuffiness;//症状_胸闷&
    private String symptomChestPain;//症状_胸痛&
    private String symptomChronicCough;//症状_慢性咳嗽&
    private String symptomExpectoration;//症状_咳痰&
    private String symptomDyspnea;//症状_呼吸困难&
    private String symptomPolydipsia;//症状_多饮&
    private String symptomPolyuria;//症状_多尿&
    private String symptomWeightLoss;//症状_体重下降&
    private String symptomLackOfPower;//症状_乏力&
    private String symptomJointGall;//症状_关节肿痛&
    private String symptomBlurredVision;//症状_视力模糊&
    private String symptomHandFootNumbness;//症状_手脚麻木&
    private String symptomUrinaryUrgency;//症状_尿急&
    private String symptomDysuria;//症状_尿痛&
    private String symptomConstipation;//症状_便秘&
    private String symptomDiarrhea;//症状_腹泻&
    private String symptomNauseaVomiting;//症状_恶心呕吐&
    private String symptomDazzle;//症状_眼花&
    private String symptomTinnitus;//症状_耳鸣&
    private String symptomBreastBursting;//症状_乳房腹痛&
    private String symptomOther;//症状_其它&
    private String symptomOtherStr;//症状_其它内容&
    private String bodyTemperature;//体温&
    private String heartRate;//心率&
    private String bloodPressureLeftU;//左侧血压(收缩压)&
    private String bloodPressureLeftD;//左侧血压(舒张压)&
    private String bloodPressureRigthU;//右侧血压(收缩压)&
    private String bloodPressureRigthD;//右侧血压(舒张压)&
    private String height;//身高&
    private String weight;//体重&
    private String coreBloodPressure;//核心指标;//血压&【必填】
    private String coreUrineAcr;//核心指标;//尿acr&【必填】
    private String core3egfr;//核心指标;//3egfr&【必填】
    private String dailySmokingQuantity;//日吸烟量&
    private String everyAlcoholTolerance;//日饮酒量&
    private String sports;//运动&
    private String complianceBehavior;//遵医行为&
    private String saltIntake;//摄盐情况&
    private String drugCompliance;//服药依从性&
    private String drugAdverseReaction;//药物不良反应&
    private String lowProtein;//优质低蛋白饮食&【必填】
    private String drugName1;//药物名称_1&
    private String drugSubdose1;//药物次剂量_1&
    private String dosageUnit1;//剂量单位_1&
    private String frequency1;//用药频次_1&
    private String drugName2;//药物名称_2&
    private String drugSubdose2;//药物次剂量_2&
    private String dosageUnit2;//剂量单位_2&
    private String frequency2;//用药频次_2&
    private String drugName3;//药物名称_3&
    private String drugSubdose3;//药物次剂量_3&
    private String dosageUnit3;//剂量单位_3&
    private String frequency3;//用药频次_3&
    private String drugName4;//药物名称_4&
    private String drugSubdose4;//药物次剂量_4&
    private String dosageUnit4;//剂量单位_4&
    private String frequency4;//用药频次_4&
    private String drugName5;//药物名称_5&
    private String drugSubdose5;//药物次剂量_5&
    private String dosageUnit5;//剂量单位_5&
    private String frequency5;//用药频次_5&
    private String drugName6;//药物名称_6&
    private String drugSubdose6;//药物次剂量_6&
    private String dosageUnit6;//剂量单位_6&
    private String frequency6;//用药频次_6&
    private String validFlag;//有效标志&【必填】
    private String createTime;//创建时间&
    private String createOperator;//创建人&【新增必填】
    private String modifyTime;//修改时间&
    private String modifyOperator;//修改人&【修改必填】
    private String remark;//备注
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getOrgId() {
        return orgId;
    }
    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }
    public String getSickId() {
        return sickId;
    }
    public void setSickId(String sickId) {
        this.sickId = sickId;
    }
    public String getProblemId() {
        return problemId;
    }
    public void setProblemId(String problemId) {
        this.problemId = problemId;
    }
    public String getFollowOrgId() {
        return followOrgId;
    }
    public void setFollowOrgId(String followOrgId) {
        this.followOrgId = followOrgId;
    }
    public String getFollowDoctor() {
        return followDoctor;
    }
    public void setFollowDoctor(String followDoctor) {
        this.followDoctor = followDoctor;
    }
    public String getFollowTime() {
        return followTime;
    }
    public void setFollowTime(String followTime) {
        this.followTime = followTime;
    }
    public String getFollowType() {
        return followType;
    }
    public void setFollowType(String followType) {
        this.followType = followType;
    }
    public String getFollowDoctorType() {
        return followDoctorType;
    }
    public void setFollowDoctorType(String followDoctorType) {
        this.followDoctorType = followDoctorType;
    }
    public String getNextFollowTime() {
        return nextFollowTime;
    }
    public void setNextFollowTime(String nextFollowTime) {
        this.nextFollowTime = nextFollowTime;
    }
    public String getIdentityCardNo() {
        return identityCardNo;
    }
    public void setIdentityCardNo(String identityCardNo) {
        this.identityCardNo = identityCardNo;
    }
    public String getAssessSource() {
        return assessSource;
    }
    public void setAssessSource(String assessSource) {
        this.assessSource = assessSource;
    }
    public String getSymptomNo() {
        return symptomNo;
    }
    public void setSymptomNo(String symptomNo) {
        this.symptomNo = symptomNo;
    }
    public String getSymptomHeadache() {
        return symptomHeadache;
    }
    public void setSymptomHeadache(String symptomHeadache) {
        this.symptomHeadache = symptomHeadache;
    }
    public String getSymptomDizziness() {
        return symptomDizziness;
    }
    public void setSymptomDizziness(String symptomDizziness) {
        this.symptomDizziness = symptomDizziness;
    }
    public String getSymptomPalpitation() {
        return symptomPalpitation;
    }
    public void setSymptomPalpitation(String symptomPalpitation) {
        this.symptomPalpitation = symptomPalpitation;
    }
    public String getSymptomChestStuffiness() {
        return symptomChestStuffiness;
    }
    public void setSymptomChestStuffiness(String symptomChestStuffiness) {
        this.symptomChestStuffiness = symptomChestStuffiness;
    }
    public String getSymptomChestPain() {
        return symptomChestPain;
    }
    public void setSymptomChestPain(String symptomChestPain) {
        this.symptomChestPain = symptomChestPain;
    }
    public String getSymptomChronicCough() {
        return symptomChronicCough;
    }
    public void setSymptomChronicCough(String symptomChronicCough) {
        this.symptomChronicCough = symptomChronicCough;
    }
    public String getSymptomExpectoration() {
        return symptomExpectoration;
    }
    public void setSymptomExpectoration(String symptomExpectoration) {
        this.symptomExpectoration = symptomExpectoration;
    }
    public String getSymptomDyspnea() {
        return symptomDyspnea;
    }
    public void setSymptomDyspnea(String symptomDyspnea) {
        this.symptomDyspnea = symptomDyspnea;
    }
    public String getSymptomPolydipsia() {
        return symptomPolydipsia;
    }
    public void setSymptomPolydipsia(String symptomPolydipsia) {
        this.symptomPolydipsia = symptomPolydipsia;
    }
    public String getSymptomPolyuria() {
        return symptomPolyuria;
    }
    public void setSymptomPolyuria(String symptomPolyuria) {
        this.symptomPolyuria = symptomPolyuria;
    }
    public String getSymptomWeightLoss() {
        return symptomWeightLoss;
    }
    public void setSymptomWeightLoss(String symptomWeightLoss) {
        this.symptomWeightLoss = symptomWeightLoss;
    }
    public String getSymptomLackOfPower() {
        return symptomLackOfPower;
    }
    public void setSymptomLackOfPower(String symptomLackOfPower) {
        this.symptomLackOfPower = symptomLackOfPower;
    }
    public String getSymptomJointGall() {
        return symptomJointGall;
    }
    public void setSymptomJointGall(String symptomJointGall) {
        this.symptomJointGall = symptomJointGall;
    }
    public String getSymptomBlurredVision() {
        return symptomBlurredVision;
    }
    public void setSymptomBlurredVision(String symptomBlurredVision) {
        this.symptomBlurredVision = symptomBlurredVision;
    }
    public String getSymptomHandFootNumbness() {
        return symptomHandFootNumbness;
    }
    public void setSymptomHandFootNumbness(String symptomHandFootNumbness) {
        this.symptomHandFootNumbness = symptomHandFootNumbness;
    }
    public String getSymptomUrinaryUrgency() {
        return symptomUrinaryUrgency;
    }
    public void setSymptomUrinaryUrgency(String symptomUrinaryUrgency) {
        this.symptomUrinaryUrgency = symptomUrinaryUrgency;
    }
    public String getSymptomDysuria() {
        return symptomDysuria;
    }
    public void setSymptomDysuria(String symptomDysuria) {
        this.symptomDysuria = symptomDysuria;
    }
    public String getSymptomConstipation() {
        return symptomConstipation;
    }
    public void setSymptomConstipation(String symptomConstipation) {
        this.symptomConstipation = symptomConstipation;
    }
    public String getSymptomDiarrhea() {
        return symptomDiarrhea;
    }
    public void setSymptomDiarrhea(String symptomDiarrhea) {
        this.symptomDiarrhea = symptomDiarrhea;
    }
    public String getSymptomNauseaVomiting() {
        return symptomNauseaVomiting;
    }
    public void setSymptomNauseaVomiting(String symptomNauseaVomiting) {
        this.symptomNauseaVomiting = symptomNauseaVomiting;
    }
    public String getSymptomDazzle() {
        return symptomDazzle;
    }
    public void setSymptomDazzle(String symptomDazzle) {
        this.symptomDazzle = symptomDazzle;
    }
    public String getSymptomTinnitus() {
        return symptomTinnitus;
    }
    public void setSymptomTinnitus(String symptomTinnitus) {
        this.symptomTinnitus = symptomTinnitus;
    }
    public String getSymptomBreastBursting() {
        return symptomBreastBursting;
    }
    public void setSymptomBreastBursting(String symptomBreastBursting) {
        this.symptomBreastBursting = symptomBreastBursting;
    }
    public String getSymptomOther() {
        return symptomOther;
    }
    public void setSymptomOther(String symptomOther) {
        this.symptomOther = symptomOther;
    }
    public String getSymptomOtherStr() {
        return symptomOtherStr;
    }
    public void setSymptomOtherStr(String symptomOtherStr) {
        this.symptomOtherStr = symptomOtherStr;
    }
    public String getBodyTemperature() {
        return bodyTemperature;
    }
    public void setBodyTemperature(String bodyTemperature) {
        this.bodyTemperature = bodyTemperature;
    }
    public String getHeartRate() {
        return heartRate;
    }
    public void setHeartRate(String heartRate) {
        this.heartRate = heartRate;
    }
    public String getBloodPressureLeftU() {
        return bloodPressureLeftU;
    }
    public void setBloodPressureLeftU(String bloodPressureLeftU) {
        this.bloodPressureLeftU = bloodPressureLeftU;
    }
    public String getBloodPressureLeftD() {
        return bloodPressureLeftD;
    }
    public void setBloodPressureLeftD(String bloodPressureLeftD) {
        this.bloodPressureLeftD = bloodPressureLeftD;
    }
    public String getBloodPressureRigthU() {
        return bloodPressureRigthU;
    }
    public void setBloodPressureRigthU(String bloodPressureRigthU) {
        this.bloodPressureRigthU = bloodPressureRigthU;
    }
    public String getBloodPressureRigthD() {
        return bloodPressureRigthD;
    }
    public void setBloodPressureRigthD(String bloodPressureRigthD) {
        this.bloodPressureRigthD = bloodPressureRigthD;
    }
    public String getHeight() {
        return height;
    }
    public void setHeight(String height) {
        this.height = height;
    }
    public String getWeight() {
        return weight;
    }
    public void setWeight(String weight) {
        this.weight = weight;
    }
    public String getCoreBloodPressure() {
        return coreBloodPressure;
    }
    public void setCoreBloodPressure(String coreBloodPressure) {
        this.coreBloodPressure = coreBloodPressure;
    }
    public String getCoreUrineAcr() {
        return coreUrineAcr;
    }
    public void setCoreUrineAcr(String coreUrineAcr) {
        this.coreUrineAcr = coreUrineAcr;
    }
    public String getCore3egfr() {
        return core3egfr;
    }
    public void setCore3egfr(String core3egfr) {
        this.core3egfr = core3egfr;
    }
    public String getDailySmokingQuantity() {
        return dailySmokingQuantity;
    }
    public void setDailySmokingQuantity(String dailySmokingQuantity) {
        this.dailySmokingQuantity = dailySmokingQuantity;
    }
    public String getEveryAlcoholTolerance() {
        return everyAlcoholTolerance;
    }
    public void setEveryAlcoholTolerance(String everyAlcoholTolerance) {
        this.everyAlcoholTolerance = everyAlcoholTolerance;
    }
    public String getSports() {
        return sports;
    }
    public void setSports(String sports) {
        this.sports = sports;
    }
    public String getComplianceBehavior() {
        return complianceBehavior;
    }
    public void setComplianceBehavior(String complianceBehavior) {
        this.complianceBehavior = complianceBehavior;
    }
    public String getSaltIntake() {
        return saltIntake;
    }
    public void setSaltIntake(String saltIntake) {
        this.saltIntake = saltIntake;
    }
    public String getDrugCompliance() {
        return drugCompliance;
    }
    public void setDrugCompliance(String drugCompliance) {
        this.drugCompliance = drugCompliance;
    }
    public String getDrugAdverseReaction() {
        return drugAdverseReaction;
    }
    public void setDrugAdverseReaction(String drugAdverseReaction) {
        this.drugAdverseReaction = drugAdverseReaction;
    }
    public String getLowProtein() {
        return lowProtein;
    }
    public void setLowProtein(String lowProtein) {
        this.lowProtein = lowProtein;
    }
    public String getDrugName1() {
        return drugName1;
    }
    public void setDrugName1(String drugName1) {
        this.drugName1 = drugName1;
    }
    public String getDrugSubdose1() {
        return drugSubdose1;
    }
    public void setDrugSubdose1(String drugSubdose1) {
        this.drugSubdose1 = drugSubdose1;
    }
    public String getDosageUnit1() {
        return dosageUnit1;
    }
    public void setDosageUnit1(String dosageUnit1) {
        this.dosageUnit1 = dosageUnit1;
    }
    public String getFrequency1() {
        return frequency1;
    }
    public void setFrequency1(String frequency1) {
        this.frequency1 = frequency1;
    }
    public String getDrugName2() {
        return drugName2;
    }
    public void setDrugName2(String drugName2) {
        this.drugName2 = drugName2;
    }
    public String getDrugSubdose2() {
        return drugSubdose2;
    }
    public void setDrugSubdose2(String drugSubdose2) {
        this.drugSubdose2 = drugSubdose2;
    }
    public String getDosageUnit2() {
        return dosageUnit2;
    }
    public void setDosageUnit2(String dosageUnit2) {
        this.dosageUnit2 = dosageUnit2;
    }
    public String getFrequency2() {
        return frequency2;
    }
    public void setFrequency2(String frequency2) {
        this.frequency2 = frequency2;
    }
    public String getDrugName3() {
        return drugName3;
    }
    public void setDrugName3(String drugName3) {
        this.drugName3 = drugName3;
    }
    public String getDrugSubdose3() {
        return drugSubdose3;
    }
    public void setDrugSubdose3(String drugSubdose3) {
        this.drugSubdose3 = drugSubdose3;
    }
    public String getDosageUnit3() {
        return dosageUnit3;
    }
    public void setDosageUnit3(String dosageUnit3) {
        this.dosageUnit3 = dosageUnit3;
    }
    public String getFrequency3() {
        return frequency3;
    }
    public void setFrequency3(String frequency3) {
        this.frequency3 = frequency3;
    }
    public String getDrugName4() {
        return drugName4;
    }
    public void setDrugName4(String drugName4) {
        this.drugName4 = drugName4;
    }
    public String getDrugSubdose4() {
        return drugSubdose4;
    }
    public void setDrugSubdose4(String drugSubdose4) {
        this.drugSubdose4 = drugSubdose4;
    }
    public String getDosageUnit4() {
        return dosageUnit4;
    }
    public void setDosageUnit4(String dosageUnit4) {
        this.dosageUnit4 = dosageUnit4;
    }
    public String getFrequency4() {
        return frequency4;
    }
    public void setFrequency4(String frequency4) {
        this.frequency4 = frequency4;
    }
    public String getDrugName5() {
        return drugName5;
    }
    public void setDrugName5(String drugName5) {
        this.drugName5 = drugName5;
    }
    public String getDrugSubdose5() {
        return drugSubdose5;
    }
    public void setDrugSubdose5(String drugSubdose5) {
        this.drugSubdose5 = drugSubdose5;
    }
    public String getDosageUnit5() {
        return dosageUnit5;
    }
    public void setDosageUnit5(String dosageUnit5) {
        this.dosageUnit5 = dosageUnit5;
    }
    public String getFrequency5() {
        return frequency5;
    }
    public void setFrequency5(String frequency5) {
        this.frequency5 = frequency5;
    }
    public String getDrugName6() {
        return drugName6;
    }
    public void setDrugName6(String drugName6) {
        this.drugName6 = drugName6;
    }
    public String getDrugSubdose6() {
        return drugSubdose6;
    }
    public void setDrugSubdose6(String drugSubdose6) {
        this.drugSubdose6 = drugSubdose6;
    }
    public String getDosageUnit6() {
        return dosageUnit6;
    }
    public void setDosageUnit6(String dosageUnit6) {
        this.dosageUnit6 = dosageUnit6;
    }
    public String getFrequency6() {
        return frequency6;
    }
    public void setFrequency6(String frequency6) {
        this.frequency6 = frequency6;
    }
    public String getValidFlag() {
        return validFlag;
    }
    public void setValidFlag(String validFlag) {
        this.validFlag = validFlag;
    }
    public String getCreateTime() {
        return createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getCreateOperator() {
        return createOperator;
    }
    public void setCreateOperator(String createOperator) {
        this.createOperator = createOperator;
    }
    public String getModifyTime() {
        return modifyTime;
    }
    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }
    public String getModifyOperator() {
        return modifyOperator;
    }
    public void setModifyOperator(String modifyOperator) {
        this.modifyOperator = modifyOperator;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getCreateOperatorName() {
        return createOperatorName;
    }
    public void setCreateOperatorName(String createOperatorName) {
        this.createOperatorName = createOperatorName;
    }
    public String getModifyOperatorName() {
        return modifyOperatorName;
    }
    public void setModifyOperatorName(String modifyOperatorName) {
        this.modifyOperatorName = modifyOperatorName;
    }
}

+ 768 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/followupDisease/ProstateFollowupES.java

@ -0,0 +1,768 @@
package com.yihu.jw.followup.followupDisease;
import io.searchbox.annotations.JestId;
/**
 * Created by wangzhinan on 2020/3/23.
 * 3.慢性前列腺疾病日常随访
 */
public class ProstateFollowupES {
    @JestId
    private String id;
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    private String version;//版本号
    private String createOperatorName;//创建人
    private String modifyOperatorName;//修改人
    private String orgId;//机构id&【必填】
    private String sickId;//病人id&
    private String problemId;//健康问题id&
    private String followOrgId;//随访机构&【必填】
    private String followDoctor;//随访医生&【必填】
    private String followTime;//随访时间&【必填】
    private String followType;//随访方式【1.门诊 2.电话 3.入户】&【必填】
    private String followDoctorType;//随访医生类型【1.专科医生 2.全科医生 3.健康管理师】&【必填】
    private String nextFollowTime;//下次随访时间&【必填】
    private String identityCardNo;//身份证号&【必填】
    private String assessSource;//评估来源【1.前台三合一 2. 前台独立 3.后台自动 4.i健康】&【必填】
    private String symptomNo;//症状_无&【症状必选,至少选一个】
    private String symptomMicturition;//症状_尿频&
    private String symptomUrgentUrination;//症状_尿急&
    private String symptomOdynuria;//症状_尿痛&
    private String symptomUracratia;//症状_尿失禁&
    private String symptomHematuresis;//症状_血尿&
    private String symptomPyuria;//症状_脓尿&
    private String symptomInexhUrine;//症状_尿不尽&
    private String symptomDysury;//症状_排尿困难&
    private String symptomUrinaInter;//症状_排尿中断&
    private String symptomPerinealPain;//症状_会阴部闷痛&
    private String symptomLumSore;//症状_腰骶部酸痛&
    private String symptomSexualFD;//症状_性功能下降&
    private String symptomMemoryLoss;//症状_记忆力减退&
    private String symptomLoseSleep;//症状_失眠&
    private String symptomEasyFatigue;//症状_易疲劳&
    private String symptomOther;//症状_其它&
    private String symptomOtherStr;//症状_其它内容&
    private String afeMediumTexture;//肛门指检_质地中等&
    private String afeHardTexture;//肛门指检_质地硬&
    private String afePalpableNodule;//肛门指检_可触及结节&
    private String bloodPressureLeftU;//左侧血压(收缩压)&【必填】
    private String bloodPressureLeftD;//左侧血压(舒张压)&【必填】
    private String bloodPressureRigthU;//右侧血压(收缩压)&【必填】
    private String bloodPressureRigthD;//右侧血压(舒张压)&【必填】
    private String height;//身高&【必填】
    private String weight;//体重&【必填】
    private String psa;//psa&
    private String bUrud;//b超残余尿测定&【必填】
    private String dailySmokingQuantity;//日吸烟量&【必填】
    private String everyAlcoholTolerance;//日饮酒量&【必填】
    private String drugAdverseReaction;//药物不良反应&
    private String drugName1;//药物名称_1&
    private String drugSubdose1;//药物次剂量_1&
    private String dosageUnit1;//剂量单位_1&
    private String frequency1;//用药频次_1&
    private String drugName2;//药物名称_2&
    private String drugSubdose2;//药物次剂量_2&
    private String dosageUnit2;//剂量单位_2&
    private String frequency2;//用药频次_2&
    private String drugName3;//药物名称_3&
    private String drugSubdose3;//药物次剂量_3&
    private String dosageUnit3;//剂量单位_3&
    private String frequency3;//用药频次_3&
    private String drugName4;//药物名称_4&
    private String drugSubdose4;//药物次剂量_4&
    private String dosageUnit4;//剂量单位_4&
    private String frequency4;//用药频次_4&
    private String drugName5;//药物名称_5&
    private String drugSubdose5;//药物次剂量_5&
    private String dosageUnit5;//剂量单位_5&
    private String frequency5;//用药频次_5&
    private String drugName6;//药物名称_6&
    private String drugSubdose6;//药物次剂量_6&
    private String dosageUnit6;//剂量单位_6&
    private String frequency6;//用药频次_6&
    private String validFlag;//有效标志&【必填】
    private String createTime;//创建时间&
    private String createOperator;//创建人&【新增必填】
    private String modifyTime;//修改时间&
    private String modifyOperator;//修改人&【修改必填】
    private String remark;//备注&
    private String tubercle;//肛门指检_结节&
    private String hard;//肛门指检_质地坚硬&
    private String prostateLong;//肛门指检_前列腺长&
    private String prostateWide;//肛门指检_前列腺宽&
    private String cdu;//彩超
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getOrgId() {
        return orgId;
    }
    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }
    public String getSickId() {
        return sickId;
    }
    public void setSickId(String sickId) {
        this.sickId = sickId;
    }
    public String getProblemId() {
        return problemId;
    }
    public void setProblemId(String problemId) {
        this.problemId = problemId;
    }
    public String getFollowOrgId() {
        return followOrgId;
    }
    public void setFollowOrgId(String followOrgId) {
        this.followOrgId = followOrgId;
    }
    public String getFollowDoctor() {
        return followDoctor;
    }
    public void setFollowDoctor(String followDoctor) {
        this.followDoctor = followDoctor;
    }
    public String getFollowTime() {
        return followTime;
    }
    public void setFollowTime(String followTime) {
        this.followTime = followTime;
    }
    public String getFollowType() {
        return followType;
    }
    public void setFollowType(String followType) {
        this.followType = followType;
    }
    public String getFollowDoctorType() {
        return followDoctorType;
    }
    public void setFollowDoctorType(String followDoctorType) {
        this.followDoctorType = followDoctorType;
    }
    public String getNextFollowTime() {
        return nextFollowTime;
    }
    public void setNextFollowTime(String nextFollowTime) {
        this.nextFollowTime = nextFollowTime;
    }
    public String getIdentityCardNo() {
        return identityCardNo;
    }
    public void setIdentityCardNo(String identityCardNo) {
        this.identityCardNo = identityCardNo;
    }
    public String getAssessSource() {
        return assessSource;
    }
    public void setAssessSource(String assessSource) {
        this.assessSource = assessSource;
    }
    public String getSymptomNo() {
        return symptomNo;
    }
    public void setSymptomNo(String symptomNo) {
        this.symptomNo = symptomNo;
    }
    public String getSymptomMicturition() {
        return symptomMicturition;
    }
    public void setSymptomMicturition(String symptomMicturition) {
        this.symptomMicturition = symptomMicturition;
    }
    public String getSymptomUrgentUrination() {
        return symptomUrgentUrination;
    }
    public void setSymptomUrgentUrination(String symptomUrgentUrination) {
        this.symptomUrgentUrination = symptomUrgentUrination;
    }
    public String getSymptomOdynuria() {
        return symptomOdynuria;
    }
    public void setSymptomOdynuria(String symptomOdynuria) {
        this.symptomOdynuria = symptomOdynuria;
    }
    public String getSymptomUracratia() {
        return symptomUracratia;
    }
    public void setSymptomUracratia(String symptomUracratia) {
        this.symptomUracratia = symptomUracratia;
    }
    public String getSymptomHematuresis() {
        return symptomHematuresis;
    }
    public void setSymptomHematuresis(String symptomHematuresis) {
        this.symptomHematuresis = symptomHematuresis;
    }
    public String getSymptomPyuria() {
        return symptomPyuria;
    }
    public void setSymptomPyuria(String symptomPyuria) {
        this.symptomPyuria = symptomPyuria;
    }
    public String getSymptomInexhUrine() {
        return symptomInexhUrine;
    }
    public void setSymptomInexhUrine(String symptomInexhUrine) {
        this.symptomInexhUrine = symptomInexhUrine;
    }
    public String getSymptomDysury() {
        return symptomDysury;
    }
    public void setSymptomDysury(String symptomDysury) {
        this.symptomDysury = symptomDysury;
    }
    public String getSymptomUrinaInter() {
        return symptomUrinaInter;
    }
    public void setSymptomUrinaInter(String symptomUrinaInter) {
        this.symptomUrinaInter = symptomUrinaInter;
    }
    public String getSymptomPerinealPain() {
        return symptomPerinealPain;
    }
    public void setSymptomPerinealPain(String symptomPerinealPain) {
        this.symptomPerinealPain = symptomPerinealPain;
    }
    public String getSymptomLumSore() {
        return symptomLumSore;
    }
    public void setSymptomLumSore(String symptomLumSore) {
        this.symptomLumSore = symptomLumSore;
    }
    public String getSymptomSexualFD() {
        return symptomSexualFD;
    }
    public void setSymptomSexualFD(String symptomSexualFD) {
        this.symptomSexualFD = symptomSexualFD;
    }
    public String getSymptomMemoryLoss() {
        return symptomMemoryLoss;
    }
    public void setSymptomMemoryLoss(String symptomMemoryLoss) {
        this.symptomMemoryLoss = symptomMemoryLoss;
    }
    public String getSymptomLoseSleep() {
        return symptomLoseSleep;
    }
    public void setSymptomLoseSleep(String symptomLoseSleep) {
        this.symptomLoseSleep = symptomLoseSleep;
    }
    public String getSymptomEasyFatigue() {
        return symptomEasyFatigue;
    }
    public void setSymptomEasyFatigue(String symptomEasyFatigue) {
        this.symptomEasyFatigue = symptomEasyFatigue;
    }
    public String getSymptomOther() {
        return symptomOther;
    }
    public void setSymptomOther(String symptomOther) {
        this.symptomOther = symptomOther;
    }
    public String getSymptomOtherStr() {
        return symptomOtherStr;
    }
    public void setSymptomOtherStr(String symptomOtherStr) {
        this.symptomOtherStr = symptomOtherStr;
    }
    public String getAfeMediumTexture() {
        return afeMediumTexture;
    }
    public void setAfeMediumTexture(String afeMediumTexture) {
        this.afeMediumTexture = afeMediumTexture;
    }
    public String getAfeHardTexture() {
        return afeHardTexture;
    }
    public void setAfeHardTexture(String afeHardTexture) {
        this.afeHardTexture = afeHardTexture;
    }
    public String getAfePalpableNodule() {
        return afePalpableNodule;
    }
    public void setAfePalpableNodule(String afePalpableNodule) {
        this.afePalpableNodule = afePalpableNodule;
    }
    public String getBloodPressureLeftU() {
        return bloodPressureLeftU;
    }
    public void setBloodPressureLeftU(String bloodPressureLeftU) {
        this.bloodPressureLeftU = bloodPressureLeftU;
    }
    public String getBloodPressureLeftD() {
        return bloodPressureLeftD;
    }
    public void setBloodPressureLeftD(String bloodPressureLeftD) {
        this.bloodPressureLeftD = bloodPressureLeftD;
    }
    public String getBloodPressureRigthU() {
        return bloodPressureRigthU;
    }
    public void setBloodPressureRigthU(String bloodPressureRigthU) {
        this.bloodPressureRigthU = bloodPressureRigthU;
    }
    public String getBloodPressureRigthD() {
        return bloodPressureRigthD;
    }
    public void setBloodPressureRigthD(String bloodPressureRigthD) {
        this.bloodPressureRigthD = bloodPressureRigthD;
    }
    public String getHeight() {
        return height;
    }
    public void setHeight(String height) {
        this.height = height;
    }
    public String getWeight() {
        return weight;
    }
    public void setWeight(String weight) {
        this.weight = weight;
    }
    public String getPsa() {
        return psa;
    }
    public void setPsa(String psa) {
        this.psa = psa;
    }
    public String getbUrud() {
        return bUrud;
    }
    public void setbUrud(String bUrud) {
        this.bUrud = bUrud;
    }
    public String getDailySmokingQuantity() {
        return dailySmokingQuantity;
    }
    public void setDailySmokingQuantity(String dailySmokingQuantity) {
        this.dailySmokingQuantity = dailySmokingQuantity;
    }
    public String getEveryAlcoholTolerance() {
        return everyAlcoholTolerance;
    }
    public void setEveryAlcoholTolerance(String everyAlcoholTolerance) {
        this.everyAlcoholTolerance = everyAlcoholTolerance;
    }
    public String getDrugAdverseReaction() {
        return drugAdverseReaction;
    }
    public void setDrugAdverseReaction(String drugAdverseReaction) {
        this.drugAdverseReaction = drugAdverseReaction;
    }
    public String getDrugName1() {
        return drugName1;
    }
    public void setDrugName1(String drugName1) {
        this.drugName1 = drugName1;
    }
    public String getDrugSubdose1() {
        return drugSubdose1;
    }
    public void setDrugSubdose1(String drugSubdose1) {
        this.drugSubdose1 = drugSubdose1;
    }
    public String getDosageUnit1() {
        return dosageUnit1;
    }
    public void setDosageUnit1(String dosageUnit1) {
        this.dosageUnit1 = dosageUnit1;
    }
    public String getFrequency1() {
        return frequency1;
    }
    public void setFrequency1(String frequency1) {
        this.frequency1 = frequency1;
    }
    public String getDrugName2() {
        return drugName2;
    }
    public void setDrugName2(String drugName2) {
        this.drugName2 = drugName2;
    }
    public String getDrugSubdose2() {
        return drugSubdose2;
    }
    public void setDrugSubdose2(String drugSubdose2) {
        this.drugSubdose2 = drugSubdose2;
    }
    public String getDosageUnit2() {
        return dosageUnit2;
    }
    public void setDosageUnit2(String dosageUnit2) {
        this.dosageUnit2 = dosageUnit2;
    }
    public String getFrequency2() {
        return frequency2;
    }
    public void setFrequency2(String frequency2) {
        this.frequency2 = frequency2;
    }
    public String getDrugName3() {
        return drugName3;
    }
    public void setDrugName3(String drugName3) {
        this.drugName3 = drugName3;
    }
    public String getDrugSubdose3() {
        return drugSubdose3;
    }
    public void setDrugSubdose3(String drugSubdose3) {
        this.drugSubdose3 = drugSubdose3;
    }
    public String getDosageUnit3() {
        return dosageUnit3;
    }
    public void setDosageUnit3(String dosageUnit3) {
        this.dosageUnit3 = dosageUnit3;
    }
    public String getFrequency3() {
        return frequency3;
    }
    public void setFrequency3(String frequency3) {
        this.frequency3 = frequency3;
    }
    public String getDrugName4() {
        return drugName4;
    }
    public void setDrugName4(String drugName4) {
        this.drugName4 = drugName4;
    }
    public String getDrugSubdose4() {
        return drugSubdose4;
    }
    public void setDrugSubdose4(String drugSubdose4) {
        this.drugSubdose4 = drugSubdose4;
    }
    public String getDosageUnit4() {
        return dosageUnit4;
    }
    public void setDosageUnit4(String dosageUnit4) {
        this.dosageUnit4 = dosageUnit4;
    }
    public String getFrequency4() {
        return frequency4;
    }
    public void setFrequency4(String frequency4) {
        this.frequency4 = frequency4;
    }
    public String getDrugName5() {
        return drugName5;
    }
    public void setDrugName5(String drugName5) {
        this.drugName5 = drugName5;
    }
    public String getDrugSubdose5() {
        return drugSubdose5;
    }
    public void setDrugSubdose5(String drugSubdose5) {
        this.drugSubdose5 = drugSubdose5;
    }
    public String getDosageUnit5() {
        return dosageUnit5;
    }
    public void setDosageUnit5(String dosageUnit5) {
        this.dosageUnit5 = dosageUnit5;
    }
    public String getFrequency5() {
        return frequency5;
    }
    public void setFrequency5(String frequency5) {
        this.frequency5 = frequency5;
    }
    public String getDrugName6() {
        return drugName6;
    }
    public void setDrugName6(String drugName6) {
        this.drugName6 = drugName6;
    }
    public String getDrugSubdose6() {
        return drugSubdose6;
    }
    public void setDrugSubdose6(String drugSubdose6) {
        this.drugSubdose6 = drugSubdose6;
    }
    public String getDosageUnit6() {
        return dosageUnit6;
    }
    public void setDosageUnit6(String dosageUnit6) {
        this.dosageUnit6 = dosageUnit6;
    }
    public String getFrequency6() {
        return frequency6;
    }
    public void setFrequency6(String frequency6) {
        this.frequency6 = frequency6;
    }
    public String getValidFlag() {
        return validFlag;
    }
    public void setValidFlag(String validFlag) {
        this.validFlag = validFlag;
    }
    public String getCreateTime() {
        return createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getCreateOperator() {
        return createOperator;
    }
    public void setCreateOperator(String createOperator) {
        this.createOperator = createOperator;
    }
    public String getModifyTime() {
        return modifyTime;
    }
    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }
    public String getModifyOperator() {
        return modifyOperator;
    }
    public void setModifyOperator(String modifyOperator) {
        this.modifyOperator = modifyOperator;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getTubercle() {
        return tubercle;
    }
    public void setTubercle(String tubercle) {
        this.tubercle = tubercle;
    }
    public String getHard() {
        return hard;
    }
    public void setHard(String hard) {
        this.hard = hard;
    }
    public String getProstateLong() {
        return prostateLong;
    }
    public void setProstateLong(String prostateLong) {
        this.prostateLong = prostateLong;
    }
    public String getProstateWide() {
        return prostateWide;
    }
    public void setProstateWide(String prostateWide) {
        this.prostateWide = prostateWide;
    }
    public String getCdu() {
        return cdu;
    }
    public void setCdu(String cdu) {
        this.cdu = cdu;
    }
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getCreateOperatorName() {
        return createOperatorName;
    }
    public void setCreateOperatorName(String createOperatorName) {
        this.createOperatorName = createOperatorName;
    }
    public String getModifyOperatorName() {
        return modifyOperatorName;
    }
    public void setModifyOperatorName(String modifyOperatorName) {
        this.modifyOperatorName = modifyOperatorName;
    }
}

+ 292 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFirstFollowupES.java

@ -0,0 +1,292 @@
package com.yihu.jw.followup.phthisis_followup;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.data.annotation.CreatedDate;
import java.util.Date;
/**
 * 肺结核患者第一次入户随访
 */
public class PhthisisFirstFollowupES {
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
    @CreatedDate
    private Date create_time;
    private String create_user;
    private String create_user_name;
    private String version;//版本号
    /**
     * 患者信息
     */
    private PhthisisFollowupPatientInfoES patient;
    /**
     * 随访编号
     */
    private String number;
    /**
     * 随访日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date followup_date;
    /**
     * 随访方式:1-门诊,2-家庭
     */
    private Byte way;
    /**
     * 患者类型:1-初治,2-复治
     */
    private Byte patient_type;
    /**
     * 痰菌情况:1-阳性,2-阴性,3-未查痰
     */
    private Byte sputum_bacterium;
    /**
     * 耐药情况:1-耐药,2-非耐药,3-未检测
     */
    private Byte drug_resistant;
    /**
     * 症状及体征(,多个用逗号隔开):0-没有症状,1-咳嗽咳痰,2-低热盗汗,3-咯血或血痰,4-胸痛消瘦,5-恶心纳差,6-头痛失眠,7-视物模糊,8-皮肤瘙痒、皮疹,9-耳鸣、听力下降
     */
    private String symptom;
    /**
     * 症状及体征其他描述
     */
    private String symptom_other_desc;
    /**
     * 督导人员
     */
    private PhthisisFollowupSuperviserES superviser;
    /**
     * 用药情况
     */
    private PhthisisFollowupDrugUseES drug_use;
    /**
     * 家庭居住环境
     */
    private PhthisisFollowupHomeEnvironmentES home_environment;
    /**
     * 生活方式
     */
    private PhthisisFollowupLifeStyleES life_style;
    /**
     * 健康教育及培训
     */
    private PhthisisFollowupHealthEduES health_edu;
    /**
     * 下次随访时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private String next_followup_date;
    /**
     * 评估医生code
     */
    private String signature_doctor;
    /**
     * 评估医生签名
     */
    private String signature_doctor_name;
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public Date getCreate_time() {
        return create_time;
    }
    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
    public String getCreate_user() {
        return create_user;
    }
    public void setCreate_user(String create_user) {
        this.create_user = create_user;
    }
    public String getCreate_user_name() {
        return create_user_name;
    }
    public void setCreate_user_name(String create_user_name) {
        this.create_user_name = create_user_name;
    }
    public PhthisisFollowupPatientInfoES getPatient() {
        return patient;
    }
    public void setPatient(PhthisisFollowupPatientInfoES patient) {
        this.patient = patient;
    }
    public String getNumber() {
        return number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public Date getFollowup_date() {
        return followup_date;
    }
    public void setFollowup_date(Date followup_date) {
        this.followup_date = followup_date;
    }
    public Byte getWay() {
        return way;
    }
    public void setWay(Byte way) {
        this.way = way;
    }
    public Byte getPatient_type() {
        return patient_type;
    }
    public void setPatient_type(Byte patient_type) {
        this.patient_type = patient_type;
    }
    public Byte getSputum_bacterium() {
        return sputum_bacterium;
    }
    public void setSputum_bacterium(Byte sputum_bacterium) {
        this.sputum_bacterium = sputum_bacterium;
    }
    public Byte getDrug_resistant() {
        return drug_resistant;
    }
    public void setDrug_resistant(Byte drug_resistant) {
        this.drug_resistant = drug_resistant;
    }
    public String getSymptom() {
        return symptom;
    }
    public void setSymptom(String symptom) {
        this.symptom = symptom;
    }
    public String getSymptom_other_desc() {
        return symptom_other_desc;
    }
    public void setSymptom_other_desc(String symptom_other_desc) {
        this.symptom_other_desc = symptom_other_desc;
    }
    public PhthisisFollowupSuperviserES getSuperviser() {
        return superviser;
    }
    public void setSuperviser(PhthisisFollowupSuperviserES superviser) {
        this.superviser = superviser;
    }
    public PhthisisFollowupDrugUseES getDrug_use() {
        return drug_use;
    }
    public void setDrug_use(PhthisisFollowupDrugUseES drug_use) {
        this.drug_use = drug_use;
    }
    public PhthisisFollowupHomeEnvironmentES getHome_environment() {
        return home_environment;
    }
    public void setHome_environment(PhthisisFollowupHomeEnvironmentES home_environment) {
        this.home_environment = home_environment;
    }
    public PhthisisFollowupLifeStyleES getLife_style() {
        return life_style;
    }
    public void setLife_style(PhthisisFollowupLifeStyleES life_style) {
        this.life_style = life_style;
    }
    public PhthisisFollowupHealthEduES getHealth_edu() {
        return health_edu;
    }
    public void setHealth_edu(PhthisisFollowupHealthEduES health_edu) {
        this.health_edu = health_edu;
    }
    public String getNext_followup_date() {
        return next_followup_date;
    }
    public void setNext_followup_date(String next_followup_date) {
        this.next_followup_date = next_followup_date;
    }
    public String getSignature_doctor() {
        return signature_doctor;
    }
    public void setSignature_doctor(String signature_doctor) {
        this.signature_doctor = signature_doctor;
    }
    public String getSignature_doctor_name() {
        return signature_doctor_name;
    }
    public void setSignature_doctor_name(String signature_doctor_name) {
        this.signature_doctor_name = signature_doctor_name;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
}

+ 59 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupDrugUseES.java

@ -0,0 +1,59 @@
package com.yihu.jw.followup.phthisis_followup;
/**
 * 肺结核患者入户随访--用药情况
 */
public class PhthisisFollowupDrugUseES {
    /**
     * 用药情况-化疗方案
     */
    private String chemotherapy;
    /**
     * 用药情况-用法:1-每日,2-间歇
     */
    private String method;
    /**
     * 漏服药次数
     */
    private short forgot_take_drug_times;
    /**
     * 用药情况-药品剂型:1、固定剂量复合制剂,2-散装药,3-板式组合药,4-注射剂(多个用逗号隔开)
     */
    private String dosage_form;
    public String getChemotherapy() {
        return chemotherapy;
    }
    public void setChemotherapy(String chemotherapy) {
        this.chemotherapy = chemotherapy;
    }
    public String getMethod() {
        return method;
    }
    public void setMethod(String method) {
        this.method = method;
    }
    public String getDosage_form() {
        return dosage_form;
    }
    public void setDosage_form(String dosage_form) {
        this.dosage_form = dosage_form;
    }
    public short getForgot_take_drug_times() {
        return forgot_take_drug_times;
    }
    public void setForgot_take_drug_times(short forgot_take_drug_times) {
        this.forgot_take_drug_times = forgot_take_drug_times;
    }
}

+ 155 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupHealthEduES.java

@ -0,0 +1,155 @@
package com.yihu.jw.followup.phthisis_followup;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
/**
 * 肺结核患者入户随访--健康教育及培训
 */
public class PhthisisFollowupHealthEduES {
 /**
  * 取药地点
  */
  private String get_drug_addr;
  /**
   * 取药时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
  private Date get_drug_time;
  /**
   * 服药记录卡的填写:1-掌握,2-未掌握
   */
  private byte drug_fill_record_card;
  /**
   * 服药方法及药品存放:1-掌握,2-未掌握
   */
  private byte drug_store;
  /**
   * 肺结核治疗疗程:1-掌握,2-未掌握
   */
  private byte phthisis_treatment;
  /**
   * 不规则服药的危害:1-掌握,2-未掌握
   */
  private byte harm_of_irregular_take_drug;
  /**
   * 服药不良反应及处理:1-掌握,2-未掌握
   */
  private byte drug_bad_reaction;
  /**
   * 治疗期间复诊查痰:1-掌握,2-未掌握
   */
  private byte check_sputum_again;
  /**
   * 外出期间坚持服药:1-掌握,2-未掌握
   */
  private byte insist_take_drug;
  /**
   * 生活习惯及注意事项:1-掌握,2-未掌握
   */
  private byte life_way;
  /**
   * 密切接触患者检查:1-掌握,2-未掌握
   */
  private byte close_contact_patient;
 public String getGet_drug_addr() {
  return get_drug_addr;
 }
 public void setGet_drug_addr(String get_drug_addr) {
  this.get_drug_addr = get_drug_addr;
 }
 public Date getGet_drug_time() {
  return get_drug_time;
 }
 public void setGet_drug_time(Date get_drug_time) {
  this.get_drug_time = get_drug_time;
 }
 public byte getDrug_fill_record_card() {
  return drug_fill_record_card;
 }
 public void setDrug_fill_record_card(byte drug_fill_record_card) {
  this.drug_fill_record_card = drug_fill_record_card;
 }
 public byte getDrug_store() {
  return drug_store;
 }
 public void setDrug_store(byte drug_store) {
  this.drug_store = drug_store;
 }
 public byte getPhthisis_treatment() {
  return phthisis_treatment;
 }
 public void setPhthisis_treatment(byte phthisis_treatment) {
  this.phthisis_treatment = phthisis_treatment;
 }
 public byte getHarm_of_irregular_take_drug() {
  return harm_of_irregular_take_drug;
 }
 public void setHarm_of_irregular_take_drug(byte harm_of_irregular_take_drug) {
  this.harm_of_irregular_take_drug = harm_of_irregular_take_drug;
 }
 public byte getDrug_bad_reaction() {
  return drug_bad_reaction;
 }
 public void setDrug_bad_reaction(byte drug_bad_reaction) {
  this.drug_bad_reaction = drug_bad_reaction;
 }
 public byte getCheck_sputum_again() {
  return check_sputum_again;
 }
 public void setCheck_sputum_again(byte check_sputum_again) {
  this.check_sputum_again = check_sputum_again;
 }
 public byte getInsist_take_drug() {
  return insist_take_drug;
 }
 public void setInsist_take_drug(byte insist_take_drug) {
  this.insist_take_drug = insist_take_drug;
 }
 public byte getLife_way() {
  return life_way;
 }
 public void setLife_way(byte life_way) {
  this.life_way = life_way;
 }
 public byte getClose_contact_patient() {
  return close_contact_patient;
 }
 public void setClose_contact_patient(byte close_contact_patient) {
  this.close_contact_patient = close_contact_patient;
 }
}

+ 33 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupHomeEnvironmentES.java

@ -0,0 +1,33 @@
package com.yihu.jw.followup.phthisis_followup;
/**
 * 肺结核患者入户随访--家庭居住环境
 */
public class PhthisisFollowupHomeEnvironmentES {
    /**
     * 单独的居室:1-有,2-无
     */
    private byte seperate_room;
    /**
     * 通风情况:1-良好,2-一般,3-差
     */
    private byte air;
    public byte getSeperate_room() {
        return seperate_room;
    }
    public void setSeperate_room(byte seperate_room) {
        this.seperate_room = seperate_room;
    }
    public byte getAir() {
        return air;
    }
    public void setAir(byte air) {
        this.air = air;
    }
}

+ 59 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupLifeStyleES.java

@ -0,0 +1,59 @@
package com.yihu.jw.followup.phthisis_followup;
/**
 * 肺结核患者入户随访--生活方式
 */
public class PhthisisFollowupLifeStyleES {
 /**
  * 生活方式-吸烟量:支/天
  */
  private short smoke;
 /**
  * 生活方式-饮酒量:两/天
  */
  private short drink;
  /**
  * 生活方式-吸烟量:支/天
  */
  private short smoke_day;
 /**
  * 生活方式-饮酒量:两/天
  */
  private short drink_day;
 public short getSmoke() {
  return smoke;
 }
 public void setSmoke(short smoke) {
  this.smoke = smoke;
 }
 public short getDrink() {
  return drink;
 }
 public void setDrink(short drink) {
  this.drink = drink;
 }
 public short getSmoke_day() {
  return smoke_day;
 }
 public void setSmoke_day(short smoke_day) {
  this.smoke_day = smoke_day;
 }
 public short getDrink_day() {
  return drink_day;
 }
 public void setDrink_day(short drink_day) {
  this.drink_day = drink_day;
 }
}

+ 99 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupManagementES.java

@ -0,0 +1,99 @@
package com.yihu.jw.followup.phthisis_followup;
/**
 * 肺结核患者第N次入户随访- 全程管理情况
 */
public class PhthisisFollowupManagementES {
    /**
     * 应访视患者次数
     */
    private short plan_followup_times;
    /**
     * 实际访视次数
     */
    private short real_followup_times;
    /**
     * 患者应服药次数
     */
    private short plan_take_drug_times;
    /**
     * 实际服药次数
     */
    private short real_take_drug_times;
    /**
     * 患者服药率
     */
    private String take_drug_percent;
    /**
     * 评估医生code
     */
    private String signature_doctor;
    /**
     * 评估医生签名
     */
    private String signature_doctor_name;
    public short getPlan_followup_times() {
        return plan_followup_times;
    }
    public void setPlan_followup_times(short plan_followup_times) {
        this.plan_followup_times = plan_followup_times;
    }
    public short getReal_followup_times() {
        return real_followup_times;
    }
    public void setReal_followup_times(short real_followup_times) {
        this.real_followup_times = real_followup_times;
    }
    public short getPlan_take_drug_times() {
        return plan_take_drug_times;
    }
    public void setPlan_take_drug_times(short plan_take_drug_times) {
        this.plan_take_drug_times = plan_take_drug_times;
    }
    public short getReal_take_drug_times() {
        return real_take_drug_times;
    }
    public void setReal_take_drug_times(short real_take_drug_times) {
        this.real_take_drug_times = real_take_drug_times;
    }
    public String getTake_drug_percent() {
        return take_drug_percent;
    }
    public void setTake_drug_percent(String take_drug_percent) {
        this.take_drug_percent = take_drug_percent;
    }
    public String getSignature_doctor() {
        return signature_doctor;
    }
    public void setSignature_doctor(String signature_doctor) {
        this.signature_doctor = signature_doctor;
    }
    public String getSignature_doctor_name() {
        return signature_doctor_name;
    }
    public void setSignature_doctor_name(String signature_doctor_name) {
        this.signature_doctor_name = signature_doctor_name;
    }
}

+ 47 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupPatientInfoES.java

@ -0,0 +1,47 @@
package com.yihu.jw.followup.phthisis_followup;
/**
 * 肺结核患者第一次入户随访- 患者基本信息
 */
public class PhthisisFollowupPatientInfoES {
    /**
     * 患者姓名
     */
    private String name;
    /**
     * 患者code
     */
    private String code;
    /**
     * 患者身份证
     */
    private String idcard;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getIdcard() {
        return idcard;
    }
    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }
}

+ 34 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupStopTreateES.java

@ -0,0 +1,34 @@
package com.yihu.jw.followup.phthisis_followup;
/**
 * 肺结核患者第N次入户随访- 停止治疗
 */
public class PhthisisFollowupStopTreateES {
    /**
     * 停止治疗时间
     */
    private String date;
    /**
     * 原因 1-完成疗程,2-死亡,3-丢失,4-转入耐多药治疗
     */
    private byte reason;
    public byte getReason() {
        return reason;
    }
    public void setReason(byte reason) {
        this.reason = reason;
    }
    public String getDate() {
        return date;
    }
    public void setDate(String date) {
        this.date = date;
    }
}

+ 47 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupSuperviserES.java

@ -0,0 +1,47 @@
package com.yihu.jw.followup.phthisis_followup;
/**
 * 肺结核患者第一次入户随访- 督导人员
 */
public class PhthisisFollowupSuperviserES {
    /**
     * 督导人员类型:1-医生,2-家属,3-自服药,4-其他
     */
    private byte superviser_type;
    /**
     * 督导人员code
     */
    private String superviser_code;
    /**
     * 督导人员name
     */
    private String superviser_name;
    public byte getSuperviser_type() {
        return superviser_type;
    }
    public void setSuperviser_type(byte superviser_type) {
        this.superviser_type = superviser_type;
    }
    public String getSuperviser_code() {
        return superviser_code;
    }
    public void setSuperviser_code(String superviser_code) {
        this.superviser_code = superviser_code;
    }
    public String getSuperviser_name() {
        return superviser_name;
    }
    public void setSuperviser_name(String superviser_name) {
        this.superviser_name = superviser_name;
    }
}

+ 60 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisFollowupTransOrgES.java

@ -0,0 +1,60 @@
package com.yihu.jw.followup.phthisis_followup;
/**
 * 肺结核患者第N次入户随访- 转诊
 */
public class PhthisisFollowupTransOrgES {
    /**
     * 转诊科室code
     */
    private String dept_code;
    /**
     * 转诊科室名称
     */
    private String dept_name;
    /**
     * 原因
     */
    private String reason;
    /**
     * 2周内随访,随访结果
     */
    private String result_of_2_weeks;
    public String getDept_code() {
        return dept_code;
    }
    public void setDept_code(String dept_code) {
        this.dept_code = dept_code;
    }
    public String getDept_name() {
        return dept_name;
    }
    public void setDept_name(String dept_name) {
        this.dept_name = dept_name;
    }
    public String getReason() {
        return reason;
    }
    public void setReason(String reason) {
        this.reason = reason;
    }
    public String getResult_of_2_weeks() {
        return result_of_2_weeks;
    }
    public void setResult_of_2_weeks(String result_of_2_weeks) {
        this.result_of_2_weeks = result_of_2_weeks;
    }
}

+ 267 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisNTimesFollowupDataES.java

@ -0,0 +1,267 @@
package com.yihu.jw.followup.phthisis_followup;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.data.annotation.CreatedDate;
import java.util.Date;
/**
 * 肺结核患者第一次入户随访
 */
public class PhthisisNTimesFollowupDataES {
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyyMMdd'T'HHmmss.SSS'Z'")
    @CreatedDate
    private Date create_time;
    private String create_user;
    private String create_user_name;
    /**
     * 随访日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private Date followup_date;
    /**
     * 治疗月序
     */
    private short treate_month;
    /**
     * 随访方式:1-门诊,2-家庭
     */
    private Byte way;
    /**
     * 症状及体征(,多个用逗号隔开):0-没有症状,1-咳嗽咳痰,2-低热盗汗,3-咯血或血痰,4-胸痛消瘦,5-恶心纳差,6-头痛失眠,7-视物模糊,8-皮肤瘙痒、皮疹,9-耳鸣、听力下降
     */
    private String symptom;
    /**
     * 症状及体征其他描述
     */
    private String symptom_other_desc;
    /**
     * 督导人员
     */
    private PhthisisFollowupSuperviserES superviser;
    /**
     * 生活方式
     */
    private PhthisisFollowupLifeStyleES life_style;
    /**
     * 用药情况
     */
    private PhthisisFollowupDrugUseES drug_use;
    /**
     * 药物不良反应 1-无,2-有
     */
    private byte drug_bad_reaction;
    /**
     * 药物不良反应描述
     */
    private String drug_bad_reaction_detail;
    /**
     * 并发症 1-无,2-有
     */
    private byte complication;
    /**
     * 并发症描述
     */
    private String complication_detail;
    /**
     * 转诊
     */
    private PhthisisFollowupTransOrgES trans_org;
    /**
     * 处理意见
     */
    private String process_opinion;
    /**
     * 下次随访时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    private String next_followup_date;
    /**
     * 随访医生code
     */
    private String followup_doctor;
    /**
     * 随访医生名称
     */
    private String followup_doctor_name;
    public Date getCreate_time() {
        return create_time;
    }
    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
    public String getCreate_user() {
        return create_user;
    }
    public void setCreate_user(String create_user) {
        this.create_user = create_user;
    }
    public String getCreate_user_name() {
        return create_user_name;
    }
    public void setCreate_user_name(String create_user_name) {
        this.create_user_name = create_user_name;
    }
    public Date getFollowup_date() {
        return followup_date;
    }
    public void setFollowup_date(Date followup_date) {
        this.followup_date = followup_date;
    }
    public Byte getWay() {
        return way;
    }
    public void setWay(Byte way) {
        this.way = way;
    }
    public String getSymptom() {
        return symptom;
    }
    public void setSymptom(String symptom) {
        this.symptom = symptom;
    }
    public String getSymptom_other_desc() {
        return symptom_other_desc;
    }
    public void setSymptom_other_desc(String symptom_other_desc) {
        this.symptom_other_desc = symptom_other_desc;
    }
    public PhthisisFollowupSuperviserES getSuperviser() {
        return superviser;
    }
    public void setSuperviser(PhthisisFollowupSuperviserES superviser) {
        this.superviser = superviser;
    }
    public PhthisisFollowupDrugUseES getDrug_use() {
        return drug_use;
    }
    public void setDrug_use(PhthisisFollowupDrugUseES drug_use) {
        this.drug_use = drug_use;
    }
    public PhthisisFollowupLifeStyleES getLife_style() {
        return life_style;
    }
    public void setLife_style(PhthisisFollowupLifeStyleES life_style) {
        this.life_style = life_style;
    }
    public short getTreate_month() {
        return treate_month;
    }
    public void setTreate_month(short treate_month) {
        this.treate_month = treate_month;
    }
    public byte getDrug_bad_reaction() {
        return drug_bad_reaction;
    }
    public void setDrug_bad_reaction(byte drug_bad_reaction) {
        this.drug_bad_reaction = drug_bad_reaction;
    }
    public byte getComplication() {
        return complication;
    }
    public void setComplication(byte complication) {
        this.complication = complication;
    }
    public PhthisisFollowupTransOrgES getTrans_org() {
        return trans_org;
    }
    public void setTrans_org(PhthisisFollowupTransOrgES trans_org) {
        this.trans_org = trans_org;
    }
    public String getProcess_opinion() {
        return process_opinion;
    }
    public void setProcess_opinion(String process_opinion) {
        this.process_opinion = process_opinion;
    }
    public String getNext_followup_date() {
        return next_followup_date;
    }
    public void setNext_followup_date(String next_followup_date) {
        this.next_followup_date = next_followup_date;
    }
    public String getFollowup_doctor() {
        return followup_doctor;
    }
    public void setFollowup_doctor(String followup_doctor) {
        this.followup_doctor = followup_doctor;
    }
    public String getFollowup_doctor_name() {
        return followup_doctor_name;
    }
    public void setFollowup_doctor_name(String followup_doctor_name) {
        this.followup_doctor_name = followup_doctor_name;
    }
    public String getDrug_bad_reaction_detail() {
        return drug_bad_reaction_detail;
    }
    public void setDrug_bad_reaction_detail(String drug_bad_reaction_detail) {
        this.drug_bad_reaction_detail = drug_bad_reaction_detail;
    }
    public String getComplication_detail() {
        return complication_detail;
    }
    public void setComplication_detail(String complication_detail) {
        this.complication_detail = complication_detail;
    }
}

+ 96 - 0
common/common-entity-es/src/main/java/com/yihu/jw/followup/phthisis_followup/PhthisisNTimesFollowupES.java

@ -0,0 +1,96 @@
package com.yihu.jw.followup.phthisis_followup;
import java.util.List;
/**
 * 肺结核患者第N次入户随访
 */
public class PhthisisNTimesFollowupES {
    private String followup_id;             //随访记录ID
    private String followup_project;        //随访详情分类ID
    private String version;//版本号
    private String number;//编号
    /**
     * 患者基本信息
     */
    private PhthisisFollowupPatientInfoES patient;
    private List<PhthisisNTimesFollowupDataES> data;
    /**
     * 全程管理情况
     */
    private PhthisisFollowupManagementES management;
    /**
     * 停止治疗情况
     */
    private PhthisisFollowupStopTreateES stop_treate;
    public String getFollowup_id() {
        return followup_id;
    }
    public void setFollowup_id(String followup_id) {
        this.followup_id = followup_id;
    }
    public String getFollowup_project() {
        return followup_project;
    }
    public void setFollowup_project(String followup_project) {
        this.followup_project = followup_project;
    }
    public List<PhthisisNTimesFollowupDataES> getData() {
        return data;
    }
    public void setData(List<PhthisisNTimesFollowupDataES> data) {
        this.data = data;
    }
    public String getVersion() {
        return version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getNumber() {
        return number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public PhthisisFollowupManagementES getManagement() {
        return management;
    }
    public void setManagement(PhthisisFollowupManagementES management) {
        this.management = management;
    }
    public PhthisisFollowupStopTreateES getStop_treate() {
        return stop_treate;
    }
    public void setStop_treate(PhthisisFollowupStopTreateES stop_treate) {
        this.stop_treate = stop_treate;
    }
    public PhthisisFollowupPatientInfoES getPatient() {
        return patient;
    }
    public void setPatient(PhthisisFollowupPatientInfoES patient) {
        this.patient = patient;
    }
}

+ 2 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/UuidIdentityEntity.java

@ -5,6 +5,7 @@
 *******************************************************************************/
package com.yihu.jw.entity;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.hibernate.annotations.GenericGenerator;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
@ -19,6 +20,7 @@ import java.io.Serializable;
// JPA 基类的标识
@MappedSuperclass
@EntityListeners(AuditingEntityListener.class)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public abstract class UuidIdentityEntity implements Serializable {

+ 87 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/base/device/DeviceWxMessage.java

@ -0,0 +1,87 @@
package com.yihu.jw.entity.base.device;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by zd on 2018/01/10.
 */
@Entity
@Table(name = "wlyy_device_wx_message")
@SequenceGenerator(name = "id_generated", sequenceName = "wlyy_device_wx_message")
public class DeviceWxMessage extends IdEntity {
    private String patient;
    private String deviceName;
    private String deviceSn;
    //设备类型(1血糖仪 2血压计)
    private String categoryCode;
    private Date czrq;
    /** default constructor */
    public DeviceWxMessage() {
    }
    /** full constructor */
    public DeviceWxMessage(String patient, String deviceName, String deviceSn, String categoryCode, Date czrq) {
        this.patient = patient;
        this.deviceName = deviceName;
        this.deviceSn = deviceSn;
        this.categoryCode = categoryCode;
        this.czrq = czrq;
    }
    @Column(name = "device_name")
    public String getDeviceName() {
        return deviceName;
    }
    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }
    @Column(name = "device_sn")
    public String getDeviceSn() {
        return deviceSn;
    }
    public void setDeviceSn(String deviceSn) {
        this.deviceSn = deviceSn;
    }
    @Column(name = "patient")
    public String getPatient() {
        return patient;
    }
    public void setPatient(String patient) {
        this.patient = patient;
    }
    @Column(name = "category_code")
    public String getCategoryCode() {
        return categoryCode;
    }
    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }
    @Column(name = "czrq")
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
}

+ 98 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/base/device/DoctorHealthStandard.java

@ -0,0 +1,98 @@
package com.yihu.jw.entity.base.device;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.util.Date;
/**
 * 医生预警值方案
 * @author huangwenjie
 * @date 2017/9/14 21:08
 */
@Entity
@Table(name = "wlyy_doctor_health_standard")
@SequenceGenerator(name = "id_generated", sequenceName = "wlyy_doctor_health_standard")
public class DoctorHealthStandard extends IdEntity {
    private static final long serialVersionUID = -8343925049051333359L;
    // 患者标识
    private String doctor;
    // 健康指标类型:1血糖,2血压,3体重,4腰围
    private Integer type;
    // 最低安全值(血糖餐前\收缩压\BMI\腰围)
    private Double minValue1;
    // 最高安全值(血糖餐前\收缩压\BMI\腰围)
    private Double maxValue1;
    // 最低安全值(血糖餐后\舒张压\步数)
    private Double minValue2;
    // 最高安全值(血糖餐后\舒张压\步数)
    private Double maxValue2;
    // 设置时间
    private Date czrq;
    public String getDoctor() {
        return doctor;
    }
    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }
    public Integer getType() {
        return type;
    }
    public void setType(Integer type) {
        this.type = type;
    }
    @Column(name = "min_value_1")
    public Double getMinValue1() {
        return minValue1;
    }
    public void setMinValue1(Double minValue) {
        this.minValue1 = minValue;
    }
    @Column(name = "max_value_1")
    public Double getMaxValue1() {
        return maxValue1;
    }
    public void setMaxValue1(Double maxValue) {
        this.maxValue1 = maxValue;
    }
    @Column(name = "min_value_2")
    public Double getMinValue2() {
        return minValue2;
    }
    public void setMinValue2(Double minValue) {
        this.minValue2 = minValue;
    }
    @Column(name = "max_value_2")
    public Double getMaxValue2() {
        return maxValue2;
    }
    public void setMaxValue2(Double maxValue) {
        this.maxValue2 = maxValue;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
}

+ 108 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/base/device/PatientAimBloodPressure.java

@ -0,0 +1,108 @@
package com.yihu.jw.entity.base.device;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.*;
import java.util.Date;
/**
 * 患者监测目标-血压
 * @author huangwenjie
 * @date 2017/9/7 20:07
 */
@Entity
@Table(name = "wlyy_patient_aim_blood_pressure")
@SequenceGenerator(name = "id_generated", sequenceName = "wlyy_patient_aim_blood_pressure")
public class PatientAimBloodPressure extends IdEntity {
    private String code;
    private String patientcode;
    private String sbp;
    private String dbp;
    private String sbpMin;
    private String dbpMin;
    private String unit;
    private Date createTime;
    @Basic
    @Column(name = "code")
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    @Basic
    @Column(name = "patientcode")
    public String getPatientcode() {
        return patientcode;
    }
    public void setPatientcode(String patientcode) {
        this.patientcode = patientcode;
    }
    @Basic
    @Column(name = "sbp")
    public String getSbp() {
        return sbp;
    }
    public void setSbp(String sbp) {
        this.sbp = sbp;
    }
    @Basic
    @Column(name = "dbp")
    public String getDbp() {
        return dbp;
    }
    public void setDbp(String dbp) {
        this.dbp = dbp;
    }
    @Basic
    @Column(name = "sbp_min")
    public String getSbpMin() {
        return sbpMin;
    }
    public void setSbpMin(String sbpMin) {
        this.sbpMin = sbpMin;
    }
    @Basic
    @Column(name = "dbp_min")
    public String getDbpMin() {
        return dbpMin;
    }
    public void setDbpMin(String dbpMin) {
        this.dbpMin = dbpMin;
    }
    @Basic
    @Column(name = "unit")
    public String getUnit() {
        return unit;
    }
    public void setUnit(String unit) {
        this.unit = unit;
    }
    @Basic
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}

+ 94 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/base/device/PatientAimBloodSugger.java

@ -0,0 +1,94 @@
package com.yihu.jw.entity.base.device;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.util.Date;
/**
 * 患者监测目标-血糖
 * @author huangwenjie
 * @date 2017/9/7 20:07
 */
@Entity
@Table(name = "wlyy_patient_aim_blood_sugger")
@SequenceGenerator(name = "id_generated", sequenceName = "wlyy_patient_aim_blood_sugger")
public class PatientAimBloodSugger extends IdEntity {
    private String code;
    private String patientcode;
    private String fbg;
    private String hpg;
    private String fbgMin;
    private String hpgMin;
    private String unit;
    private Date createTime;
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getPatientcode() {
        return patientcode;
    }
    public void setPatientcode(String patientcode) {
        this.patientcode = patientcode;
    }
    public String getFbg() {
        return fbg;
    }
    public void setFbg(String fbg) {
        this.fbg = fbg;
    }
    public String getHpg() {
        return hpg;
    }
    public void setHpg(String hpg) {
        this.hpg = hpg;
    }
    public String getHpgMin() {
        return hpgMin;
    }
    public void setHpgMin(String hpgMin) {
        this.hpgMin = hpgMin;
    }
    public String getFbgMin() {
        return fbgMin;
    }
    public void setFbgMin(String fbgMin) {
        this.fbgMin = fbgMin;
    }
    public String getUnit() {
        return unit;
    }
    public void setUnit(String unit) {
        this.unit = unit;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}

+ 97 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/base/device/PatientAimSports.java

@ -0,0 +1,97 @@
package com.yihu.jw.entity.base.device;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.*;
import java.util.Date;
/**
 * 患者监测目标-运动
 * @author huangwenjie
 * @date 2017/9/7 20:07
 */
@Entity
@Table(name = "wlyy_patient_aim_sports")
@SequenceGenerator(name = "id_generated", sequenceName = "wlyy_patient_aim_sports")
public class PatientAimSports extends IdEntity {
    private String code;                //业务逻辑CODE,如果CODE为default,则该条记录为系统预置数据
    private String patientcode;         //患者CODE
    private Integer dailyStepCount;     //运动步数
    private String bmiMax;              //bmi标准上限
    private String bmiMin;              //bmi标准下线
    private String createDate;      //上传日期
    private Date createTime;       //创建时间
    @Basic
    @Column(name = "code")
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    @Basic
    @Column(name = "patientcode")
    public String getPatientcode() {
        return patientcode;
    }
    public void setPatientcode(String patientcode) {
        this.patientcode = patientcode;
    }
    @Basic
    @Column(name = "daily_step_count")
    public Integer getDailyStepCount() {
        return dailyStepCount;
    }
    public void setDailyStepCount(Integer dailyStepCount) {
        this.dailyStepCount = dailyStepCount;
    }
    @Basic
    @Column(name = "bmi_max")
    public String getBmiMax() {
        return bmiMax;
    }
    public void setBmiMax(String bmiMax) {
        this.bmiMax = bmiMax;
    }
    @Basic
    @Column(name = "bmi_min")
    public String getBmiMin() {
        return bmiMin;
    }
    public void setBmiMin(String bmiMin) {
        this.bmiMin = bmiMin;
    }
    @Basic
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    @Basic
    @Column(name = "create_date")
    public String getCreateDate() {
        return createDate;
    }
    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }
}

+ 229 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/base/device/PatientBloodSugger.java

@ -0,0 +1,229 @@
package com.yihu.jw.entity.base.device;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by Reece on 2017/5/11.
 */
@Entity
@Table(name = "wlyy_patient_blood_sugger")
@SequenceGenerator(name = "id_generated", sequenceName = "wlyy_patient_blood_sugger")
public class PatientBloodSugger extends IdEntity {
    //    早餐前开始时间
    private String fastingStart;
    //    '早餐前截止时间'
    private String fastingEnd;
    //    '早餐后开始时间'
    private String afterBreakfastStart;
    //    '早餐后截止时间'
    private String afterBreakfastEnd;
    //    '午餐前开始时间'
    private String beforeLunchStart;
    //    '午餐前截止时间'
    private String beforeLunchEnd;
    //    '午餐后开始时间'
    private String afterLunchStart;
    //    '午餐后截止时间'
    private String afterLunchEnd;
    //    '晚餐前开始时间'
    private String beforeDinnerStart;
    //    '晚餐前截止时间'
    private String beforeDinnerEnd;
    //    '晚餐后开始时间'
    private String afterDinnerStart;
    //    '晚餐后截止时间'
    private String afterDinnerEnd;
    //    '睡前开始时间'
    private String beforeSleepStart;
    //    '睡前截止时间'
    private String beforeSleepEnd;
    //    '添加时间'
    private Date czrq;
    //    是否作废,1正常,0作废
    private int del;
    public PatientBloodSugger() {
    }
    @Column(name = "fasting_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getFastingStart() {
        return fastingStart;
    }
    public void setFastingStart(String fastingStart) {
        this.fastingStart = fastingStart;
    }
    @Column(name = "fasting_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getFastingEnd() {
        return fastingEnd;
    }
    public void setFastingEnd(String fastingEnd) {
        this.fastingEnd = fastingEnd;
    }
    @Column(name = "after_breakfast_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterBreakfastStart() {
        return afterBreakfastStart;
    }
    public void setAfterBreakfastStart(String afterBreakfastStart) {
        this.afterBreakfastStart = afterBreakfastStart;
    }
    @Column(name = "after_breakfast_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterBreakfastEnd() {
        return afterBreakfastEnd;
    }
    public void setAfterBreakfastEnd(String afterBreakfastEnd) {
        this.afterBreakfastEnd = afterBreakfastEnd;
    }
    @Column(name = "before_lunch_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeLunchStart() {
        return beforeLunchStart;
    }
    public void setBeforeLunchStart(String beforeLunchStart) {
        this.beforeLunchStart = beforeLunchStart;
    }
    @Column(name = "before_lunch_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeLunchEnd() {
        return beforeLunchEnd;
    }
    public void setBeforeLunchEnd(String beforeLunchEnd) {
        this.beforeLunchEnd = beforeLunchEnd;
    }
    @Column(name = "after_lunch_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterLunchStart() {
        return afterLunchStart;
    }
    public void setAfterLunchStart(String afterLunchStart) {
        this.afterLunchStart = afterLunchStart;
    }
    @Column(name = "after_lunch_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterLunchEnd() {
        return afterLunchEnd;
    }
    public void setAfterLunchEnd(String afterLunchEnd) {
        this.afterLunchEnd = afterLunchEnd;
    }
    @Column(name = "before_dinner_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeDinnerStart() {
        return beforeDinnerStart;
    }
    public void setBeforeDinnerStart(String beforeDinnerStart) {
        this.beforeDinnerStart = beforeDinnerStart;
    }
    @Column(name = "before_dinner_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeDinnerEnd() {
        return beforeDinnerEnd;
    }
    public void setBeforeDinnerEnd(String beforeDinnerEnd) {
        this.beforeDinnerEnd = beforeDinnerEnd;
    }
    @Column(name = "after_dinner_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterDinnerStart() {
        return afterDinnerStart;
    }
    public void setAfterDinnerStart(String afterDinnerStart) {
        this.afterDinnerStart = afterDinnerStart;
    }
    @Column(name = "after_dinner_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterDinnerEnd() {
        return afterDinnerEnd;
    }
    public void setAfterDinnerEnd(String afterDinnerEnd) {
        this.afterDinnerEnd = afterDinnerEnd;
    }
    @Column(name = "before_sleep_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeSleepStart() {
        return beforeSleepStart;
    }
    public void setBeforeSleepStart(String beforeSleepStart) {
        this.beforeSleepStart = beforeSleepStart;
    }
    @Column(name = "before_sleep_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeSleepEnd() {
        return beforeSleepEnd;
    }
    public void setBeforeSleepEnd(String beforeSleepEnd) {
        this.beforeSleepEnd = beforeSleepEnd;
    }
    @Column(name = "czrq")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
    public int getDel() {
        return del;
    }
    public void setDel(int del) {
        this.del = del;
    }
}

+ 113 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/base/device/PatientHealthStandard.java

@ -0,0 +1,113 @@
package com.yihu.jw.entity.base.device;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.util.Date;
/**
 * 患者健康指标预警值
 * @author George
 *
 */
@Entity
@Table(name = "wlyy_patient_health_standard")
@SequenceGenerator(name = "id_generated", sequenceName = "wlyy_patient_blood_sugger")
public class PatientHealthStandard extends IdEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8343925049051333359L;
	
	// 患者标识
	private String patient;
	// 健康指标类型:1血糖,2血压,3体重,4腰围
	private Integer type;
	// 最低安全值(血糖餐前\收缩压\体重\腰围)
	private Double minValue1;
	// 最高安全值(血糖餐前\收缩压\体重\腰围)
	private Double maxValue1;
	// 最低安全值(血糖餐后\舒张压)
	private Double minValue2;
	// 最高安全值(血糖餐后\舒张压)
	private Double maxValue2;
	// 设置医生
	private String doctor;
	// 设置时间
	private Date czrq;
	public String getPatient() {
		return patient;
	}
	public void setPatient(String patient) {
		this.patient = patient;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	@Column(name = "min_value_1")
	public Double getMinValue1() {
		return minValue1;
	}
	public void setMinValue1(Double minValue) {
		this.minValue1 = minValue;
	}
	@Column(name = "max_value_1")
	public Double getMaxValue1() {
		return maxValue1;
	}
	public void setMaxValue1(Double maxValue) {
		this.maxValue1 = maxValue;
	}
	
	@Column(name = "min_value_2")
	public Double getMinValue2() {
		return minValue2;
	}
	public void setMinValue2(Double minValue) {
		this.minValue2 = minValue;
	}
	@Column(name = "max_value_2")
	public Double getMaxValue2() {
		return maxValue2;
	}
	public void setMaxValue2(Double maxValue) {
		this.maxValue2 = maxValue;
	}
	public String getDoctor() {
		return doctor;
	}
	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
}

+ 251 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/base/device/PatientHealthTime.java

@ -0,0 +1,251 @@
package com.yihu.jw.entity.base.device;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by Reece on 2017/5/11.
 */
@Entity
@Table(name = "wlyy_patient_health_time")
@SequenceGenerator(name = "id_generated", sequenceName = "wlyy_patient_health_time")
public class PatientHealthTime extends IdEntity {
    //    居民
    private String user;
    //    设备sn码
    private String deviceSN;
    //    早餐前开始时间
    private String fastingStart;
    //    '早餐前截止时间'
    private String fastingEnd;
    //    '早餐后开始时间'
    private String afterBreakfastStart;
    //    '早餐后截止时间'
    private String afterBreakfastEnd;
    //    '午餐前开始时间'
    private String beforeLunchStart;
    //    '午餐前截止时间'
    private String beforeLunchEnd;
    //    '午餐后开始时间'
    private String afterLunchStart;
    //    '午餐后截止时间'
    private String afterLunchEnd;
    //    '晚餐前开始时间'
    private String beforeDinnerStart;
    //    '晚餐前截止时间'
    private String beforeDinnerEnd;
    //    '晚餐后开始时间'
    private String afterDinnerStart;
    //    '晚餐后截止时间'
    private String afterDinnerEnd;
    //    '睡前开始时间'
    private String beforeSleepStart;
    //    '睡前截止时间'
    private String beforeSleepEnd;
    //    '添加时间'
    private Date czrq;
    //    是否作废,1正常,0作废
    private int del;
    public PatientHealthTime() {
    }
    @Column(name = "user")
    public String getUser() {
        return user;
    }
    public void setUser(String user) {
        this.user = user;
    }
    @Column(name = "device_sn")
    public String getDeviceSN() {
        return deviceSN;
    }
    public void setDeviceSN(String deviceSN) {
        this.deviceSN = deviceSN;
    }
    @Column(name = "fasting_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getFastingStart() {
        return fastingStart;
    }
    public void setFastingStart(String fastingStart) {
        this.fastingStart = fastingStart;
    }
    @Column(name = "fasting_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getFastingEnd() {
        return fastingEnd;
    }
    public void setFastingEnd(String fastingEnd) {
        this.fastingEnd = fastingEnd;
    }
    @Column(name = "after_breakfast_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterBreakfastStart() {
        return afterBreakfastStart;
    }
    public void setAfterBreakfastStart(String afterBreakfastStart) {
        this.afterBreakfastStart = afterBreakfastStart;
    }
    @Column(name = "after_breakfast_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterBreakfastEnd() {
        return afterBreakfastEnd;
    }
    public void setAfterBreakfastEnd(String afterBreakfastEnd) {
        this.afterBreakfastEnd = afterBreakfastEnd;
    }
    @Column(name = "before_lunch_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeLunchStart() {
        return beforeLunchStart;
    }
    public void setBeforeLunchStart(String beforeLunchStart) {
        this.beforeLunchStart = beforeLunchStart;
    }
    @Column(name = "before_lunch_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeLunchEnd() {
        return beforeLunchEnd;
    }
    public void setBeforeLunchEnd(String beforeLunchEnd) {
        this.beforeLunchEnd = beforeLunchEnd;
    }
    @Column(name = "after_lunch_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterLunchStart() {
        return afterLunchStart;
    }
    public void setAfterLunchStart(String afterLunchStart) {
        this.afterLunchStart = afterLunchStart;
    }
    @Column(name = "after_lunch_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterLunchEnd() {
        return afterLunchEnd;
    }
    public void setAfterLunchEnd(String afterLunchEnd) {
        this.afterLunchEnd = afterLunchEnd;
    }
    @Column(name = "before_dinner_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeDinnerStart() {
        return beforeDinnerStart;
    }
    public void setBeforeDinnerStart(String beforeDinnerStart) {
        this.beforeDinnerStart = beforeDinnerStart;
    }
    @Column(name = "before_dinner_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeDinnerEnd() {
        return beforeDinnerEnd;
    }
    public void setBeforeDinnerEnd(String beforeDinnerEnd) {
        this.beforeDinnerEnd = beforeDinnerEnd;
    }
    @Column(name = "after_dinner_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterDinnerStart() {
        return afterDinnerStart;
    }
    public void setAfterDinnerStart(String afterDinnerStart) {
        this.afterDinnerStart = afterDinnerStart;
    }
    @Column(name = "after_dinner_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getAfterDinnerEnd() {
        return afterDinnerEnd;
    }
    public void setAfterDinnerEnd(String afterDinnerEnd) {
        this.afterDinnerEnd = afterDinnerEnd;
    }
    @Column(name = "before_sleep_start")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeSleepStart() {
        return beforeSleepStart;
    }
    public void setBeforeSleepStart(String beforeSleepStart) {
        this.beforeSleepStart = beforeSleepStart;
    }
    @Column(name = "before_sleep_end")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08:00")
    public String getBeforeSleepEnd() {
        return beforeSleepEnd;
    }
    public void setBeforeSleepEnd(String beforeSleepEnd) {
        this.beforeSleepEnd = beforeSleepEnd;
    }
    @Column(name = "czrq")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
    public int getDel() {
        return del;
    }
    public void setDel(int del) {
        this.del = del;
    }
}

+ 100 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/base/dict/DmDrugsGroupItem.java

@ -0,0 +1,100 @@
package com.yihu.jw.entity.base.dict;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
/**
 * 药品分组管理
 * hzp add 20161207
 */
@Entity
@Table(name = "dm_drugs_group_item")
@SequenceGenerator(name="id_generated", sequenceName="dm_drugs_group_item")
public class DmDrugsGroupItem extends IdEntity {
	private String groupCode;// 分组代码
	private String groupName;// 分组名称
	private String drugsCode;// 药品代码
	private String drugsName;// 药品名称
	private String drugsUnit;// 用药单位【字典MEASURE_UNIT_DICT】
	private String drugsQpy;// 药品名称全拼
	private String drugsSpy;// 药品名称首拼
	private Integer order; //排序
	private String status;// 是否有效
	public String getGroupCode() {
		return groupCode;
	}
	public void setGroupCode(String groupCode) {
		this.groupCode = groupCode;
	}
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public String getDrugsCode() {
		return drugsCode;
	}
	public void setDrugsCode(String drugsCode) {
		this.drugsCode = drugsCode;
	}
	public String getDrugsName() {
		return drugsName;
	}
	public void setDrugsName(String drugsName) {
		this.drugsName = drugsName;
	}
	public String getDrugsUnit() {
		return drugsUnit;
	}
	public void setDrugsUnit(String drugsUnit) {
		this.drugsUnit = drugsUnit;
	}
	public String getDrugsQpy() {
		return drugsQpy;
	}
	public void setDrugsQpy(String drugsQpy) {
		this.drugsQpy = drugsQpy;
	}
	public String getDrugsSpy() {
		return drugsSpy;
	}
	public void setDrugsSpy(String drugsSpy) {
		this.drugsSpy = drugsSpy;
	}
	public Integer getOrder() {
		return order;
	}
	public void setOrder(Integer order) {
		this.order = order;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
}

+ 114 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/base/org/OrgAddress.java

@ -0,0 +1,114 @@
package com.yihu.jw.entity.base.org;
import javax.persistence.*;
/***
 * @ClassName: OrgAddress
 * @Description:    机构中心地址,供顺丰取药使用
 * @Auther: shi kejing
 * @Date: 2021/3/9 10:42
 */
@Entity
@Table(name = "wlyy_org_address")
@SequenceGenerator(name="id_generated", sequenceName="wlyy_org_address")
public class OrgAddress {
    /**
     *
     *
     * 由于该表数据通过智业字典同步过来,会删除原数据
     * 如果新增字段 涉及的wlyy、job、manage均需要发布
     *
     **/
    private Long id;
    private String hospitalCode;
    private String orgCode;
    private String deptCode;
    private String deptName;
    private String orgAddress;
    private Integer del;
    private String phone;//药房联系电话
    /**
     *
     *
     * 由于该表数据通过智业字典同步过来,会删除原数据
     * 如果新增字段 涉及的wlyy、job、manage的entity均需要发布
     *
     **/
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getHospitalCode() {
        return hospitalCode;
    }
    public void setHospitalCode(String hospitalCode) {
        this.hospitalCode = hospitalCode;
    }
    public String getOrgCode() {
        return orgCode;
    }
    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }
    public String getDeptCode() {
        return deptCode;
    }
    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }
    public String getDeptName() {
        return deptName;
    }
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
    public String getOrgAddress() {
        return orgAddress;
    }
    public void setOrgAddress(String orgAddress) {
        this.orgAddress = orgAddress;
    }
    public Integer getDel() {
        return del;
    }
    public void setDel(Integer del) {
        this.del = del;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
}

+ 23 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/base/patient/BasePatientDO.java

@ -303,6 +303,11 @@ public class BasePatientDO extends UuidIdentityEntityWithOperator {
    private String verifyCode;//眼科token
    // 病情:0绿标,1黄标,2红标
    private Integer diseaseCondition;
    //外部数据-年龄数据
    private Integer age;
    @Column(name = "medical_state")
    public String getMedicalState() {
@ -958,4 +963,22 @@ public class BasePatientDO extends UuidIdentityEntityWithOperator {
    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }
    @Column(name="disease_condition")
    public Integer getDiseaseCondition() {
        return diseaseCondition;
    }
    public void setDiseaseCondition(Integer diseaseCondition) {
        this.diseaseCondition = diseaseCondition;
    }
    @Transient
    public Integer getAge() {
        return age;
    }
    public void setAge(Integer age) {
        this.age = age;
    }
}

+ 59 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/care/device/DeviceCategory.java

@ -0,0 +1,59 @@
package com.yihu.jw.entity.care.device;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.util.Date;
/**
 * 设备分类表
 */
@Entity
@Table(name = "dm_device_category")
@SequenceGenerator(name="id_generated", sequenceName="dm_device_category")
public class DeviceCategory extends IdEntity {
	// 设备类型标识
	private String code;
	// 设备类型名称
	private String name;
	// 操作时间
	private Date czrq;
	private String del;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
	public Date getCzrq() {
		return czrq;
	}
	public void setCzrq(Date czrq) {
		this.czrq = czrq;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
}

+ 45 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/followup/Followup.java

@ -86,6 +86,8 @@ public class Followup extends IntegerIdentityEntity {
	private List<Map<String,Object>> followupLabelPatient;
	//居民头像
	private String photo;
	private String followupTypeName;
	private String followupClassName;
	//随访类型1、新增随访、2临时随访、3入户访视
	private Integer type;
	//随访角色【FAMILY_WORK_TYPE_DICT】【1. 专科医生 2. 全科医生 3. 健康管理师】
@ -96,6 +98,9 @@ public class Followup extends IntegerIdentityEntity {
	private String ruralDoctorsFlag;//是否乡医【0.否;1.是;】
	private Integer doctorReadStatus;
	private Integer patientReadStatus;
	private Integer bdStatus;//bd_status
	private Integer pgStatus;//pg_status
	private String visitCount;//访视次序 (中度到重度慢阻肺)
	@Column(name = "doctor_read_status")
	public Integer getDoctorReadStatus() {
@ -436,4 +441,44 @@ public class Followup extends IntegerIdentityEntity {
		this.ruralDoctorsFlag = ruralDoctorsFlag;
	}
	@Transient
	public String getFollowupTypeName() {
		return followupTypeName;
	}
	public void setFollowupTypeName(String followupTypeName) {
		this.followupTypeName = followupTypeName;
	}
	@Transient
	public String getFollowupClassName() {
		return followupClassName;
	}
	public void setFollowupClassName(String followupClassName) {
		this.followupClassName = followupClassName;
	}
	public Integer getBdStatus() {
		return bdStatus;
	}
	public void setBdStatus(Integer bdStatus) {
		this.bdStatus = bdStatus;
	}
	public Integer getPgStatus() {
		return pgStatus;
	}
	public void setPgStatus(Integer pgStatus) {
		this.pgStatus = pgStatus;
	}
	public String getVisitCount() {
		return visitCount;
	}
	public void setVisitCount(String visitCount) {
		this.visitCount = visitCount;
	}
}

+ 5 - 5
common/common-entity/src/main/java/com/yihu/jw/entity/followup/FollowupSign.java

@ -1,7 +1,7 @@
package com.yihu.jw.entity.followup;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.IntegerIdentityEntity;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
@ -14,10 +14,10 @@ import java.util.Date;
@Entity
@Table(name = "wlyy_followup_sign")
@SequenceGenerator(name="id_generated", sequenceName="seq_wlyy_followup_sign")
public class FollowupSign extends IntegerIdentityEntity {
public class FollowupSign extends IdEntity {
    private String code;//
    private Integer followupId;//随访id',
    private Long followupId;//随访id',
    private String type;//签到方式1.定位,2.拍照,3.门牌',
    private String doctor;//医生',
    private String doctorName;//医生姓名',
@ -53,11 +53,11 @@ public class FollowupSign extends IntegerIdentityEntity {
        this.code = code;
    }
    public Integer getFollowupId() {
    public Long getFollowupId() {
        return followupId;
    }
    public void setFollowupId(Integer followupId) {
    public void setFollowupId(Long followupId) {
        this.followupId = followupId;
    }

+ 39 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/hospital/message/SystemMessageDO.java

@ -38,6 +38,36 @@ public class SystemMessageDO extends UuidIdentityEntity {
     *
     * 类型详情见 base_system_message_type
     */
    /** type
     *  消息类型(1.是家庭签约信息  2.体征消息  3分配健管师 4.随访提醒 5.咨询回复提醒,6.续方咨询待审核提醒,7.续方消息待取药
     *  8.续方支付成功后团队长分配健管师,9线下调整完成,10意见反馈 11账号申诉,12.协同服务 13.孕检提醒 14.文章提交审核消息  15、健康文章审核结果
     *  16.专科医生申请签约消息,17、家庭医生转诊预约消息,18、专科医生共管通知,:19 受理提醒,20 待办工作提醒 21 服务进展提醒-已完成 22 服务进展提醒-未完成
     *  23 服务进展提醒-待完成 24 收到协同任务 25 在线助手已接收 26 在线助手已退回 27 协同服务已完成  28 居民生日提醒 29 康复计划-中止消息 30 健康文章审核不通过
     *  31 在线复诊咨询待审核提醒 33 续方支付完成提醒医生 34 远程协诊提醒医生 35疾病筛查通知 36康复下转居民推送提醒
     *  101患者申请取消签约、102患者同意取消签约、103患者拒绝取消签约、104患者填写了血糖记录、105患者填写了血压记录、106患者填写了体重记录、
     *  107患者填写了腰围记录、108患者填写了运动记录、109患者填写了用药记录、110患者填写了饮食记录、111患者提交了问卷随访、112请求添加好友消息、
     *  113入群消息、114群解散消息、115踢出群消息、116新的网络咨询、117网络咨询追问、
     *  201医生拒绝签约、202医生同意签约、203医生申请取消签约、204医生同意取消签约、205医生拒绝取消签约、206新的问卷随访、207新的健康干预、
     *  208请求添加好友消息、209入群消息、210群解散消息、211踢出群消息、212聊天消息提醒、213群聊天消息、214医生回复了网络咨询、215请求添加为家人)
     *	301解绑消息 302解绑审核消息
     * 	401居民资质审核-调度员
     * 上门服务工单- 首页 -调度员:
     * 			402 服务工单派单(新增预约)403 代预约服务工单重新派单
     * 			404 服务工单拒单待重新派单
     * 上门服务工单-医生:
     * 			407 服务工单待接单
     * 上门服务工单-派单-实时工单消息-调度员:
     *          430 居民提交工单申请                -- 张三提交了服务工单12345678申请
     *          431 调度员派单(派给本社区医生)      -- 李四已将服务工单12345678指派给王五医生
     *          432 调度员拒单                      -- 李四拒绝了张三的服务工单12345678
     *          433 调度员派单(转给其他机构)        -- 李四已将服务工单12345678]转给中山医院
     *          434 医生接单                        -- 王五接受了服务工单12345678
     *          435 医生拒单                        -- 王五拒绝了服务工单12345678
     *          408居民资质审核-家医
     *          409 ca认证消息
     *  500 发起协同门诊
     *  600 病情跟踪
     */
    private String type;
    /**
     *消息标题
@ -95,6 +125,7 @@ public class SystemMessageDO extends UuidIdentityEntity {
    private String senderPhoto;
    private String audioUrl; //音频地址
    private String prescriptionStatus;//type=6续方审核状态 0待审核,1审核通过,2审核失败,3居民取消|type=7续方状态 0待取药,1已取药
    @Column(name = "audio_url")
    public String getAudioUrl() {
@ -258,4 +289,12 @@ public class SystemMessageDO extends UuidIdentityEntity {
    public void setCode(String code) {
        this.code = code;
    }
    public String getPrescriptionStatus() {
        return prescriptionStatus;
    }
    public void setPrescriptionStatus(String prescriptionStatus) {
        this.prescriptionStatus = prescriptionStatus;
    }
}

+ 83 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/hospital/prescription/PrescriptionAdjust.java

@ -0,0 +1,83 @@
package com.yihu.jw.entity.hospital.prescription;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by Administrator on 2017/7/21.
 * 处方调整记录表
 */
@Entity
@Table(name = "wlyy_prescription_adjust")
@SequenceGenerator(name="id_generated", sequenceName="wlyy_prescription_adjust")
public class PrescriptionAdjust extends IdEntity {
    private String code;                    //业务主键
    private String prescriptionCode;// 处方code
    private Date createTime;               //调整时间
    private String reason;                      //调整原因
    private String userCode;    //调整用户code
    private String userName;    //调整用户名称
    private String userType;// 1医生 2患者
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getPrescriptionCode() {
        return prescriptionCode;
    }
    public void setPrescriptionCode(String prescriptionCode) {
        this.prescriptionCode = prescriptionCode;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getReason() {
        return reason;
    }
    public void setReason(String reason) {
        this.reason = reason;
    }
    public String getUserCode() {
        return userCode;
    }
    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getUserType() {
        return userType;
    }
    public void setUserType(String userType) {
        this.userType = userType;
    }
}

+ 82 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/hospital/prescription/PrescriptionAdjustReason.java

@ -0,0 +1,82 @@
package com.yihu.jw.entity.hospital.prescription;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by Trick on 2017/8/26.
 */
@Entity
@Table(name = "wlyy_prescription_adjust_reason")
@SequenceGenerator(name="id_generated", sequenceName="wlyy_prescription_adjust_reason")
public class PrescriptionAdjustReason extends IdEntity {
    private String code;//业务CODE
    private String prescriptionCode;//续方code
    private String adjustCode;//调整code
    private String reasonCode;//调整原因code
    private String reasonValue;//调整原因code
    private Date createTime;//创建时间
    private Date updateTime;//更新时间
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getPrescriptionCode() {
        return prescriptionCode;
    }
    public void setPrescriptionCode(String prescriptionCode) {
        this.prescriptionCode = prescriptionCode;
    }
    public String getAdjustCode() {
        return adjustCode;
    }
    public void setAdjustCode(String adjustCode) {
        this.adjustCode = adjustCode;
    }
    public String getReasonCode() {
        return reasonCode;
    }
    public void setReasonCode(String reasonCode) {
        this.reasonCode = reasonCode;
    }
    public String getReasonValue() {
        return reasonValue;
    }
    public void setReasonValue(String reasonValue) {
        this.reasonValue = reasonValue;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}

+ 79 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/hospital/prescription/PrescriptionDispensaryCode.java

@ -0,0 +1,79 @@
package com.yihu.jw.entity.hospital.prescription;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by Administrator on 2017/7/21.
 * 处方编码表
 */
@Entity
@Table(name = "wlyy_prescription_dispensary_code")
@SequenceGenerator(name="id_generated", sequenceName="wlyy_prescription_dispensary_code")
public class PrescriptionDispensaryCode extends IdEntity {
    private String code;                    //年月日8位数字+6位随机数字
    private String prescriptionCode;      //处方code  关联表wlyy_prescription id
    private Date createTime;               //创建时间
    private Integer type;                   //编码类型:1 居民取药码 2 配送员取药码 3 配送员配送码
    private String imgUrl;                  //图片存在FastFDS的路径
    private Integer isUse;//是否使用 1是 0否
    @Column(name = "code", unique = true , nullable=false)
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    @Column(name = "prescription_code")
    public String getPrescriptionCode() {
        return prescriptionCode;
    }
    public void setPrescriptionCode(String prescriptionCode) {
        this.prescriptionCode = prescriptionCode;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Integer getType() {
        return type;
    }
    public void setType(Integer type) {
        this.type = type;
    }
    public String getImgUrl() {
        return imgUrl;
    }
    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }
    public Integer getIsUse() {
        return isUse;
    }
    public void setIsUse(Integer isUse) {
        this.isUse = isUse;
    }
}

+ 107 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/hospital/prescription/PrescriptionFollowupContent.java

@ -0,0 +1,107 @@
package com.yihu.jw.entity.hospital.prescription;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.*;
import java.util.Date;
/**
 * 续方咨询随访问卷表
 * @author huangwenjie
 * @date 2017/11/1 12:05
 */
@Entity
@Table(name = "wlyy_prescription_followup_content")
@SequenceGenerator(name="id_generated", sequenceName="wlyy_prescription_followup_content")
public class PrescriptionFollowupContent extends IdEntity {
	private String code;
	private String prescriptionCode;  //续方COE
	private String followupId;        //随访记录ID
	private String followupProject;   //随访问卷详情类型ID(目前有1-10,和随访信息详情分类一致)
	private String followupKey;       //随访问卷详情指标KEY(和随访记录一致)
	private String followupValue;     //随访问卷详情指标值(和随访记录一致)
	private String patientCode;       //患者CODE
	private Date createTime;
	
	@Basic
	@Column(name = "code")
	public String getCode() {
		return code;
	}
	
	public void setCode(String code) {
		this.code = code;
	}
	
	@Basic
	@Column(name = "prescription_code")
	public String getPrescriptionCode() {
		return prescriptionCode;
	}
	
	public void setPrescriptionCode(String prescriptionCode) {
		this.prescriptionCode = prescriptionCode;
	}
	
	@Basic
	@Column(name = "followup_id")
	public String getFollowupId() {
		return followupId;
	}
	
	public void setFollowupId(String followupId) {
		this.followupId = followupId;
	}
	
	@Basic
	@Column(name = "followup_project")
	public String getFollowupProject() {
		return followupProject;
	}
	
	public void setFollowupProject(String followupProject) {
		this.followupProject = followupProject;
	}
	
	@Basic
	@Column(name = "followup_key")
	public String getFollowupKey() {
		return followupKey;
	}
	
	public void setFollowupKey(String followupKey) {
		this.followupKey = followupKey;
	}
	
	@Basic
	@Column(name = "followup_value")
	public String getFollowupValue() {
		return followupValue;
	}
	
	public void setFollowupValue(String followupValue) {
		this.followupValue = followupValue;
	}
	
	@Basic
	@Column(name = "create_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	@Basic
	@Column(name = "patient_code")
	public String getPatientCode() {
		return patientCode;
	}
	
	public void setPatientCode(String patientCode) {
		this.patientCode = patientCode;
	}
}

+ 480 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/hospital/prescription/PrescriptionPay.java

@ -0,0 +1,480 @@
package com.yihu.jw.entity.hospital.prescription;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by chenweida on 2017/7/26.
 * 处方支付实体
 */
@Entity
@Table(name = "wlyy_prescription_pay")
@SequenceGenerator(name="id_generated", sequenceName="wlyy_prescription_pay")
public class PrescriptionPay extends IdEntity {
    private String code;//接入应用业务流水号outChargeNo
    private String prescriptionCode;//开处方的医生code 关联 wlyy_prescription
    private Integer type;//1 医保支付 2基卫线下支付 3自费支付
    private Date outChargeTime;//接入应用时间
    private String channel;//支付方式
    private String chargeNo;//支付平台流水号
    private Date chargeTime;//支付平台交易成功时间
    private String billNo;//待结算费用单据号
    private String cardNo;//医保卡号
    private Integer totalAmount;//交易总金额
    private Integer insuranceAmount;//医保支付金额
    private Integer selfPayAmount;//自付金额
    private String openid;//用户openID
    private String userName;//用户名字
    private String idType;//证件类型
    private String idNo;//证件号码
    private String tradeStatus;//交易状态
    private String miSettleNo;//医保收费单据号
    private String miRegisterNo;//医保挂号
    private Date miCollectDate;//收费日期
    private Date miCollectTime;//收费时间
    private String miCollectorName;//收费人姓名
    private Integer miTotalFee;//本次报销总额
    private Integer selfPay;//个人现金支付
    private Integer accountPay;//个人账户支付
    private Integer heathPay;//健康账户支付
    private Integer cadresPay;//公务员补助
    private Integer fundPay;//基金支付
    private Integer healthCarePay;//保健基金支付
    private Integer commercePay;//商业保险支付
    private Integer familyPay;//共济账户支付
    private Integer civilPay;//民政补助金额
    private String civilZone;//民政行政区号
    private Integer bdrugPay;//乙类支付金额
    private Integer unlessAmount;//非医保费用
    private Integer exceedAmount;//超封顶线金额
    private Integer accountBalance;//个人账户余额
    private Integer healthBalance;//健康账户余额
    private String recipeContent;//处方主信息
    private String zdlist;//诊断明细
    private String mxlist;//处方明细
    private Date createTime;//续方确认支付时间
    private Date czrq;//续方记录最后操作时间
    //    易联众新增查询返回字段v1.3.7
    private String medOrgNo;//医疗机构编号
    private String medOrgName;//医疗机构名称
    private Date traceTime;//交易成功时间
    private String traceNo;//支付平台跟踪号
    private String principalCardNo;//实际签约卡号
    private String icztmc;//IC卡状态名称
    private String icztbh;//IC卡状态名称
    public String getPrincipalCardNo() {
        return principalCardNo;
    }
    public void setPrincipalCardNo(String principalCardNo) {
        this.principalCardNo = principalCardNo;
    }
    public Date getTraceTime() {
        return traceTime;
    }
    public void setTraceTime(Date traceTime) {
        this.traceTime = traceTime;
    }
    public String getTraceNo() {
        return traceNo;
    }
    public void setTraceNo(String traceNo) {
        this.traceNo = traceNo;
    }
    public String getMedOrgNo() {
        return medOrgNo;
    }
    public void setMedOrgNo(String medOrgNo) {
        this.medOrgNo = medOrgNo;
    }
    public String getMedOrgName() {
        return medOrgName;
    }
    public void setMedOrgName(String medOrgName) {
        this.medOrgName = medOrgName;
    }
    public Integer getAccountBalance() {
        return accountBalance;
    }
    public void setAccountBalance(Integer accountBalance) {
        this.accountBalance = accountBalance;
    }
    public Integer getHealthBalance() {
        return healthBalance;
    }
    public void setHealthBalance(Integer healthBalance) {
        this.healthBalance = healthBalance;
    }
    public String getRecipeContent() {
        return recipeContent;
    }
    public void setRecipeContent(String recipeContent) {
        this.recipeContent = recipeContent;
    }
    public String getZdlist() {
        return zdlist;
    }
    public void setZdlist(String zdlist) {
        this.zdlist = zdlist;
    }
    public String getMxlist() {
        return mxlist;
    }
    public void setMxlist(String mxlist) {
        this.mxlist = mxlist;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getPrescriptionCode() {
        return prescriptionCode;
    }
    public void setPrescriptionCode(String prescriptionCode) {
        this.prescriptionCode = prescriptionCode;
    }
    public Integer getType() {
        return type;
    }
    public void setType(Integer type) {
        this.type = type;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getOutChargeTime() {
        return outChargeTime;
    }
    public void setOutChargeTime(Date outChargeTime) {
        this.outChargeTime = outChargeTime;
    }
    public String getChannel() {
        return channel;
    }
    public void setChannel(String channel) {
        this.channel = channel;
    }
    public String getChargeNo() {
        return chargeNo;
    }
    public void setChargeNo(String chargeNo) {
        this.chargeNo = chargeNo;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getChargeTime() {
        return chargeTime;
    }
    public void setChargeTime(Date chargeTime) {
        this.chargeTime = chargeTime;
    }
    public String getBillNo() {
        return billNo;
    }
    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }
    public String getCardNo() {
        return cardNo;
    }
    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }
    public Integer getTotalAmount() {
        return totalAmount;
    }
    public void setTotalAmount(Integer totalAmount) {
        this.totalAmount = totalAmount;
    }
    public Integer getInsuranceAmount() {
        return insuranceAmount;
    }
    public void setInsuranceAmount(Integer insuranceAmount) {
        this.insuranceAmount = insuranceAmount;
    }
    public Integer getSelfPayAmount() {
        return selfPayAmount;
    }
    public void setSelfPayAmount(Integer selfPayAmount) {
        this.selfPayAmount = selfPayAmount;
    }
    public String getOpenid() {
        return openid;
    }
    public void setOpenid(String openid) {
        this.openid = openid;
    }
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getIdType() {
        return idType;
    }
    public void setIdType(String idType) {
        this.idType = idType;
    }
    public String getIdNo() {
        return idNo;
    }
    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }
    public String getTradeStatus() {
        return tradeStatus;
    }
    public void setTradeStatus(String tradeStatus) {
        this.tradeStatus = tradeStatus;
    }
    public String getMiSettleNo() {
        return miSettleNo;
    }
    public void setMiSettleNo(String miSettleNo) {
        this.miSettleNo = miSettleNo;
    }
    public String getMiRegisterNo() {
        return miRegisterNo;
    }
    public void setMiRegisterNo(String miRegisterNo) {
        this.miRegisterNo = miRegisterNo;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getMiCollectDate() {
        return miCollectDate;
    }
    public void setMiCollectDate(Date miCollectDate) {
        this.miCollectDate = miCollectDate;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getMiCollectTime() {
        return miCollectTime;
    }
    public void setMiCollectTime(Date miCollectTime) {
        this.miCollectTime = miCollectTime;
    }
    public String getMiCollectorName() {
        return miCollectorName;
    }
    public void setMiCollectorName(String miCollectorName) {
        this.miCollectorName = miCollectorName;
    }
    public Integer getMiTotalFee() {
        return miTotalFee;
    }
    public void setMiTotalFee(Integer miTotalFee) {
        this.miTotalFee = miTotalFee;
    }
    public Integer getSelfPay() {
        return selfPay;
    }
    public void setSelfPay(Integer selfPay) {
        this.selfPay = selfPay;
    }
    public Integer getAccountPay() {
        return accountPay;
    }
    public void setAccountPay(Integer accountPay) {
        this.accountPay = accountPay;
    }
    public Integer getHeathPay() {
        return heathPay;
    }
    public void setHeathPay(Integer heathPay) {
        this.heathPay = heathPay;
    }
    public Integer getCadresPay() {
        return cadresPay;
    }
    public void setCadresPay(Integer cadresPay) {
        this.cadresPay = cadresPay;
    }
    public Integer getFundPay() {
        return fundPay;
    }
    public void setFundPay(Integer fundPay) {
        this.fundPay = fundPay;
    }
    public Integer getHealthCarePay() {
        return healthCarePay;
    }
    public void setHealthCarePay(Integer healthCarePay) {
        this.healthCarePay = healthCarePay;
    }
    public Integer getCommercePay() {
        return commercePay;
    }
    public void setCommercePay(Integer commercePay) {
        this.commercePay = commercePay;
    }
    public Integer getFamilyPay() {
        return familyPay;
    }
    public void setFamilyPay(Integer familyPay) {
        this.familyPay = familyPay;
    }
    public Integer getCivilPay() {
        return civilPay;
    }
    public void setCivilPay(Integer civilPay) {
        this.civilPay = civilPay;
    }
    public String getCivilZone() {
        return civilZone;
    }
    public void setCivilZone(String civilZone) {
        this.civilZone = civilZone;
    }
    public Integer getBdrugPay() {
        return bdrugPay;
    }
    public void setBdrugPay(Integer bdrugPay) {
        this.bdrugPay = bdrugPay;
    }
    public Integer getUnlessAmount() {
        return unlessAmount;
    }
    public void setUnlessAmount(Integer unlessAmount) {
        this.unlessAmount = unlessAmount;
    }
    public Integer getExceedAmount() {
        return exceedAmount;
    }
    public void setExceedAmount(Integer exceedAmount) {
        this.exceedAmount = exceedAmount;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
    public String getIcztmc() {
        return icztmc;
    }
    public void setIcztmc(String icztmc) {
        this.icztmc = icztmc;
    }
    public String getIcztbh() {
        return icztbh;
    }
    public void setIcztbh(String icztbh) {
        this.icztbh = icztbh;
    }
}

+ 108 - 1
common/common-entity/src/main/java/com/yihu/jw/entity/hospital/prescription/WlyyPrescriptionLogDO.java

@ -3,7 +3,6 @@ package com.yihu.jw.entity.hospital.prescription;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.UuidIdentityEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
@ -19,6 +18,114 @@ import java.util.Date;
@Table(name = "wlyy_prescription_log")
public class WlyyPrescriptionLogDO extends UuidIdentityEntity {
    public enum PrescriptionLogType {
        zy("智业对接", 1),
        ylz("易联众对接", 2),
        create("创建处方", 3),
        reviewed("审核", 4),
        pay("支付", 5),
        expressage("配送", 6),
        finish("已完成", 7),
        sf("顺丰对接", 8),
        patientConfirm("居民确认收药", 9),
        jobConfirm("系统确认收药", 10);
        private String name;
        private int value;
        PrescriptionLogType(String name, int value) {
            this.name = name;
            this.value = value;
        }
        public String getName() {
            return name;
        }
        public void setName(String name) {
            this.name = name;
        }
        public int getValue() {
            return value;
        }
        public void setValue(int value) {
            this.value = value;
        }
    }
    //状态枚举
    public enum PrescriptionLogStatus {
        pay_cancle("线下取消",-5),
        pay_refund("线下退费",-4),
        //续方取消
        pay_outtime("支付超时", -3),
        patient_canel("患者自己取消", -2),
        // 审核不通过
        no_reviewed("审核不通过", -1),
        //审核中
        revieweding("待审核", 0),
        changeing("调整中", 2),
        change_success("调整成功",3),
        change_error("调整失败",4),
        reviewed_success(" 医生审核(CA)通过", 10),
        //药师审核中
        Pharmacist_examination("药师审核中",20),
        Pharmacist_examination_error("药师审核失败",21),
        //开方中/药师审核成功
        adding("开方中/药师审核成功",30),
        add_error("开方失败",31),
        //待支付
        wait_pay("开方完成/待支付", 40),
        pay_error("支付失败", 41),
        //配药中
        pay_success("支付成功/待配药", 50),
        //等待领药
        wait_expressage("配药成功/待配送", 60),
        //配送中
        expressageing_error("配送失败", 61),
        expressageJGS("分配健管师", 62),
        expressageing("配送中", 65),
        expressage2hospital("配送到服务站", 69),
        //已完成
        finish("配送到患者手中/已完成", 100);
        private String name;
        private int value;
        PrescriptionLogStatus(String name, int value) {
            this.name = name;
            this.value = value;
        }
        public String getName() {
            return name;
        }
        public void setName(String name) {
            this.name = name;
        }
        public int getValue() {
            return value;
        }
        public void setValue(int value) {
            this.value = value;
        }
    }
    private String outpatientId;//
    private String prescriptionCode;//处方code 关联表wlyy_prescription id',
    private String datajson;//附加信息展示字段',

+ 32 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/hospital/prescription/WlyyPrescriptionReviewedDO.java

@ -19,6 +19,38 @@ import java.util.Date;
@Table(name = "wlyy_prescription_reviewed")
public class WlyyPrescriptionReviewedDO extends UuidIdentityEntity {
    public enum PrescriptionReviewedStatus {
        del("删除", -2),
        reviewed_fail("审核失败", -1),
        reviewed_wait("待审核", 0),
        reviewed_success("审核成功", 1);
        private String name;
        private int value;
        PrescriptionReviewedStatus(String name, int value) {
            this.name = name;
            this.value = value;
        }
        public String getName() {
            return name;
        }
        public void setName(String name) {
            this.name = name;
        }
        public int getValue() {
            return value;
        }
        public void setValue(int value) {
            this.value = value;
        }
    }
    /**
	 * 
	 */

+ 0 - 541
common/common-entity/src/main/java/com/yihu/jw/entity/patient/Patient.java

@ -1,541 +0,0 @@
package com.yihu.jw.entity.patient;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.iot.gateway.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * 患者信息
 *
 * @author George
 */
@Entity
@Table(name = "wlyy_patient")
public class Patient extends IdEntity implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 8358924836164389434L;
    // 业务主键
    private String code;
    // 身份证号
    private String idcard;
    // 登录密码
    private String password;
    private String salt;
    // 姓名
    private String name;
    // 生日
    private Date birthday;
    // 性別,1男,2女
    private Integer sex;
    // 手機號
    private String mobile;
    // (基卫)手機號
    private String mobileRemarks;
    // 聯繫電話
    private String phone;
    // 社保卡號
    private String ssc;
    // 頭像HTTP地址
    private String photo;
    // 省代碼
    private String province;
    // 城市代碼
    private String city;
    // 區縣代碼
    private String town;
    // 街道代码
    private String street;
    // 省名
    private String provinceName;
    // 市名
    private String cityName;
    // 區縣名
    private String townName;
    // 街道名称
    private String streetName;
    // 地址
    private String address;
    // 疾病类型,0健康,1高血压,2糖尿病,3高血压+糖尿病
    private Integer disease;
    // 病情:0绿标,1黄标,2红标
    private Integer diseaseCondition;
    // 病历记录总数
    private Integer recordAmount;
    // 總積分
    private Integer points;
    // 更新時間
    private Date czrq;
    // 微信编号
    private String openid;
    //微信时间
    private Date openidTime;
    // 用户状态:1正常,0禁用,-1恶意注册,2审核中
    private Integer status;
    // 居委会字段id
    private String sickVillage;
    // 居委会字段名称
    private String sickVillageName;
    //	绑定电子社保卡主体(本人为本人code,共济为操作人code)
    private String principalCode;
    //	是否绑定电子社保卡
    private Integer sicardStatus;
    //	绑定电子社保卡时间
    private Date sicardTime;
    //是否分配过微信标签  1分配过 0或者空没有
    private Integer isWxtag;
    //微信iagId
    private Integer wxtagid;
    //居民预警状态:0为标准,1为预警状态
    private Integer standardStatus;
    //医疗保险号
    private String medicareNumber;
    //微信开发平台唯一标识
    private String unionid;
    //统一身份认证状态
    private Integer isCertified;//0否,1 是
    //档案状态(-2冻结 1未管理 2死亡3 正常4 高危)
    private Integer archiveStatus;
    private String shopUserId;
    //是否为游客 1是,0否
    private Integer isVisitor;
    //外部数据-年龄数据
    private Integer age;
    private Integer isRehabilition;//
    @Transient
    public Integer getAge() {
        return age;
    }
    public void setAge(Integer age) {
        this.age = age;
    }
    public String getPrincipalCode() {
        return principalCode;
    }
    public void setPrincipalCode(String principalCode) {
        this.principalCode = principalCode;
    }
    public Integer getSicardStatus() {
        return sicardStatus;
    }
    public void setSicardStatus(Integer sicardStatus) {
        this.sicardStatus = sicardStatus;
    }
    public Date getSicardTime() {
        return sicardTime;
    }
    public void setSicardTime(Date sicardTime) {
        this.sicardTime = sicardTime;
    }
//    private List<SignPatientLabelInfo> labelInfos = new ArrayList<>();//患者的疾病标签list
    public Patient() {
    }
    public Patient(Long id) {
        this.id = id;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getIdcard() {
        return idcard;
    }
    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getSalt() {
        return salt;
    }
    public void setSalt(String salt) {
        this.salt = salt;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+08:00")
    public Date getBirthday() {
        return birthday;
    }
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
    public Integer getSex() {
        return sex;
    }
    public void setSex(Integer sex) {
        this.sex = sex;
    }
    public String getMobile() {
        return mobile;
    }
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getSsc() {
        return ssc;
    }
    public void setSsc(String ssc) {
        this.ssc = ssc;
    }
    @Column(name = "photo", insertable = false)
    public String getPhoto() {
        return photo;
    }
    public void setPhoto(String photo) {
        this.photo = photo;
    }
    public String getProvince() {
        return province;
    }
    public void setProvince(String province) {
        this.province = province;
    }
    public String getCity() {
        return city;
    }
    public void setCity(String city) {
        this.city = city;
    }
    public String getTown() {
        return town;
    }
    public void setTown(String town) {
        this.town = town;
    }
    public String getStreet() {
        return street;
    }
    public void setStreet(String street) {
        this.street = street;
    }
    @Column(name = "province_name")
    public String getProvinceName() {
        return provinceName;
    }
    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }
    @Column(name = "city_name")
    public String getCityName() {
        return cityName;
    }
    public void setCityName(String cityName) {
        this.cityName = cityName;
    }
    @Column(name = "town_name")
    public String getTownName() {
        return townName;
    }
    public void setTownName(String townName) {
        this.townName = townName;
    }
    @Column(name = "street_name")
    public String getStreetName() {
        return streetName;
    }
    public void setStreetName(String streetName) {
        this.streetName = streetName;
    }
    public static long getSerialversionuid() {
        return serialVersionUID;
    }
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public Integer getDisease() {
        return disease;
    }
    public void setDisease(Integer disease) {
        this.disease = disease;
    }
    @Column(name = "disease_condition")
    public Integer getDiseaseCondition() {
        return diseaseCondition;
    }
    public void setDiseaseCondition(Integer diseaseCondition) {
        this.diseaseCondition = diseaseCondition;
    }
    @Column(name = "record_amount")
    public Integer getRecordAmount() {
        return recordAmount;
    }
    public void setRecordAmount(Integer recordAmount) {
        this.recordAmount = recordAmount;
    }
    public Integer getPoints() {
        return points;
    }
    public void setPoints(Integer points) {
        this.points = points;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCzrq() {
        return czrq;
    }
    public void setCzrq(Date czrq) {
        this.czrq = czrq;
    }
    public String getOpenid() {
        return openid;
    }
    public void setOpenid(String openid) {
        this.openid = openid;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
//    @Transient
//    public List<SignPatientLabelInfo> getLabelInfos() {
//        return labelInfos;
//    }
//
//    public void setLabelInfos(List<SignPatientLabelInfo> labelInfos) {
//        this.labelInfos = labelInfos;
//    }
    public String getMobileRemarks() {
        return mobileRemarks;
    }
    public void setMobileRemarks(String mobileRemarks) {
        this.mobileRemarks = mobileRemarks;
    }
    public Date getOpenidTime() {
        return openidTime;
    }
    public void setOpenidTime(Date openidTime) {
        this.openidTime = openidTime;
    }
    public String getSickVillage() {
        return sickVillage;
    }
    public void setSickVillage(String sickVillage) {
        this.sickVillage = sickVillage;
    }
    public String getSickVillageName() {
        return sickVillageName;
    }
    public void setSickVillageName(String sickVillageName) {
        this.sickVillageName = sickVillageName;
    }
    public Integer getIsWxtag() {
        return isWxtag;
    }
    public void setIsWxtag(Integer isWxtag) {
        this.isWxtag = isWxtag;
    }
    public Integer getWxtagid() {
        return wxtagid;
    }
    public void setWxtagid(Integer wxtagid) {
        this.wxtagid = wxtagid;
    }
    @Column(name = "is_visitor")
    public Integer getIsVisitor() {
        return isVisitor;
    }
    public void setIsVisitor(Integer isVisitor) {
        this.isVisitor = isVisitor;
    }
    public Integer getIsRehabilition() {
        return isRehabilition;
    }
    public void setIsRehabilition(Integer isRehabilition) {
        this.isRehabilition = isRehabilition;
    }
    //---------------------------常量----------------------------
    public enum isWchatTage {
        yes(1), no(0);
        isWchatTage(Integer value) {
            this.value = value;
        }
        private Integer value;
        public Integer getValue() {
            return value;
        }
        public void setValue(Integer value) {
            this.value = value;
        }
    }
    public Integer getStandardStatus() {
        return standardStatus;
    }
    public void setStandardStatus(Integer standardStatus) {
        this.standardStatus = standardStatus;
    }
    public Patient(String code, String name) {
        this.code = code;
        this.name = name;
    }
    public Patient(String code) {
        this.code = code;
    }
    public String getMedicareNumber() {
        return medicareNumber;
    }
    public void setMedicareNumber(String medicareNumber) {
        this.medicareNumber = medicareNumber;
    }
    public String getUnionid() {
        return unionid;
    }
    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }
    public Integer getIsCertified() {
        return isCertified;
    }
    public void setIsCertified(Integer isCertified) {
        this.isCertified = isCertified;
    }
    public Integer getArchiveStatus() {
        return archiveStatus;
    }
    public void setArchiveStatus(Integer archiveStatus) {
        this.archiveStatus = archiveStatus;
    }
    public String getShopUserId() {
        return shopUserId;
    }
    public void setShopUserId(String shopUserId) {
        this.shopUserId = shopUserId;
    }
}

+ 2 - 4
common/common-entity/src/main/java/com/yihu/jw/entity/patient/PatientDevice.java

@ -3,14 +3,12 @@ package com.yihu.jw.entity.patient;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.iot.gateway.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.*;
import java.util.Date;
@Entity
@Table(name = "wlyy_patient_device")
@SequenceGenerator(name = "id_generated", sequenceName = "wlyy_patient_device")
public class PatientDevice extends IdEntity {
    // 设备ID

+ 102 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/specialist/rehabilitation/PatientDiseaseServer.java

@ -0,0 +1,102 @@
package com.yihu.jw.entity.specialist.rehabilitation;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created by Trick on 2018/7/4.
 */
@Entity
@Table(name = "wlyy_patient_disease_server")
@SequenceGenerator(name="id_generated", sequenceName="wlyy_patient_disease_server")
public class PatientDiseaseServer extends IdEntity {
    private String code;
    private String specialistRelationCode;//专科医生团队签约关系code',
    private String patient;//居民',
    private String patientName;//居民名字',
    private String disease;//疾病',
    private String diseaseName;//疾病名称',
    private String del;//1正常;0删除',
    private Date updateTime;
    private Date createTime;
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getSpecialistRelationCode() {
        return specialistRelationCode;
    }
    public void setSpecialistRelationCode(String specialistRelationCode) {
        this.specialistRelationCode = specialistRelationCode;
    }
    public String getPatient() {
        return patient;
    }
    public void setPatient(String patient) {
        this.patient = patient;
    }
    public String getPatientName() {
        return patientName;
    }
    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }
    public String getDisease() {
        return disease;
    }
    public void setDisease(String disease) {
        this.disease = disease;
    }
    public String getDiseaseName() {
        return diseaseName;
    }
    public void setDiseaseName(String diseaseName) {
        this.diseaseName = diseaseName;
    }
    public String getDel() {
        return del;
    }
    public void setDel(String del) {
        this.del = del;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}

+ 75 - 0
common/common-entity/src/main/java/com/yihu/jw/entity/specialist/rehabilitation/SpecialDiseaseMessages.java

@ -0,0 +1,75 @@
package com.yihu.jw.entity.specialist.rehabilitation;
import com.yihu.jw.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
/***
 * @ClassName: SpecialDiseaseMessages
 * @Description:
 * @Auther: shi kejing
 * @Date: 2021/4/20 9:42
 */
@Entity
@Table(name = "wlyy_special_disease_messages")
@SequenceGenerator(name="id_generated", sequenceName="wlyy_special_disease_messages")
public class SpecialDiseaseMessages extends IdEntity {
    private String name;
    private String address;
    private String result;
    private String createTime;
    private String code;
    private String codeType;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public String getResult() {
        return result;
    }
    public void setResult(String result) {
        this.result = result;
    }
    public String getCreateTime() {
        return createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getCodeType() {
        return codeType;
    }
    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }
}

+ 5 - 0
common/common-rest-model-es/pom.xml

@ -28,6 +28,11 @@
            <artifactId>spring-data-elasticsearch</artifactId>
            <version>${version.data-elasticsearch}</version>
        </dependency>
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>fastjson</artifactId>
            <version>${verion.fastjson}</version>
        </dependency>
    </dependencies>

+ 103 - 0
common/common-rest-model/src/main/java/com/yihu/jw/restmodel/base/device/DeviceWxMessageDTO.java

@ -0,0 +1,103 @@
package com.yihu.jw.restmodel.base.device;
/**
 * Created by zd on 2018/06/13.
 */
public class DeviceWxMessageDTO {
    private long id;
    //患者openId
    private String openId;
    //患者code
    private String patient;
    //患者名字
    private String patientName;
    //医生code
    private String doctor;
    //医生名称
    private String doctorName;
    //1血糖仪 2血压计
    private int deviceType;
    //创建时间
    private String czrq;
    /** default constructor */
    public DeviceWxMessageDTO() {
    }
    /** full constructor */
    public DeviceWxMessageDTO(long id, String openId, String patient, String patientName, String doctor, String doctorName, int deviceType, String czrq) {
        this.id = id;
        this.openId = openId;
        this.patient = patient;
        this.patientName = patientName;
        this.doctor = doctor;
        this.doctorName = doctorName;
        this.deviceType = deviceType;
        this.czrq = czrq;
    }
    public long getId() {
        return id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public String getOpenId() {
        return openId;
    }
    public void setOpenId(String openId) {
        this.openId = openId;
    }
    public String getPatient() {
        return patient;
    }
    public void setPatient(String patient) {
        this.patient = patient;
    }
    public String getPatientName() {
        return patientName;
    }
    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }
    public String getDoctor() {
        return doctor;
    }
    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }
    public String getDoctorName() {
        return doctorName;
    }
    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }
    public int getDeviceType() {
        return deviceType;
    }
    public void setDeviceType(int deviceType) {
        this.deviceType = deviceType;
    }
    public String getCzrq() {
        return czrq;
    }
    public void setCzrq(String czrq) {
        this.czrq = czrq;
    }
}

+ 145 - 0
common/common-util/src/main/java/com/yihu/jw/util/common/AmoutUtils.java

@ -0,0 +1,145 @@
package com.yihu.jw.util.common;
import org.springframework.stereotype.Component;
/**
 * 金额工具类
 * @author huangwenjie
 * @date 2017/8/19 13:52
 */
@Component
public class AmoutUtils {
    /**
     *
     * 功能描述:金额字符串转换:单位分转成单元
     * @param o 传入需要转换的金额字符串
     * @return 转换后的金额字符串
     */
    public String fenToYuan(Object o) {
        if(o == null)
            return "0.00";
        String s = o.toString();
        int len = -1;
        StringBuilder sb = new StringBuilder();
        if (s != null && s.trim().length()>0 && !s.equalsIgnoreCase("null")){
            s = removeZero(s);
            if (s != null && s.trim().length()>0 && !s.equalsIgnoreCase("null")){
                len = s.length();
                int tmp = s.indexOf("-");
                if(tmp>=0){
                    if(len==2){
                        sb.append("-0.0").append(s.substring(1));
                    }else if(len==3){
                        sb.append("-0.").append(s.substring(1));
                    }else{
                        sb.append(s.substring(0, len-2)).append(".").append(s.substring(len-2));
                    }
                }else{
                    if(len==1){
                        sb.append("0.0").append(s);
                    }else if(len==2){
                        sb.append("0.").append(s);
                    }else{
                        sb.append(s.substring(0, len-2)).append(".").append(s.substring(len-2));
                    }
                }
            }else{
                sb.append("0.00");
            }
        }else{
            sb.append("0.00");
        }
        return sb.toString();
    }
    /**
     *
     * 功能描述:金额字符串转换:单位元转成单分
     * @param o 传入需要转换的金额字符串
     * @return 转换后的金额字符串
     */
    public String yuanToFen(Object o) {
        if(o == null)
            return "0";
        String s = o.toString();
        int posIndex = -1;
        String str = "";
        StringBuilder sb = new StringBuilder();
        if (s != null && s.trim().length()>0 && !s.equalsIgnoreCase("null")){
            posIndex = s.indexOf(".");
            if(posIndex>0){
                int len = s.length();
                if(len == posIndex+1){
                    str = s.substring(0,posIndex);
                    if(str == "0"){
                        str = "";
                    }
                    sb.append(str).append("00");
                }else if(len == posIndex+2){
                    str = s.substring(0,posIndex);
                    if(str == "0"){
                        str = "";
                    }
                    sb.append(str).append(s.substring(posIndex+1,posIndex+2)).append("0");
                }else if(len == posIndex+3){
                    str = s.substring(0,posIndex);
                    if(str == "0"){
                        str = "";
                    }
                    sb.append(str).append(s.substring(posIndex+1,posIndex+3));
                }else{
                    str = s.substring(0,posIndex);
                    if(str == "0"){
                        str = "";
                    }
                    sb.append(str).append(s.substring(posIndex+1,posIndex+3));
                }
            }else{
                sb.append(s).append("00");
            }
        }else{
            sb.append("0");
        }
        str = removeZero(sb.toString());
        if(str != null && str.trim().length()>0 && !str.trim().equalsIgnoreCase("null")){
            return str;
        }else{
            return "0";
        }
    }
    /**
     *
     * 功能描述:去除字符串首部为"0"字符
     * @param str 传入需要转换的字符串
     * @return 转换后的字符串
     */
    public String removeZero(String str){
        char  ch;
        String result = "";
        if(str != null && str.trim().length()>0 && !str.trim().equalsIgnoreCase("null")){
            try{
                for(int i=0;i<str.length();i++){
                    ch = str.charAt(i);
                    if(ch != '0'){
                        result = str.substring(i);
                        break;
                    }
                }
            }catch(Exception e){
                result = "";
            }
        }else{
            result = "";
        }
        return result;
    }
}

+ 107 - 0
common/common-util/src/main/java/com/yihu/jw/util/common/CommonUtil.java

@ -0,0 +1,107 @@
package com.yihu.jw.util.common;
import org.apache.commons.lang3.StringEscapeUtils;
import java.io.File;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
 * Created by yeshijie on 2023/2/13.
 */
public class CommonUtil {
    public static String getCode() {
        return UUID.randomUUID().toString().replaceAll("-", "");
    }
    /**
     * 传入身高体重,计算BMI值
     *
     * @param weightStr 体重
     * @param heightStr 身高
     * @return
     */
    public static double getBMIByWeightAndHeight(String weightStr, String heightStr) {
        DecimalFormat df2 = new DecimalFormat("###.00");
        double weight = Double.parseDouble(weightStr);
        Integer heightCM = Integer.parseInt(heightStr);
        heightStr = df2.format(heightCM / 100d);
        double height = Double.parseDouble(heightStr);
        double bmi = weight / (height * height);
        return bmi;
    }
    /**
     * 删除文件夹
     * @param folder
     */
    public static void deleteFolder(File folder){
        File[] files  = folder.listFiles();
        if (files != null){
            for(File f: files){
                if (f.isDirectory()){
                    deleteFolder(f);
                }else {
                    f.delete();
                }
            }
        }
        folder.delete();
    }
    /**
     * double转字符串,在转int
     * double*100转int 有bug 34.3会会变成3429
     * @param d
     * @return
     */
    public static Integer doubleToInt(Double d){
        if(d==null){
            return 0;
        }
        String currency = String.valueOf(d);
        int index = currency.indexOf(".");
        int length = currency.length();
        Integer amLong = 0;
        if(index == -1){
            amLong = Integer.valueOf(currency+"00");
        }else if(length - index >= 3){
            amLong = Integer.valueOf((currency.substring(0, index+3)).replace(".", ""));
            if(length-index>3){
                if(Integer.valueOf(currency.substring(index+3,index+4))>=5){
                    amLong++;
                }
            }
        }else if(length - index == 2){
            amLong = Integer.valueOf((currency.substring(0, index+2)).replace(".", "")+0);
        }else{
            amLong = Integer.valueOf((currency.substring(0, index+1)).replace(".", "")+"00");
        }
        return amLong;
    }
    public static List<String> getTagContent(String source, String regString) {
        List<String> result = new ArrayList<String>();
        Matcher m = Pattern.compile(regString).matcher(source);
        while (m.find()) {
            try {
                String r = StringEscapeUtils.unescapeHtml3(URLDecoder.decode(m.group(1),"utf-8"));
                result.add(r);
            } catch (UnsupportedEncodingException e) {
                e.printStackTrace();
            }
        }
        return result;
    }
}

+ 71 - 0
common/common-util/src/main/java/com/yihu/jw/util/common/DataUtils.java

@ -0,0 +1,71 @@
package com.yihu.jw.util.common;/**
 * Created by nature of king on 2018/9/17.
 */
/**
 * @author wangzhinan
 * @create 2018-09-17 15:32
 * @desc 数据转换工具
 **/
public class DataUtils {
    public static Integer doubleToInt(Double d) {
        if (d == null) {
            return 0;
        }
        String currency = String.valueOf(d);
        int index = currency.indexOf(".");
        int length = currency.length();
        Integer amLong = 0;
        if (index == -1) {
            amLong = Integer.valueOf(currency + "00");
        } else if (length - index >= 3) {
            amLong = Integer.valueOf((currency.substring(0, index + 3)).replace(".", ""));
            if (length - index > 3) {
                if (Integer.valueOf(currency.substring(index + 3, index + 4)) >= 5) {
                    amLong++;
                }
            }
        } else if (length - index == 2) {
            amLong = Integer.valueOf((currency.substring(0, index + 2)).replace(".", "") + 0);
        } else {
            amLong = Integer.valueOf((currency.substring(0, index + 1)).replace(".", "") + "00");
        }
        return amLong;
    }
    public static String integerTransferDouble(Integer amount){
        try {
            if(!amount.toString().matches("\\-?[0-9]+"));
        }catch (Exception e) {
            e.printStackTrace();
        }
        int flag = 0;
        String amString = amount.toString();
        if(amString.charAt(0)=='-'){
            flag = 1;
            amString = amString.substring(1);
        }
        StringBuffer result = new StringBuffer();
        if(amString.length()==1){
            result.append("0.0").append(amString);
        }else if(amString.length() == 2){
            result.append("0.").append(amString);
        }else{
            String intString = amString.substring(0,amString.length()-2);
            for(int i=1; i<=intString.length();i++){
                if( (i-1)%3 == 0 && i !=1){
//                    result.append(",");
                }
                result.append(intString.substring(intString.length()-i,intString.length()-i+1));
            }
            result.reverse().append(".").append(amString.substring(amString.length()-2));
        }
        if(flag == 1){
            return "-"+result.toString();
        }else{
            return result.toString();
        }
    }
}

+ 148 - 0
common/common-util/src/main/java/com/yihu/jw/util/common/ISqlUtils.java

@ -0,0 +1,148 @@
package com.yihu.jw.util.common;/**
 * Created by nature of king on 2018/4/27.
 */
import com.alibaba.fastjson.JSONObject;
import javax.persistence.Column;
import javax.persistence.Table;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
 * @author wangzhinan
 * @create 2018-04-27 12:47
 * @desc sql自定义编辑
 **/
public class ISqlUtils {
    public static String getSql(Object object,Integer page,Integer size,String isFlag){
        StringBuffer sb = new StringBuffer();
        Class c =object.getClass();
        Table table = (Table)c.getAnnotation(Table.class);
        String tableName = table.name();
        if (isFlag.equalsIgnoreCase("count")){
            sb.append("select count(1) AS total from ").append(tableName).append(" where 1=1");
        }else if(isFlag.equalsIgnoreCase("*")){
            sb.append("select * from ").append(tableName).append(" where 1=1 ");
        }
        JSONObject object1  = (JSONObject) JSONObject.toJSON(object);
        if (object1.getString("id") !=null){
            sb.append(" and id = '" + object1.getString("id")+"' ");
        }
        Field[] fArray= c.getDeclaredFields();
        for(Field f:fArray){
            //拿到字段后与实体类中的属性匹配,并得到其get方法,用来获取他的属性值
            String getMethodName ="";
            boolean isCExist =f.isAnnotationPresent(Column.class);
            if(isCExist){
                Column mc =f.getAnnotation(Column.class);
                String columeName =mc.name();  //字段对应数据库名字
                String name =f.getName();       //字段名字
                Class a= f.getType();          //字段类型
                Object value=null;              //字段值
                getMethodName="get"+name.substring(0,1).toUpperCase()+name.substring(1);//拼接属性的get方法
                try {
                    Method m =c.getMethod(getMethodName);
                    value =(Object)m.invoke(object);     //拿到属性的值
                    if(value == null || "".equals(value)){  //如果属性没值,不拼接sql
                        continue;
                    }
                    else if(value instanceof String){
                        value ="'%"+value+"%'";
                        sb.append(" and ").append(columeName +" like " ).append(value+"");
                    }else if (value instanceof Integer){
                        value = value;
                        sb.append(" and ").append(columeName +" = " ).append(value+"");
                    }
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
        }
        if(isFlag.equalsIgnoreCase("*")){
            sb.append(" ORDER BY create_time DESC ").append("LIMIT ").append((page-1)*size+",").append(size);
        }
        return sb.toString();
    }
    public static String getAllSql(Object object){
        StringBuffer sb = new StringBuffer();
        Class c =object.getClass();
        Table table = (Table)c.getAnnotation(Table.class);
        String tableName = table.name();
        sb.append("select * from ").append(tableName).append(" where 1=1 ");
        Field[] fArray= c.getDeclaredFields();
        for(Field f:fArray){
            //拿到字段后与实体类中的属性匹配,并得到其get方法,用来获取他的属性值
            String getMethodName ="";
            boolean isCExist =f.isAnnotationPresent(Column.class);
            if(isCExist){
                Column mc =f.getAnnotation(Column.class);
                String columeName =mc.name();  //字段对应数据库名字
                String name =f.getName();       //字段名字
                Object value=null;              //字段值
                getMethodName="get"+name.substring(0,1).toUpperCase()+name.substring(1);//拼接属性的get方法
                try {
                    Method m =c.getMethod(getMethodName);
                    value =(Object)m.invoke(object);     //拿到属性的值
                    if(value == null || "".equals(value) || value.equals(Integer.parseInt("0"))){  //如果属性没值,不拼接sql
                        continue;
                    }
                    else if(value instanceof String){
                        value ="'"+value+"'";
                    }
                } catch (Exception e) {
                    e.printStackTrace();
                }
                sb.append(" and ").append(columeName +"=" ).append(value+"");
            }
        }
        return sb.toString();
    }
    public static  String getUpdateSql(Object object){
        StringBuffer sb = new StringBuffer();
        Class c = object.getClass();
        Table table = (Table)c.getAnnotation(Table.class);
        String tableName = table.name();
        sb.append("update ").append(tableName).append(" set ");
        Field[] fArray = c.getDeclaredFields();
        for (Field f:fArray){
            String getMethoName = "";
            boolean isCExist = f.isAnnotationPresent(Column.class);
            if (isCExist){
                Column mc = f.getAnnotation(Column.class);
                String columeName = mc.name();
                String name = f.getName();
                Class a= f.getType();
                Object value= null;
                getMethoName = "get" + name.substring(0,1).toUpperCase()+name.substring(1);
                try {
                    Method m = c.getMethod(getMethoName);
                    if (Date.class.isAssignableFrom(a)){
                        SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
                        value = sdf.format((Object)m.invoke(object));
                    }else {
                        value = (Object)m.invoke(object);
                    }
                    if (value == null || "".equals(value)){
                        continue;
                    }
                    else if (value instanceof  String){
                        value = "'"+value+"'";
                    }
                }catch (Exception e){
                    e.printStackTrace();
                }
                sb.append(columeName + "=").append(value+"").append(",");
            }
        }
        sb.deleteCharAt(sb.length()-1);
        JSONObject jsonObject = (JSONObject) JSONObject.toJSON(object);
        sb.append(" where ").append("id = ").append("'"+jsonObject.get("id")+"'");
        return sb.toString();
    }
}

+ 14 - 0
common/common-util/src/main/java/com/yihu/jw/util/common/IdCardUtil.java

@ -154,6 +154,20 @@ public class IdCardUtil {
        return false;
    }
    public static String getSexNameBySexOrIdcard(String sex,String idcard){
        if(org.apache.commons.lang3.StringUtils.isNotBlank(sex)){
            if(level_sex_1.equals(sex)){
                return level_sex_1_name;
            }else if(level_sex_2.equals(sex)){
                return level_sex_2_name;
            }else{
                return level_sex_3_name;
            }
        }else {
            return getSexNameForIdcard_new(idcard);
        }
    }
    /**
     * 根据身份证的号码算出当前身份证持有者的性别
     * 1 男 2 女 3未知

+ 0 - 4
gateway/ag-basic/pom.xml

@ -40,10 +40,6 @@
            <artifactId>tomcat-embed-jasper</artifactId>
        </dependency>
        <!-- 支持Tomcat启动 -->
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-netflix-zuul</artifactId>

+ 33 - 77
gateway/ag-basic/src/main/resources/application.yml

@ -40,9 +40,6 @@ hystrix:
          thread:
            timeoutInMilliseconds: 4800000
#Ribbon
ribbon:
  ReadTimeout: 600000
@ -53,7 +50,19 @@ ribbon:
  eureka:
     enabled: true
fast-dfs:
  tracker-server: 172.19.103.54:22122 #服务器地址
  connect-timeout: 2 #链接超时时间
  network-timeout: 30
  charset: ISO8859-1 #编码
  http:
    tracker-http-port: 80
    anti-steal-token: no
    secret-key: FastDFS1234567890
  pool: #连接池大小
    init-size: 5
    max-size: 20
    wait-time: 500
#  sleuth:
#    sampler:
@ -159,20 +168,6 @@ security:
  csrf:
    enable: true
#---
#spring:
#  profiles: jwdev
#  datasource:
#    url: jdbc:mysql://172.26.0.114/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
#    username: root
#    password: jkzlehr
#  redis:
#    host: 172.19.103.88 # Redis server host.
#    port: 6379 # Redis server port.
##    password: jkzl_ehr
##  zipkin:
##    base-url: http://localhost:9411 #日志追踪的地址
#
---
spring:
  config:
@ -209,58 +204,6 @@ spring:
  redis:
    host: 172.26.0.190 # Redis server host.
    port: 6379 # Redis server port.
#---
#spring:
#  profiles: jwprod
#  datasource:
#    url: jdbc:mysql://172.16.1.42/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
#    username: im
#    password: 2oEq3Kf7
#  redis:
#    host: 192.0.33.26 # Redis server host.
#    port: 6390 # Redis server port.
#    password: Kb6wKDQP1W4
##  zipkin:
##    base-url: http://localhost:9411 #日志追踪的地址
#---
#spring:
#  profiles: jwOracleProd
#  datasource:
#    url: jdbc:mysql://172.16.1.42/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
#    username: im
#    password: 2oEq3Kf7
#  redis:
#    host: 192.0.33.26 # Redis server host.
#    port: 6390 # Redis server port.
#    password: Kb6wKDQP1W4
##  zipkin:
##    base-url: http://localhost:9411 #日志追踪的地址
#
#---
### 心脏中心内网配置
#spring:
#  profiles: xzprod_in
#  datasource:
#    url: jdbc:mysql://192.168.103.155:7306/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
#    username: jkzl
#    password: jkzl@2020
#  redis:
#    host: 192.168.103.158 # Redis server host.
#    port: 6380 # Redis server port.
#    password: q4YaQemf
#
#---
### 心脏中心外网配置
#spring:
#  profiles: xzprod
#  datasource:
#    url: jdbc:mysql://172.16.100.240:7306/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
#    username: jkzl
#    password: jkzl@2020
#  redis:
#    host: 172.16.100.240 # Redis server host.
#    port: 6380 # Redis server port.
#    password: q4YaQemf
---
## 卫计委配置
spring:
@ -457,14 +400,27 @@ spring:
---
spring:
  config:
    activate:
      on-profile: mlwTest
  profiles: mlwTest
  datasource:
     url: jdbc:mysql://172.26.0.114:3306/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
     username: root
     password: 4D^tK%!4
    url: jdbc:mysql://172.26.0.114:3306/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
    username: root
    password: 4D^tK%!4
  redis:
     host: 172.26.0.253
     port: 6390
     password: Kb6wKDQP1W4
     password: Kb6wKDQP1W4
fastDFS:
  fastdfs_file_url: http://172.19.103.54:80/
---
spring:
  config:
    activate:
      on-profile: dsyy
  datasource:
    url: jdbc:mysql://127.0.0.1:3306/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
    username: wlyy
    password: 2oEq3Kf7@zjxl
  redis:
    host: 127.0.0.1
    port: 6380
    password: Kb6wKDQP1W4

+ 1 - 1
gateway/ag-basic/src/main/resources/bootstrap.yml

@ -1,6 +1,6 @@
spring:
  application:
    name: ag-basic
    name: ag-basic--
  cloud:
    config:
      failFast: true

+ 10 - 1
server/svr-authentication/src/main/java/com/yihu/jw/security/oauth2/provider/endpoint/WlyyLoginEndpoint.java

@ -322,7 +322,8 @@ public class WlyyLoginEndpoint extends AbstractEndpoint {
     * @throws Exception
     */
    @RequestMapping(value = "/oauth/login", method = RequestMethod.POST)
    public ResponseEntity<Oauth2Envelop<WlyyUserSimple>> login(@RequestParam Map<String, String> parameters, HttpSession httpSession) throws Exception {
    public ResponseEntity<Oauth2Envelop<WlyyUserSimple>> login(@RequestParam Map<String, String> parameters, HttpSession httpSession)  {
        try {
            logger.info("login:登录进入1");
            //图形验证码验证
            String key = parameters.get("key");
@ -505,6 +506,14 @@ public class WlyyLoginEndpoint extends AbstractEndpoint {
            //客户端类型 app,wx,pad,pc
            userDetailsService.updateInfo(clientId,getuiClientType,padImei,loginType,wlyyUserSimple.getId(),baseLoginLogDO);
            return getResponse(wlyyUserSimple);
        }catch (Exception e){
            e.printStackTrace();
            HttpHeaders headers = new HttpHeaders();
            headers.set("Cache-Control", "no-store");
            headers.set("Pragma", "no-cache");
            Oauth2Envelop<WlyyUserSimple> oauth2Envelop = new Oauth2Envelop<>("登录失败", -1, null);
            return new ResponseEntity<>(oauth2Envelop, headers, HttpStatus.OK);
        }
    }

+ 1 - 1
server/svr-authentication/src/main/resources/bootstrap.yml

@ -1,6 +1,6 @@
spring:
  application:
    name: svr-authentication
    name: svr-authentication111
  cloud:
    config:
      failFast: true

+ 35 - 7
starter/elasticsearch-starter/src/main/java/com/yihu/jw/elasticsearch/ElasticSearch7Helper.java

@ -3,9 +3,6 @@ package com.yihu.jw.elasticsearch;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.yihu.jw.elasticsearch.model.ESIDEntity;
import io.searchbox.client.JestClient;
import io.searchbox.client.JestResult;
import io.searchbox.core.*;
import org.elasticsearch.action.bulk.BulkRequest;
import org.elasticsearch.action.bulk.BulkResponse;
import org.elasticsearch.action.delete.DeleteRequest;
@ -19,7 +16,6 @@ import org.elasticsearch.action.update.UpdateRequest;
import org.elasticsearch.action.update.UpdateResponse;
import org.elasticsearch.client.RequestOptions;
import org.elasticsearch.client.RestHighLevelClient;
import org.elasticsearch.common.unit.TimeValue;
import org.elasticsearch.common.xcontent.XContentType;
import org.elasticsearch.rest.RestStatus;
@ -29,14 +25,15 @@ import org.elasticsearch.search.builder.SearchSourceBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
@ -51,6 +48,19 @@ public class ElasticSearch7Helper {
    @Resource(name="restHighLevelClient")
    private RestHighLevelClient restHighLevelClient;
    public <T> Boolean saveOne(String index, T t) throws IOException {
        BulkRequest bulkRequest = new BulkRequest();
        bulkRequest.timeout(TimeValue.timeValueSeconds(10));
        bulkRequest.add(new IndexRequest(index)
                        // 不指定ID的话,新增时ID是随机的
//                    .id(items.get(i).getId().toString())
                        .source(JSON.toJSONString(t), XContentType.JSON)
        );
        BulkResponse bulkResponse = restHighLevelClient.bulk(bulkRequest, RequestOptions.DEFAULT);
        logger.info(bulkResponse.buildFailureMessage());
        return !bulkResponse.hasFailures();
    }
    public <T> Boolean save(String index, List<T> sources) throws IOException {
        BulkRequest bulkRequest = new BulkRequest();
@ -176,7 +186,7 @@ public class ElasticSearch7Helper {
    /**
     * 删除
     */
    public boolean delete(String index, String type, List<Map<String, Object>> datas) throws IOException {
    public boolean delete(String index, List<Map<String, Object>> datas) throws IOException {
        BulkRequest bulkRequest = new BulkRequest();
        bulkRequest.timeout(TimeValue.timeValueSeconds(10));
        for (Map map : datas) {
@ -189,6 +199,24 @@ public class ElasticSearch7Helper {
        return !bulkResponse.hasFailures();
    }
    public <T> T searchOne(String index, SearchSourceBuilder queryStr,Class<T> beanClass) throws Exception {
        SearchRequest request = new SearchRequest().indices(index).source(queryStr);
        //带入请求执行查询
        SearchResponse searchResponse = restHighLevelClient.search(request, RequestOptions.DEFAULT);
        //得到查询结果
        SearchHits hits = searchResponse.getHits();
        SearchHit[] searchHits = hits.getHits();
        if(searchHits.length>0){
            Map<String,Object> datas = hits.getAt(0).getSourceAsMap();
            T t = beanClass.newInstance();
            BeanUtils.copyProperties(t,datas);
            return t;
        }
        return null;
    }
    public <T> List<T> search(String index, SearchSourceBuilder queryStr,Class<T> beanClass) throws Exception {
        SearchRequest request = new SearchRequest().indices(index).source(queryStr);

+ 9 - 1
svr/svr-after-diagnosis/pom.xml

@ -73,6 +73,10 @@
            <groupId>com.yihu.jw</groupId>
            <artifactId>common-entity</artifactId>
        </dependency>
        <dependency>
            <groupId>com.yihu.jw</groupId>
            <artifactId>common-entity-es</artifactId>
        </dependency>
        <dependency>
            <groupId>com.yihu.jw</groupId>
            <artifactId>common-rest-model</artifactId>
@ -128,7 +132,11 @@
            <artifactId>HikariCP</artifactId>
            <!-- <scope>runtime</scope> -->
        </dependency>
        <dependency>
            <groupId>com.yihu.jw</groupId>
            <artifactId>elasticsearch-starter</artifactId>
            <version>${version.wlyy-common}</version>
        </dependency>
        <dependency>
            <groupId>com.microsoft.sqlserver</groupId>
            <artifactId>mssql-jdbc</artifactId>

+ 20 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/DeviceCategoryDao.java

@ -0,0 +1,20 @@
/*******************************************************************************
 * Copyright (c) 2005, 2014 springside.github.io
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package com.yihu.jw.afterDiagnosis.dao.device;
import com.yihu.jw.entity.care.device.DeviceCategory;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.List;
public interface DeviceCategoryDao extends PagingAndSortingRepository<DeviceCategory, Long> {
	@Query("select a from DeviceCategory a where a.del = '1'")
	List<DeviceCategory> findAll();
	@Query("select a from DeviceCategory a where a.code = ?1 and  a.del = '1'")
	DeviceCategory findByCode(String code);
}

+ 21 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/DeviceDao.java

@ -0,0 +1,21 @@
/*******************************************************************************
 * Copyright (c) 2005, 2014 springside.github.io
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package com.yihu.jw.afterDiagnosis.dao.device;
import com.yihu.jw.entity.care.device.Device;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.List;
public interface DeviceDao extends PagingAndSortingRepository<Device, Long> {
	@Query("select a from Device a where a.categoryCode = ?1 and a.del = '1'")
	List<Device> findByCategoryCode(String categoryCode);
	@Query("select a from Device a where a.del = '1'")
	List<Device> findAll();
}

+ 128 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/DevicePatientHealthIndexDao.java

@ -0,0 +1,128 @@
package com.yihu.jw.afterDiagnosis.dao.device;
import com.yihu.jw.entity.care.device.DevicePatientHealthIndex;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.Date;
import java.util.List;
public interface DevicePatientHealthIndexDao
		extends PagingAndSortingRepository<DevicePatientHealthIndex, Long>, JpaSpecificationExecutor<DevicePatientHealthIndex> {
	List<DevicePatientHealthIndex> findByIdcardAndType(String idcard, Integer type);
	/**
	 * 按录入时间和患者标识查询健康记录
	 *
	 * @param patientCode
	 * @param date
	 * @return
	 */
	@Query("select a from DevicePatientHealthIndex a where a.user = ?1 and type = ?2 and a.recordDate = ?3 and a.del = '1'")
	Iterable<DevicePatientHealthIndex> findByPatienDate(String patientCode, int type, Date date);
	@Query("select a from DevicePatientHealthIndex a where a.user = ?1 and a.type = ?2 and a.recordDate between ?3 and ?4 and a.del = '1' group by a.recordDate order by a.recordDate asc")
	Iterable<DevicePatientHealthIndex> findByPatient(String user, int type, Date begin, Date end);
	@Query("select a.value1 from DevicePatientHealthIndex a where a.user = ?1 and a.type = ?2 and a.recordDate < ?3 and a.value1 > '0' and a.del = '1' order by a.recordDate desc")
	Page<String> findValue1ByPatient(String user, int type, Date recordDate, Pageable pageRequest);
	@Query("select a.value2 from DevicePatientHealthIndex a where a.user = ?1 and a.type = ?2 and a.recordDate < ?3 and a.value2 > '0' and a.del = '1' order by a.recordDate desc")
	Page<String> findValue2ByPatient(String user, int type, Date recordDate, Pageable pageRequest);
	@Query("select a.value3 from DevicePatientHealthIndex a where a.user = ?1 and a.type = ?2 and a.recordDate < ?3 and a.value3 > '0' and a.del = '1' order by a.recordDate desc")
	Page<String> findValue3ByPatient(String user, int type, Date recordDate, Pageable pageRequest);
	@Query("select a.value4 from DevicePatientHealthIndex a where a.user = ?1 and a.type = ?2 and a.recordDate < ?3 and a.value4 > '0' and a.del = '1' order by a.recordDate desc")
	Page<String> findValue4ByPatient(String user, int type, Date recordDate, Pageable pageRequest);
	@Query("select a.value5 from DevicePatientHealthIndex a where a.user = ?1 and a.type = ?2 and a.recordDate < ?3 and a.value5 > '0' and a.del = '1' order by a.recordDate desc")
	Page<String> findValue5ByPatient(String user, int type, Date recordDate, Pageable pageRequest);
	@Query("select a.value6 from DevicePatientHealthIndex a where a.user = ?1 and a.type = ?2 and a.recordDate < ?3 and a.value6 > '0' and a.del = '1' order by a.recordDate desc")
	Page<String> findValue6ByPatient(String user, int type, Date recordDate, Pageable pageRequest);
	@Query("select a.value7 from DevicePatientHealthIndex a where a.user = ?1 and a.type = ?2 and a.recordDate < ?3 and a.value7 > '0' and a.del = '1' order by a.recordDate desc")
	Page<String> findValue7ByPatient(String user, int type, Date recordDate, Pageable pageRequest);
	@Query("select a from DevicePatientHealthIndex a where a.user = ?1 and a.type = ?2 and a.recordDate >= ?3 and a.recordDate <= ?4 and a.del = '1'")
	Page<DevicePatientHealthIndex> findIndexByPatient(String patient, int type, Date start, Date end, Pageable pageRequest);
	@Query("select a from DevicePatientHealthIndex a where a.user = ?1 and a.type = ?2 and a.value2 =?3 and a.recordDate >= ?4 and a.recordDate <= ?5 and a.del = '1'")
	Page<DevicePatientHealthIndex> findIndexByPatient(String patient, int type,String gi_type, Date start, Date end, Pageable pageRequest);
	@Query("select a from DevicePatientHealthIndex a where a.user = ?1 and a.type = ?2 and a.del = '1'")
	List<DevicePatientHealthIndex> findIndexByPatient(String patient, int type, Pageable pageRequest);
	@Query("SELECT a FROM DevicePatientHealthIndex a where a.user = ?1 and a.del = '1' order by a.recordDate desc ")
	List<DevicePatientHealthIndex> findRecentByPatient(String patient);
	@Query("select DATE_FORMAT(a.recordDate,'%Y-%m-%d') from DevicePatientHealthIndex a where a.user = ?1 and a.recordDate >= ?2 and a.recordDate <= ?3 and a.del = '1' group by DATE_FORMAT(a.recordDate,'%Y-%m-%d') order by DATE_FORMAT(a.recordDate,'%Y-%m-%d') desc")
	List<String> findDateList(String patient, Date start, Date end, Pageable pageRequest);
	/**
	 * 获取患者一天血糖值
	 */
	@Query("select a from DevicePatientHealthIndex a where a.type=1 and a.user = ?1 and DATE_FORMAT(a.recordDate,'%Y-%m-%d') = ?2 and a.del = '1' order by a.recordDate,a.id")
	List<DevicePatientHealthIndex> findByDate(String patient, String date);
	@Query(value = "select a.* from wlyy_patient_health_index a where a.user=?1 and a.type=?2 and a.del='1' order by a.record_date desc limit 0,1",nativeQuery = true)
	DevicePatientHealthIndex findLastData(String patient, Integer type);
	/**
	 * 获取患者一天的具体某个类型的数据
	 */
	@Query("select a from DevicePatientHealthIndex a where a.type=?1 and a.user = ?2 and DATE_FORMAT(a.recordDate,'%Y-%m-%d') = ?3 and a.deviceSn = ?4 and a.del = '1' order by a.recordDate,a.id")
	List<DevicePatientHealthIndex> findByDateAndType(int type,String patient, String date,String devicesn);
	
	/**
	 * 获取患者单月的具体某个类型的数据
	 */
	@Query(value = "SELECT a.* FROM wlyy_patient_health_index a WHERE a.type=?1 AND a.USER=?2 AND DATE_FORMAT(a.record_date,'%Y-%m')=?3 AND a.device_sn=?4 AND a.del='1' ORDER BY a.record_date,a.id",nativeQuery = true)
	List<DevicePatientHealthIndex> findByDateMonthAndType(int type,String patient, String date,String devicesn);
	
	
	/**
	 * 上次血糖值
	 */
	@Query(value = "select a.value1 from wlyy_patient_health_index a where a.type=1 and a.user = ?1 and a.id<?2 and a.value2 = ?3 and a.del = '1' order by a.sort_date desc ,record_date desc limit 0,1",nativeQuery = true)
	String getPreValue(String user,Long id,String value2);
	@Query(value = "select a.* from wlyy_patient_health_index a where a.user = ?1 and a.type = ?2 and a.value2 =?3 and a.record_date >= ?4 and a.record_date <= ?5 and a.del = '1' order by a.sort_date desc ,record_date desc limit ?6 ,?7",nativeQuery = true)
	List<DevicePatientHealthIndex> findIndexByPatientNative(String patient, int type,String gi_type, Date start, Date end,int currentSize,int pageSize);
	/**
	 * 获取患者某一天的血糖  普通sql写法
	 * @param patient
	 * @param date
	 * @return
	 */
	@Query(value = "select a.* from wlyy_patient_health_index a where a.type=1 and a.user = ?1 and DATE_FORMAT(a.record_date,'%Y-%m-%d') = ?2 and a.del = '1' order by a.record_date,a.id",nativeQuery = true)
	List<DevicePatientHealthIndex> findByDateNative(String patient, String date );
	@Query(value = "select a.* from wlyy_patient_health_index a where a.user = ?1 and a.type = ?2 and a.record_date >= ?3 and a.record_date <= ?4 and a.del = '1' order by a.sort_date desc ,record_date desc limit ?5 ,?6",nativeQuery = true)
	List<DevicePatientHealthIndex> findIndexByPatientNative(String patient, int type, Date start, Date end,int currentSize,int pageSize);
	@Query(value = "select DATE_FORMAT(a.record_date,'%Y-%m-%d') from wlyy_patient_health_index a where a.user = ?1 and a.record_date >= ?2 and a.record_date <= ?3 and a.del = '1' group by DATE_FORMAT(a.record_date,'%Y-%m-%d') order by DATE_FORMAT(a.record_date,'%Y-%m-%d') desc limit ?4 ,?5",nativeQuery = true)
	List<String> findDateList(String patient,Date start ,Date end,Long currentSize,int pageSize);
	@Query(value = "select DATE_FORMAT(a.record_date,'%Y-%m-%d') from wlyy_patient_health_index a where a.user = ?1 and a.type=?2 and a.record_date >= ?3 and a.record_date <= ?4 and a.del = '1' group by DATE_FORMAT(a.record_date,'%Y-%m-%d') order by DATE_FORMAT(a.record_date,'%Y-%m-%d') desc limit ?5 ,?6",nativeQuery = true)
	List<String> findDateList(String patient,int type,Date start ,Date end,Long currentSize,int pageSize);
	@Query(value = "select DATE_FORMAT(a.record_date,'%Y-%m-%d') from wlyy_patient_health_index a where a.user = ?1 and a.del = '1' group by DATE_FORMAT(a.record_date,'%Y-%m-%d') order by DATE_FORMAT(a.record_date,'%Y-%m-%d') desc limit ?2 ,?3",nativeQuery = true)
	List<String> findDateList1(String patient,int currentSize,int pageSize);
	@Query(value="select * from wlyy_patient_health_index where user = ?1 and type = ?2 ORDER BY record_date desc limit 0 ,5",nativeQuery = true)
	List<DevicePatientHealthIndex> findByPatientAndTypeByPage(String patientCode, int type);
	@Query("select count(a) from DevicePatientHealthIndex a where a.recordDate >= ?1 and a.recordDate <= ?2 and a.type in (1,2) and a.status = ?3 and a.del = '1' and a.user = ?4")
	int getCountByTimeAndStatus(Date start, Date end, int status, String patientCode);
}

+ 10 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/DeviceWxMessageDao.java

@ -0,0 +1,10 @@
package com.yihu.jw.afterDiagnosis.dao.device;
import com.yihu.jw.entity.base.device.DeviceWxMessage;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
public interface DeviceWxMessageDao extends PagingAndSortingRepository<DeviceWxMessage, Long>, JpaSpecificationExecutor<DeviceWxMessage> {
}

+ 27 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/DoctorHealthStandardDao.java

@ -0,0 +1,27 @@
package com.yihu.jw.afterDiagnosis.dao.device;
import com.yihu.jw.entity.base.device.DoctorHealthStandard;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
/**
 * @author huangwenjie
 * @date 2017/9/14 21:43
 */
public interface DoctorHealthStandardDao extends
		PagingAndSortingRepository<DoctorHealthStandard, Long>,
        JpaSpecificationExecutor<DoctorHealthStandard>{
    // 查询医生健康指标预警值方案
    Iterable<DoctorHealthStandard> findByDoctor(String code);
    @Modifying
    @Query("delete DoctorHealthStandard a where a.doctor = ?1")
    int deleteByDoctor(String doctorcode);
    @Query("select a from DoctorHealthStandard a where a.doctor = ?1 and a.type = ?2")
    DoctorHealthStandard findByDoctorType(String patient, int type);
}

+ 12 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientAimBloodPressureDao.java

@ -0,0 +1,12 @@
package com.yihu.jw.afterDiagnosis.dao.device;
import com.yihu.jw.entity.base.device.PatientAimBloodPressure;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
/**
 * Created by Trick on 2018/1/5.
 */
public interface PatientAimBloodPressureDao extends PagingAndSortingRepository<PatientAimBloodPressure, Integer>, JpaSpecificationExecutor<PatientAimBloodPressure> {
    public  PatientAimBloodPressure findByPatientcode(String patientcode);
}

+ 13 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientAimBloodSuggerDao.java

@ -0,0 +1,13 @@
package com.yihu.jw.afterDiagnosis.dao.device;
import com.yihu.jw.entity.base.device.PatientAimBloodSugger;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
/**
 * Created by Trick on 2018/1/5.
 */
public interface PatientAimBloodSuggerDao extends PagingAndSortingRepository<PatientAimBloodSugger, Integer>, JpaSpecificationExecutor<PatientAimBloodSugger> {
    public PatientAimBloodSugger findByPatientcode(String patientcode);
}

+ 23 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientAimSportsDao.java

@ -0,0 +1,23 @@
package com.yihu.jw.afterDiagnosis.dao.device;
import com.yihu.jw.entity.base.device.PatientAimSports;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
/**
 * 居民-运动目标
 * @author huangwenjie
 * @date 2017/9/12 16:07
 */
public interface PatientAimSportsDao extends
        PagingAndSortingRepository<PatientAimSports, Long>,
        JpaSpecificationExecutor<PatientAimSports> {
    @Query("from PatientAimSports p where p.code=?1")
    PatientAimSports findByCode(String code);
    @Query("from PatientAimSports p where p.patientcode =?1 and p.bmiMax is not null and p.bmiMin is not null")
    PatientAimSports getPatientAimSportsByPatientCode(String patientCode);
}

+ 14 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientBloodSuggerDao.java

@ -0,0 +1,14 @@
package com.yihu.jw.afterDiagnosis.dao.device;
import com.yihu.jw.entity.base.device.PatientBloodSugger;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
/**
 * Created by Reece on 2017/5/11.
 */
public interface PatientBloodSuggerDao extends PagingAndSortingRepository<PatientBloodSugger,Long> {
//    按ID倒序查最近的有效默认时间段
    @Query(value = "select t.* from wlyy_patient_blood_sugger t where t.del = 1 order by t.id desc limit 0,1 ",nativeQuery = true)
    PatientBloodSugger findRecent();
}

+ 57 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientDeviceDao.java

@ -0,0 +1,57 @@
package com.yihu.jw.afterDiagnosis.dao.device;
import com.yihu.jw.entity.patient.PatientDevice;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.List;
public interface PatientDeviceDao extends PagingAndSortingRepository<PatientDevice, Long>, JpaSpecificationExecutor<PatientDevice> {
    @Query("select a from PatientDevice a where a.user = ?1 ")
    Iterable<PatientDevice> findByUser(String user);
    @Query("select a from PatientDevice a where a.user = ?1 ")
    List<PatientDevice> findByPatient(String user);
    @Query("select a from PatientDevice a where a.user = ?1 and a.del=0 and a.deviceName like '%药盒%'")
    List<PatientDevice> findByPatientAndDel(String user);
    @Query("select a from PatientDevice a where a.user = ?1 and a.deviceSn=?2 ")
    List<PatientDevice> findByPatientAndDeviceSn(String user, String deviceSn);
    List<PatientDevice> findByUser(String user, Pageable pageRequest);
    List<PatientDevice> findByUserAndDoctor(String user, String doctor, Pageable pageRequest);
    List<PatientDevice> findByDeviceSnAndCategoryCode(String deviceSn, String categoryCode);
    PatientDevice findByDeviceSnAndCategoryCodeAndUserType(String deviceSn, String categoryCode, String userType);
    PatientDevice findByDeviceIdAndDeviceSnAndUserType(Long deviceId, String deviceSn, String userType);
    PatientDevice findByDeviceSnAndUserType(String deviceSn, String userType);
    @Query("select pd from PatientDevice pd where pd.deviceSn = ?1 and pd.del=0")
    List<PatientDevice> findByDeviceSn(String deviceSn);
    @Query("select pd from PatientDevice pd where pd.deviceSn = ?1 ")
    List<PatientDevice> findByDeviceSn2(String deviceSn);
    //更换患者绑定的血糖仪
    @Modifying
    @Query("update PatientDevice t set t.deviceSn = ?3 , t.userType = ?4,t.sim=?5,t.hospital=?6,t.hospitalName=?7,t.checkDoctorName=?8 where t.user = ?1 and t.deviceSn = ?2 ")
    int updatePatientDevice(String user, String deviceSN, String newDeviceSN, String userType, String sim,String hospital,String hospitalName,String checkDoctorName);
    @Query("select a " +
            "from PatientDevice a,BasePatientDO p where a.userIdcard=p.idcard")
    List<PatientDevice> findWithArrdess();
    @Query("select a from PatientDevice a")
    List<PatientDevice> findAll();
}

+ 20 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientDeviceLogDao.java

@ -0,0 +1,20 @@
package com.yihu.jw.afterDiagnosis.dao.device;
import com.yihu.jw.entity.patient.PatientDeviceLog;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.List;
public interface PatientDeviceLogDao extends PagingAndSortingRepository<PatientDeviceLog, Long>, JpaSpecificationExecutor<PatientDeviceLog> {
    @Query("select pdl from PatientDeviceLog pdl where pdl.patient=?1 and pdl.categoryCode=?2")
    List<PatientDeviceLog> findByPatientAndCategoryCode(String patient,String categoryCode);
    
    @Query("select pdl from PatientDeviceLog pdl where pdl.patient=?1 group by pdl.deviceSn ")
    List<PatientDeviceLog> findByPatientGroupByDeviceSn(String patient);
    @Query("select a from PatientDeviceLog a")
    List<PatientDeviceLog> findAllList();
}

+ 27 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientHealthStandardDao.java

@ -0,0 +1,27 @@
/*******************************************************************************
 * Copyright (c) 2005, 2014 springside.github.io
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package com.yihu.jw.afterDiagnosis.dao.device;
import com.yihu.jw.entity.base.device.PatientHealthStandard;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
public interface PatientHealthStandardDao extends
		PagingAndSortingRepository<PatientHealthStandard, Long>,
		JpaSpecificationExecutor<PatientHealthStandard> {
	// 查询患者健康指标预警值
	Iterable<PatientHealthStandard> findByPatient(String patient);
	@Modifying
	@Query("delete PatientHealthStandard a where a.patient = ?1")
	int deleteByPatient(String patient);
	@Query("select a from PatientHealthStandard a where a.patient = ?1 and a.type = ?2")
	PatientHealthStandard findByPatientType(String patient, int type);
}

+ 35 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/device/PatientHealthTimeDao.java

@ -0,0 +1,35 @@
package com.yihu.jw.afterDiagnosis.dao.device;
import com.yihu.jw.entity.base.device.PatientHealthTime;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
/**
 * Created by Reece on 2017/5/11.
 */
public interface PatientHealthTimeDao extends PagingAndSortingRepository<PatientHealthTime, Long> {
    //    根据居民和设备sn码查询自定义的血糖时间段
    @Query(value = "select t.* from wlyy_patient_health_time t where t.del = 1 and t.user = ?1 and t.device_sn = ?2 ", nativeQuery = true)
    PatientHealthTime findByUserAndSN(String user, String deviceSN);
    //    根据居民和设备sn码修改自定义的血糖时间段
    @Modifying
    @Query("update PatientHealthTime t set t.fastingStart = ?1,t.fastingEnd = ?2,t.afterBreakfastStart = ?3,t.afterBreakfastEnd = ?4," +
            "t.beforeLunchStart = ?5 ,t.beforeLunchEnd = ?6 ,t.afterLunchStart = ?7,t.afterLunchEnd = ?8 ,t.beforeDinnerStart = ?9,t.beforeDinnerEnd = ?10," +
            "t.afterDinnerStart = ?11,t.afterDinnerEnd = ?12,t.beforeSleepStart = ?13,t.beforeSleepEnd = ?14 where t.del = 1 and t.user = ?15 and t.deviceSN = ?16 ")
    int modifyByUserAndSN(String fastingStart, String fastingEnd, String afterBreakfastStart, String afterBreakfastEnd, String beforeLunchStart, String beforeLunchEnd,
                          String afterLunchStart, String afterLunchEnd, String beforeDinnerStart, String beforeDinnerEnd, String afterDinnerStart, String afterDinnerEnd,
                          String beforeSleepStart, String beforeSleepEnd, String user, String deviceSN);
    //    根据居民和设备sn码删除自定义的血糖时间段
    @Modifying
    @Query("update PatientHealthTime t set t.del = 0 where t.user = ?1 and t.deviceSN = ?2 ")
    int deleteByUserAndSN(String user, String deviceSN);
    //    更换个人sv码
    @Modifying
    @Query("update PatientHealthTime t set t.deviceSN = ?3 where t.user = ?1 and t.deviceSN = ?2 ")
    int updateDeviceSN(String user, String deviceSN,String newDeviceSN );
}

+ 18 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/dict/DmDrugsGroupItemDao.java

@ -0,0 +1,18 @@
/*******************************************************************************
 * Copyright (c) 2005, 2014 springside.github.io
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package com.yihu.jw.afterDiagnosis.dao.dict;
import com.yihu.jw.entity.base.dict.DmDrugsGroupItem;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.List;
public interface DmDrugsGroupItemDao extends PagingAndSortingRepository<DmDrugsGroupItem, Long>, JpaSpecificationExecutor<DmDrugsGroupItem> {
    @Query(value = "select b.* from wlyy_followup_class_drugs a,dm_drugs_group_item b left join dm_drugs_group c on c.group_code = b.group_code and c.status='1' where a.drugs_code=b.drugs_code and a.followup_class=?1 and b.status='1' order by c.order,b.order",nativeQuery = true)
    List<DmDrugsGroupItem> findByFollowupClass(String followupClass) throws Exception;
}

+ 146 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/followup/FollowUpDao.java

@ -0,0 +1,146 @@
/*******************************************************************************
 * Copyright (c) 2005, 2014 springside.github.io
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package com.yihu.jw.afterDiagnosis.dao.followup;
import com.yihu.jw.entity.followup.Followup;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.Date;
import java.util.List;
import java.util.Set;
public interface FollowUpDao extends PagingAndSortingRepository<Followup, Long>, JpaSpecificationExecutor<Followup> {
    @Query("select a.followupDate from Followup a where a.doctorCode = ?1 and a.patientCode = ?2 and a.followupClass = '9'" )
    List<Date> findFollowupDateList(String doctor,String patientCode) throws Exception;
    @Query("select a.status from Followup a where a.doctorCode = ?1 and a.patientCode = ?2 and a.followupClass = '9'" )
    Set findStatusList(String doctor, String patientCode) throws Exception;
    @Query("select a from Followup a where a.doctorCode = ?1 and a.patientCode = ?2 and a.followupClass = '9' order by a.followupPlanDate asc")
    List<Followup> findFollowupList(String doctor,String patientCode) throws Exception;
    @Query("select a from Followup a where a.doctorCode = ?1 and a.patientCode = ?2 and a.followupDate = ?3 and a.followupClass = '9'")
    Followup findFollowupByDate(String doctor,String patientCode,Date followupDate) throws Exception;
    @Query("select a from Followup a where a.doctorCode = ?1 and a.followupDate between ?2 and ?3 and a.status <> '0'")
    List<Followup> findByDoctor(String doctor, Date begin, Date end) throws Exception;
    //查询未完成有效随访记录
    @Query("select a from Followup a where a.doctorCode = ?1 and a.followupDate between ?2 and ?3 and a.status NOT IN ('0', '1') ")
    List<Followup> getByDoctor(String doctor, Date begin, Date end) throws Exception;
    //查询未完成有效随访计划记录
    @Query("select a from Followup a where a.doctorCode = ?1 and a.followupPlanDate between ?2 and ?3 and a.status NOT IN ('0', '1') ")
    List<Followup> getByDoctorPlan(String doctor, Date begin, Date end) throws Exception;
    @Query("select a from Followup a where a.doctorCode = ?1 and a.followupPlanDate between ?2 and ?3 and a.status <> '0' and a.followupClass=?4 and a.patientName like ?5 order by a.followupPlanDate DESC")
    List<Followup> findAllDoctorPlan(String doctor, Date begin, Date end,String followupClass,String patientName) throws Exception;
    @Query("select a from Followup a where a.doctorCode = ?1 and a.followupPlanDate between ?2 and ?3 and a.status <> '0' and a.patientCode = ?4 and a.followupClass = ?5 and a.patientName like ?6 order by a.followupPlanDate DESC")
    List<Followup> findAllDoctorPlan(String doctor, Date begin, Date end,String patientCode,String followupClass,String patientName) throws Exception;
    @Query("select a from Followup a where a.doctorCode = ?1 and a.followupPlanDate between ?2 and ?3 and a.status <> '0' and a.patientCode = ?4 and a.followupClass = ?5 and a.patientName like ?6 and a.followupClass in(5,6,7,8,9) order by a.followupPlanDate DESC")
    List<Followup> findAllDoorDoctorPlan(String doctor, Date begin, Date end,String patientCode,String followupClass,String patientName) throws Exception;
    @Query("select a from Followup a where a.doctorCode = ?1 and a.followupPlanDate between ?2 and ?3 and a.status <> '0' and a.followupClass=?4 and a.patientName like ?5 and a.followupClass in(5,6,7,8,9) order by a.followupPlanDate DESC")
    List<Followup> findAllDoorDoctorPlan(String doctor, Date begin, Date end,String followupClass,String patientName) throws Exception;
    @Query("select a from Followup a where a.patientCode = ?1 and a.status <> '0' and a.doctorCode = ?2 order by a.followupPlanDate DESC")
    List<Followup> findAllPatientPlan(String patientCode,String doctorCode) throws Exception;
    @Query("select a from Followup a where a.creater = ?1 and a.followupDate between ?2 and ?3 and a.status <> '0'")
    List<Followup> findByCreater(String creater, Date begin, Date end, Pageable pageRequest) throws Exception;
    @Query(value = "select a.* from wlyy_followup a where a.doctor_code in ?1 and a.patient_code = ?2 and a.followup_class=?3 and a.status ='1' order by a.followup_date DESC limit 1",nativeQuery = true)
    Followup findLastFollowup(String[] doctors,String patientCode,String followClass) throws Exception;
    /**
     * 查找所有的随访数据
     * @param patient
     * @param teamCode
     * @param pageable
     * @return
     */
    @Query("select distinct d.code,d.name,d.photo,a.followupType,a.followupClass,a.status,a.createTime,a.updateTime,a.followupManagerStatus,c.code,c.name,c.photo" + ",a.followupDate,a.followupPlanDate,a.followupNextDate,a.id,a.followupNo,a.prescriptionCode,a.type from Followup a, Doctor d, Doctor c where a.doctorCode = d.code and a.creater = c.code and a.patientCode = ?1 and (a.adminTeamCode = ?2 or a.doctorCode=?3) and a.status > 0")
    Page<Object> findByPatientAndTeam(String patient, Long teamCode, String doctor,Pageable pageable);
    /**
     * 查找所有的随访数据
     * @param patient
     * @param pageable
     * @return
     */
    @Query("select d.code,d.name,d.photo,a.followupType,a.followupClass,a.status,a.createTime,a.updateTime,a.followupManagerStatus,c.code,c.name,c.photo" + ",a.followupDate,a.followupPlanDate,a.followupNextDate,a.id,a.followupNo,a.prescriptionCode from Followup a, Doctor d, Doctor c where a.doctorCode = d.code and a.creater = c.code and a.patientCode = ?1  and a.status > 0")
    Page<Object> findByPatient(String patient, Pageable pageable);
    /**
     * 查找所有的随访计划(未开始的归类为计划)
     * @param patient
     * @param pageable
     * @return
     */
    @Query("select d.code,d.name,d.photo,a.followupType,a.followupClass,a.status,a.createTime,a.updateTime,a.followupManagerStatus,c.code,c.name,c.photo" + ",a.followupDate,a.followupPlanDate,a.followupNextDate,a.id,a.followupNo,a.prescriptionCode from Followup a, Doctor d, Doctor c where a.doctorCode = d.code and a.creater = c.code and a.patientCode = ?1 and a.status = '2'")
    Page<Object> findPlanByPatient(String patient, Pageable pageable);
    /**
     * 查找所有的随访记录(进行中的,已完整的的归类为计划)
     * @param patient
     * @param pageable
     * @return
     */
    @Query("select d.code,d.name,d.photo,a.followupType,a.followupClass,a.status,a.createTime,a.updateTime,a.followupManagerStatus,c.code,c.name,c.photo" + ",a.followupDate,a.followupPlanDate,a.followupNextDate,a.id,a.followupNo,a.prescriptionCode from Followup a, Doctor d, Doctor c where a.doctorCode = d.code and a.creater = c.code and a.patientCode = ?1 and (a.status = '1' or a.status = '3')")
    Page<Object> findRecordByPatient(String patient, Pageable pageable);
    
    /**
     * 查找所有的随访计划(未开始的归类为计划)
     * @param patient
     * @param teamCode
     * @param pageable
     * @return
     */
    @Query("select distinct d.code,d.name,d.photo,a.followupType,a.followupClass,a.status,a.createTime,a.updateTime,a.followupManagerStatus,c.code,c.name,c.photo" + ",a.followupDate,a.followupPlanDate,a.followupNextDate,a.id,a.followupNo,a.prescriptionCode,a.type from Followup a, Doctor d, Doctor c where a.doctorCode = d.code and a.creater = c.code and a.patientCode = ?1 and (a.adminTeamCode = ?2 or a.doctorCode=?3) and a.status = '2'")
    Page<Object> findPlanByPatientAndTeam(String patient, Long teamCode,String doctor, Pageable pageable);
    /**
     * 查找所有的随访记录(进行中的,已完整的的归类为计划)
     * @param patient
     * @param teamCode
     * @param pageable
     * @return
     */
    @Query("select distinct d.code,d.name,d.photo,a.followupType,a.followupClass,a.status,a.createTime,a.updateTime,a.followupManagerStatus,c.code,c.name,c.photo" + ",a.followupDate,a.followupPlanDate,a.followupNextDate,a.id,a.followupNo,a.prescriptionCode,a.type from Followup a, Doctor d, Doctor c where a.doctorCode = d.code and a.creater = c.code and a.patientCode = ?1 and (a.adminTeamCode = ?2 or a.doctorCode=?3) and (a.status = '1' or a.status = '3')")
    Page<Object> findRecordByPatientAndTeam(String patient, Long teamCode,String doctor, Pageable pageable);
    
    /**
     * 根据续方CODE获取随访记录
     * @param prescriptionCode
     * @return
     */
    @Query("select a from Followup a where a.prescriptionCode = ?1 and a.status <> '0'")
	Followup getFollowupByPrescriptionCode(String prescriptionCode);
    
    @Modifying
    @Query("update Followup a set a.status=?2 where a.prescriptionCode = ?1 ")
    void updateStatusByPrescriptionCode(String prescriptionCode, String status);
    @Query("select a from Followup a where a.patientCode = ?1 and a.followupClass = ?2 and a.status = 1 order by a.followupDate desc")
    List<Followup> findAllByPatientCodeAndClass(String patientCode, String followupClass);
    @Query("select a from Followup a where a.patientCode = ?1 and a.type = ?2 order by a.visitCount asc")
    List<Followup> findAllByPatientCodeAndType(String patientCode, Integer type);
    @Query("select a from Followup a where a.patientCode = ?1 and a.type = ?2 and a.status=?3 order by a.visitCount asc")
    List<Followup> findListByPatientAndType(String patientCode, Integer type,String status);
}

+ 0 - 0
svr/svr-after-diagnosis/src/mian/java/com/yihu/jw/afterDiagnosis/dao/followup/FollowupContentDao.java


部分文件因为文件数量过多而无法显示