Commit ba8ea083fa98a3c1b40b0ca1035a45203bf7afcb
1 parent
c923ee664a
Exists in
master
and in
1 other branch
高危诊断配置
Showing 3 changed files with 53 additions and 4 deletions
platform-common/src/main/java/com/lyms/platform/common/enums/DiagnoseEnums.java
View file @
ba8ea08
... | ... | @@ -215,12 +215,12 @@ |
215 | 215 | |
216 | 216 | |
217 | 217 | //辅助检查——肝功能 |
218 | - XQGBZAM(9, "血清谷丙转氨酶",7,TypeEnums.SF.getId(),0,"U/L"), | |
218 | + XQGBZAM(9, "血清谷丙转氨酶",7,TypeEnums.SZ.getId(),0,"U/L"), | |
219 | 219 | XQGCZAM(10, "血清谷草转氨酶",7,TypeEnums.SZ.getId(),0,"U/L"), |
220 | 220 | XDB(11, "白蛋白",7,TypeEnums.SZ.getId(),0,"g/L"), |
221 | 221 | ZDHS(12, "总胆红素",7,TypeEnums.SZ.getId(),0,"umol/L"), |
222 | 222 | JHDHS(13, "结合胆红素",7,TypeEnums.SZ.getId(),0,"umol/L"), |
223 | - GGNBG(14, "丙肝",7,TypeEnums.SF.getId(),1,""), | |
223 | + GGNBG(14, "丙肝——阳性(+)",7,TypeEnums.WZJ.getId(),1,""), | |
224 | 224 | |
225 | 225 | // 辅助检查——乙肝五项 |
226 | 226 | YGBMKY(15, "乙肝表面抗原——阳性(+)",8,TypeEnums.WZJ.getId(),1,""), |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/AntenatalExaminationController.java
View file @
ba8ea08
... | ... | @@ -370,5 +370,38 @@ |
370 | 370 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
371 | 371 | return antenatalExaminationFacade.getGongGaoLine(patientId, loginState.getId()); |
372 | 372 | } |
373 | + | |
374 | + | |
375 | + /** | |
376 | + * 获取复诊页面匹配的高危因素 | |
377 | + * | |
378 | + * @param antExAddRequest | |
379 | + * @return | |
380 | + */ | |
381 | + @RequestMapping(method = RequestMethod.POST, value = "/getAntenatalExRisk") | |
382 | + @ResponseBody | |
383 | + @TokenRequired | |
384 | + public BaseResponse getAntenatalExRisk(@Valid @RequestBody AntExAddRequest antExAddRequest,HttpServletRequest request) { | |
385 | + LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); | |
386 | + BaseResponse baseResponse = antenatalExaminationFacade.getAntenatalExRisk(antExAddRequest, loginState.getId()); | |
387 | + return baseResponse; | |
388 | + } | |
389 | + | |
390 | + /** | |
391 | + * 获取初诊页面匹配的高危因素 | |
392 | + * | |
393 | + * @param antExcAddRequest | |
394 | + * @return | |
395 | + */ | |
396 | + @RequestMapping(method = RequestMethod.POST, value = "/getAntexExRisk") | |
397 | + @ResponseBody | |
398 | + @TokenRequired | |
399 | + public BaseResponse getAntexExRisk(@Valid @RequestBody AntExcAddRequest antExcAddRequest,HttpServletRequest request) { | |
400 | + LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); | |
401 | + BaseResponse baseResponse = antenatalExaminationFacade.getAntexExRisk(antExcAddRequest, loginState.getId()); | |
402 | + return baseResponse; | |
403 | + } | |
404 | + | |
405 | + | |
373 | 406 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
ba8ea08
... | ... | @@ -2636,11 +2636,27 @@ |
2636 | 2636 | } |
2637 | 2637 | } |
2638 | 2638 | |
2639 | - map.put("titles",titles); | |
2640 | - map.put("values",values); | |
2639 | + map.put("titles", titles); | |
2640 | + map.put("values", values); | |
2641 | 2641 | map.put("tables", tables); |
2642 | 2642 | |
2643 | 2643 | return new BaseObjectResponse().setData(map).setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功"); |
2644 | + } | |
2645 | + | |
2646 | + | |
2647 | + public BaseResponse getAntenatalExRisk(AntExAddRequest antExAddRequest, Integer userId) { | |
2648 | + Patients patients = patientsService.findOnePatientById(antExAddRequest.getParentId()); | |
2649 | + String hospitalId = autoMatchFacade.getHospitalId(userId); | |
2650 | + | |
2651 | + | |
2652 | + return null; | |
2653 | + } | |
2654 | + | |
2655 | + | |
2656 | + public BaseResponse getAntexExRisk(AntExcAddRequest antExcAddRequest, Integer userId) { | |
2657 | + Patients patients = patientsService.findOnePatientById(antExcAddRequest.getParentId()); | |
2658 | + String hospitalId = autoMatchFacade.getHospitalId(userId); | |
2659 | + return null; | |
2644 | 2660 | } |
2645 | 2661 | |
2646 | 2662 |