Commit c4d8363af0353168b2f9ec90a172c607b004647b
1 parent
783de6779d
Exists in
master
and in
6 other branches
威海产后观察记录
Showing 5 changed files with 293 additions and 173 deletions
- platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/RecordsService.java
- platform-dal/src/main/java/com/lyms/platform/pojo/Records.java
- platform-dal/src/main/java/com/lyms/platform/query/RecordsQuery.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PostpartumRecordsFacade.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/PostpartumRecordsResult.java
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/RecordsService.java
View file @
c4d8363
| ... | ... | @@ -19,7 +19,7 @@ |
| 19 | 19 | @Autowired |
| 20 | 20 | private IRecordsDao recordsDao; |
| 21 | 21 | |
| 22 | - public List<Records> getBabySieveQuery(RecordsQuery recordsQuery){ | |
| 22 | + public List<Records> getRecordsListQuery(RecordsQuery recordsQuery){ | |
| 23 | 23 | MongoQuery query = recordsQuery.convertToQuery(); |
| 24 | 24 | return recordsDao.queryRecordsList(query.addOrder(Sort.Direction.DESC, "created")); |
| 25 | 25 | } |
platform-dal/src/main/java/com/lyms/platform/pojo/Records.java
View file @
c4d8363
| ... | ... | @@ -24,6 +24,7 @@ |
| 24 | 24 | private String nz;//内诊 |
| 25 | 25 | private String fz;//附注 |
| 26 | 26 | private String qm;//签名 |
| 27 | + private String isDelete;//是否有效(0:无效;1:有效) | |
| 27 | 28 | |
| 28 | 29 | public String getPostId() { |
| 29 | 30 | return postId; |
| ... | ... | @@ -135,6 +136,14 @@ |
| 135 | 136 | |
| 136 | 137 | public void setId(String id) { |
| 137 | 138 | this.id = id; |
| 139 | + } | |
| 140 | + | |
| 141 | + public String getIsDelete() { | |
| 142 | + return isDelete; | |
| 143 | + } | |
| 144 | + | |
| 145 | + public void setIsDelete(String isDelete) { | |
| 146 | + this.isDelete = isDelete; | |
| 138 | 147 | } |
| 139 | 148 | } |
platform-dal/src/main/java/com/lyms/platform/query/RecordsQuery.java
View file @
c4d8363
| ... | ... | @@ -14,6 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | private String id;//主键ID |
| 16 | 16 | private String postId;//产后观察基本表ID |
| 17 | + private String isDelete;//是否有效 | |
| 17 | 18 | |
| 18 | 19 | public MongoQuery convertToQuery() { |
| 19 | 20 | MongoCondition condition = MongoCondition.newInstance(); |
| ... | ... | @@ -23,6 +24,9 @@ |
| 23 | 24 | if(null !=postId){ |
| 24 | 25 | condition = condition.and("postId", postId, MongoOper.IS); |
| 25 | 26 | } |
| 27 | + if(null != isDelete){ | |
| 28 | + condition = condition.and("isDelete", isDelete, MongoOper.IS); | |
| 29 | + } | |
| 26 | 30 | return condition.toMongoQuery(); |
| 27 | 31 | } |
| 28 | 32 | |
| ... | ... | @@ -40,6 +44,14 @@ |
| 40 | 44 | |
| 41 | 45 | public void setPostId(String postId) { |
| 42 | 46 | this.postId = postId; |
| 47 | + } | |
| 48 | + | |
| 49 | + public String getIsDelete() { | |
| 50 | + return isDelete; | |
| 51 | + } | |
| 52 | + | |
| 53 | + public void setIsDelete(String isDelete) { | |
| 54 | + this.isDelete = isDelete; | |
| 43 | 55 | } |
| 44 | 56 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PostpartumRecordsFacade.java
View file @
c4d8363
| 1 | 1 | package com.lyms.platform.operate.web.facade; |
| 2 | 2 | |
| 3 | -import com.lyms.platform.biz.service.MatDeliverService; | |
| 4 | -import com.lyms.platform.biz.service.PatientsService; | |
| 5 | -import com.lyms.platform.biz.service.PostpartumRecordsService; | |
| 3 | +import com.lyms.platform.biz.service.*; | |
| 6 | 4 | import com.lyms.platform.common.constants.ErrorCodeConstants; |
| 7 | 5 | import com.lyms.platform.common.enums.YnEnums; |
| 8 | 6 | import com.lyms.platform.common.result.BaseObjectResponse; |
| 9 | 7 | import com.lyms.platform.common.result.BaseResponse; |
| 8 | +import com.lyms.platform.common.utils.DateUtil; | |
| 10 | 9 | import com.lyms.platform.operate.web.request.PostpartumRecordsQueryRequest; |
| 10 | +import com.lyms.platform.operate.web.result.HighScoreResult; | |
| 11 | 11 | import com.lyms.platform.operate.web.result.PostpartumRecordsResult; |
| 12 | -import com.lyms.platform.pojo.MaternalDeliverModel; | |
| 13 | -import com.lyms.platform.pojo.Patients; | |
| 14 | -import com.lyms.platform.pojo.PostpartumRecords; | |
| 15 | -import com.lyms.platform.query.MatDeliverQuery; | |
| 16 | -import com.lyms.platform.query.PatientsQuery; | |
| 17 | -import com.lyms.platform.query.PostpartumRecordsQuery; | |
| 12 | +import com.lyms.platform.permission.model.Organization; | |
| 13 | +import com.lyms.platform.permission.model.Users; | |
| 14 | +import com.lyms.platform.permission.service.OrganizationService; | |
| 15 | +import com.lyms.platform.permission.service.UsersService; | |
| 16 | +import com.lyms.platform.pojo.*; | |
| 17 | +import com.lyms.platform.query.*; | |
| 18 | 18 | import org.apache.commons.collections.CollectionUtils; |
| 19 | 19 | import org.apache.commons.lang.StringUtils; |
| 20 | 20 | import org.springframework.beans.factory.annotation.Autowired; |
| ... | ... | @@ -23,6 +23,7 @@ |
| 23 | 23 | import org.springframework.stereotype.Component; |
| 24 | 24 | |
| 25 | 25 | import java.util.ArrayList; |
| 26 | +import java.util.Date; | |
| 26 | 27 | import java.util.List; |
| 27 | 28 | |
| 28 | 29 | /** |
| ... | ... | @@ -42,6 +43,16 @@ |
| 42 | 43 | private AutoMatchFacade autoMatchFacade; |
| 43 | 44 | @Autowired |
| 44 | 45 | private MatDeliverService matDeliverService; |
| 46 | + @Autowired | |
| 47 | + private RecordsService recordsService; | |
| 48 | + @Autowired | |
| 49 | + private AntenatalExaminationService antenatalExaminationService; | |
| 50 | + @Autowired | |
| 51 | + private AntenatalExaminationFacade antenatalExaminationFacade; | |
| 52 | + @Autowired | |
| 53 | + private OrganizationService organizationService; | |
| 54 | + @Autowired | |
| 55 | + private UsersService usersService; | |
| 45 | 56 | |
| 46 | 57 | |
| 47 | 58 | /** |
| 48 | 59 | |
| 49 | 60 | |
| 50 | 61 | |
| 51 | 62 | |
| 52 | 63 | |
| 53 | 64 | |
| 54 | 65 | |
| ... | ... | @@ -69,42 +80,123 @@ |
| 69 | 80 | List<Patients> list = patientsService.queryPatient(patientsQuery); |
| 70 | 81 | if(CollectionUtils.isNotEmpty(list)){ |
| 71 | 82 | parentId = list.get(0).getId(); |
| 72 | - | |
| 83 | + Patients patients = list.get(0); | |
| 73 | 84 | MatDeliverQuery matDeliverQuery = new MatDeliverQuery(); |
| 74 | 85 | matDeliverQuery.setPid(list.get(0).getPid()); |
| 75 | 86 | matDeliverQuery.setYn(YnEnums.YES.getId()); |
| 76 | 87 | //查询分娩 |
| 77 | 88 | List<MaternalDeliverModel> mdList = matDeliverService.query(matDeliverQuery); |
| 78 | 89 | if(CollectionUtils.isNotEmpty(mdList)){ |
| 90 | + MaternalDeliverModel maternalDeliverModel = mdList.get(0); | |
| 79 | 91 | prQuery.setParentId(parentId); |
| 80 | 92 | prQuery.setHospitalId(hospital); |
| 81 | 93 | List<PostpartumRecords> prList = postpartumRecordsService.getBabySieveQuery(prQuery); |
| 94 | + PostpartumRecords postpartumRecords = new PostpartumRecords(); | |
| 82 | 95 | if(CollectionUtils.isNotEmpty(prList)){ |
| 83 | - postpartumRecordsResult.convertToResult(prList.get(0)); | |
| 84 | - postpartumRecordsResult.setName(list.get(0).getUsername()); | |
| 85 | - postpartumRecordsResult.setBhnum(mdList.get(0).getBhNum()); | |
| 86 | - postpartumRecordsResult.setOneCxl(mdList.get(0).getTotalOneCxl()); | |
| 87 | - if(StringUtils.isNotEmpty(prList.get(0).getOneCxl())){ | |
| 88 | - postpartumRecordsResult.setOneCxl(prList.get(0).getOneCxl()); | |
| 96 | + postpartumRecords = prList.get(0); | |
| 97 | + //查询是否存在记录详情 | |
| 98 | + String postId = postpartumRecords.getId(); | |
| 99 | + RecordsQuery recordsQuery = new RecordsQuery(); | |
| 100 | + recordsQuery.setPostId(postId); | |
| 101 | + recordsQuery.setIsDelete("1");//查询有效的数据 | |
| 102 | + List<Records> recordList = recordsService.getRecordsListQuery(recordsQuery); | |
| 103 | + if(CollectionUtils.isNotEmpty(recordList)){ | |
| 104 | + postpartumRecordsResult.setRecords(recordList); | |
| 89 | 105 | } |
| 90 | - postpartumRecordsResult.setTwoCxl(mdList.get(0).getTotalTwoCxl()); | |
| 91 | - if(StringUtils.isNotEmpty(prList.get(0).getTwoCxl())){ | |
| 92 | - postpartumRecordsResult.setTwoCxl(prList.get(0).getTwoCxl()); | |
| 106 | + } | |
| 107 | + postpartumRecordsResult.convertToResult(postpartumRecords); | |
| 108 | + postpartumRecordsResult.setName(patients.getUsername()); | |
| 109 | + postpartumRecordsResult.setBhnum(maternalDeliverModel.getBhNum()); | |
| 110 | + postpartumRecordsResult.setOneCxl(maternalDeliverModel.getTotalOneCxl()); | |
| 111 | + if(StringUtils.isNotEmpty(postpartumRecords.getOneCxl())){ | |
| 112 | + postpartumRecordsResult.setOneCxl(postpartumRecords.getOneCxl()); | |
| 113 | + } | |
| 114 | + postpartumRecordsResult.setTwoCxl(maternalDeliverModel.getTotalTwoCxl()); | |
| 115 | + if(StringUtils.isNotEmpty(postpartumRecords.getTwoCxl())){ | |
| 116 | + postpartumRecordsResult.setTwoCxl(postpartumRecords.getTwoCxl()); | |
| 117 | + } | |
| 118 | + String dueWeek=""; | |
| 119 | + if (null!=patients.getDueStatus()&&patients.getDueStatus() == 1) { | |
| 120 | + dueWeek = "终止妊娠"; | |
| 121 | + } else if (null != patients.getFmDate()&&patients.getType()==3) { | |
| 122 | + dueWeek = "已分娩"; | |
| 123 | + } else { | |
| 124 | + int days = DateUtil.daysBetween(patients.getLastMenses(), new Date()); | |
| 125 | + String week = (days / 7) + ""; | |
| 126 | + int day = (days % 7); | |
| 127 | + dueWeek = "孕" + week + "周" + (day > 0 ? "+" + day + "天" : ""); | |
| 128 | + } | |
| 129 | + postpartumRecordsResult.setYz(dueWeek); | |
| 130 | + if (null != patients.getDueDate()) { | |
| 131 | + postpartumRecordsResult.setYcq(DateUtil.getyyyy_MM_dd(patients.getDueDate())); | |
| 132 | + } | |
| 133 | + postpartumRecordsResult.setPhone(patients.getPhone()); | |
| 134 | + | |
| 135 | + AntExQuery antExQuery = new AntExQuery(); | |
| 136 | + antExQuery.setParentId(patients.getId()); | |
| 137 | + antExQuery.setYn(YnEnums.YES.getId()); | |
| 138 | + List<AntenatalExaminationModel> examinationModel = antenatalExaminationService.queryAntenatalExamination(antExQuery.convertToQuery()); | |
| 139 | + | |
| 140 | + AntExChuQuery antExChuQuery = new AntExChuQuery(); | |
| 141 | + antExChuQuery.setYn(YnEnums.YES.getId()); | |
| 142 | + antExChuQuery.setParentId(patients.getId()); | |
| 143 | + List<AntExChuModel> antExChuModels = antenatalExaminationService.queryAntExChu(antExChuQuery); | |
| 144 | + | |
| 145 | + HighScoreResult highScoreResult = antenatalExaminationFacade.findLastRisk(patients.getPid(), false); | |
| 146 | + String tTireNumber = ""; | |
| 147 | + if (CollectionUtils.isNotEmpty(examinationModel)) { | |
| 148 | + if (null != examinationModel && StringUtils.isNotEmpty(examinationModel.get(0).getRiskFactor())) { | |
| 149 | + tTireNumber = examinationModel.get(0).getTireNumber(); | |
| 93 | 150 | } |
| 94 | - /*List<PostpartumRecords.Records> records = prList.get(0).getRecords(); | |
| 95 | - List recordsList = new ArrayList(); | |
| 96 | - if(CollectionUtils.isNotEmpty(records)){ | |
| 97 | - for(PostpartumRecords.Records r : records){ | |
| 98 | - recordsList.add(postpartumRecordsResult.new Records(r)); | |
| 151 | + } else { | |
| 152 | + if (CollectionUtils.isNotEmpty(antExChuModels)) { | |
| 153 | + tTireNumber = antExChuModels.get(0).getTireNumber(); | |
| 154 | + } | |
| 155 | + } | |
| 156 | + postpartumRecordsResult.setGwys(highScoreResult.getHighRisk()); | |
| 157 | + postpartumRecordsResult.setGwpf(highScoreResult.getScoreStr()); | |
| 158 | + postpartumRecordsResult.setBz(patients.getMremark()); | |
| 159 | + postpartumRecordsResult.setBirth(DateUtil.getyyyy_MM_dd(patients.getBirth())); | |
| 160 | + postpartumRecordsResult.setAge(String.valueOf(DateUtil.getAge(patients.getBirth()))); | |
| 161 | + if(null != maternalDeliverModel.getParity()){ | |
| 162 | + postpartumRecordsResult.setTc(String.valueOf(maternalDeliverModel.getParity())); | |
| 163 | + } | |
| 164 | + if(null != maternalDeliverModel.getGravidity()){ | |
| 165 | + postpartumRecordsResult.setYc(String.valueOf(maternalDeliverModel.getGravidity())); | |
| 166 | + } | |
| 167 | + if(null != maternalDeliverModel.getDueCount()){ | |
| 168 | + postpartumRecordsResult.setCc(String.valueOf(maternalDeliverModel.getDueCount())); | |
| 169 | + } | |
| 170 | + postpartumRecordsResult.setKs(maternalDeliverModel.getDepartment()); | |
| 171 | + String fmHospital = ""; | |
| 172 | + | |
| 173 | + if (StringUtils.isNotEmpty(maternalDeliverModel.getFmHospital())) { | |
| 174 | + if (com.lyms.platform.common.utils.StringUtils.isNum(maternalDeliverModel.getFmHospital())) { | |
| 175 | + Organization organization = organizationService.getOrganization(Integer.parseInt(maternalDeliverModel.getFmHospital())); | |
| 176 | + if (organization != null && organization.getYn() == YnEnums.YES.getId()) { | |
| 177 | + fmHospital = organization.getName(); | |
| 99 | 178 | } |
| 100 | - postpartumRecordsResult.setRecords(recordsList); | |
| 101 | - }*/ | |
| 102 | - }else{ | |
| 103 | - postpartumRecordsResult.setName(list.get(0).getUsername()); | |
| 104 | - postpartumRecordsResult.setBhnum(mdList.get(0).getBhNum()); | |
| 105 | - postpartumRecordsResult.setOneCxl(mdList.get(0).getTotalOneCxl()); | |
| 106 | - postpartumRecordsResult.setTwoCxl(mdList.get(0).getTotalTwoCxl()); | |
| 179 | + } else { | |
| 180 | + fmHospital = maternalDeliverModel.getFmHospital(); | |
| 181 | + } | |
| 182 | + | |
| 107 | 183 | } |
| 184 | + postpartumRecordsResult.setFmHospital(fmHospital); | |
| 185 | + String deliverDoctor = ""; | |
| 186 | + | |
| 187 | + if (StringUtils.isNotEmpty(maternalDeliverModel.getDeliverDoctor())) { | |
| 188 | + if (com.lyms.platform.common.utils.StringUtils.isNum(maternalDeliverModel.getDeliverDoctor())) { | |
| 189 | + Users users = usersService.getUsers(Integer.parseInt(maternalDeliverModel.getDeliverDoctor())); | |
| 190 | + if (users != null && users.getYn() == YnEnums.YES.getId()) { | |
| 191 | + deliverDoctor = users.getName(); | |
| 192 | + } | |
| 193 | + } else { | |
| 194 | + deliverDoctor = maternalDeliverModel.getDeliverDoctor(); | |
| 195 | + } | |
| 196 | + } | |
| 197 | + postpartumRecordsResult.setJsys(deliverDoctor); | |
| 198 | + | |
| 199 | + | |
| 108 | 200 | }else{ |
| 109 | 201 | return new BaseObjectResponse().setErrormsg("孕妇未填写分娩记录,不能进行产后观察!").setErrorcode(ErrorCodeConstants.NO_DATA); |
| 110 | 202 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/PostpartumRecordsResult.java
View file @
c4d8363
| ... | ... | @@ -2,6 +2,7 @@ |
| 2 | 2 | |
| 3 | 3 | import com.lyms.platform.beans.SerialIdEnum; |
| 4 | 4 | import com.lyms.platform.pojo.PostpartumRecords; |
| 5 | +import com.lyms.platform.pojo.Records; | |
| 5 | 6 | |
| 6 | 7 | import java.io.Serializable; |
| 7 | 8 | import java.util.List; |
| ... | ... | @@ -17,7 +18,7 @@ |
| 17 | 18 | private String maternalDeliverId;//分娩ID |
| 18 | 19 | private String created;//创建时间 |
| 19 | 20 | private String modified;//修改时间 |
| 20 | - //private List<Records> records;//记录列表 | |
| 21 | + private List<Records> records;//记录列表 | |
| 21 | 22 | private String hospitalId;//医院ID |
| 22 | 23 | private String doctor;//操作医生 |
| 23 | 24 | private String name;//孕妇姓名 |
| 24 | 25 | |
| 25 | 26 | |
| ... | ... | @@ -25,146 +26,24 @@ |
| 25 | 26 | private String oneCxl;//一小时出血量 |
| 26 | 27 | private String twoCxl;//两小时出血量 |
| 27 | 28 | |
| 28 | - /*public class Records implements Serializable { | |
| 29 | - private String id; | |
| 30 | - private String date;//时间 | |
| 31 | - private String tw;//体温 | |
| 32 | - private String xy;//血压 | |
| 33 | - private String mb;//脉搏 | |
| 34 | - private String xybhd;//血氧饱和度 | |
| 35 | - private String gd;//宫底 | |
| 36 | - private String cxl;//出血量 | |
| 37 | - private String pgjc;//膀胱检查 | |
| 38 | - private String hyqk;//会阴情况 | |
| 39 | - private String nz;//内诊 | |
| 40 | - private String fz;//附注 | |
| 41 | - private String qm;//签名 | |
| 29 | + private String fmDate;//分娩日期 | |
| 30 | + private String age;//年龄 | |
| 31 | + private String yz;//孕周 | |
| 32 | + private String ycq;//预产期 | |
| 33 | + private String phone;//联系方式 | |
| 34 | + private List gwys;//高危因素 | |
| 35 | + private String gwpf;//高危评分 | |
| 36 | + private String bz;//备注 | |
| 37 | + private String birth;//孕妇出生日期 | |
| 38 | + private String fmyz;//分娩孕周 | |
| 39 | + private String tc;//胎次 | |
| 40 | + private String yc;//孕次 | |
| 41 | + private String cc;//产次 | |
| 42 | + private String ks;//科室 | |
| 43 | + private String fmHospital;//分娩医院 | |
| 44 | + private String jsys;//接生医生 | |
| 42 | 45 | |
| 43 | - public Records(){ | |
| 44 | 46 | |
| 45 | - } | |
| 46 | - | |
| 47 | - public Records(PostpartumRecords.Records record){ | |
| 48 | - setId(record.getId()); | |
| 49 | - setDate(record.getDate()); | |
| 50 | - setTw(record.getTw()); | |
| 51 | - setXy(record.getXy()); | |
| 52 | - setMb(record.getMb()); | |
| 53 | - setXybhd(record.getXybhd()); | |
| 54 | - setGd(record.getGd()); | |
| 55 | - setCxl(record.getCxl()); | |
| 56 | - setPgjc(record.getPgjc()); | |
| 57 | - setHyqk(record.getHyqk()); | |
| 58 | - setNz(record.getNz()); | |
| 59 | - setFz(record.getFz()); | |
| 60 | - setQm(record.getQm()); | |
| 61 | - } | |
| 62 | - | |
| 63 | - public String getId() { | |
| 64 | - return id; | |
| 65 | - } | |
| 66 | - | |
| 67 | - public void setId(String id) { | |
| 68 | - this.id = id; | |
| 69 | - } | |
| 70 | - | |
| 71 | - public String getDate() { | |
| 72 | - return date; | |
| 73 | - } | |
| 74 | - | |
| 75 | - public void setDate(String date) { | |
| 76 | - this.date = date; | |
| 77 | - } | |
| 78 | - | |
| 79 | - public String getTw() { | |
| 80 | - return tw; | |
| 81 | - } | |
| 82 | - | |
| 83 | - public void setTw(String tw) { | |
| 84 | - this.tw = tw; | |
| 85 | - } | |
| 86 | - | |
| 87 | - public String getXy() { | |
| 88 | - return xy; | |
| 89 | - } | |
| 90 | - | |
| 91 | - public void setXy(String xy) { | |
| 92 | - this.xy = xy; | |
| 93 | - } | |
| 94 | - | |
| 95 | - public String getMb() { | |
| 96 | - return mb; | |
| 97 | - } | |
| 98 | - | |
| 99 | - public void setMb(String mb) { | |
| 100 | - this.mb = mb; | |
| 101 | - } | |
| 102 | - | |
| 103 | - public String getXybhd() { | |
| 104 | - return xybhd; | |
| 105 | - } | |
| 106 | - | |
| 107 | - public void setXybhd(String xybhd) { | |
| 108 | - this.xybhd = xybhd; | |
| 109 | - } | |
| 110 | - | |
| 111 | - public String getGd() { | |
| 112 | - return gd; | |
| 113 | - } | |
| 114 | - | |
| 115 | - public void setGd(String gd) { | |
| 116 | - this.gd = gd; | |
| 117 | - } | |
| 118 | - | |
| 119 | - public String getCxl() { | |
| 120 | - return cxl; | |
| 121 | - } | |
| 122 | - | |
| 123 | - public void setCxl(String cxl) { | |
| 124 | - this.cxl = cxl; | |
| 125 | - } | |
| 126 | - | |
| 127 | - public String getPgjc() { | |
| 128 | - return pgjc; | |
| 129 | - } | |
| 130 | - | |
| 131 | - public void setPgjc(String pgjc) { | |
| 132 | - this.pgjc = pgjc; | |
| 133 | - } | |
| 134 | - | |
| 135 | - public String getHyqk() { | |
| 136 | - return hyqk; | |
| 137 | - } | |
| 138 | - | |
| 139 | - public void setHyqk(String hyqk) { | |
| 140 | - this.hyqk = hyqk; | |
| 141 | - } | |
| 142 | - | |
| 143 | - public String getNz() { | |
| 144 | - return nz; | |
| 145 | - } | |
| 146 | - | |
| 147 | - public void setNz(String nz) { | |
| 148 | - this.nz = nz; | |
| 149 | - } | |
| 150 | - | |
| 151 | - public String getFz() { | |
| 152 | - return fz; | |
| 153 | - } | |
| 154 | - | |
| 155 | - public void setFz(String fz) { | |
| 156 | - this.fz = fz; | |
| 157 | - } | |
| 158 | - | |
| 159 | - public String getQm() { | |
| 160 | - return qm; | |
| 161 | - } | |
| 162 | - | |
| 163 | - public void setQm(String qm) { | |
| 164 | - this.qm = qm; | |
| 165 | - } | |
| 166 | - }*/ | |
| 167 | - | |
| 168 | 47 | public String getId() { |
| 169 | 48 | return id; |
| 170 | 49 | } |
| 171 | 50 | |
| ... | ... | @@ -205,13 +84,13 @@ |
| 205 | 84 | this.modified = modified; |
| 206 | 85 | } |
| 207 | 86 | |
| 208 | - /*public List<Records> getRecords() { | |
| 87 | + public List<Records> getRecords() { | |
| 209 | 88 | return records; |
| 210 | 89 | } |
| 211 | 90 | |
| 212 | 91 | public void setRecords(List<Records> records) { |
| 213 | 92 | this.records = records; |
| 214 | - }*/ | |
| 93 | + } | |
| 215 | 94 | |
| 216 | 95 | public String getHospitalId() { |
| 217 | 96 | return hospitalId; |
| ... | ... | @@ -259,6 +138,134 @@ |
| 259 | 138 | |
| 260 | 139 | public void setTwoCxl(String twoCxl) { |
| 261 | 140 | this.twoCxl = twoCxl; |
| 141 | + } | |
| 142 | + | |
| 143 | + public String getFmDate() { | |
| 144 | + return fmDate; | |
| 145 | + } | |
| 146 | + | |
| 147 | + public void setFmDate(String fmDate) { | |
| 148 | + this.fmDate = fmDate; | |
| 149 | + } | |
| 150 | + | |
| 151 | + public String getAge() { | |
| 152 | + return age; | |
| 153 | + } | |
| 154 | + | |
| 155 | + public void setAge(String age) { | |
| 156 | + this.age = age; | |
| 157 | + } | |
| 158 | + | |
| 159 | + public String getYz() { | |
| 160 | + return yz; | |
| 161 | + } | |
| 162 | + | |
| 163 | + public void setYz(String yz) { | |
| 164 | + this.yz = yz; | |
| 165 | + } | |
| 166 | + | |
| 167 | + public String getYcq() { | |
| 168 | + return ycq; | |
| 169 | + } | |
| 170 | + | |
| 171 | + public void setYcq(String ycq) { | |
| 172 | + this.ycq = ycq; | |
| 173 | + } | |
| 174 | + | |
| 175 | + public String getPhone() { | |
| 176 | + return phone; | |
| 177 | + } | |
| 178 | + | |
| 179 | + public void setPhone(String phone) { | |
| 180 | + this.phone = phone; | |
| 181 | + } | |
| 182 | + | |
| 183 | + public List getGwys() { | |
| 184 | + return gwys; | |
| 185 | + } | |
| 186 | + | |
| 187 | + public void setGwys(List gwys) { | |
| 188 | + this.gwys = gwys; | |
| 189 | + } | |
| 190 | + | |
| 191 | + public String getGwpf() { | |
| 192 | + return gwpf; | |
| 193 | + } | |
| 194 | + | |
| 195 | + public void setGwpf(String gwpf) { | |
| 196 | + this.gwpf = gwpf; | |
| 197 | + } | |
| 198 | + | |
| 199 | + public String getBz() { | |
| 200 | + return bz; | |
| 201 | + } | |
| 202 | + | |
| 203 | + public void setBz(String bz) { | |
| 204 | + this.bz = bz; | |
| 205 | + } | |
| 206 | + | |
| 207 | + public String getBirth() { | |
| 208 | + return birth; | |
| 209 | + } | |
| 210 | + | |
| 211 | + public void setBirth(String birth) { | |
| 212 | + this.birth = birth; | |
| 213 | + } | |
| 214 | + | |
| 215 | + public String getFmyz() { | |
| 216 | + return fmyz; | |
| 217 | + } | |
| 218 | + | |
| 219 | + public void setFmyz(String fmyz) { | |
| 220 | + this.fmyz = fmyz; | |
| 221 | + } | |
| 222 | + | |
| 223 | + public String getTc() { | |
| 224 | + return tc; | |
| 225 | + } | |
| 226 | + | |
| 227 | + public void setTc(String tc) { | |
| 228 | + this.tc = tc; | |
| 229 | + } | |
| 230 | + | |
| 231 | + public String getYc() { | |
| 232 | + return yc; | |
| 233 | + } | |
| 234 | + | |
| 235 | + public void setYc(String yc) { | |
| 236 | + this.yc = yc; | |
| 237 | + } | |
| 238 | + | |
| 239 | + public String getCc() { | |
| 240 | + return cc; | |
| 241 | + } | |
| 242 | + | |
| 243 | + public void setCc(String cc) { | |
| 244 | + this.cc = cc; | |
| 245 | + } | |
| 246 | + | |
| 247 | + public String getKs() { | |
| 248 | + return ks; | |
| 249 | + } | |
| 250 | + | |
| 251 | + public void setKs(String ks) { | |
| 252 | + this.ks = ks; | |
| 253 | + } | |
| 254 | + | |
| 255 | + public String getFmHospital() { | |
| 256 | + return fmHospital; | |
| 257 | + } | |
| 258 | + | |
| 259 | + public void setFmHospital(String fmHospital) { | |
| 260 | + this.fmHospital = fmHospital; | |
| 261 | + } | |
| 262 | + | |
| 263 | + public String getJsys() { | |
| 264 | + return jsys; | |
| 265 | + } | |
| 266 | + | |
| 267 | + public void setJsys(String jsys) { | |
| 268 | + this.jsys = jsys; | |
| 262 | 269 | } |
| 263 | 270 | |
| 264 | 271 | public PostpartumRecordsResult convertToResult(PostpartumRecords postpartumRecords){ |