From fae06c3e35e124b66b4047145421419edf44895a Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Thu, 23 Jun 2016 17:27:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=A6=87=E5=A2=9E=E5=8A=A0=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../operate/web/result/AntexChuResult.java | 209 +++++++++------------ 1 file changed, 93 insertions(+), 116 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/AntexChuResult.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/AntexChuResult.java index be3a687..a8a199a 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/AntexChuResult.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/AntexChuResult.java @@ -1,64 +1,59 @@ package com.lyms.platform.operate.web.result; -import com.lyms.platform.common.base.IBasicResultConvert; -import com.lyms.platform.common.utils.DateUtil; import com.lyms.platform.common.utils.JsonUtil; import com.lyms.platform.operate.web.request.MatDeliverAddRequest; import com.lyms.platform.pojo.AntExChuModel; -import com.lyms.platform.pojo.AntenatalExaminationModel; -import com.lyms.platform.pojo.Patients; -import com.sun.javafx.collections.MappingChange; -import org.apache.commons.collections.CollectionUtils; -import java.util.ArrayList; -import java.util.Date; import java.util.List; import java.util.Map; /** - * * 产前检查初诊 * * Created by Administrator on 2016/6/20 0020. */ -public class AntexChuResult { +public class AntexChuResult { private String parentId; - /**基本信息**/ + /** + * 基本信息 + **/ private String id; - /* //名字 - private String name; - //年龄 - private Integer age; - //孕周 - private String dueWeek; - //预产期 - private String yChanQi; - //手机号 - private String phone; - //高危因素 - private String riskFactor; - //高危评分 - private String riskScore; - //备注 - private String remarks;*/ + /* //名字 + private String name; + //年龄 + private Integer age; + //孕周 + private String dueWeek; + //预产期 + private String yChanQi; + //手机号 + private String phone; + //高危因素 + private String riskFactor; + //高危评分 + private String riskScore; + //备注 + private String remarks;*/ //末次月经 private String lastMenses; - /**初检信息 **/ + /** + * 初检信息 + **/ // 既往史 - private Map pastHistory ; + private Map pastHistory; // 家族史 - private Map familyHistory ; + private Map familyHistory; //个人史 private Map personalHistory; //疫苗接种史 - private Map ymjzHistory ; + private Map ymjzHistory; //药物过敏史 - private Map ywgmHistory ; + private Map ywgmHistory; //妇科手术史 - private Map fksxHistory ; + private Map fksxHistory; // 叶酸服用 - private Map ysfyHistory ; + private Map ysfyHistory; //孕次 private String pregnancyTimes; // 产次 @@ -72,40 +67,40 @@ public class AntexChuResult { //死胎 private String stillbirth; //死产 - private String stillChan ; + private String stillChan; //新生儿死亡 private String neoDeath; //出生缺陷 private String birthDefect; // 身高 - private String height; - //体重 - private String weight ; - //孕前体重 - private String yqWeight ; - //体重指数 - private String baricIndex ; - // 本次妊娠情况 + private String height; + //体重 + private String weight; + //孕前体重 + private String yqWeight; + //体重指数 + private String baricIndex; + // 本次妊娠情况 private Map cestationInfo; - // 宫高 - private String gonggao ; - //腹围 - private String fuwei ; - // 胎数 + // 宫高 + private String gonggao; + //腹围 + private String fuwei; + // 胎数 private int tireNumber1; private List placentas; - /* //心率 - private double heartRate; - //胎方位 - private String fetalPosition; - //胎先露 - private String fetalPresentation; - // 衔接 - private String join;*/ + /* //心率 + private double heartRate; + //胎方位 + private String fetalPosition; + //胎先露 + private String fetalPresentation; + // 衔接 + private String join;*/ //高危因素 - private String highrisk ; + private List highrisk; //高危评分 private String highriskSocre; // 其他高危 @@ -124,47 +119,49 @@ public class AntexChuResult { private Map nextCheckTime; -/**-------------辅助检查结果录入------------------**/ + /** + * -------------辅助检查结果录入------------------ + **/ //血红蛋白值 - private String xhdb ; + private String xhdb; //白细胞计数值 - private String bxbjs ; + private String bxbjs; //血小板 private String platelet; // 血常规其他 - private String chgOther ; + private String chgOther; // 尿蛋白 private String ndb; //尿糖 private String nt; //尿同体 - private String urineKetone ; + private String urineKetone; // 尿潜血 - private String bld ; + private String bld; //尿常规其他 private String ncgOther; //ABO - private String abo ; + private String abo; // rh - private String rh ; + private String rh; // 血糖 private String bloodSugar; //B超 - private String bChao ; + private String bChao; //胎数 - private String tireNumber ; + private String tireNumber; //血清谷丙转氨酶 - private String xqgbzam ; + private String xqgbzam; //血清谷草转氨酶 - private String xqgczam ; + private String xqgczam; //白蛋白 - private String albumin ; + private String albumin; //总胆红素 - private String totalBilirubin; + private String totalBilirubin; // 结合胆红素 - private String jhBilirubin ; + private String jhBilirubin; //乙肝表面抗原 - private String ygbmky; + private String ygbmky; //乙肝表面抗体 private String ygbmkt; //乙肝e抗原 @@ -172,19 +169,19 @@ public class AntexChuResult { //乙肝e抗体 private String ygekt; // 乙肝核心抗体 - private String yghxkt; + private String yghxkt; // 血清肌 - private String xqjq; + private String xqjq; // 血尿素氮 - private String xnsd; + private String xnsd; // 梅毒血清实验 - private String mdxqsy; + private String mdxqsy; // hit抗体检测 - private String hivkt; + private String hivkt; // 阴道分泌物 - private Map ydfmw; + private Map ydfmw; // 阴道清洁度 - private String ydqjd; + private String ydqjd; public String getAbo() { @@ -204,7 +201,6 @@ public class AntexChuResult { } - public String getAlbumin() { return albumin; } @@ -310,8 +306,6 @@ public class AntexChuResult { } - - public String getFuwei() { return fuwei; } @@ -336,11 +330,11 @@ public class AntexChuResult { this.height = height; } - public String getHighrisk() { + public List getHighrisk() { return highrisk; } - public void setHighrisk(String highrisk) { + public void setHighrisk(List highrisk) { this.highrisk = highrisk; } @@ -393,7 +387,6 @@ public class AntexChuResult { } - public String getNcgOther() { return ncgOther; } @@ -491,7 +484,6 @@ public class AntexChuResult { } - public String getStillbirth() { return stillbirth; } @@ -734,50 +726,36 @@ public class AntexChuResult { } public AntexChuResult convertToResult(AntExChuModel antExChuModel) { - if(null!=antExChuModel){ + if (null != antExChuModel) { setId(antExChuModel.getId()); setParentId(antExChuModel.getParentId()); try { - setPastHistory(JsonUtil.str2Obj(antExChuModel.getPastHistory(), Map.class)); - }catch (Exception e){ - + } catch (Exception e) { } try { setFamilyHistory(JsonUtil.str2Obj(antExChuModel.getFamilyHistory(), Map.class)); - - }catch (Exception e){ - + } catch (Exception e) { } try { setPersonalHistory(JsonUtil.str2Obj(antExChuModel.getPersonalHistory(), Map.class)); - - }catch (Exception e){ - + } catch (Exception e) { } try { setYmjzHistory(JsonUtil.str2Obj(antExChuModel.getYmjzHistory(), Map.class)); - - }catch (Exception e){ - + } catch (Exception e) { } try { setYwgmHistory(JsonUtil.str2Obj(antExChuModel.getYwgmHistory(), Map.class)); - - }catch (Exception e){ - + } catch (Exception e) { } try { setFksxHistory(JsonUtil.str2Obj(antExChuModel.getFksxHistory(), Map.class)); - - }catch (Exception e){ - + } catch (Exception e) { } try { setYsfyHistory(JsonUtil.str2Obj(antExChuModel.getYsfyHistory(), Map.class)); - - }catch (Exception e){ - + } catch (Exception e) { } setPregnancyTimes(antExChuModel.getPregnancyTimes()); setProdTime(antExChuModel.getProdTime()); @@ -792,11 +770,10 @@ public class AntexChuResult { setWeight(antExChuModel.getWeight()); setYqWeight(antExChuModel.getYqWeight()); setBaricIndex(antExChuModel.getBaricIndex()); + setHighrisk(JsonUtil.toList(antExChuModel.getHighrisk(), List.class)); try { - - setCestationInfo(JsonUtil.str2Obj(antExChuModel.getCestationInfo(),Map.class)); - }catch (Exception e){ - + setCestationInfo(JsonUtil.str2Obj(antExChuModel.getCestationInfo(), Map.class)); + } catch (Exception e) { } setGonggao(antExChuModel.getGonggao()); setFuwei(antExChuModel.getFuwei()); @@ -811,8 +788,8 @@ public class AntexChuResult { setCheckTime(antExChuModel.getCheckTime()); try { - setNextCheckTime(JsonUtil.str2Obj(antExChuModel.getNextCheckTime(),Map.class)); - }catch (Exception e){ + setNextCheckTime(JsonUtil.str2Obj(antExChuModel.getNextCheckTime(), Map.class)); + } catch (Exception e) { } setAbo(antExChuModel.getAbortion()); @@ -844,7 +821,7 @@ public class AntexChuResult { setXnsd(antExChuModel.getXnsd()); setMdxqsy(antExChuModel.getMdxqsy()); setHivkt(antExChuModel.getHivkt()); - setYdfmw(JsonUtil.str2Obj(antExChuModel.getYdfmw(),Map.class)); + setYdfmw(JsonUtil.str2Obj(antExChuModel.getYdfmw(), Map.class)); setYdqjd(antExChuModel.getYdqjd()); } return this; -- 1.8.3.1