Commit 517d6e80a4f9b0d9895bbb6fc821ff3415570e85

Authored by wtt

Merge remote-tracking branch 'origin/master'

Showing 4 changed files

platform-operate-api/src/main/java/com/lyms/hospitalapi/hs/SyncHsPatientService.java View file @ 517d6e8
... ... @@ -14,6 +14,7 @@
14 14 import org.springframework.data.mongodb.core.MongoTemplate;
15 15 import org.springframework.data.mongodb.core.query.Criteria;
16 16 import org.springframework.data.mongodb.core.query.Query;
  17 +import org.springframework.data.mongodb.core.query.Update;
17 18 import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
18 19 import org.springframework.stereotype.Service;
19 20  
... ... @@ -56,7 +57,7 @@
56 57 " mp.*, p_birthday, p_name, vc.VC_CARDNO from MOMMY_PATIENT mp " +
57 58 " left join Plat_Patient pp on mp.p_platpatientid = pp.p_id left join (select max(VC_OPERTIME) as OPERTIME, " +
58 59 " VC_CARDNO, VC_PATIENTNO from MOMMY_VISITCARD group by VC_CARDNO, VC_PATIENTNO) vc " +
59   - " on vc.VC_PATIENTNO = mp.P_NO order by mp.P_FILINGTIME desc) temp where ROWNUM <="+pageEnd+") pat where pat.rowno >= "+pageStart;
  60 + " on vc.VC_PATIENTNO = mp.P_NO order by mp.P_FILINGTIME asc) temp where ROWNUM <="+pageEnd+") pat where pat.rowno >= "+pageStart;
