Commit 91825bdba6a293196e33a4afebdb4fb912413360

Authored by yangfei
1 parent 89708ee49c

听力诊断模块

Showing 7 changed files with 320 additions and 7 deletions

platform-biz-service/src/main/resources/mainOrm/master/BabyPatientExtendEarScreen.xml View file @ 91825bd
... ... @@ -294,7 +294,7 @@
294 294 id,baby_id,screen_type,check_hospital_id,screen_date,high_risk_cause,oae_left,oae_right,aabr_left,aabr_right,gjb2_del_35,gjb2_del_176,gjb2_del_235,gjb2_del_299,gjb3_slc26a4_538,gjb3_slc26a4_2168,gjb3_slc26a4_ivs7,process_option_type,process_option_desc,guid_opinion,check_doctor_id,referral_date,create_date,create_user_id,create_hospital_id,last_update_date,next_check_time,last_update_user_id,last_update_hospital_id,status
295 295 from baby_patient_extend_ear_screen
296 296 <where>
297   - 1 = 1
  297 + status = 0
298 298 <if test="srcStartTime!=null">
299 299 AND
300 300 <![CDATA[
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/HearingDiagnoseController.java View file @ 91825bd
... ... @@ -264,7 +264,7 @@
264 264 hospitalIds.add(h.getOutOrgid());
265 265 }
266 266 }
267   - query.setCheckHospitalIds((String[]) hospitalIds.toArray(new String[hospitalIds.size()]));
  267 + // query.setCheckHospitalIds((String[]) hospitalIds.toArray(new String[hospitalIds.size()]));
268 268 query.setSort("diagnose_time");
269 269 List<BabyPatientExtendEarHearingDiagnose> behdList = hearingDiagnoseService.queryBabyPatientExtendEarHearingDiagnose(query);
270 270 List<Map<String, String>> list = new ArrayList<>();
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/HighriskChangeHospitalController.java View file @ 91825bd
... ... @@ -275,6 +275,7 @@
275 275 return new BaseResponse().setErrorcode(ErrorCodeConstants.PARAMETER_ERROR).setErrormsg("请传入查询类型");
276 276 }
277 277 query.setNeed("1");
  278 + query.setSort("CREATE_TIME");
