Commit c1a4682e7bf33a687f6ace16cb6886fa3d93b7b5

Authored by cfl
1 parent f620d63a0d
Exists in master and in 2 other branches dev, luanping

秦皇岛二院需求修改

Showing 11 changed files with 1169 additions and 23 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/AntenatalExaminationController.java View file @ c1a4682
... ... @@ -36,6 +36,7 @@
36 36 import javax.servlet.http.HttpServletResponse;
37 37 import javax.validation.Valid;
38 38 import java.util.Date;
  39 +import java.util.List;
39 40  
40 41 /**
41 42 * 产前检查
42 43  
... ... @@ -521,9 +522,10 @@
521 522 @RequestParam(value = "nextTime", required = false) String nextTime,
522 523 @RequestParam(value = "doctorId", required = false) String doctorId,
523 524 @RequestParam(value = "sieveType", required = false) String sieveType,
524   - @RequestParam(value = "edema", required = false) String edema
  525 + @RequestParam(value = "edema", required = false) String edema,
  526 + @RequestParam(value = "riskFactor", required = false) List<String> riskFactor
525 527 ) {
526   - return antExRecordFacade.inputWxData(fuh, abdominalGirth, fhr,edema, pid, hospitalId, nextTime, doctorId,sieveType);
  528 + return antExRecordFacade.inputWxData(fuh, abdominalGirth, fhr,edema, pid, hospitalId, nextTime, doctorId,sieveType,riskFactor);
527 529 }
528 530  
529 531 /**
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PatientServiceController.java View file @ c1a4682
1 1 package com.lyms.platform.operate.web.controller;
2 2  
  3 +import com.lyms.platform.biz.service.PatientsService;
3 4 import com.lyms.platform.common.annotation.TokenRequired;
4 5 import com.lyms.platform.common.base.BaseController;
5 6 import com.lyms.platform.common.base.LoginContext;
6 7 import com.lyms.platform.common.constants.ErrorCodeConstants;
  8 +import com.lyms.platform.common.enums.YnEnums;
7 9 import com.lyms.platform.common.result.BaseListResponse;
8 10 import com.lyms.platform.common.result.BaseResponse;
9 11 import com.lyms.platform.common.utils.StringUtils;
10 12 import com.lyms.platform.operate.web.facade.AutoMatchFacade;
11 13 import com.lyms.platform.operate.web.facade.PatientServiceFacade;
12 14 import com.lyms.platform.operate.web.request.BasePageQueryRequest;
  15 +import com.lyms.platform.operate.web.request.YxzhVO;
  16 +import com.lyms.platform.operate.web.utils.CollectionUtils;
13 17 import com.lyms.platform.permission.model.PatientService;
  18 +import com.lyms.platform.permission.model.PatientServiceQuery;
  19 +import com.lyms.platform.permission.service.PatientServiceService;
  20 +import com.lyms.platform.pojo.Patients;
  21 +import com.lyms.platform.query.PatientsQuery;
14 22 import org.springframework.beans.factory.annotation.Autowired;
15 23 import org.springframework.stereotype.Controller;
16 24 import org.springframework.web.bind.annotation.*;
17 25  
18 26 import javax.servlet.http.HttpServletRequest;
19   -import java.util.Date;
  27 +import java.util.*;
20 28  
21 29 /**
22 30 * @auther yangfei
... ... @@ -31,6 +39,12 @@
31 39 @Autowired
32 40 private AutoMatchFacade autoMatchFacade;
33 41  
  42 + @Autowired
  43 + private PatientsService patientsService;
  44 +
  45 + @Autowired
  46 + private PatientServiceService patientServiceService;
  47 +
34 48 /**
35 49 * 初始化接口
36 50 *
... ... @@ -82,6 +96,100 @@
82 96 public BaseResponse findPatientServiceList(String pid, HttpServletRequest request) {
83 97 LoginContext loginState = (LoginContext) request.getAttribute("loginContext");
84 98 return patientServiceFacade.findPatientServiceList(pid);
  99 + }
  100 +
  101 + /**
  102 + * 医心照护系统购买订单后增加服务开通
  103 + * @param yxzhVO
  104 + * @param request
  105 + * @return
  106 + */
  107 + @ResponseBody
  108 + @RequestMapping(value = "/yxzh/patSer", method = RequestMethod.POST)
  109 + public BaseResponse yxzhAddPatientService(@RequestBody YxzhVO yxzhVO, HttpServletRequest request) {
  110 + BaseResponse baseResponse = new BaseResponse();
  111 + baseResponse.setErrorcode(ErrorCodeConstants.SUCCESS);
  112 +
  113 + try {
  114 + PatientsQuery patientsQuery = new PatientsQuery();
  115 + patientsQuery.setCardNo(yxzhVO.getIdno());
  116 + patientsQuery.setName(yxzhVO.getName());
  117 + patientsQuery.setYn(YnEnums.YES.getId());
  118 + patientsQuery.setType(1);
  119 + List<Patients> patientsList = patientsService.queryPatient(patientsQuery);
  120 + if(CollectionUtils.isEmpty(patientsList)){
  121 + baseResponse.setErrorcode(ErrorCodeConstants.DATA_EXIST);
  122 + baseResponse.setErrormsg("档案信息不存在,请核实");
  123 + return baseResponse;
  124 + }
  125 + Patients patients = patientsList.get(0);
  126 + String hospitalId = patients.getHospitalId();
  127 + String bookbuildingDoctor = patients.getBookbuildingDoctor();
  128 + //续期,增加
  129 + if(yxzhVO.getRenew() == 1){
  130 + PatientServiceQuery patientServiceQuery = new PatientServiceQuery();
  131 + patientServiceQuery.setParentid(patients.getId());
  132 + patientServiceQuery.setPerType(1);
  133 + patientServiceQuery.setSerType(1);
  134 + List<PatientService> patientServices = patientServiceService.queryPatientService(patientServiceQuery);
  135 + if(CollectionUtils.isNotEmpty(patientServices)){
  136 + PatientService patientService = patientServices.get(0);
  137 + PatientService ps = new PatientService();
  138 +
  139 + ps.setId(patientService.getId());
  140 + ps.setParentid(patientService.getParentid());
  141 + ps.setSerStatus(1);
  142 + ps.setServiceWeek(yxzhVO.getWeeks());
  143 + ps.setSerType(1);
  144 + patientServiceFacade.updatePatientService(ps,Integer.valueOf(bookbuildingDoctor));
  145 +
  146 + }
  147 + patientServiceQuery.setSerType(6);
  148 + patientServices = patientServiceService.queryPatientService(patientServiceQuery);
  149 + if(CollectionUtils.isNotEmpty(patientServices)){
  150 + PatientService patientService = patientServices.get(0);
  151 + PatientService ps = new PatientService();
  152 +
  153 + ps.setId(patientService.getId());
  154 + ps.setParentid(patientService.getParentid());
  155 + ps.setSerStatus(1);
  156 + ps.setServiceWeek(yxzhVO.getWeeks());
  157 + ps.setSerType(6);
  158 + baseResponse = patientServiceFacade.updatePatientService(ps,Integer.valueOf(bookbuildingDoctor));
  159 +
  160 + }
  161 +
  162 + return baseResponse;
  163 + }else{
  164 +
  165 + PatientService ps = new PatientService();
  166 + ps.setSerStatus(1);
  167 + ps.setPerType(1);
  168 + ps.setParentid(patients.getId());
  169 + ps.setCreateUser(bookbuildingDoctor);
  170 + ps.setCreateDate(new Date());
  171 +
  172 + List<Map<String,String>> list = new ArrayList<>();
  173 + Map<String,String> m1 = new HashMap<>();
  174 + m1.put("serType","1");
  175 + m1.put("serviceWeek",yxzhVO.getWeeks()+"");
  176 + Map<String,String> m2 = new HashMap<>();
  177 + m2.put("serType","6");
  178 + m2.put("serviceWeek",yxzhVO.getWeeks()+"");
  179 + list.add(m1);
  180 + list.add(m2);
  181 + ps.setSerInfos(list);
  182 + return patientServiceFacade.addPatientService(ps, Integer.valueOf(bookbuildingDoctor),hospitalId);
  183 + }
  184 +
  185 +
  186 + }catch (Exception e){
  187 + e.printStackTrace();
  188 + baseResponse.setErrorcode(ErrorCodeConstants.SYSTEM_ERROR);
  189 + baseResponse.setErrormsg(ErrorCodeConstants.SYSTEM_ERROR_DESCRIPTION);
  190 + return baseResponse;
  191 + }
  192 +
85 193 }
86 194  
87 195 /**
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/RemoteController.java View file @ c1a4682
... ... @@ -15,9 +15,14 @@
15 15 import com.lyms.platform.common.result.RespBuilder;
16 16 import com.lyms.platform.common.utils.*;
17 17 import com.lyms.platform.operate.web.facade.AutoMatchFacade;
  18 +import com.lyms.platform.operate.web.facade.BookbuildingFacade;
18 19 import com.lyms.platform.operate.web.facade.RemoteFacade;
19 20 import com.lyms.platform.operate.web.request.WomanBookArchiveRequest;
  21 +import com.lyms.platform.operate.web.request.YunBookbuildingAddRequest;
20 22 import com.lyms.platform.operate.web.utils.CommonsHelper;
  23 +import com.lyms.platform.operate.web.vo.ArchiveAreas;
  24 +import com.lyms.platform.operate.web.vo.ArchiveHistoryDTO;
  25 +import com.lyms.platform.operate.web.vo.ArchiveUsers;
21 26 import com.lyms.platform.permission.service.AssistBuildService;
22 27 import com.lyms.platform.pojo.*;
23 28 import com.lyms.platform.query.ArchiveDataQuery;
... ... @@ -63,6 +68,9 @@
63 68 @Autowired
64 69 private RemoteFacade remoteFacade;
65 70  
  71 + @Autowired
  72 + private BookbuildingFacade bookbuildingFacade;
  73 +
66 74 private static final long TIMES = 24 * 60 * 60 * 1000 - 1;
67 75  
68 76 public static final String center_statistics_url= PropertiesUtils.getPropertyValue("center_statistics_url");
... ... @@ -276,6 +284,59 @@
276 284 writeString(response,"fail");
277 285 }
278 286 writeString(response,"success");
  287 + }
  288 +
  289 + @RequestMapping(value = "/confirmArchive",method = RequestMethod.POST)
  290 + public void confirmArchive(HttpServletResponse response,
  291 + String archiveUser,
  292 + String healthResort,
  293 + String archiveHistoryDTO) {
  294 + try {
  295 + ArchiveUsers archiveUsers = JsonUtil.jkstr2Obj(archiveUser, ArchiveUsers.class);
  296 + ArchiveAreas resort = JsonUtil.jkstr2Obj(healthResort, ArchiveAreas.class);
  297 + ArchiveHistoryDTO archiveHistory = JsonUtil.jkstr2Obj(archiveHistoryDTO, ArchiveHistoryDTO.class);
  298 + //组装建档保存
  299 + YunBookbuildingAddRequest request = new YunBookbuildingAddRequest();
  300 + request.setHospitalId(archiveUsers.getHospitalId());
  301 + request.setPregnantName(archiveUsers.getName());
  302 + request.setPregnantCertificateNum(archiveUsers.getIdCard());
  303 + request.setPregnantCertificateTypeId("70ae1d93-2964-46bc-83fa-bec9ff605b1c");//身份证
  304 + request.setBirthday(DateUtil.getBirthFromIdCard(archiveUsers.getIdCard()));
  305 + request.setPregnantPhone(archiveUsers.getPhone());
  306 + request.setChildbirthAddr(resort.getAddress());
  307 + request.setChildbirthProvinceId(resort.getProvinceId());
  308 + request.setChildbirthCityId(resort.getCityId());
  309 + request.setChildbirthAreaId(resort.getDistrictId());
  310 + request.setChildbirthStreetId(resort.getStreetId());
  311 + request.setReqHusband(false);
  312 +
  313 + request.setLastMenstrualPeriod(archiveHistory.getLastMenses());
  314 + //request.setFuckLastMens(archiveHistory.getLastMenses());
  315 + request.setDueDate(DateUtil.getyyyy_MM_dd(DateUtil.addDay(DateUtil.parseYMD(archiveHistory.getLastMenses()), 42 * 7)));
  316 + request.setBookbuildingDoctor(archiveUsers.getAssistUserId());
  317 + request.setBookbuildingDate(DateUtil.getyyyy_MM_dd(new Date()));
  318 + request.setDueStatus(0);
  319 + request.setcDueWeek(com.lyms.platform.common.utils.StringUtils.dueWeek(DateUtil.daysBetween(DateUtil.parseYMD(archiveHistory.getLastMenses()), new Date())));
  320 +
  321 + request.setQhdjdheight(archiveUsers.getQhdjdheight());
  322 + request.setQhdyqweight(archiveUsers.getQhdyqweight());
  323 + request.setQhdjdssy(archiveUsers.getQhdjdssy());
  324 + request.setQhdjdszy(archiveUsers.getQhdjdszy());
  325 +
  326 + request.setContactName(archiveUsers.getContactName());
  327 + request.setContactPhone(archiveUsers.getContactPhone());
  328 +
  329 + BaseObjectResponse baseObjectResponse = bookbuildingFacade.addPregnantBookbuilding(request, Integer.valueOf(archiveUsers.getAssistUserId()), false);
  330 + if(baseObjectResponse.getErrorcode()==ErrorCodeConstants.SUCCESS){
  331 + writeString(response,"success");
  332 + return;
  333 + }
  334 + }
  335 + catch (Exception e)
  336 + {
  337 + writeString(response,"fail");
  338 + }
  339 + writeString(response,"fail");
279 340 }
280 341  
281 342  
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/StopPregnancyController.java View file @ c1a4682
... ... @@ -88,6 +88,13 @@
88 88 return stopPregnancyFacade.queryInPerson(loginState.getId());
89 89 }
90 90  
  91 + @RequestMapping(method = RequestMethod.GET, value = "/queryInPersonByHospitalId")
  92 + @ResponseBody
  93 + public BaseResponse queryInPersonByHospitalId(HttpServletRequest request,Integer hospitalId) {
  94 + return stopPregnancyFacade.queryInPersonByHospitalId(hospitalId);
  95 + }
  96 +
  97 +
91 98 /**
92 99 * 返回该医院可选择的录入人
93 100 *
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntExRecordFacade.java View file @ c1a4682
... ... @@ -1759,7 +1759,8 @@
1759 1759 * @return
1760 1760 */
1761 1761 public BaseResponse inputWxData(String fuh, String abdominalGirth, String fhr,String edema, String pid,
1762   - String hospitalId, String nextTime, String doctorId,String sieveType) {
  1762 + String hospitalId, String nextTime, String doctorId,String sieveType,
  1763 + List<String> riskFactor) {
1763 1764 WxMeasureInfoModel wxMeasureInfo = new WxMeasureInfoModel();
1764 1765 boolean falg = true;
1765 1766 if (StringUtils.isNotEmpty(pid) && StringUtils.isNotEmpty(hospitalId)) {
... ... @@ -1789,6 +1790,9 @@
1789 1790 }
1790 1791 model.setCheckDoctor(doctorId);
1791 1792 model.setEdema(edema);
  1793 + if(CollectionUtils.isNotEmpty(riskFactor)){
  1794 + model.setRiskFactor(JsonUtil.array2JsonString(riskFactor));
  1795 + }
1792 1796 antenatalExaminationService.updateOneAnt(model, model.getId());
1793 1797  
1794 1798 if (StringUtils.isNotEmpty(nextTime) && StringUtils.isNotEmpty(doctorId) )
1795 1799  
1796 1800  
1797 1801  
... ... @@ -1849,25 +1853,32 @@
1849 1853 antExAddRequest.setCurrentDueDate(DateUtil.getWeekDesc(patients.getLastMenses(), new Date()));//currentDueDate: "孕29周+4天"
1850 1854 antExAddRequest.setParentId(patients.getId());
1851 1855 antExAddRequest.setPid(pid);
1852   - HighScoreResult highScoreResult = antenatalExaminationFacade.findLastRisk(patients.getPid(), true);
1853   - if (highScoreResult != null) {
1854   - List<Map<String, Object>> list = highScoreResult.getHighRisk();
1855   - List<String> stringList = new ArrayList<>();
1856   - List<Map> maps = new ArrayList<>();
1857   - for (Map<String, Object> map : list) {
1858   - if (null != map.get("otherId")) {
1859   - maps.add(map);
1860   - } else {
1861   - stringList.add(map.get("id").toString());
  1856 + //参数传过来高危因素,参数为准,否则先前的高危因素为准,否则档案上的高危因素为准
  1857 + if(CollectionUtils.isNotEmpty(riskFactor)){
  1858 + antExAddRequest.setRiskFactor(riskFactor);
  1859 + }else{
  1860 + HighScoreResult highScoreResult = antenatalExaminationFacade.findLastRisk(patients.getPid(), true);
  1861 + if (highScoreResult != null) {
  1862 + List<Map<String, Object>> list = highScoreResult.getHighRisk();
  1863 + List<String> stringList = new ArrayList<>();
  1864 + List<Map> maps = new ArrayList<>();
  1865 + for (Map<String, Object> map : list) {
  1866 + if (null != map.get("otherId")) {
  1867 + maps.add(map);
  1868 + } else {
  1869 + stringList.add(map.get("id").toString());
  1870 + }
1862 1871 }
  1872 + antExAddRequest.setHighriskDesc(highScoreResult.getHighriskDesc());
  1873 + //高危因素
  1874 + antExAddRequest.setRiskFactor(stringList);
  1875 + //其他高危
  1876 + antExAddRequest.setOtherRisk(maps);
  1877 + }else{
  1878 + antExAddRequest.setRiskFactor(patients.getRiskFactorId());
1863 1879 }
1864   - antExAddRequest.setHighriskDesc(highScoreResult.getHighriskDesc());
1865   - //高危因素
1866   - antExAddRequest.setRiskFactor(stringList);
1867   - //其他高危
1868   - antExAddRequest.setOtherRisk(maps);
1869 1880 }
1870   - antExAddRequest.setRiskFactor(patients.getRiskFactorId());
  1881 +
1871 1882 antExAddRequest.setGongGao(fuh);
1872 1883 antExAddRequest.setAbdominalCircumference(abdominalGirth);
1873 1884 List<String> list = JsonUtil.jkstr2Obj(fhr, List.class);
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java View file @ c1a4682
... ... @@ -602,9 +602,7 @@
602 602 if (before.getSerStatus() == PatientSerEnums.SerStatusEnums.td.getId()) {//如果上一次是退订状态,重新开通,开通时间为当前时间
603 603 ps.setCreateDate(new Date());
604 604 }
605   - //修改服务时增加孕周内容 cfl 20231019
606   - Patients patients = patientsService.findOnePatientById(ps.getParentid());
607   - setServiceRecordUpdate(ps,patients);
  605 +
608 606 //增加购买孕周 cfl
609 607 if(before.getSerStatus() == 1 && ps.getSerStatus() ==1){
610 608 if (ps.getServiceWeek() != null && ps.getServiceWeek() > 0)
... ... @@ -616,6 +614,9 @@
616 614 ps.setDoctorWeek(ps.getDoctorWeek() + (before.getDoctorWeek() != null ? before.getDoctorWeek():0));
617 615 }
618 616 }
  617 + //修改服务时增加孕周内容 cfl 20231019
  618 + Patients patients = patientsService.findOnePatientById(ps.getParentid());
  619 + setServiceRecordUpdate(ps,patients);
619 620  
620 621 patientServiceService.updatePatientService(ps);
621 622  
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/StopPregnancyFacade.java View file @ c1a4682
... ... @@ -656,6 +656,30 @@
656 656 }
657 657  
658 658  
  659 + public BaseResponse queryInPersonByHospitalId(Integer hospitalId) {
  660 + List<Map> list = new ArrayList<>();
  661 + UsersQuery usersQuery = new UsersQuery();
  662 + usersQuery.setYn(YnEnums.YES.getId());
  663 + usersQuery.setOrgId(hospitalId);
  664 + usersQuery.setEnable(1);
  665 + List<Users> users = usersService.queryUsers(usersQuery);
  666 + if (CollectionUtils.isNotEmpty(users)) {
  667 + for (Users user : users) {
  668 + Map pmap = new HashMap();
  669 + pmap.put("id", user.getId());
  670 + pmap.put("name", user.getName());
  671 + pmap.put("deptId", user.getDeptId());
  672 + list.add(pmap);
  673 + }
  674 + }
  675 + BaseObjectResponse objectResponse = new BaseObjectResponse();
  676 + objectResponse.setData(list);
  677 + objectResponse.setErrorcode(ErrorCodeConstants.SUCCESS);
  678 + objectResponse.setErrormsg("成功");
  679 + return objectResponse;
  680 + }
  681 +
  682 +
659 683 /**
660 684 * 返回该医院可选择的录入人
661 685 *
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/YxzhVO.java View file @ c1a4682
  1 +package com.lyms.platform.operate.web.request;
  2 +
  3 +public class YxzhVO {
  4 +
  5 + private String idno;
  6 +
  7 + private String name;
  8 +
  9 + private Integer weeks;
  10 +
  11 + /**
  12 + * 续费标识 1是续费 0 第一次购买
  13 + */
  14 + private Integer renew;
  15 +
  16 +
  17 + public String getIdno() {
  18 + return idno;
  19 + }
  20 +
  21 + public void setIdno(String idno) {
  22 + this.idno = idno;
  23 + }
  24 +
  25 + public String getName() {
  26 + return name;
  27 + }
  28 +
  29 + public void setName(String name) {
  30 + this.name = name;
  31 + }
  32 +
  33 + public Integer getWeeks() {
  34 + return weeks;
  35 + }
  36 +
  37 + public void setWeeks(Integer weeks) {
  38 + this.weeks = weeks;
  39 + }
  40 +
  41 + public Integer getRenew() {
  42 + return renew;
  43 + }
  44 +
  45 + public void setRenew(Integer renew) {
  46 + this.renew = renew;
  47 + }
  48 +}
platform-operate-api/src/main/java/com/lyms/platform/operate/web/vo/ArchiveAreas.java View file @ c1a4682
  1 +package com.lyms.platform.operate.web.vo;
  2 +
  3 +import java.util.Date;
  4 +
  5 +public class ArchiveAreas {
  6 + private Integer id;
  7 + private String provinceName;
  8 + private String provinceId;
  9 + private String cityName;
  10 + private String cityId;
  11 + private String districtName;
  12 + private String districtId;
  13 + private String streetId;
  14 + private String streetName;
  15 + private String address;
  16 + private Integer archiveId;
  17 + /**
  18 + * 1:孕妇居住地(currentAddress)
  19 + * 2:孕妇户籍地(permanentAddress)
  20 + * 3:产后地址(healthResort)
  21 + * 4:丈夫户籍地(husPermanentAddress)
  22 + * 5:丈夫居住地(husCurrentAddress)
  23 + */
  24 + private Integer type;
  25 + private Date created;
  26 + private Integer yn;
  27 + private String childExtAddrs;
  28 + /**
  29 + * 村
  30 + */
  31 + private String villageRegister;
  32 +
  33 +
  34 + public String getVillageRegister() {
  35 + return villageRegister;
  36 + }
  37 +
  38 + public void setVillageRegister(String villageRegister) {
  39 + this.villageRegister = villageRegister;
  40 + }
  41 +
  42 + public String getChildExtAddrs() {
  43 + return childExtAddrs;
  44 + }
  45 +
  46 + public void setChildExtAddrs(String childExtAddrs) {
  47 + this.childExtAddrs = childExtAddrs;
  48 + }
  49 +
  50 + public String getStreetId() {
  51 + return streetId;
  52 + }
  53 +
  54 + public void setStreetId(String streetId) {
  55 + this.streetId = streetId;
  56 + }
  57 +
  58 + public String getStreetName() {
  59 + return streetName;
  60 + }
  61 +
  62 + public void setStreetName(String streetName) {
  63 + this.streetName = streetName;
  64 + }
  65 +
  66 + public Date getCreated() {
  67 + return created;
  68 + }
  69 +
  70 + public void setCreated(Date created) {
  71 + this.created = created;
  72 + }
  73 +
  74 + public Integer getYn() {
  75 + return yn;
  76 + }
  77 +
  78 + public void setYn(Integer yn) {
  79 + this.yn = yn;
  80 + }
  81 +
  82 + public Integer getId() {
  83 + return id;
  84 + }
  85 +
  86 +
  87 + public void setId(Integer id) {
  88 + this.id = id;
  89 +
  90 + }
  91 +
  92 + public String getProvinceName() {
  93 + return provinceName;
  94 + }
  95 +
  96 +
  97 + public void setProvinceName(String provinceName) {
  98 + this.provinceName = provinceName;
  99 +
  100 + }
  101 +
  102 + public String getProvinceId() {
  103 + return provinceId;
  104 + }
  105 +
  106 +
  107 + public void setProvinceId(String provinceId) {
  108 + this.provinceId = provinceId;
  109 +
  110 + }
  111 +
  112 + public String getCityName() {
  113 + return cityName;
  114 + }
  115 +
  116 +
  117 + public void setCityName(String cityName) {
  118 + this.cityName = cityName;
  119 +
  120 + }
  121 +
  122 + public String getCityId() {
  123 + return cityId;
  124 + }
  125 +
  126 +
  127 + public void setCityId(String cityId) {
  128 + this.cityId = cityId;
  129 +
  130 + }
  131 +
  132 + public String getDistrictName() {
  133 + return districtName;
  134 + }
  135 +
  136 +
  137 + public void setDistrictName(String districtName) {
  138 + this.districtName = districtName;
  139 +
  140 + }
  141 +
  142 + public String getDistrictId() {
  143 + return districtId;
  144 + }
  145 +
  146 +
  147 + public void setDistrictId(String districtId) {
  148 + this.districtId = districtId;
  149 +
  150 + }
  151 +
  152 + public String getAddress() {
  153 + return address;
  154 + }
  155 +
  156 +
  157 + public void setAddress(String address) {
  158 + this.address = address;
  159 +
  160 + }
  161 +
  162 + public Integer getArchiveId() {
  163 + return archiveId;
  164 + }
  165 +
  166 +
  167 + public void setArchiveId(Integer archiveId) {
  168 + this.archiveId = archiveId;
  169 +
  170 + }
  171 +
  172 + public Integer getType() {
  173 + return type;
  174 + }
  175 +
  176 +
  177 + public void setType(Integer type) {
  178 + this.type = type;
  179 +
  180 + }
  181 +}
platform-operate-api/src/main/java/com/lyms/platform/operate/web/vo/ArchiveHistoryDTO.java View file @ c1a4682
  1 +package com.lyms.platform.operate.web.vo;
  2 +
  3 +
  4 +
  5 +import java.util.HashMap;
  6 +import java.util.Map;
  7 +
  8 +
  9 +/**
  10 + * 添加类的一句话简单描述。
  11 + * <p/>
  12 + * 详细描述
  13 + * <p/>
  14 + * 示例代码
  15 + * <pre>
  16 + * </pre/>
  17 + *
  18 + * @author JIAZHI.JIANG
  19 + * @version BME V100R001 2017-06-05 16:26
  20 + * @since BME V100R001C40B104
  21 + */
  22 +public class ArchiveHistoryDTO {
  23 +
  24 + //末次月经
  25 + private String lastMenses;
  26 + //孕前体重
  27 + private String yqweight;
  28 + //身高
  29 + private String height;
  30 + //现在体重
  31 + private String cweight;
  32 +
  33 + //孕次
  34 + private Integer pregnancyTimes;
  35 + // 产次
  36 +// private Integer prodTime;
  37 +
  38 + //流产
  39 +// private Integer abortion;
  40 +
  41 + // 既往史
  42 + private Map pastHistory;
  43 + // 家族史
  44 + private Map familyHistory;
  45 + //个人史 有害环境
  46 + private Map personalHistory;
  47 + //疫苗接种史
  48 +// private Map ymjzHistory;
  49 + //药物过敏史
  50 +// private Map ywgmHistory;
  51 + //药物
  52 +// private String yaowu;
  53 + //妇科手术史
  54 + private Map fksxHistory;
  55 + // 叶酸服用
  56 + private Map ysfyHistory;
  57 + //本次妊娠情况
  58 + private Map cestationInfo;
  59 + //血压2个字段
  60 + private String lbp;
  61 + //
  62 + private String hbp;
  63 + //家族中是否有高血压
  64 + private Integer feritin;
  65 + // 糖尿病
  66 + private Integer diabetes;
  67 + //传染病史
  68 + private Map infectDiseases;
  69 +
  70 + private Integer planedProd; // 刨宫产次数
  71 + private Integer delivery; // 顺产次数
  72 + private Integer yinchan; // 引产次数
  73 + private Integer abortion; // 流产次数
  74 + private Integer abortionZR; // 自然流产次数
  75 + private Integer abortionRG; // 人工流产次数
  76 + private Integer yaowu; // 药物流产
  77 + /* //月经周期开始天数
  78 + private String mensStartDay;
  79 + //月经周期结束天数
  80 + private String mensEndDay;
  81 +
  82 + public String getMensStartDay() {
  83 + return mensStartDay;
  84 + }
  85 +
  86 + public void setMensStartDay(String mensStartDay) {
  87 + this.mensStartDay = mensStartDay;
  88 + }
  89 +
  90 + public String getMensEndDay() {
  91 + return mensEndDay;
  92 + }
  93 +
  94 + public void setMensEndDay(String mensEndDay) {
  95 + this.mensEndDay = mensEndDay;
  96 + }*/
  97 +
  98 + public Integer getPlanedProd() {
  99 + return planedProd;
  100 + }
  101 +
  102 + public void setPlanedProd(Integer planedProd) {
  103 + this.planedProd = planedProd;
  104 + }
  105 +
  106 + public Integer getDelivery() {
  107 + return delivery;
  108 + }
  109 +
  110 + public void setDelivery(Integer delivery) {
  111 + this.delivery = delivery;
  112 + }
  113 +
  114 + public Integer getYinchan() {
  115 + return yinchan;
  116 + }
  117 +
  118 + public void setYinchan(Integer yinchan) {
  119 + this.yinchan = yinchan;
  120 + }
  121 +
  122 + public Integer getAbortionZR() {
  123 + return abortionZR;
  124 + }
  125 +
  126 + public void setAbortionZR(Integer abortionZR) {
  127 + this.abortionZR = abortionZR;
  128 + }
  129 +
  130 + public Integer getAbortionRG() {
  131 + return abortionRG;
  132 + }
  133 +
  134 + public void setAbortionRG(Integer abortionRG) {
  135 + this.abortionRG = abortionRG;
  136 + }
  137 +
  138 + public String getLastMenses() {
  139 + return lastMenses;
  140 + }
  141 +
  142 + public void setLastMenses(String lastMenses) {
  143 + this.lastMenses = lastMenses;
  144 + }
  145 +
  146 + public String getYqweight() {
  147 + return yqweight;
  148 + }
  149 +
  150 + public void setYqweight(String yqweight) {
  151 + this.yqweight = yqweight;
  152 + }
  153 +
  154 + public String getHeight() {
  155 + return height;
  156 + }
  157 +
  158 + public void setHeight(String height) {
  159 + this.height = height;
  160 + }
  161 +
  162 + public String getCweight() {
  163 + return cweight;
  164 + }
  165 +
  166 + public void setCweight(String cweight) {
  167 + this.cweight = cweight;
  168 + }
  169 +
  170 + public Integer getYaowu() {
  171 + return yaowu;
  172 + }
  173 +
  174 + public void setYaowu(Integer yaowu) {
  175 + this.yaowu = yaowu;
  176 + }
  177 +
  178 +
  179 +
  180 + public Integer getPregnancyTimes() {
  181 + return pregnancyTimes;
  182 + }
  183 +
  184 + public void setPregnancyTimes(Integer pregnancyTimes) {
  185 + this.pregnancyTimes = pregnancyTimes;
  186 + }
  187 +
  188 + public String getLbp() {
  189 + return lbp;
  190 + }
  191 +
  192 + public void setLbp(String lbp) {
  193 + this.lbp = lbp;
  194 + }
  195 +
  196 + public String getHbp() {
  197 + return hbp;
  198 + }
  199 +
  200 + public void setHbp(String hbp) {
  201 + this.hbp = hbp;
  202 + }
  203 +
  204 + public Integer getFeritin() {
  205 + return feritin;
  206 + }
  207 +
  208 + public void setFeritin(Integer feritin) {
  209 + this.feritin = feritin;
  210 + }
  211 +
  212 + public Integer getDiabetes() {
  213 + return diabetes;
  214 + }
  215 +
  216 + public void setDiabetes(Integer diabetes) {
  217 + this.diabetes = diabetes;
  218 + }
  219 +
  220 + public Map getInfectDiseases() {
  221 + return infectDiseases;
  222 + }
  223 +
  224 + public void setInfectDiseases(Map infectDiseases) {
  225 + this.infectDiseases = infectDiseases;
  226 + }
  227 +
  228 + public Integer getAbortion() {
  229 + return abortion;
  230 + }
  231 +
  232 + public void setAbortion(Integer abortion) {
  233 + this.abortion = abortion;
  234 + }
  235 +
  236 + public Map getPastHistory() {
  237 + return pastHistory;
  238 + }
  239 +
  240 + public void setPastHistory(Map pastHistory) {
  241 + this.pastHistory = pastHistory;
  242 + }
  243 +
  244 + public Map getFamilyHistory() {
  245 + return familyHistory;
  246 + }
  247 +
  248 + public void setFamilyHistory(Map familyHistory) {
  249 + this.familyHistory = familyHistory;
  250 + }
  251 +
  252 + public Map getPersonalHistory() {
  253 + return personalHistory;
  254 + }
  255 +
  256 + public void setPersonalHistory(Map personalHistory) {
  257 + this.personalHistory = personalHistory;
  258 + }
  259 +
  260 + public Map getFksxHistory() {
  261 + return fksxHistory;
  262 + }
  263 +
  264 + public void setFksxHistory(Map fksxHistory) {
  265 + this.fksxHistory = fksxHistory;
  266 + }
  267 +
  268 + public Map getYsfyHistory() {
  269 + return ysfyHistory;
  270 + }
  271 +
  272 + public void setYsfyHistory(Map ysfyHistory) {
  273 + this.ysfyHistory = ysfyHistory;
  274 + }
  275 +
  276 + public Map getCestationInfo() {
  277 + return cestationInfo;
  278 + }
  279 +
  280 + public void setCestationInfo(Map cestationInfo) {
  281 + this.cestationInfo = cestationInfo;
  282 + }
  283 +
  284 +}
platform-operate-api/src/main/java/com/lyms/platform/operate/web/vo/ArchiveUsers.java View file @ c1a4682
  1 +package com.lyms.platform.operate.web.vo;
  2 +
  3 +import java.util.Date;
  4 +
  5 +public class ArchiveUsers {
  6 + private Integer id;
  7 + private String name;
  8 + private String idCard;
  9 + private String nationality;
  10 + private String nation;
  11 + private Integer accountType;
  12 + private Date birthday;
  13 + private String educationLevel;
  14 + private String phone;
  15 + private String workPlace;
  16 + private String job;
  17 + private Integer resideType;
  18 + private String address;
  19 + private String permanentAddress;
  20 + private String healthResort;
  21 + private String husName;
  22 + private String husIdCard;
  23 + private String husNationlity;
  24 + private String husNation;
  25 + private Date husBirthday;
  26 + private String husEducationLevel;
  27 + private String husPhone;
  28 + private String husWorkPlace;
  29 + private String husJob;
  30 + private String husPermanentAddress;
  31 + private String hospitalId;
  32 + private Integer userId;
  33 + private Date created;
  34 + private Integer yn;
  35 + private String cardNum;
  36 + //辅助建档的用户id
  37 + private String assistUserId;
  38 + //秦皇岛增加有暂住证填写证号字段
  39 + private String liveCardNo;
  40 + //推荐人
  41 + private String recommend;
  42 + //预约建档身高
  43 + private String qhdjdheight;
  44 + //预约建档孕前体重
  45 + private String qhdyqweight;
  46 + //预约建档收缩压(高压)
  47 + private String qhdjdssy;
  48 + //预约建档舒张压(低压)
  49 + private String qhdjdszy;
  50 +
  51 + //联系人姓名
  52 + private String contactName;
  53 + //联系人电话
  54 + private String contactPhone;
  55 +
  56 +
  57 +
  58 + public String getQhdjdheight() {
  59 + return qhdjdheight;
  60 + }
  61 +
  62 + public void setQhdjdheight(String qhdjdheight) {
  63 + this.qhdjdheight = qhdjdheight;
  64 + }
  65 +
  66 + public String getQhdyqweight() {
  67 + return qhdyqweight;
  68 + }
  69 +
  70 + public void setQhdyqweight(String qhdyqweight) {
  71 + this.qhdyqweight = qhdyqweight;
  72 + }
  73 +
  74 + public String getQhdjdssy() {
  75 + return qhdjdssy;
  76 + }
  77 +
  78 + public void setQhdjdssy(String qhdjdssy) {
  79 + this.qhdjdssy = qhdjdssy;
  80 + }
  81 +
  82 + public String getQhdjdszy() {
  83 + return qhdjdszy;
  84 + }
  85 +
  86 + public void setQhdjdszy(String qhdjdszy) {
  87 + this.qhdjdszy = qhdjdszy;
  88 + }
  89 +
  90 + public String getRecommend() {
  91 + return recommend;
  92 + }
  93 +
  94 + public void setRecommend(String recommend) {
  95 + this.recommend = recommend;
  96 + }
  97 +
  98 + public String getLiveCardNo() {
  99 + return liveCardNo;
  100 + }
  101 +
  102 + public void setLiveCardNo(String liveCardNo) {
  103 + this.liveCardNo = liveCardNo;
  104 + }
  105 +
  106 + public String getAssistUserId() {
  107 + return assistUserId;
  108 + }
  109 +
  110 + public void setAssistUserId(String assistUserId) {
  111 + this.assistUserId = assistUserId;
  112 + }
  113 +
  114 + public String getCardNum() {
  115 + return cardNum;
  116 + }
  117 +
  118 + public void setCardNum(String cardNum) {
  119 + this.cardNum = cardNum;
  120 + }
  121 +
  122 + public Date getCreated() {
  123 + return created;
  124 + }
  125 +
  126 + public void setCreated(Date created) {
  127 + this.created = created;
  128 + }
  129 +
  130 + public String getNation() {
  131 + return nation;
  132 + }
  133 +
  134 + public void setNation(String nation) {
  135 + this.nation = nation;
  136 + }
  137 +
  138 + public Integer getYn() {
  139 + return yn;
  140 + }
  141 +
  142 + public void setYn(Integer yn) {
  143 + this.yn = yn;
  144 + }
  145 +
  146 +
  147 + public Integer getUserId() {
  148 + return userId;
  149 + }
  150 +
  151 + public void setUserId(Integer userId) {
  152 + this.userId = userId;
  153 + }
  154 +
  155 + public String getHospitalId() {
  156 + return hospitalId;
  157 + }
  158 +
  159 + public void setHospitalId(String hospitalId) {
  160 + this.hospitalId = hospitalId;
  161 + }
  162 +
  163 + public Integer getId() {
  164 + return id;
  165 + }
  166 +
  167 +
  168 + public void setId(Integer id) {
  169 + this.id = id;
  170 +
  171 + }
  172 +
  173 + public String getName() {
  174 + return name;
  175 + }
  176 +
  177 +
  178 + public void setName(String name) {
  179 + this.name = name;
  180 +
  181 + }
  182 +
  183 + public String getIdCard() {
  184 + return idCard;
  185 + }
  186 +
  187 +
  188 + public void setIdCard(String idCard) {
  189 + this.idCard = idCard;
  190 +
  191 + }
  192 +
  193 + public String getNationality() {
  194 + return nationality;
  195 + }
  196 +
  197 +
  198 + public void setNationality(String nationality) {
  199 + this.nationality = nationality;
  200 +
  201 + }
  202 +
  203 + public Integer getAccountType() {
  204 + return accountType;
  205 + }
  206 +
  207 +
  208 + public void setAccountType(Integer accountType) {
  209 + this.accountType = accountType;
  210 +
  211 + }
  212 +
  213 + public Date getBirthday() {
  214 + return birthday;
  215 + }
  216 +
  217 +
  218 + public void setBirthday(Date birthday) {
  219 + this.birthday = birthday;
  220 +
  221 + }
  222 +
  223 + public String getEducationLevel() {
  224 + return educationLevel;
  225 + }
  226 +
  227 +
  228 + public void setEducationLevel(String educationLevel) {
  229 + this.educationLevel = educationLevel;
  230 +
  231 + }
  232 +
  233 + public String getPhone() {
  234 + return phone;
  235 + }
  236 +
  237 +
  238 + public void setPhone(String phone) {
  239 + this.phone = phone;
  240 +
  241 + }
  242 +
  243 + public String getWorkPlace() {
  244 + return workPlace;
  245 + }
  246 +
  247 +
  248 + public void setWorkPlace(String workPlace) {
  249 + this.workPlace = workPlace;
  250 +
  251 + }
  252 +
  253 + public String getJob() {
  254 + return job;
  255 + }
  256 +
  257 +
  258 + public void setJob(String job) {
  259 + this.job = job;
  260 +
  261 + }
  262 +
  263 + public Integer getResideType() {
  264 + return resideType;
  265 + }
  266 +
  267 +
  268 + public void setResideType(Integer resideType) {
  269 + this.resideType = resideType;
  270 +
  271 + }
  272 +
  273 + public String getAddress() {
  274 + return address;
  275 + }
  276 +
  277 +
  278 + public void setAddress(String address) {
  279 + this.address = address;
  280 +
  281 + }
  282 +
  283 + public String getPermanentAddress() {
  284 + return permanentAddress;
  285 + }
  286 +
  287 +
  288 + public void setPermanentAddress(String permanentAddress) {
  289 + this.permanentAddress = permanentAddress;
  290 +
  291 + }
  292 +
  293 + public String getHealthResort() {
  294 + return healthResort;
  295 + }
  296 +
  297 +
  298 + public void setHealthResort(String healthResort) {
  299 + this.healthResort = healthResort;
  300 +
  301 + }
  302 +
  303 + public String getHusName() {
  304 + return husName;
  305 + }
  306 +
  307 +
  308 + public void setHusName(String husName) {
  309 + this.husName = husName;
  310 +
  311 + }
  312 +
  313 + public String getHusIdCard() {
  314 + return husIdCard;
  315 + }
  316 +
  317 +
  318 + public void setHusIdCard(String husIdCard) {
  319 + this.husIdCard = husIdCard;
  320 +
  321 + }
  322 +
  323 + public String getHusNationlity() {
  324 + return husNationlity;
  325 + }
  326 +
  327 +
  328 + public void setHusNationlity(String husNationlity) {
  329 + this.husNationlity = husNationlity;
  330 +
  331 + }
  332 +
  333 + public String getHusNation() {
  334 + return husNation;
  335 + }
  336 +
  337 +
  338 + public void setHusNation(String husNation) {
  339 + this.husNation = husNation;
  340 +
  341 + }
  342 +
  343 + public Date getHusBirthday() {
  344 + return husBirthday;
  345 + }
  346 +
  347 +
  348 + public void setHusBirthday(Date husBirthday) {
  349 + this.husBirthday = husBirthday;
  350 +
  351 + }
  352 +
  353 + public String getHusEducationLevel() {
  354 + return husEducationLevel;
  355 + }
  356 +
  357 +
  358 + public void setHusEducationLevel(String husEducationLevel) {
  359 + this.husEducationLevel = husEducationLevel;
  360 +
  361 + }
  362 +
  363 + public String getHusPhone() {
  364 + return husPhone;
  365 + }
  366 +
  367 +
  368 + public void setHusPhone(String husPhone) {
  369 + this.husPhone = husPhone;
  370 +
  371 + }
  372 +
  373 + public String getHusWorkPlace() {
  374 + return husWorkPlace;
  375 + }
  376 +
  377 +
  378 + public void setHusWorkPlace(String husWorkPlace) {
  379 + this.husWorkPlace = husWorkPlace;
  380 +
  381 + }
  382 +
  383 + public String getHusJob() {
  384 + return husJob;
  385 + }
  386 +
  387 +
  388 + public void setHusJob(String husJob) {
  389 + this.husJob = husJob;
  390 +
  391 + }
  392 +
  393 + public String getHusPermanentAddress() {
  394 + return husPermanentAddress;
  395 + }
  396 +
  397 +
  398 + public void setHusPermanentAddress(String husPermanentAddress) {
  399 + this.husPermanentAddress = husPermanentAddress;
  400 +
  401 + }
  402 +
  403 +
  404 + public String getContactName() {
  405 + return contactName;
  406 + }
  407 +
  408 + public void setContactName(String contactName) {
  409 + this.contactName = contactName;
  410 + }
  411 +
  412 + public String getContactPhone() {
  413 + return contactPhone;
  414 + }
  415 +
  416 + public void setContactPhone(String contactPhone) {
  417 + this.contactPhone = contactPhone;
  418 + }
  419 +}