60 61 System.out.println(sql);
61 62 List<Map<String, Object>> list = JDBCUtil.getOracleListDataBySql(sql);
62 63 if (!CollectionUtils.isNotEmpty(list))
63 64  
64 65  
65 66  
66 67  
... ... @@ -128,15 +129,51 @@
128 129 private void syncPatient(Map<String, Object> map,MongoTemplate mongoTemplate)
129 130 {
130 131  
131   - //没有末次月经的孕妇不处理
132   - if (StringUtils.isEmpty(HsDataUtil.getString(map.get("P_LASTMENSTRUALPERIOD"))))
  132 + Date lastmenstrualperiod = null;
  133 + try {
  134 + if (StringUtils.isEmpty(HsDataUtil.getString(map.get("P_LASTMENSTRUALPERIOD"))))
  135 + {
  136 + List<Map<String, Object>> chanList = null;
  137 + if (StringUtils.isNotEmpty(HsDataUtil.getString(map.get("P_PLATPATIENTID")))) {
  138 + chanList = JDBCUtil.getOracleListDataBySql("SELECT * FROM MOMMY_PREGDELIVERYRECORD P WHERE P.PDR_PATIENTID = '" + HsDataUtil.getString(map.get("P_PLATPATIENTID")) + "' order by p.PDR_CHILDBIRTHDAY desc ");
  139 + }
  140 + if (CollectionUtils.isNotEmpty(chanList))
  141 + {
  142 + Map<String, Object> data = chanList.get(0);
  143 + Date fmDate = HsDataUtil.getDate(data.get("PDR_CHILDBIRTHDAY"));
  144 + String fmWeekStr = HsDataUtil.getString(data.get("PDR_GESTATIONALWEEKS"));
  145 + if (fmDate != null && StringUtils.isNotEmpty(fmWeekStr) && fmWeekStr.contains("+"))
  146 + {
  147 + String[] weeks = fmWeekStr.split("\\+");
  148 +
  149 + lastmenstrualperiod = DateUtil.addWeek(fmDate,-Integer.parseInt(weeks[0]));
  150 + if (weeks.length > 1 && StringUtils.isNotEmpty(weeks[1]))
  151 + {
  152 + lastmenstrualperiod = DateUtil.addWeek(lastmenstrualperiod,-Integer.parseInt(weeks[1]));
  153 + }
  154 + }
  155 + }
  156 + }
  157 + }catch (Exception e)
133 158 {
  159 + e.printStackTrace();
  160 + System.out.println("分娩孕周计算末次月经错误");
134 161 return;
135 162 }
136 163  
  164 +
137 165 Patients patients = new Patients();
  166 + if (StringUtils.isEmpty(HsDataUtil.getString(map.get("P_LASTMENSTRUALPERIOD"))) && lastmenstrualperiod == null)
  167 + {
  168 + return;
  169 + }
138 170  
139   - Date dueDate = DateUtil.addDay(DateUtil.addMonth(HsDataUtil.getDate(map.get("P_LASTMENSTRUALPERIOD")), 9), 7);
  171 + if (StringUtils.isEmpty(HsDataUtil.getString(map.get("P_LASTMENSTRUALPERIOD"))) && lastmenstrualperiod != null)
  172 + {
  173 + map.put("P_LASTMENSTRUALPERIOD",lastmenstrualperiod);
  174 + }
  175 +
  176 + Date dueDate = DateUtil.addDay(DateUtil.addMonth(HsDataUtil.getDate(map.get("P_LASTMENSTRUALPERIOD")), 9), 7); //280 天
140 177 patients.setDueDate(dueDate);
141 178  
142 179 patients.setBuildDays(DateUtil.getDays(HsDataUtil.getDate(map.get("P_LASTMENSTRUALPERIOD")), HsDataUtil.getDate(map.get("P_FILINGTIME"))));
143 180  
... ... @@ -462,12 +499,12 @@
462 499 {
463 500  
464 501 Map deliveryMode = new HashMap();
465   - if ("自然娩出".equals(HsDataUtil.getString(fmMap.get("PDR_DELIVERYMODE"))))
  502 + if ("自然娩出".equals(HsDataUtil.getString(fmMap.get("PDR_DELIVERYMODE"))) || HsDataUtil.getString(fmMap.get("PDR_DELIVERYMODE")).contains("顺产"))
466 503 {
467 504 deliveryMode.put("fmfs","0");
468 505 deliveryMode.put("scfs","0");
469 506 }
470   - else if ("剖宫产".equals(HsDataUtil.getString(fmMap.get("PDR_DELIVERYMODE"))))
  507 + else if ("剖宫产".equals(HsDataUtil.getString(fmMap.get("PDR_DELIVERYMODE"))) || HsDataUtil.getString(fmMap.get("PDR_DELIVERYMODE")).contains("手术产"))
471 508 {
472 509 deliveryMode.put("fmfs","1");
473 510 deliveryMode.put("scfs","");
474 511  
475 512  
... ... @@ -493,21 +530,37 @@
493 530 createCZ(chuList,patients);
494 531 }
495 532  
496   - PersonModel person = new PersonModel();
497   - mongoTemplate.findOne(Query.query(Criteria.where("cardNo").is(HsDataUtil.getString(map.get("P_CARDNO"))).and("yn").is(1)), PersonModel.class);
498   - person.setId(String.valueOf(map.get("PID")));
499   - person.setType(type);
500 533  
501   - person.setYn(YnEnums.YES.getId());
502   - person.setBirth(HsDataUtil.getDate(map.get("P_BIRTHDAY")));
503   - person.setCardNo(HsDataUtil.getString(map.get("P_CARDNO")));
504   - person.setName(HsDataUtil.getString(map.get("P_NAME")));
505   - person.setPhone(HsDataUtil.getString(map.get("P_MOBILEPHONE")));
506   - person.setCreated(HsDataUtil.getDate(map.get("P_FILINGTIME")));
507   - person.setModified(HsDataUtil.getDate(map.get("P_OPERTIME")));
508   - mongoTemplate.save(person);
509   - patients.setPid(person.getId());
  534 + PersonModel dbPerson = mongoTemplate.findOne(Query.query(Criteria.where("cardNo").is(HsDataUtil.getString(map.get("P_CARDNO"))).and("yn").is(1).and("type").ne(2)), PersonModel.class);
  535 + if (dbPerson != null && type != dbPerson.getType())
  536 + {
  537 + dbPerson.setType(type);
  538 + Query query = Query.query(Criteria.where("id").is(dbPerson.getId()));
  539 + Update update = MongoConvertHelper
  540 + .convertToNativeUpdate(ReflectionUtils.getUpdateField(dbPerson));
  541 + mongoTemplate.updateFirst(query, update, PersonModel.class);
  542 + }
  543 + else
  544 + {
  545 + PersonModel person = new PersonModel();
  546 + person.setId(String.valueOf(map.get("PID")));
  547 + person.setType(type);
510 548  
  549 + person.setYn(YnEnums.YES.getId());
  550 + person.setBirth(HsDataUtil.getDate(map.get("P_BIRTHDAY")));
  551 + person.setCardNo(HsDataUtil.getString(map.get("P_CARDNO")));
  552 + person.setName(HsDataUtil.getString(map.get("P_NAME")));
  553 + person.setPhone(HsDataUtil.getString(map.get("P_MOBILEPHONE")));
  554 + person.setCreated(HsDataUtil.getDate(map.get("P_FILINGTIME")));
  555 + person.setModified(HsDataUtil.getDate(map.get("P_OPERTIME")));
  556 + mongoTemplate.save(person);
  557 + dbPerson = person;
  558 + }
  559 +
  560 +
  561 +
  562 + patients.setPid(dbPerson.getId());
  563 +
511 564 mongoTemplate.save(patients);
512 565 System.out.println("建档创建完成==="+patients.getId());
513 566  
... ... @@ -674,7 +727,34 @@
674 727 deliverModel.setDueDate(DateUtil.getyyyy_MM_dd(HsDataUtil.getDate(fmMap.get("PDR_CHILDBIRTHDAY"))));
675 728 deliverModel.setDueDate1(HsDataUtil.getDate(fmMap.get("PDR_CHILDBIRTHDAY")));
676 729 deliverModel.setFmType("1");
677   - deliverModel.setDueWeek(DateUtil.getWeekDesc(last, HsDataUtil.getDate(fmMap.get("PDR_CHILDBIRTHDAY"))));
  730 + deliverModel.setDueWeek(DateUtil.getWeekDesc(last, DateUtil.addDay(HsDataUtil.getDate(fmMap.get("PDR_CHILDBIRTHDAY")),-1)));
  731 +
  732 +
  733 + if(StringUtils.isNotEmpty(HsDataUtil.getString(fmMap.get("PDR_AFTERONEHIGHBLOOD2"))) &&
  734 + StringUtils.isNotEmpty(HsDataUtil.getString(fmMap.get("PDR_AFTERONELOWBLOOD2"))))
  735 + {
  736 + Map xy = new HashMap();
  737 + xy.put("ssy",HsDataUtil.getInteger(fmMap.get("PDR_AFTERONEHIGHBLOOD2")));
  738 + xy.put("szy",HsDataUtil.getInteger(fmMap.get("PDR_AFTERONELOWBLOOD2")));
  739 + deliverModel.setCh2Bp(JsonUtil.obj2Str(xy));
  740 + }
  741 +
  742 +
  743 + if(StringUtils.isNotEmpty(HsDataUtil.getString(fmMap.get("PDR_AFTERONEHIGHBLOOD"))) &&
  744 + StringUtils.isNotEmpty(HsDataUtil.getString(fmMap.get("PDR_AFTERONELOWBLOOD"))))
  745 + {
  746 + Map xy = new HashMap();
  747 + xy.put("ssy",HsDataUtil.getInteger(fmMap.get("PDR_AFTERONEHIGHBLOOD")));
  748 + xy.put("szy",HsDataUtil.getInteger(fmMap.get("PDR_AFTERONELOWBLOOD")));
  749 + deliverModel.setChBp(JsonUtil.obj2Str(xy));
  750 + }
  751 +
  752 + deliverModel.setoHloseBloodL(HsDataUtil.getDouble(fmMap.get("PDR_BLOODLOSSAFTERONE")));
  753 + deliverModel.settHloseBloodL(HsDataUtil.getDouble(fmMap.get("PDR_BLOODLOSSAFTERONE2")));
  754 + deliverModel.setrHloseBloodL(HsDataUtil.getDouble(fmMap.get("PDR_BLOODLOSSAFTERONE24")));
  755 + deliverModel.setsHloseBloodL(HsDataUtil.getDouble(fmMap.get("PDR_3AND2BLOOD")));
  756 + deliverModel.setBreath(HsDataUtil.getString(fmMap.get("PDR_MIANCHUHOUFENZHONG")));
  757 + deliverModel.setPulse(HsDataUtil.getString(fmMap.get("PDR_AFTERONEMAIBO")));
678 758  
679 759  
680 760 String operatorName = HsDataUtil.getString(fmMap.get("PDR_MIDWIFE"));
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/BabyEyeCheckController.java View file @ 517d6e8
... ... @@ -103,8 +103,9 @@
103 103  
104 104 @ResponseBody
105 105 @RequestMapping(value = "/list/init", method = RequestMethod.GET)
106   - public BaseResponse listInit() {
107   - return babyEyeCheckService.listInit();
  106 + @TokenRequired
  107 + public BaseResponse listInit( HttpServletRequest request) {
  108 + return babyEyeCheckService.listInit(getUserId(request));
108 109 }
109 110  
110 111 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/BabyEyeCheckService.java View file @ 517d6e8
... ... @@ -25,7 +25,7 @@
25 25  
26 26 BaseResponse query(Integer userId, String babyId);
27 27  
28   - BaseResponse listInit();
  28 + BaseResponse listInit(Integer userId);
29 29  
30 30 void export(Integer userId, Date startDate, Date endDate, String doctor, String key, Integer currentMonthStart, Integer currentMonthEnd, String chechMonth, boolean positive, String positiveIds, HttpServletResponse response, Date bookStartDate, Date bookEndDate, String apparatusPositive, String doctorPositive, String yin);
31 31 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyEyeCheckServiceImpl.java View file @ 517d6e8
... ... @@ -618,6 +618,7 @@
618 618 temp.put("positive", positive.toString());
619 619 temp.put("doctor", couponMapper.getUserName(babyEyeCheck.getDoctor()));
620 620 temp.put("checkTime", DateUtil.getYyyyMmDd(babyEyeCheck.getCheckTime()));
  621 + temp.put("nextCheckTime", DateUtil.getYyyyMmDd(babyEyeCheck.getNextCheckTime()));
621 622 CollectionUtils.removeNullValue(temp);
622 623 restMap.add(temp);
623 624 }
624 625  
625 626  
626 627  
627 628  
628 629  
629 630  
630 631  
631 632  
632 633  
633 634  
634 635  
635 636  
636 637  
637 638  
638 639  
639 640  
640 641  
641 642  
642 643  
... ... @@ -718,106 +719,199 @@
718 719 }
719 720  
720 721 @Override
721   - public BaseResponse listInit() {
  722 + public BaseResponse listInit(Integer userId) {
  723 +
  724 + String hospitalId = autoMatchFacade.getHospitalId(userId);
722 725 List<Map<String, Object>> checkMonth = EnumUtil.toJson(CheckMonthEnums.class); /** 检查月龄 */
723 726 List<Map<String, Object>> currentMonth = EnumUtil.toJson(CheckMonthEnums2.class); /** 检查月龄 */
724 727 List<Map<String, Object>> positive = new ArrayList<>(); /** 阳性项目 */
725 728  
726   - Map<String, Object> extEyelookMap = new HashMap<>();
727   - extEyelookMap.put("id", "extEyelook");
728   - extEyelookMap.put("name", "外眼观察");
729   - positive.add(extEyelookMap);
  729 + if ("197".equals(hospitalId))
  730 + {
730 731  
731   - Map<String, Object> nystagmusMap = new HashMap<>();
732   - nystagmusMap.put("id", "nystagmus");
733   - nystagmusMap.put("name", "视动性眼震");
734   - positive.add(nystagmusMap);
  732 + Map<String, Object> extRightEyelookMap = new HashMap<>();
  733 + extRightEyelookMap.put("id", "extRightEyelook");
  734 + extRightEyelookMap.put("name", "外眼观察(右)");
  735 + positive.add(extRightEyelookMap);
735 736  
736   - Map<String, Object> extRightEyelookMap = new HashMap<>();
737   - extRightEyelookMap.put("id", "extRightEyelook");
738   - extRightEyelookMap.put("name", "外眼观察(右)");
739   - positive.add(extRightEyelookMap);
  737 + Map<String, Object> extLeftEyelookMap = new HashMap<>();
  738 + extLeftEyelookMap.put("id", "extLeftEyelook");
  739 + extLeftEyelookMap.put("name", "外眼观察(左)");
  740 + positive.add(extLeftEyelookMap);
740 741  
741   - Map<String, Object> extLeftEyelookMap = new HashMap<>();
742   - extLeftEyelookMap.put("id", "extLeftEyelook");
743   - extLeftEyelookMap.put("name", "外眼观察(左)");
744   - positive.add(extLeftEyelookMap);
  742 + Map<String, Object> pupillaryRightReflexMap = new HashMap<>();
  743 + pupillaryRightReflexMap.put("id", "pupillaryRightReflex");
  744 + pupillaryRightReflexMap.put("name", "瞳孔对光反射(右)");
  745 + positive.add(pupillaryRightReflexMap);
745 746  
746   - Map<String, Object> blinkRightReflexMap = new HashMap<>();
747   - blinkRightReflexMap.put("id", "blinkRightReflex");
748   - blinkRightReflexMap.put("name", "瞬目反射(右)");
749   - positive.add(blinkRightReflexMap);
  747 + Map<String, Object> pupillaryLeftReflexMap = new HashMap<>();
  748 + pupillaryLeftReflexMap.put("id", "pupillaryLeftReflex");
  749 + pupillaryLeftReflexMap.put("name", "瞳孔对光反射(左)");
  750 + positive.add(pupillaryLeftReflexMap);
750 751  
751   - Map<String, Object> blinkLefttReflexapMap = new HashMap<>();
752   - blinkLefttReflexapMap.put("id", "blinkLefttReflex");
753   - blinkLefttReflexapMap.put("name", "瞬目反射(左)");
754   - positive.add(blinkLefttReflexapMap);
  752 + Map<String, Object> redRightReflexMap = new HashMap<>();
  753 + redRightReflexMap.put("id", "redRightReflex");
  754 + redRightReflexMap.put("name", "瞳孔红光反射(右)");
  755 + positive.add(redRightReflexMap);
755 756  
756   - Map<String, Object> pupillaryRightReflexMap = new HashMap<>();
757   - pupillaryRightReflexMap.put("id", "pupillaryRightReflex");
758   - pupillaryRightReflexMap.put("name", "瞳孔对光反射(右)");
759   - positive.add(pupillaryRightReflexMap);
  757 + Map<String, Object> redLeftReflexMap = new HashMap<>();
  758 + redLeftReflexMap.put("id", "redLeftReflex");
  759 + redLeftReflexMap.put("name", "瞳孔红光反射(左)");
  760 + positive.add(redLeftReflexMap);
760 761  
761   - Map<String, Object> pupillaryLeftReflexMap = new HashMap<>();
762   - pupillaryLeftReflexMap.put("id", "pupillaryLeftReflex");
763   - pupillaryLeftReflexMap.put("name", "瞳孔对光反射(左)");
764   - positive.add(pupillaryLeftReflexMap);
765 762  
766   - Map<String, Object> redRightReflexMap = new HashMap<>();
767   - redRightReflexMap.put("id", "redRightReflex");
768   - redRightReflexMap.put("name", "瞳孔红光反射(右)");
769   - positive.add(redRightReflexMap);
  763 + Map<String, Object> blinkRightReflexMap = new HashMap<>();
  764 + blinkRightReflexMap.put("id", "blinkRightReflex");
  765 + blinkRightReflexMap.put("name", "瞬目反射(右)");
  766 + positive.add(blinkRightReflexMap);
770 767  
771   - Map<String, Object> redLeftReflexMap = new HashMap<>();
772   - redLeftReflexMap.put("id", "redLeftReflex");
773   - redLeftReflexMap.put("name", "瞳孔红光反射(左)");
774   - positive.add(redLeftReflexMap);
  768 + Map<String, Object> blinkLefttReflexapMap = new HashMap<>();
  769 + blinkLefttReflexapMap.put("id", "blinkLefttReflex");
  770 + blinkLefttReflexapMap.put("name", "瞬目反射(左)");
  771 + positive.add(blinkLefttReflexapMap);
775 772  
776   - Map<String, Object> redReflexMap = new HashMap<>();
777   - redReflexMap.put("id", "redReflex");
778   - redReflexMap.put("name", "红光反射");
779   - positive.add(redReflexMap);
  773 + Map<String, Object> redReflexMap = new HashMap<>();
  774 + redReflexMap.put("id", "redReflex");
  775 + redReflexMap.put("name", "红光反射");
  776 + positive.add(redReflexMap);
780 777  
781   - Map<String, Object> conjunctivaMap = new HashMap<>();
782   - conjunctivaMap.put("id", "conjunctiva");
783   - conjunctivaMap.put("name", "结膜");
784   - positive.add(conjunctivaMap);
785 778  
786   - Map<String, Object> cornealMap = new HashMap<>();
787   - cornealMap.put("id", "corneal");
788   - cornealMap.put("name", "角膜");
789   - positive.add(cornealMap);
  779 + Map<String, Object> extEyelookMap = new HashMap<>();
  780 + extEyelookMap.put("id", "extEyelook");
  781 + extEyelookMap.put("name", "外眼观察");
  782 + positive.add(extEyelookMap);
790 783  
791   - Map<String, Object> lacrimalApparatusMap = new HashMap<>();
792   - lacrimalApparatusMap.put("id", "lacrimalApparatus");
793   - lacrimalApparatusMap.put("name", "泪器");
794   - positive.add(lacrimalApparatusMap);
  784 + Map<String, Object> nystagmusMap = new HashMap<>();
  785 + nystagmusMap.put("id", "nystagmus");
  786 + nystagmusMap.put("name", "视动性眼震");
  787 + positive.add(nystagmusMap);
795 788  
796   - Map<String, Object> eyePosition2Map = new HashMap<>();
797   - eyePosition2Map.put("id", "eyePositionId2");
798   - eyePosition2Map.put("name", "眼位(医生判定阳性)");
799   - positive.add(eyePosition2Map);
  789 + Map<String, Object> conjunctivaMap = new HashMap<>();
  790 + conjunctivaMap.put("id", "conjunctiva");
  791 + conjunctivaMap.put("name", "结膜");
  792 + positive.add(conjunctivaMap);
800 793  
801   - Map<String, Object> redLeft2Map = new HashMap<>();
802   - redLeft2Map.put("id", "redLeft2");
803   - redLeft2Map.put("name", "红光反射(医生判定阳性)");
804   - positive.add(redLeft2Map);
  794 + Map<String, Object> cornealMap = new HashMap<>();
  795 + cornealMap.put("id", "corneal");
  796 + cornealMap.put("name", "角膜");
  797 + positive.add(cornealMap);
805 798  
806 799  
807   - Map<String, Object> vision2Map = new HashMap<>();
808   - vision2Map.put("id", "vision2");
809   - vision2Map.put("name", "视力(医生判定阳性)");
810   - positive.add(vision2Map);
  800 + Map<String, Object> refraction2Map = new HashMap<>();
  801 + refraction2Map.put("id", "refraction2");
  802 + refraction2Map.put("name", "屈光");
  803 + positive.add(refraction2Map);
811 804  
812   - Map<String, Object> y2Map = new HashMap<>();
813   - y2Map.put("id", "y2");
814   - y2Map.put("name", "手持验光仪(医生判定阳性)");
815   - positive.add(y2Map);
  805 + Map<String, Object> eyePosition2Map = new HashMap<>();
  806 + eyePosition2Map.put("id", "eyePositionId2");
  807 + eyePosition2Map.put("name", "眼位(医生判定阳性)");
  808 + positive.add(eyePosition2Map);
816 809  
817   - Map<String, Object> refraction2Map = new HashMap<>();
818   - refraction2Map.put("id", "refraction2");
819   - refraction2Map.put("name", "屈光(医生判定阳性)");
820   - positive.add(refraction2Map);
  810 + Map<String, Object> vision2Map = new HashMap<>();
  811 + vision2Map.put("id", "vision2");
  812 + vision2Map.put("name", "视力(医生判定阳性)");
  813 + positive.add(vision2Map);
  814 + }
  815 + else
  816 + {
  817 + Map<String, Object> extEyelookMap = new HashMap<>();
  818 + extEyelookMap.put("id", "extEyelook");
  819 + extEyelookMap.put("name", "外眼观察");
  820 + positive.add(extEyelookMap);
  821 +
  822 + Map<String, Object> nystagmusMap = new HashMap<>();
  823 + nystagmusMap.put("id", "nystagmus");
  824 + nystagmusMap.put("name", "视动性眼震");
  825 + positive.add(nystagmusMap);
  826 +
  827 + Map<String, Object> extRightEyelookMap = new HashMap<>();
  828 + extRightEyelookMap.put("id", "extRightEyelook");
  829 + extRightEyelookMap.put("name", "外眼观察(右)");
  830 + positive.add(extRightEyelookMap);
  831 +
  832 + Map<String, Object> extLeftEyelookMap = new HashMap<>();
  833 + extLeftEyelookMap.put("id", "extLeftEyelook");
  834 + extLeftEyelookMap.put("name", "外眼观察(左)");
  835 + positive.add(extLeftEyelookMap);
  836 +
  837 + Map<String, Object> blinkRightReflexMap = new HashMap<>();
  838 + blinkRightReflexMap.put("id", "blinkRightReflex");
  839 + blinkRightReflexMap.put("name", "瞬目反射(右)");
  840 + positive.add(blinkRightReflexMap);
  841 +
  842 + Map<String, Object> blinkLefttReflexapMap = new HashMap<>();
  843 + blinkLefttReflexapMap.put("id", "blinkLefttReflex");
  844 + blinkLefttReflexapMap.put("name", "瞬目反射(左)");
  845 + positive.add(blinkLefttReflexapMap);
  846 +
  847 + Map<String, Object> pupillaryRightReflexMap = new HashMap<>();
  848 + pupillaryRightReflexMap.put("id", "pupillaryRightReflex");
  849 + pupillaryRightReflexMap.put("name", "瞳孔对光反射(右)");
  850 + positive.add(pupillaryRightReflexMap);
  851 +
  852 + Map<String, Object> pupillaryLeftReflexMap = new HashMap<>();
  853 + pupillaryLeftReflexMap.put("id", "pupillaryLeftReflex");
  854 + pupillaryLeftReflexMap.put("name", "瞳孔对光反射(左)");
  855 + positive.add(pupillaryLeftReflexMap);
  856 +
  857 + Map<String, Object> redRightReflexMap = new HashMap<>();
  858 + redRightReflexMap.put("id", "redRightReflex");
  859 + redRightReflexMap.put("name", "瞳孔红光反射(右)");
  860 + positive.add(redRightReflexMap);
  861 +
  862 + Map<String, Object> redLeftReflexMap = new HashMap<>();
  863 + redLeftReflexMap.put("id", "redLeftReflex");
  864 + redLeftReflexMap.put("name", "瞳孔红光反射(左)");
  865 + positive.add(redLeftReflexMap);
  866 +
  867 + Map<String, Object> redReflexMap = new HashMap<>();
  868 + redReflexMap.put("id", "redReflex");
  869 + redReflexMap.put("name", "红光反射");
  870 + positive.add(redReflexMap);
  871 +
  872 + Map<String, Object> conjunctivaMap = new HashMap<>();
  873 + conjunctivaMap.put("id", "conjunctiva");
  874 + conjunctivaMap.put("name", "结膜");
  875 + positive.add(conjunctivaMap);
  876 +
  877 + Map<String, Object> cornealMap = new HashMap<>();
  878 + cornealMap.put("id", "corneal");
  879 + cornealMap.put("name", "角膜");
  880 + positive.add(cornealMap);
  881 +
  882 + Map<String, Object> lacrimalApparatusMap = new HashMap<>();
  883 + lacrimalApparatusMap.put("id", "lacrimalApparatus");
  884 + lacrimalApparatusMap.put("name", "泪器");
  885 + positive.add(lacrimalApparatusMap);
  886 +
  887 + Map<String, Object> eyePosition2Map = new HashMap<>();
  888 + eyePosition2Map.put("id", "eyePositionId2");
  889 + eyePosition2Map.put("name", "眼位(医生判定阳性)");
  890 + positive.add(eyePosition2Map);
  891 +
  892 + Map<String, Object> redLeft2Map = new HashMap<>();
  893 + redLeft2Map.put("id", "redLeft2");
  894 + redLeft2Map.put("name", "红光反射(医生判定阳性)");
  895 + positive.add(redLeft2Map);
  896 +
  897 +
  898 + Map<String, Object> vision2Map = new HashMap<>();
  899 + vision2Map.put("id", "vision2");
  900 + vision2Map.put("name", "视力(医生判定阳性)");
  901 + positive.add(vision2Map);
  902 +
  903 + Map<String, Object> y2Map = new HashMap<>();
  904 + y2Map.put("id", "y2");
  905 + y2Map.put("name", "手持验光仪(医生判定阳性)");
  906 + positive.add(y2Map);
  907 +
  908 + Map<String, Object> refraction2Map = new HashMap<>();
  909 + refraction2Map.put("id", "refraction2");
  910 + refraction2Map.put("name", "屈光(医生判定阳性)");
  911 + positive.add(refraction2Map);
  912 + }
  913 +
  914 +
821 915  
822 916 return RespBuilder.buildSuccess("checkMonth", checkMonth, "positive", positive, "currentMonth", currentMonth);
823 917 }