278 279  
279 280 //如果查询号不为空,根据查询号查询儿童档案表,获取儿童档案Id
280 281 if (query.getQueryNo() != null) {//关键字:姓名、联系方式、就诊卡 查询babyId
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyEarFacade.java View file @ 91825bd
... ... @@ -158,7 +158,7 @@
158 158  
159 159  
160 160 /**
161   - * 增加听力筛查建档
  161 + * 增加儿童建档
162 162 *
163 163 * @param babyEarAddRequest 增加听筛请求
164 164 * @return 操作是否成功
... ... @@ -347,6 +347,8 @@
347 347 public BaseResponse findBabyEarSrc(String babyId) {
348 348 BabyPatientExtendEarScreenQuery query = new BabyPatientExtendEarScreenQuery();
349 349 query.setBabyId(babyId);
  350 + query.setStatus(0);
  351 + query.setSort("create_date");
350 352 List<BabyPatientExtendEarScreen> babyPatientExtendEarScreens = babyPatientExtendEarScreenService.queryBabyPatientExtendEarScreen(query);
351 353  
352 354  
... ... @@ -468,6 +470,7 @@
468 470 if (null != babyPatientExtendEarScreen) {
469 471 String hId = autoMatchFacade.getHospitalId(userId);
470 472 if (StringUtils.isEmpty(babyPatientExtendEarScreen.getId())) {
  473 + babyPatientExtendEarScreen.setStatus(0);
471 474 babyPatientExtendEarScreen.setId(UUID.randomUUID().toString().replace("-", ""));
472 475 babyPatientExtendEarScreen.setCreateDate(new Date());
473 476 babyPatientExtendEarScreen.setCreateUserId(userId + "");
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/BabyEarBase.java View file @ 91825bd
... ... @@ -14,7 +14,10 @@
14 14 public BabyEarBase() {
15 15  
16 16 }
17   -
  17 + /**
  18 + * 母亲孕期高危因素
  19 + */
  20 + private String mHighRiskFactorId;
18 21 //住院号
19 22 private String admissNo;
20 23 //新生儿出院诊断
... ... @@ -85,7 +88,7 @@
85 88 //职业类别
86 89 private String fproTypeId;
87 90  
88   - //高危因素
  91 + //听力高危因素
89 92 private String highRiskCause;
90 93  
91 94 public BabyEarBase(BabyModel babyModel) {
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/BabyEarArchivesResult.java View file @ 91825bd
  1 +package com.lyms.platform.operate.web.result;
  2 +
  3 +import java.math.BigDecimal;
  4 +
  5 +/**
  6 + * @auther yangfei
  7 + * @createTime 2017年08月15日 15时32分
  8 + * @discription 儿童听力建档基本信息
  9 + */
  10 +public class BabyEarArchivesResult {
  11 + //儿童名字
  12 + private String name;
  13 + //儿童性别
  14 + private String set;
  15 + //儿童身份证号
  16 + private String cardNo;
  17 + //民族
  18 + private String nation;
  19 + //儿童生日
  20 + private String birth;
  21 + //儿童家庭地址
  22 + private String provinceId;
  23 + //地址
  24 + private String address;
  25 + //邮编
  26 + private String zipCode;
  27 +
  28 + /**
  29 + * 母亲信息
  30 + */
  31 + //母亲姓名
  32 + private String mname;
  33 + //证件类型
  34 + private String mcertType;
  35 + //证件号
  36 + private String mcertNo;
  37 + //母亲生日
  38 + private String mbirth;
  39 + //母亲年龄
  40 + private String mAge;
  41 + //文化程度
  42 + private String mLevel;
  43 + //职业类别
  44 + private String mproType;
  45 + //母亲联系方式
  46 + private String mphone;
  47 +
  48 + /**
  49 + * 父亲信息
  50 + */
  51 + //父亲姓名
  52 + private String fname;
  53 + //证件类型
  54 + private String fcertType;
  55 + //证件号
  56 + private String fcertNo;
  57 + //父亲出生日期
  58 + private String fbirth;
  59 + //父亲年龄
  60 + private String fAge;
  61 + //文化程度
  62 + private String fLevel;
  63 + //职业类别
  64 + private String fproType;
  65 + //高危因素
  66 + private String highRiskCause;
  67 + //父亲联系方式
  68 + private String fphone;
  69 +
  70 + //建档医生
  71 + private String createUser;
  72 + //建档时间
  73 + private String createTime;
  74 + //就诊卡号
  75 + private String vcCardNo;
  76 + //条码
  77 + private String barCode;
  78 + //服务类型
  79 + private String serviceType;
  80 + //服务状态
  81 + private String serviceStatus;
  82 + //备注
  83 + private String remark;
  84 +}
  85 +
  86 +/**
  87 + * 儿童出生信息
  88 + */
  89 +class BabyEarBirth{
  90 + /**
  91 + * 胎次
  92 + */
  93 + private String fetuNumber;
  94 +
  95 + /**
  96 + * 产次
  97 + */
  98 + private String productNumber;
  99 +
  100 + /**
  101 + * 出生体重
  102 + */
  103 + private BigDecimal birthWeight;
  104 +
  105 + /**
  106 + * 分娩方式
  107 + */
  108 + private String parturitionType;
  109 +
  110 + /**
  111 + * 胎数
  112 + */
  113 + private String tireNumber;
  114 +
  115 + /**
  116 + * 出生缺陷
  117 + */
  118 + private String birthDefectDesc;
  119 + /**
  120 + * 产伤
  121 + */
  122 + private String birthInjuryPosition;
  123 + /**
  124 + * 羊水
  125 + */
  126 + private String amnioticFluid;
  127 + /**
  128 + * 异常分娩
  129 + */
  130 + private String abnormalParturition;
  131 +
  132 + /**
  133 + * 胎儿窘迫
  134 + */
  135 + private String fetuEmbarras;
  136 + /**
  137 + * apgar评分
  138 + */
  139 + private BigDecimal apgarScore;
  140 + /**
  141 + * 头颅、五观是否畸形
  142 + */
  143 + private String deformity;
  144 + /**
  145 + * 头部外伤史详述
  146 + */
  147 + private String headTraumaDesc;
  148 + /**
  149 + * 出生后感染
  150 + */
  151 + private String birthInfecType;
  152 + /**
  153 + * 出生后感染病因
  154 + */
  155 + private String birthInfecCause;
  156 + /**
  157 + * 出生后患病病程
  158 + */
  159 + private String birthInfecDisease;
  160 + /**
  161 + * 出生后患病
  162 + */
  163 + private String birthIllType;
  164 +
  165 + /**
  166 + * 出生后患病病因
  167 + */
  168 + private String birthIllCause;
  169 +
  170 + /**
  171 + * 出生后患病病程
  172 + */
  173 + private String birthIllDisease;
  174 + /**
  175 + * 耳毒性药物应用史
  176 + */
  177 + private String earPoisonType;
  178 + /**
  179 + * 药名
  180 + */
  181 + private String earPoisonName;
  182 + /**
  183 + * 剂量
  184 + */
  185 + private String earPoisonNumber;
  186 + /**
  187 + * 疗程
  188 + */
  189 + private String earPoisonCourse;
  190 + /**
  191 + * 中耳炎史详述
  192 + */
  193 + private String tympanitisDesc;
  194 + /**
  195 + * 是否有nicu
  196 + */
  197 + private String nicuType;
  198 + /**
  199 + * nicu原因
  200 + */
  201 + private String nicuCause;
  202 + /**
  203 + * nicu持续时间
  204 + */
  205 + private String nicuContinuedDate;
  206 + /**
  207 + * 呼吸机使用
  208 + */
  209 + private String respiratorType;
  210 + /**
  211 + * 呼吸机使用的持续时间
  212 + */
  213 + private String respiratorContinuedDate;
  214 + /**
  215 + * 对外界声音和其他感官刺激的反应 1=灵敏 2=迟钝
  216 + */
  217 + private String outsideResponse;
  218 +}
  219 +
  220 +/**
  221 + * 母亲妊娠情况
  222 + */
  223 +class BabyEarMother{
  224 + /**
  225 + * 妊娠年龄
  226 + */
  227 + private Integer gestationAge;
  228 + /**
  229 + * 流产史
  230 + */
  231 + private String abortionHistoryType;
  232 + /**
  233 + * 妊娠期病毒感染史
  234 + */
  235 + private String viralInfectionHistoryType;
  236 +
  237 + /**
  238 + * 妊娠期外生殖器感染史
  239 + */
  240 + private String genitalInfectionHistoryType;
  241 +
  242 + /**
  243 + * 妊娠期放射性物质接触史
  244 + */
  245 + private String radiationHistoryType;
  246 + /**
  247 + * 妊娠期放射性物质接触时孕周
  248 + */
  249 + private String radiaGestatWeeks;
  250 + /**
  251 + * 妊娠期药物应用史
  252 + */
  253 + private String drugAppType;
  254 + /**
  255 + * 妊娠期药物名称
  256 + */
  257 + private String drugAppName;
  258 +
  259 + /**
  260 + * 有害物接触史
  261 + */
  262 + private String harmfulSubstanceType;
  263 + /**
  264 + * 妊娠期药物名称
  265 + */
  266 + private String harmfulSubstanceName;
  267 +
  268 + /**
  269 + * 妊娠期不良生活习惯史
  270 + */
  271 + private String badLifeHistoryType;
  272 + /**
  273 + * 妊娠期病史
  274 + */
  275 + private String medicalHistoryType;
  276 + /**
  277 + * 异常妊娠
  278 + */
  279 + private String bnormalPregnancyHistoryType;
  280 +}
  281 +class BabyEarFamily{
  282 + /**
  283 + * 是否有家庭不良生活习惯
  284 + */
  285 + private String badLifeHistoryType;
  286 + /**
  287 + * 庭不良生活习惯类型 1=吸烟 2=饮酒 3=吸毒
  288 + */
  289 + private String badLifeTypeId;
  290 + /**
  291 + * 家族中是否有耳聋患者
  292 + */
  293 + private String deafType;
  294 + /**
  295 + * 耳聋患者与儿童的亲属关系
  296 + */
  297 + private String deatRelationship;
  298 + /**
  299 + * 是否近亲结婚
  300 + */
  301 + private Integer proximityType;
  302 + /**
  303 + * 血缘关系
  304 + */
  305 + private String proximityRelationship;
  306 +}
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/BabyEarResult.java View file @ 91825bd
... ... @@ -13,9 +13,9 @@
13 13 private BabyEarBase base;
14 14 //儿童出生信息
15 15 private BabyPatientExtendEarBirth babyBirth;
16   -
  16 + //母亲壬辰详情
17 17 private BabyPatientExtendEarMother patientExtendEarMother;
18   -
  18 + //家族史
19 19 private BabyPatientExtendEarFamily patientExtendEarFamily;
20 20  
21 21 public BabyEarBase getBase() {