Commit c46f9b72a328384140f3439c95e7d0c833bbaf54
1 parent
b502557577
Exists in
master
and in
6 other branches
第三方接口
Showing 3 changed files with 549 additions and 33 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PuerperaManageController.java
View file @
c46f9b7
| ... | ... | @@ -297,6 +297,17 @@ |
| 297 | 297 | } |
| 298 | 298 | |
| 299 | 299 | /** |
| 300 | + * @author dongqin | |
| 301 | + * @description 根据身份证号,获取孕妇基本信息,此接口是对第三方提供服务的 | |
| 302 | + * @date 10:09 2019/11/18 | |
| 303 | + **/ | |
| 304 | + @RequestMapping(value = "/search", method = RequestMethod.GET) | |
| 305 | + @ResponseBody | |
| 306 | + public BaseResponse searchByIdCard(String idCard) { | |
| 307 | + return patientFacade.searchByIdCard(idCard); | |
| 308 | + } | |
| 309 | + | |
| 310 | + /** | |
| 300 | 311 | * 发送孕妇指导短信 |
| 301 | 312 | * |
| 302 | 313 | * @return 返回结果 |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
c46f9b7
| 1 | 1 | package com.lyms.platform.operate.web.facade; |
| 2 | 2 | |
| 3 | +import java.io.OutputStream; | |
| 4 | +import java.util.ArrayList; | |
| 5 | +import java.util.Arrays; | |
| 6 | +import java.util.Date; | |
| 7 | +import java.util.HashMap; | |
| 8 | +import java.util.Iterator; | |
| 9 | +import java.util.LinkedHashMap; | |
| 10 | +import java.util.List; | |
| 11 | +import java.util.Map; | |
| 12 | +import java.util.Set; | |
| 13 | +import java.util.concurrent.Future; | |
| 14 | +import java.util.concurrent.TimeUnit; | |
| 15 | + | |
| 16 | +import javax.servlet.http.HttpServletResponse; | |
| 17 | + | |
| 18 | +import org.apache.commons.collections.CollectionUtils; | |
| 19 | +import org.slf4j.Logger; | |
| 20 | +import org.slf4j.LoggerFactory; | |
| 21 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 22 | +import org.springframework.beans.factory.annotation.Qualifier; | |
| 23 | +import org.springframework.data.domain.Sort; | |
| 24 | +import org.springframework.data.mongodb.core.MongoTemplate; | |
| 25 | +import org.springframework.data.mongodb.core.query.Criteria; | |
| 26 | +import org.springframework.data.mongodb.core.query.Query; | |
| 27 | +import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; | |
| 28 | +import org.springframework.stereotype.Component; | |
| 29 | +import org.springframework.util.StopWatch; | |
| 30 | + | |
| 3 | 31 | import com.lyms.platform.beans.MsgRequest; |
| 4 | -import com.lyms.platform.biz.service.*; | |
| 32 | +import com.lyms.platform.biz.service.AntenatalExaminationService; | |
| 33 | +import com.lyms.platform.biz.service.BabyService; | |
| 34 | +import com.lyms.platform.biz.service.BasicConfigService; | |
| 35 | +import com.lyms.platform.biz.service.CommunityConfigService; | |
| 36 | +import com.lyms.platform.biz.service.DataPermissionService; | |
| 37 | +import com.lyms.platform.biz.service.DischargeAbstractMotherService; | |
| 38 | +import com.lyms.platform.biz.service.MatDeliverFollowService; | |
| 39 | +import com.lyms.platform.biz.service.MatDeliverService; | |
| 40 | +import com.lyms.platform.biz.service.PatientsService; | |
| 41 | +import com.lyms.platform.biz.service.PostReviewService; | |
| 42 | +import com.lyms.platform.biz.service.SyncDataService; | |
| 5 | 43 | import com.lyms.platform.common.constants.ErrorCodeConstants; |
| 6 | 44 | import com.lyms.platform.common.dao.operator.MongoCondition; |
| 7 | 45 | import com.lyms.platform.common.dao.operator.MongoOper; |
| 8 | -import com.lyms.platform.common.enums.*; | |
| 46 | +import com.lyms.platform.common.enums.DiseaseTypeEnums; | |
| 47 | +import com.lyms.platform.common.enums.ProjectTypeEnums; | |
| 48 | +import com.lyms.platform.common.enums.ServiceObjEnums; | |
| 49 | +import com.lyms.platform.common.enums.ServiceStatusEnums; | |
| 50 | +import com.lyms.platform.common.enums.ServiceTypeEnums; | |
| 51 | +import com.lyms.platform.common.enums.SmsServiceEnums; | |
| 52 | +import com.lyms.platform.common.enums.SmsStatusEnums; | |
| 53 | +import com.lyms.platform.common.enums.SmsTimeTypeEnums; | |
| 54 | +import com.lyms.platform.common.enums.WxTempleteIdEnums; | |
| 55 | +import com.lyms.platform.common.enums.YnEnums; | |
| 9 | 56 | import com.lyms.platform.common.result.BaseListResponse; |
| 10 | 57 | import com.lyms.platform.common.result.BaseObjectResponse; |
| 11 | 58 | import com.lyms.platform.common.result.BaseResponse; |
| 12 | -import com.lyms.platform.common.utils.*; | |
| 59 | +import com.lyms.platform.common.utils.Assert; | |
| 60 | +import com.lyms.platform.common.utils.BeanUtils; | |
| 61 | +import com.lyms.platform.common.utils.DateUtil; | |
| 62 | +import com.lyms.platform.common.utils.DefenceUtils; | |
| 63 | +import com.lyms.platform.common.utils.ExcelUtil; | |
| 64 | +import com.lyms.platform.common.utils.ExceptionUtils; | |
| 65 | +import com.lyms.platform.common.utils.JsonUtil; | |
| 66 | +import com.lyms.platform.common.utils.PropertiesUtils; | |
| 13 | 67 | import com.lyms.platform.common.utils.StringUtils; |
| 14 | -import com.lyms.platform.operate.web.request.*; | |
| 15 | -import com.lyms.platform.operate.web.result.*; | |
| 68 | +import com.lyms.platform.operate.web.request.PatientGuideSmsRequest; | |
| 69 | +import com.lyms.platform.operate.web.request.PatientManagerRequest; | |
| 70 | +import com.lyms.platform.operate.web.request.PatientQueryRequest; | |
| 71 | +import com.lyms.platform.operate.web.request.PuerperaManagerQueryRequest; | |
| 72 | +import com.lyms.platform.operate.web.request.PuerperaManagerUpdateRequest; | |
| 73 | +import com.lyms.platform.operate.web.request.PuerperaMatcherCommunityRequest; | |
| 74 | +import com.lyms.platform.operate.web.request.RiskPatientsQueryRequest; | |
| 75 | +import com.lyms.platform.operate.web.result.HealthHandbookExcelModel; | |
| 76 | +import com.lyms.platform.operate.web.result.HighScoreResult; | |
| 77 | +import com.lyms.platform.operate.web.result.KeyPregnantWomenExcelModel; | |
| 78 | +import com.lyms.platform.operate.web.result.PatientBaseResult; | |
| 79 | +import com.lyms.platform.operate.web.result.PatientManagerQueryModel; | |
| 80 | +import com.lyms.platform.operate.web.result.PatientManagerResult; | |
| 81 | +import com.lyms.platform.operate.web.result.PersonInfoByIdCard; | |
| 82 | +import com.lyms.platform.operate.web.result.PuerperaResult; | |
| 83 | +import com.lyms.platform.operate.web.result.QuanChanResult; | |
| 84 | +import com.lyms.platform.operate.web.result.QuanPatientsResult; | |
| 85 | +import com.lyms.platform.operate.web.result.RiskPatientsResult; | |
| 16 | 86 | import com.lyms.platform.operate.web.service.PatientWeightService; |
| 17 | 87 | import com.lyms.platform.operate.web.utils.CommonsHelper; |
| 18 | 88 | import com.lyms.platform.operate.web.utils.JxlsUtils; |
| 19 | 89 | |
| 20 | 90 | |
| ... | ... | @@ -25,39 +95,21 @@ |
| 25 | 95 | import com.lyms.platform.permission.model.Users; |
| 26 | 96 | import com.lyms.platform.permission.service.OrganizationService; |
| 27 | 97 | import com.lyms.platform.permission.service.UsersService; |
| 28 | -import com.lyms.platform.pojo.*; | |
| 98 | +import com.lyms.platform.pojo.AntExChuModel; | |
| 99 | +import com.lyms.platform.pojo.BabyModel; | |
| 100 | +import com.lyms.platform.pojo.BasicConfig; | |
| 101 | +import com.lyms.platform.pojo.CommunityConfig; | |
| 102 | +import com.lyms.platform.pojo.DataPermissionsModel; | |
| 103 | +import com.lyms.platform.pojo.PatientWeight; | |
| 104 | +import com.lyms.platform.pojo.Patients; | |
| 105 | +import com.lyms.platform.pojo.PersonModel; | |
| 106 | +import com.lyms.platform.pojo.SieveApplyOrderModel; | |
| 107 | +import com.lyms.platform.pojo.SmsConfigModel; | |
| 29 | 108 | import com.lyms.platform.query.AntExChuQuery; |
| 30 | 109 | import com.lyms.platform.query.BabyModelQuery; |
| 31 | 110 | import com.lyms.platform.query.DataPermissionsModelQuery; |
| 32 | 111 | import com.lyms.platform.query.PatientsQuery; |
| 33 | -import jxl.Workbook; | |
| 34 | -import jxl.format.Colour; | |
| 35 | -import jxl.format.UnderlineStyle; | |
| 36 | -import jxl.write.WritableCellFormat; | |
| 37 | -import jxl.write.WritableFont; | |
| 38 | -import jxl.write.WritableSheet; | |
| 39 | -import jxl.write.WritableWorkbook; | |
| 40 | -import org.apache.commons.collections.CollectionUtils; | |
| 41 | -import org.apache.commons.lang.*; | |
| 42 | -import org.slf4j.Logger; | |
| 43 | -import org.slf4j.LoggerFactory; | |
| 44 | -import org.springframework.beans.factory.annotation.Autowired; | |
| 45 | -import org.springframework.beans.factory.annotation.Qualifier; | |
| 46 | -import org.springframework.data.domain.Sort; | |
| 47 | -import org.springframework.data.mongodb.core.MongoTemplate; | |
| 48 | -import org.springframework.data.mongodb.core.query.Criteria; | |
| 49 | -import org.springframework.data.mongodb.core.query.Query; | |
| 50 | -import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; | |
| 51 | -import org.springframework.stereotype.Component; | |
| 52 | -import org.springframework.util.StopWatch; | |
| 53 | -import scala.util.parsing.combinator.testing.Str; | |
| 54 | 112 | |
| 55 | -import javax.servlet.http.HttpServletResponse; | |
| 56 | -import java.io.OutputStream; | |
| 57 | -import java.util.*; | |
| 58 | -import java.util.concurrent.Future; | |
| 59 | -import java.util.concurrent.TimeUnit; | |
| 60 | - | |
| 61 | 113 | /** |
| 62 | 114 | * Created by Administrator on 2016/4/22 0022. |
| 63 | 115 | */ |
| ... | ... | @@ -120,6 +172,9 @@ |
| 120 | 172 | @Autowired |
| 121 | 173 | private PatientWeightService patientWeightService; |
| 122 | 174 | |
| 175 | + @Autowired | |
| 176 | + private AntenatalExaminationService antenatalExaminationService; | |
| 177 | + | |
| 123 | 178 | /** |
| 124 | 179 | * 修改产妇的社区 |
| 125 | 180 | * |
| ... | ... | @@ -1848,6 +1903,139 @@ |
| 1848 | 1903 | } |
| 1849 | 1904 | } |
| 1850 | 1905 | return dataMap; |
| 1906 | + } | |
| 1907 | + | |
| 1908 | + /** | |
| 1909 | + * 根据身份证号,获取孕妇基本信息 | |
| 1910 | + * | |
| 1911 | + * @param idCard | |
| 1912 | + * @return | |
| 1913 | + */ | |
| 1914 | + public BaseResponse searchByIdCard(String idCard) { | |
| 1915 | + if (StringUtils.isEmpty(idCard)) { | |
| 1916 | + return new BaseResponse("参数为空,请检查", ErrorCodeConstants.PARAMETER_ERROR); | |
| 1917 | + } | |
| 1918 | + List<PersonModel> cardNo = mongoTemplate.find(Query.query(Criteria.where("cardNo").is(idCard)), PersonModel.class); | |
| 1919 | + if (cardNo == null || cardNo.size() == 0) { | |
| 1920 | + return new BaseResponse(); | |
| 1921 | + } | |
| 1922 | + PersonInfoByIdCard result = new PersonInfoByIdCard(); | |
| 1923 | + PersonModel personModel = cardNo.get(0); | |
| 1924 | + result.setName(personModel.getName()); | |
| 1925 | + result.setIdCard(personModel.getCardNo()); | |
| 1926 | + result.setAge(DateUtil.getAge(personModel.getBirth()).toString()); | |
| 1927 | + result.setPhone(personModel.getPhone()); | |
| 1928 | + List<Patients> patients = mongoTemplate.find(Query.query(Criteria.where("pid").is(personModel.getId())).with(new Sort(Sort.Direction.DESC, "created")), Patients.class); | |
| 1929 | + if (patients != null && patients.size() > 0) { | |
| 1930 | + Patients patient = patients.get(0); | |
| 1931 | + result.setVcNo(patient.getVcCardNo()); | |
| 1932 | + String addressStr = CommonsHelper.getResidence(patient.getProvinceRegisterId(), patient.getCityRegisterId(), | |
| 1933 | + patient.getAreaRegisterId(), patient.getStreetRegisterId(), patient.getAddressRegister(), basicConfigService); | |
| 1934 | + result.setAddressStr(addressStr); | |
| 1935 | + BasicConfig basicConfig = basicConfigService.getOneBasicConfigById(patient.getPnationId()); | |
| 1936 | + if (basicConfig != null) { | |
| 1937 | + result.setNationStr(basicConfig.getName()); | |
| 1938 | + } | |
| 1939 | + result.setLastMensesStr(DateUtil.getYmd(patient.getLastMenses())); | |
| 1940 | + result.setEducationStr(CommonsHelper.getName1(patient.getPlevelTypeId(), basicConfigService)); | |
| 1941 | + | |
| 1942 | + List<SieveApplyOrderModel> sieveApplyOrderModels = mongoTemplate.find(Query.query(Criteria.where("parentId").is(patient.getId())).with(new Sort(Sort.Direction.DESC, "created")), SieveApplyOrderModel.class); | |
| 1943 | + String pregnancy = "0"; | |
| 1944 | + if (sieveApplyOrderModels != null && sieveApplyOrderModels.size() > 0) { | |
| 1945 | + SieveApplyOrderModel sieveApplyOrderModel = sieveApplyOrderModels.get(0); | |
| 1946 | + //本次妊娠情况 | |
| 1947 | + if (org.apache.commons.lang.StringUtils.isNotEmpty(sieveApplyOrderModel.getImprenation()) && "1".equals(sieveApplyOrderModel.getImprenation())) { | |
| 1948 | + pregnancy = "0"; | |
| 1949 | + } else if (org.apache.commons.lang.StringUtils.isNotEmpty(sieveApplyOrderModel.getOvulationInduction()) && "1".equals(sieveApplyOrderModel.getOvulationInduction())) { | |
| 1950 | + pregnancy = "1"; | |
| 1951 | + } else if (org.apache.commons.lang.StringUtils.isNotEmpty(sieveApplyOrderModel.getIui()) && "1".equals(sieveApplyOrderModel.getIui())) { | |
| 1952 | + pregnancy = "2"; | |
| 1953 | + } | |
| 1954 | + } | |
| 1955 | + result.setPregnancy(pregnancy); | |
| 1956 | + List<PatientWeight> patientWeights = mongoTemplate.find(Query.query(Criteria.where("patientId").is(patient.getId())).with(new Sort(Sort.Direction.DESC, "created")), PatientWeight.class); | |
| 1957 | + String beforeHeight = ""; | |
| 1958 | + String beforeWeight = ""; | |
| 1959 | + if (patientWeights != null && patientWeights.size() > 0) { | |
| 1960 | + PatientWeight patientWeight = patientWeights.get(0); | |
| 1961 | + beforeHeight = patientWeight.getBeforeHeight(); | |
| 1962 | + beforeWeight = patientWeight.getBeforeWeight(); | |
| 1963 | + } | |
| 1964 | + AntExChuQuery antExChuQuery = new AntExChuQuery(); | |
| 1965 | + antExChuQuery.setParentId(patient.getId()); | |
| 1966 | + antExChuQuery.setYn(YnEnums.YES.getId()); | |
| 1967 | + List<AntExChuModel> chuModelList = antenatalExaminationService.queryAntExChu(antExChuQuery); | |
| 1968 | + String hasFamilyHistory = "2"; | |
| 1969 | + String yumSize = "0"; | |
| 1970 | + String chanSize = "0"; | |
| 1971 | + String hasBultrasound = "2"; | |
| 1972 | + PersonInfoByIdCard.HistoryBirth historyBirth = new PersonInfoByIdCard.HistoryBirth(); | |
| 1973 | + String hasStillbirth = "2"; | |
| 1974 | + String hasStillChan = "2"; | |
| 1975 | + String hasYinchan = "2"; | |
| 1976 | + String hasYaowu = "2"; | |
| 1977 | + String hasAbortionZR = "2"; | |
| 1978 | + String hasabortionRG = "2"; | |
| 1979 | + if (CollectionUtils.isNotEmpty(chuModelList)) { | |
| 1980 | + AntExChuModel chuModel = chuModelList.get(0); | |
| 1981 | + if (StringUtils.isNotEmpty(chuModel.getFamilyHistory())) { | |
| 1982 | + hasFamilyHistory = "1"; | |
| 1983 | + } | |
| 1984 | + yumSize = chuModel.getPregnancyTimes().toString(); | |
| 1985 | + chanSize = chuModel.getProdTime().toString(); | |
| 1986 | + if (StringUtils.isNotEmpty(chuModel.getbChao())) { | |
| 1987 | + hasBultrasound = "1"; | |
| 1988 | + } | |
| 1989 | + if (StringUtils.isEmpty(beforeWeight)) { | |
| 1990 | + beforeWeight = chuModel.getYqWeight() == null ? "" : chuModel.getYqWeight(); | |
| 1991 | + } | |
| 1992 | + if (StringUtils.isNotEmpty(beforeHeight)) { | |
| 1993 | + beforeHeight = chuModel.getHeight() == null ? "" : chuModel.getHeight(); | |
| 1994 | + } | |
| 1995 | + Integer stillbirth = chuModel.getStillbirth(); | |
| 1996 | + if (stillbirth != null && stillbirth > 0) { | |
| 1997 | + hasStillbirth = "1"; | |
| 1998 | + } | |
| 1999 | + Integer stillChan = chuModel.getStillChan(); | |
| 2000 | + if (stillChan != null && stillChan > 0) { | |
| 2001 | + hasStillChan = "1"; | |
| 2002 | + } | |
| 2003 | + Integer yinchan = chuModel.getYinchan(); | |
| 2004 | + if (yinchan != null && yinchan > 0) { | |
| 2005 | + hasYinchan = "1"; | |
| 2006 | + } | |
| 2007 | + Integer yaowu = chuModel.getYaowu(); | |
| 2008 | + if (yaowu != null && yaowu > 0) { | |
| 2009 | + hasYaowu = "1"; | |
| 2010 | + } | |
| 2011 | + Integer abortionZR = chuModel.getAbortionZR(); | |
| 2012 | + if (abortionZR != null && abortionZR > 0) { | |
| 2013 | + hasAbortionZR = "1"; | |
| 2014 | + } | |
| 2015 | + Integer abortionRG = chuModel.getAbortionRG(); | |
| 2016 | + if (abortionRG != null && abortionRG > 0) { | |
| 2017 | + hasabortionRG = "1"; | |
| 2018 | + } | |
| 2019 | + } | |
| 2020 | + result.setYumSize(yumSize); | |
| 2021 | + result.setChanSize(chanSize); | |
| 2022 | + result.setHasFamilyHistory(hasFamilyHistory); | |
| 2023 | + result.setBultrasound(hasBultrasound); | |
| 2024 | + result.setBeforeHeight(beforeHeight); | |
| 2025 | + result.setYqWeight(beforeWeight); | |
| 2026 | + | |
| 2027 | + historyBirth.setHasStillbirth(hasStillbirth); | |
| 2028 | + historyBirth.setHasStillChan(hasStillChan); | |
| 2029 | + historyBirth.setHasYinchan(hasYinchan); | |
| 2030 | + historyBirth.setHasYaowu(hasYaowu); | |
| 2031 | + historyBirth.setHasAbortionZR(hasAbortionZR); | |
| 2032 | + historyBirth.setHasAbortionRG(hasabortionRG); | |
| 2033 | + result.setHistoryBirth(historyBirth); | |
| 2034 | + | |
| 2035 | + } | |
| 2036 | + BaseResponse baseResponse = new BaseResponse(); | |
| 2037 | + baseResponse.setObject(result); | |
| 2038 | + return baseResponse; | |
| 1851 | 2039 | } |
| 1852 | 2040 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/PersonInfoByIdCard.java
View file @
c46f9b7
| 1 | +package com.lyms.platform.operate.web.result; | |
| 2 | + | |
| 3 | +import java.io.Serializable; | |
| 4 | +import java.util.Map; | |
| 5 | + | |
| 6 | +/** | |
| 7 | + * @author dongqin | |
| 8 | + * @description | |
| 9 | + * @date 10:36 2019/11/18 | |
| 10 | + **/ | |
| 11 | +public class PersonInfoByIdCard implements Serializable { | |
| 12 | + | |
| 13 | + private static final long serialVersionUID = 7973585163106585788L; | |
| 14 | + | |
| 15 | + /** | |
| 16 | + * 就诊卡 | |
| 17 | + */ | |
| 18 | + private String vcNo; | |
| 19 | + | |
| 20 | + /** | |
| 21 | + * 姓名 | |
| 22 | + */ | |
| 23 | + private String name; | |
| 24 | + | |
| 25 | + /** | |
| 26 | + * 民族 | |
| 27 | + */ | |
| 28 | + private String nationStr; | |
| 29 | + | |
| 30 | + /** | |
| 31 | + * 身份证 | |
| 32 | + */ | |
| 33 | + private String idCard; | |
| 34 | + | |
| 35 | + /** | |
| 36 | + * 年龄 yyyy-mm-dd | |
| 37 | + */ | |
| 38 | + private String age; | |
| 39 | + | |
| 40 | + /** | |
| 41 | + * 手机号 | |
| 42 | + */ | |
| 43 | + private String phone; | |
| 44 | + | |
| 45 | + /** | |
| 46 | + * 住址 | |
| 47 | + */ | |
| 48 | + private String addressStr; | |
| 49 | + | |
| 50 | + /** | |
| 51 | + * 文化程度/教育 | |
| 52 | + */ | |
| 53 | + private String educationStr; | |
| 54 | + | |
| 55 | + /** | |
| 56 | + * 末次月经 | |
| 57 | + */ | |
| 58 | + private String lastMensesStr; | |
| 59 | + | |
| 60 | + /** | |
| 61 | + * 0:本次妊娠方式-自然受孕 1:本次妊娠方式-促排卵 2:本次妊娠方式-宫内人工受精 | |
| 62 | + */ | |
| 63 | + private String pregnancy; | |
| 64 | + | |
| 65 | + /** | |
| 66 | + * B超 | |
| 67 | + */ | |
| 68 | + private String bultrasound; | |
| 69 | + | |
| 70 | + /** | |
| 71 | + * 孕次 | |
| 72 | + */ | |
| 73 | + private String yumSize; | |
| 74 | + | |
| 75 | + /** | |
| 76 | + * 产次 | |
| 77 | + */ | |
| 78 | + private String chanSize; | |
| 79 | + | |
| 80 | + /** | |
| 81 | + * 生育史 | |
| 82 | + */ | |
| 83 | + private HistoryBirth historyBirth ; | |
| 84 | + | |
| 85 | + /** | |
| 86 | + * 家族史 AntExChuModelTemp | |
| 87 | + */ | |
| 88 | + private String hasFamilyHistory; | |
| 89 | + | |
| 90 | + /** | |
| 91 | + * 如果初诊也没有孕前体重和身高 就在预约建档信息中获取 | |
| 92 | + */ | |
| 93 | + private String yqWeight; | |
| 94 | + | |
| 95 | + /** | |
| 96 | + * 孕前身高 | |
| 97 | + */ | |
| 98 | + private String beforeHeight; | |
| 99 | + | |
| 100 | + | |
| 101 | + public static class HistoryBirth{ | |
| 102 | + | |
| 103 | + /** | |
| 104 | + * 死胎 | |
| 105 | + */ | |
| 106 | + private String hasStillbirth; | |
| 107 | + | |
| 108 | + /** | |
| 109 | + * 死产 | |
| 110 | + */ | |
| 111 | + private String hasStillChan; | |
| 112 | + | |
| 113 | + /** | |
| 114 | + * 引产 | |
| 115 | + */ | |
| 116 | + private String hasYinchan; | |
| 117 | + | |
| 118 | + /** | |
| 119 | + * 药物流产次数 | |
| 120 | + */ | |
| 121 | + private String hasYaowu; | |
| 122 | + | |
| 123 | + /** | |
| 124 | + * 自然流产 | |
| 125 | + */ | |
| 126 | + private String hasAbortionZR; | |
| 127 | + | |
| 128 | + /** | |
| 129 | + * 人工流产 | |
| 130 | + */ | |
| 131 | + private String hasAbortionRG; | |
| 132 | + | |
| 133 | + public String getHasStillbirth() { | |
| 134 | + return hasStillbirth; | |
| 135 | + } | |
| 136 | + | |
| 137 | + public void setHasStillbirth(String hasStillbirth) { | |
| 138 | + this.hasStillbirth = hasStillbirth; | |
| 139 | + } | |
| 140 | + | |
| 141 | + public String getHasStillChan() { | |
| 142 | + return hasStillChan; | |
| 143 | + } | |
| 144 | + | |
| 145 | + public void setHasStillChan(String hasStillChan) { | |
| 146 | + this.hasStillChan = hasStillChan; | |
| 147 | + } | |
| 148 | + | |
| 149 | + public String getHasYinchan() { | |
| 150 | + return hasYinchan; | |
| 151 | + } | |
| 152 | + | |
| 153 | + public void setHasYinchan(String hasYinchan) { | |
| 154 | + this.hasYinchan = hasYinchan; | |
| 155 | + } | |
| 156 | + | |
| 157 | + public String getHasYaowu() { | |
| 158 | + return hasYaowu; | |
| 159 | + } | |
| 160 | + | |
| 161 | + public void setHasYaowu(String hasYaowu) { | |
| 162 | + this.hasYaowu = hasYaowu; | |
| 163 | + } | |
| 164 | + | |
| 165 | + public String getHasAbortionZR() { | |
| 166 | + return hasAbortionZR; | |
| 167 | + } | |
| 168 | + | |
| 169 | + public void setHasAbortionZR(String hasAbortionZR) { | |
| 170 | + this.hasAbortionZR = hasAbortionZR; | |
| 171 | + } | |
| 172 | + | |
| 173 | + public String getHasAbortionRG() { | |
| 174 | + return hasAbortionRG; | |
| 175 | + } | |
| 176 | + | |
| 177 | + public void setHasAbortionRG(String hasAbortionRG) { | |
| 178 | + this.hasAbortionRG = hasAbortionRG; | |
| 179 | + } | |
| 180 | + } | |
| 181 | + | |
| 182 | + public String getVcNo() { | |
| 183 | + return vcNo; | |
| 184 | + } | |
| 185 | + | |
| 186 | + public void setVcNo(String vcNo) { | |
| 187 | + this.vcNo = vcNo; | |
| 188 | + } | |
| 189 | + | |
| 190 | + public String getName() { | |
| 191 | + return name; | |
| 192 | + } | |
| 193 | + | |
| 194 | + public void setName(String name) { | |
| 195 | + this.name = name; | |
| 196 | + } | |
| 197 | + | |
| 198 | + public String getNationStr() { | |
| 199 | + return nationStr; | |
| 200 | + } | |
| 201 | + | |
| 202 | + public void setNationStr(String nationStr) { | |
| 203 | + this.nationStr = nationStr; | |
| 204 | + } | |
| 205 | + | |
| 206 | + public String getIdCard() { | |
| 207 | + return idCard; | |
| 208 | + } | |
| 209 | + | |
| 210 | + public void setIdCard(String idCard) { | |
| 211 | + this.idCard = idCard; | |
| 212 | + } | |
| 213 | + | |
| 214 | + public String getAge() { | |
| 215 | + return age; | |
| 216 | + } | |
| 217 | + | |
| 218 | + public void setAge(String age) { | |
| 219 | + this.age = age; | |
| 220 | + } | |
| 221 | + | |
| 222 | + public String getPhone() { | |
| 223 | + return phone; | |
| 224 | + } | |
| 225 | + | |
| 226 | + public void setPhone(String phone) { | |
| 227 | + this.phone = phone; | |
| 228 | + } | |
| 229 | + | |
| 230 | + public String getAddressStr() { | |
| 231 | + return addressStr; | |
| 232 | + } | |
| 233 | + | |
| 234 | + public void setAddressStr(String addressStr) { | |
| 235 | + this.addressStr = addressStr; | |
| 236 | + } | |
| 237 | + | |
| 238 | + public String getEducationStr() { | |
| 239 | + return educationStr; | |
| 240 | + } | |
| 241 | + | |
| 242 | + public void setEducationStr(String educationStr) { | |
| 243 | + this.educationStr = educationStr; | |
| 244 | + } | |
| 245 | + | |
| 246 | + public String getLastMensesStr() { | |
| 247 | + return lastMensesStr; | |
| 248 | + } | |
| 249 | + | |
| 250 | + public void setLastMensesStr(String lastMensesStr) { | |
| 251 | + this.lastMensesStr = lastMensesStr; | |
| 252 | + } | |
| 253 | + | |
| 254 | + public String getPregnancy() { | |
| 255 | + return pregnancy; | |
| 256 | + } | |
| 257 | + | |
| 258 | + public void setPregnancy(String pregnancy) { | |
| 259 | + this.pregnancy = pregnancy; | |
| 260 | + } | |
| 261 | + | |
| 262 | + public String getBultrasound() { | |
| 263 | + return bultrasound; | |
| 264 | + } | |
| 265 | + | |
| 266 | + public void setBultrasound(String bultrasound) { | |
| 267 | + this.bultrasound = bultrasound; | |
| 268 | + } | |
| 269 | + | |
| 270 | + public String getYumSize() { | |
| 271 | + return yumSize; | |
| 272 | + } | |
| 273 | + | |
| 274 | + public void setYumSize(String yumSize) { | |
| 275 | + this.yumSize = yumSize; | |
| 276 | + } | |
| 277 | + | |
| 278 | + public String getChanSize() { | |
| 279 | + return chanSize; | |
| 280 | + } | |
| 281 | + | |
| 282 | + public void setChanSize(String chanSize) { | |
| 283 | + this.chanSize = chanSize; | |
| 284 | + } | |
| 285 | + | |
| 286 | + public HistoryBirth getHistoryBirth() { | |
| 287 | + return historyBirth; | |
| 288 | + } | |
| 289 | + | |
| 290 | + public void setHistoryBirth(HistoryBirth historyBirth) { | |
| 291 | + this.historyBirth = historyBirth; | |
| 292 | + } | |
| 293 | + | |
| 294 | + public String getHasFamilyHistory() { | |
| 295 | + return hasFamilyHistory; | |
| 296 | + } | |
| 297 | + | |
| 298 | + public void setHasFamilyHistory(String hasFamilyHistory) { | |
| 299 | + this.hasFamilyHistory = hasFamilyHistory; | |
| 300 | + } | |
| 301 | + | |
| 302 | + public String getYqWeight() { | |
| 303 | + return yqWeight; | |
| 304 | + } | |
| 305 | + | |
| 306 | + public void setYqWeight(String yqWeight) { | |
| 307 | + this.yqWeight = yqWeight; | |
| 308 | + } | |
| 309 | + | |
| 310 | + public String getBeforeHeight() { | |
| 311 | + return beforeHeight; | |
| 312 | + } | |
| 313 | + | |
| 314 | + public void setBeforeHeight(String beforeHeight) { | |
| 315 | + this.beforeHeight = beforeHeight; | |
| 316 | + } | |
| 317 | +} |