diff --git a/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/FollowupController.java b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/FollowupController.java new file mode 100644 index 0000000..2c93c70 --- /dev/null +++ b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/FollowupController.java @@ -0,0 +1,131 @@ +package com.xinelu.web.controller.applet; + +import com.alibaba.fastjson2.JSONArray; +import com.alibaba.fastjson2.JSONObject; +import com.xinelu.common.core.domain.R; +import com.xinelu.common.enums.FollowupType; +import com.xinelu.common.utils.http.HttpService; +import com.xinelu.common.utils.spring.SpringUtils; +import com.xinelu.familydoctor.applet.pojo.dto.MedicalRecord; +import com.xinelu.familydoctor.applet.pojo.vo.*; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.springframework.beans.BeanUtils; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import java.util.ArrayList; +import java.util.List; + +/** + * @Author mengkuiliang + * @Description 随访控制器 + * @Date 2023-09-28 028 9:10 + * @Param + * @return + **/ +@Api(tags = "随访控制器") +@RestController +@RequestMapping("/applet/followup") +public class FollowupController { + @Resource + private HttpService httpService; + + @ApiOperation("获取单个居民随访日期列表") + @GetMapping("/dateList/{phType}/{identity}") + public R> dateList(@PathVariable("phType") String phType, @PathVariable("identity") String identity, @RequestHeader("region") String region) { + if (phType == null || phType.isEmpty()) { + return R.fail("请输入正确的phType"); + } + if (identity == null || identity.isEmpty()) { + return R.fail("请输入正确的identity"); + } + String result = (String) httpService.get(SpringUtils.getFdUrl(region) + "/followup/dateList/" + phType + "/" + identity, null, String.class); + JSONObject jsonObject = JSONObject.parseObject(result); + if ("0".equals(jsonObject.get("code"))) { + return R.fail(jsonObject.get("msg").toString()); + } + if (jsonObject.get("data") == null) { + return R.fail(); + } + JSONArray array = jsonObject.getJSONArray("data"); + List followUpRecordDetailVoList = new ArrayList<>(); + for (int i = 0; i < array.size(); i++) { + JSONObject object = array.getJSONObject(i); + FollowUpRecordDetailVo vo = JSONObject.parseObject(object.toJSONString(), FollowUpRecordDetailVo.class); + followUpRecordDetailVoList.add(vo); + } + return R.ok(followUpRecordDetailVoList); + } + + @ApiOperation(value = "获取随访详情") + @GetMapping("/detail/{phType}/{identity}/{id}") + public R detail(@PathVariable("phType") String phType, @PathVariable("identity") String identity, @PathVariable("id") String objParam, @RequestHeader("region") String region) { + if (phType == null || phType.isEmpty()) { + return R.fail("请输入正确的phType"); + } + if (identity == null || identity.isEmpty()) { + return R.fail("请输入正确的identity"); + } + if (objParam == null || objParam.isEmpty()) { + return R.fail("请输入正确的id"); + } + String result = (String) httpService.get(SpringUtils.getFdUrl(region) + "/followup/detail/" + phType + "/" + identity + "/" + objParam, null, String.class); + JSONObject jsonObject = JSONObject.parseObject(result); + if ("0".equals(jsonObject.get("code"))) { + return R.fail(jsonObject.get("msg").toString()); + } + if(!jsonObject.containsKey("data") || jsonObject.getJSONObject("data") == null) { + return R.ok(); + } + return R.ok(jsonObject.getJSONObject("data").getJSONObject("record")); + + } + + @ApiOperation("获取公卫体检记录") + @GetMapping("fetch/record/{identity}") + public R> fetchMedicalRecord(@PathVariable String identity, @RequestHeader("region") String region) { + if (identity == null || identity.isEmpty()) { + return R.fail("请输入正确的identity"); + } + String result = (String) httpService.get(SpringUtils.getFdUrl(region) + "/followup/fetch/record/" + identity, null, String.class); + JSONObject jsonObject = JSONObject.parseObject(result); + if (!"1".equals(jsonObject.get("code"))) { + return R.fail(jsonObject.get("msg").toString()); + } + JSONArray array = (JSONArray) jsonObject.get("data"); + if (array == null || array.isEmpty()) { + return R.ok(); + } + List medicalRecordVoList = new ArrayList<>(); + for (int i = 0; i < array.size(); i++) { + JSONObject object = array.getJSONObject(i); + MedicalRecord medicalRecordVo = JSONObject.parseObject(object.toJSONString(), MedicalRecord.class); + medicalRecordVoList.add(medicalRecordVo); + } + return R.ok(medicalRecordVoList); + } + + @ApiOperation("获取体检详情") + @GetMapping("fetch/detail/{identity}/{id}") + public R fetchMedicalDetail(@PathVariable String identity, @PathVariable String id, @RequestHeader("region") String region) { + if (identity == null || identity.isEmpty()) { + return R.fail("请输入正确的identity"); + } + String result = (String) httpService.get(SpringUtils.getFdUrl(region) + "/followup/fetch/detail/" + identity + "/" + id, null, String.class); + JSONObject jsonObject = JSONObject.parseObject(result); + if (!"1".equals(jsonObject.get("code"))) { + return R.fail(jsonObject.get("msg").toString()); + } + if (!jsonObject.containsKey("data")) { + return R.ok(); + } + JSONObject data = jsonObject.getJSONObject("data"); + if (data == null) { + return R.ok(); + } + MedicalDetailVo medicalDetailVo = JSONObject.parseObject(data.toJSONString(), MedicalDetailVo.class); + return R.ok(medicalDetailVo); + } + +} diff --git a/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PatientInfoController.java b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PatientInfoController.java index c782cae..64a58c4 100644 --- a/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PatientInfoController.java +++ b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PatientInfoController.java @@ -1,5 +1,6 @@ package com.xinelu.web.controller.applet; +import com.alibaba.fastjson2.JSONObject; import com.xinelu.familydoctor.applet.pojo.body.PatientInfoBody; import com.xinelu.familydoctor.applet.pojo.entity.PatientInfo; import com.xinelu.familydoctor.applet.service.IPatientInfoService; @@ -16,9 +17,11 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import com.xinelu.common.annotation.Log; import com.xinelu.common.core.controller.BaseController; -import com.xinelu.common.core.domain.AjaxResult; +import com.xinelu.common.core.domain.R; import com.xinelu.common.enums.BusinessType; +import java.util.List; + /** * @Author mengkuiliang * @Description 小程序注册控制器 @@ -36,84 +39,84 @@ public class PatientInfoController extends BaseController { @ApiOperation("获取OpenId") @GetMapping("/getOpenId/{code}") - public AjaxResult getOpenId(@PathVariable String code) { + public R getOpenId(@PathVariable String code) { try { - return AjaxResult.success(patientInfoService.getOpenId(code)); + return R.ok(patientInfoService.getOpenId(code)); } catch (Exception e) { - return AjaxResult.error(e.getMessage()); + return R.fail(e.getMessage()); } } @ApiOperation("获取微信手机号") @GetMapping("/getPhone/{code}") - public AjaxResult getPhone(@PathVariable String code) { + public R getPhone(@PathVariable String code) { try { - return AjaxResult.success(patientInfoService.getPhone(code)); + return R.ok(patientInfoService.getPhone(code)); } catch (Exception e) { - return AjaxResult.error(e.getMessage()); + return R.fail(e.getMessage()); } } @ApiOperation("注册") @Log(title = "居民小程序注册", businessType = BusinessType.INSERT) @PostMapping("/") - public AjaxResult register(@Validated @RequestBody PatientInfoBody body) { + public R register(@Validated @RequestBody PatientInfoBody body) { try { patientInfoService.register(body); - return AjaxResult.success(); + return R.ok(); } catch (Exception e) { - return AjaxResult.error(e.getMessage()); + return R.fail(e.getMessage()); } } @ApiOperation("修改注册信息") @Log(title = "修改注册信息", businessType = BusinessType.UPDATE) @PostMapping("/update") - public AjaxResult update(@Validated @RequestBody PatientInfo body) { + public R update(@Validated @RequestBody PatientInfo body) { try { patientInfoService.updatePatientInfo(body); - return AjaxResult.success(); + return R.ok(); } catch (Exception e) { - return AjaxResult.error(e.getMessage()); + return R.fail(e.getMessage()); } } @ApiOperation("解绑") @Log(title = "居民小程序解绑", businessType = BusinessType.UPDATE) @GetMapping("/unbinding/{patientCode}") - public AjaxResult unbinding(@PathVariable String patientCode) { + public R unbinding(@PathVariable String patientCode) { patientInfoService.unbinding(patientCode); - return AjaxResult.success(); + return R.ok(); } @ApiOperation("获取已注册列表") @GetMapping("/getList/{openid}/{cityCode}") - public AjaxResult getList(@PathVariable String openid, @PathVariable String cityCode) { - return AjaxResult.success(patientInfoService.getList(openid, cityCode)); + public R> getList(@PathVariable String openid, @PathVariable String cityCode) { + return R.ok(patientInfoService.getList(openid, cityCode)); } @ApiOperation("切换账号") @GetMapping("/switchResident/{openid}/{patientCode}") - public AjaxResult switchResident(@PathVariable String openid, @PathVariable String patientCode) { + public R switchResident(@PathVariable String openid, @PathVariable String patientCode) { try { - return AjaxResult.success(patientInfoService.switchResident(openid, patientCode)); + return R.ok(patientInfoService.switchResident(openid, patientCode)); } catch (Exception e) { - return AjaxResult.error(e.getMessage()); + return R.fail(e.getMessage()); } } @ApiOperation("获取注册详细信息") @GetMapping(value = "/getInfo/{patientCode}") - public AjaxResult getInfo(@PathVariable("patientCode") String patientCode) { - return AjaxResult.success(patientInfoService.selectPatientInfoByCode(patientCode)); + public R getInfo(@PathVariable("patientCode") String patientCode) { + return R.ok(patientInfoService.selectPatientInfoByCode(patientCode)); } @ApiOperation("获取当前注册居民") @GetMapping(value = "/getCurrentResident/{openid}/{cityCode}") - public AjaxResult getCurrentResident(@PathVariable("openid") String openid, @PathVariable("cityCode") String cityCode) { + public R getCurrentResident(@PathVariable("openid") String openid, @PathVariable("cityCode") String cityCode) { if(StringUtils.isBlank(cityCode) || cityCode.equals("null")) { - AjaxResult.error("绑定城市编码不能为空"); + R.fail("绑定城市编码不能为空"); } - return AjaxResult.success(patientInfoService.getCurrentResident(openid, cityCode)); + return R.ok(patientInfoService.getCurrentResident(openid, cityCode)); } } diff --git a/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PatientScoreController.java b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PatientScoreController.java index e268b82..bc2635b 100644 --- a/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PatientScoreController.java +++ b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PatientScoreController.java @@ -3,7 +3,7 @@ package com.xinelu.web.controller.applet; import com.alibaba.fastjson2.JSONObject; import com.github.pagehelper.PageInfo; import com.xinelu.common.core.controller.BaseController; -import com.xinelu.common.core.domain.AjaxResult; +import com.xinelu.common.core.domain.R; import com.xinelu.common.core.page.TableDataInfo; import com.xinelu.common.exception.ServiceException; import com.xinelu.common.utils.http.HttpUtils; @@ -31,13 +31,13 @@ public class PatientScoreController extends BaseController { @ApiOperation(value = "获取居民总积分", notes = "region: (1: 德州 2:东营)") @GetMapping("/total/{cardNo}") - public AjaxResult schemaList(@PathVariable String cardNo, @RequestHeader("region") String region) { + public R schemaList(@PathVariable String cardNo, @RequestHeader("region") String region) { String result = HttpUtils.sendGet(SpringUtils.getFdUrl(region) + "/patient/score/record/total/" + cardNo); JSONObject jsonObject = JSONObject.parseObject(result); if (!jsonObject.get("code").toString().equals("1")) { - return AjaxResult.error(jsonObject.get("msg").toString()); + return R.fail(jsonObject.get("msg").toString()); } - return AjaxResult.success("请求成功", jsonObject.getString("data")); + return R.ok("请求成功", jsonObject.getString("data")); } @ApiOperation("获取居民积分记录列表") @@ -84,16 +84,16 @@ public class PatientScoreController extends BaseController { @GetMapping("/healthAct/detail/{actId}") @ApiOperation("健康行为积分明细") - public AjaxResult healthActDetail(@PathVariable String actId, @RequestHeader("region") String region) { + public R healthActDetail(@PathVariable String actId, @RequestHeader("region") String region) { String result = HttpUtils.sendGet(SpringUtils.getFdUrl(region) + "/patient/score/detail/" + actId); JSONObject jsonObject = JSONObject.parseObject(result); if (!jsonObject.get("code").toString().equals("1")) { throw new ServiceException(jsonObject.get("msg").toString()); } if (jsonObject.get("data") != null) { - return AjaxResult.success(JSONObject.parseObject(jsonObject.getJSONObject("data").toJSONString(), PointHealthAct.class)); + return R.ok(JSONObject.parseObject(jsonObject.getJSONObject("data").toJSONString(), PointHealthAct.class)); } - return AjaxResult.success(); + return R.ok(); } } diff --git a/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PrizeController.java b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PrizeController.java index 53190d2..8fa0451 100644 --- a/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PrizeController.java +++ b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PrizeController.java @@ -3,7 +3,7 @@ package com.xinelu.web.controller.applet; import com.alibaba.fastjson2.JSONObject; import com.github.pagehelper.PageInfo; import com.xinelu.common.core.controller.BaseController; -import com.xinelu.common.core.domain.AjaxResult; +import com.xinelu.common.core.domain.R; import com.xinelu.common.core.page.TableDataInfo; import com.xinelu.common.exception.ServiceException; import com.xinelu.common.utils.http.HttpUtils; @@ -47,29 +47,29 @@ public class PrizeController extends BaseController { @GetMapping("/getByPrizeId/{prizeId}") @ApiOperation("奖品详情") - public AjaxResult getByPrizeId(@PathVariable String prizeId, @RequestHeader("region") String region) { + public R getByPrizeId(@PathVariable String prizeId, @RequestHeader("region") String region) { String result = HttpUtils.sendGet(SpringUtils.getFdUrl(region) + "/prize/getByPrizeId/" + prizeId); JSONObject jsonObject = JSONObject.parseObject(result); if (!jsonObject.get("code").toString().equals("1")) { - return AjaxResult.error(jsonObject.get("msg").toString()); + return R.fail(jsonObject.get("msg").toString()); } if (jsonObject.get("data") != null) { - return AjaxResult.success(JSONObject.parseObject(jsonObject.getJSONObject("data").toJSONString(), PrizeVo.class)); + return R.ok(JSONObject.parseObject(jsonObject.getJSONObject("data").toJSONString(), PrizeVo.class)); } - return AjaxResult.success(); + return R.ok(); } @GetMapping("/getImgById/{prizeId}") @ApiOperation("奖品图片查询") - public AjaxResult getImgById(@PathVariable String prizeId, @RequestHeader("region") String region) { + public R getImgById(@PathVariable String prizeId, @RequestHeader("region") String region) { String result = HttpUtils.sendGet(SpringUtils.getFdUrl(region) + "/prize/getImgById/" + prizeId); JSONObject jsonObject = JSONObject.parseObject(result); if (!jsonObject.get("code").toString().equals("1")) { - return AjaxResult.error(jsonObject.get("msg").toString()); + return R.fail(jsonObject.get("msg").toString()); } if (jsonObject.get("data") != null) { - return AjaxResult.success(jsonObject.getString("data")); + return R.ok(jsonObject.getString("data")); } - return AjaxResult.success(); + return R.ok(); } } diff --git a/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PrizeExchangeController.java b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PrizeExchangeController.java index 01f3d52..121011e 100644 --- a/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PrizeExchangeController.java +++ b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/PrizeExchangeController.java @@ -3,7 +3,7 @@ package com.xinelu.web.controller.applet; import com.alibaba.fastjson2.JSONObject; import com.github.pagehelper.PageInfo; import com.xinelu.common.core.controller.BaseController; -import com.xinelu.common.core.domain.AjaxResult; +import com.xinelu.common.core.domain.R; import com.xinelu.common.core.page.TableDataInfo; import com.xinelu.common.exception.ServiceException; import com.xinelu.common.utils.http.HttpService; @@ -35,18 +35,18 @@ public class PrizeExchangeController extends BaseController { @ApiOperation("兑换奖品") @PostMapping("/save") - public AjaxResult save(@RequestBody PrizeExchangeBody body, @RequestHeader("region") String region) { + public R save(@RequestBody PrizeExchangeBody body, @RequestHeader("region") String region) { if (StringUtils.isBlank(body.getIdentity())) { - return AjaxResult.error("请求参数异常"); + return R.fail("请求参数异常"); } JSONObject params = new JSONObject(); params.put("identity", body.getIdentity()); params.put("prizeId", body.getPrizeId()); JSONObject jsonObject = httpService.post(SpringUtils.getFdUrl(region) + "/prizeExchange/insert", null, params); if (!jsonObject.get("code").toString().equals("1")) { - return AjaxResult.error(jsonObject.get("msg").toString()); + return R.fail(jsonObject.get("msg").toString()); } - return AjaxResult.success(); + return R.ok(); } @ApiOperation("查询兑换记录列表") @@ -73,15 +73,15 @@ public class PrizeExchangeController extends BaseController { @GetMapping("/getById/{exchangeId}") @ApiOperation("兑换记录详情") - public AjaxResult getById(@PathVariable String exchangeId, @RequestHeader("region") String region) { + public R getById(@PathVariable String exchangeId, @RequestHeader("region") String region) { String result = HttpUtils.sendGet(SpringUtils.getFdUrl(region) + "/prizeExchange/getById/" + exchangeId); JSONObject jsonObject = JSONObject.parseObject(result); if (!jsonObject.get("code").toString().equals("1")) { - return AjaxResult.error(jsonObject.get("msg").toString()); + return R.fail(jsonObject.get("msg").toString()); } if (jsonObject.get("data") != null) { - return AjaxResult.success(JSONObject.parseObject(jsonObject.getJSONObject("data").toJSONString(), PrizeExchangeVo.class)); + return R.ok(JSONObject.parseObject(jsonObject.getJSONObject("data").toJSONString(), PrizeExchangeVo.class)); } - return AjaxResult.success(); + return R.ok(); } } diff --git a/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/ResidentRescindApplyController.java b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/ResidentRescindApplyController.java new file mode 100644 index 0000000..363a153 --- /dev/null +++ b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/ResidentRescindApplyController.java @@ -0,0 +1,70 @@ +package com.xinelu.web.controller.applet; + +import com.xinelu.common.core.controller.BaseController; +import com.xinelu.common.core.domain.R; +import com.xinelu.common.core.page.TableDataInfo; +import com.xinelu.common.exception.ServiceException; +import com.xinelu.familydoctor.applet.pojo.body.ResidentRescindApplyBody; +import com.xinelu.familydoctor.applet.pojo.query.ApplyQuery; +import com.xinelu.familydoctor.applet.pojo.vo.ResidentRescindApplyVo; +import com.xinelu.familydoctor.applet.service.ResidentRescindApplyService; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import java.util.List; + +/** + * @Author mengkuiliang + * @Description 解约申请控制器 + * @Date 2023-09-27 027 16:50 + * @Param + * @return + **/ +@Api(tags = "解约申请控制器") +@RestController +@RequestMapping("/applet/rescind/apply") +public class ResidentRescindApplyController extends BaseController { + + @Resource + private ResidentRescindApplyService rescindApplyService; + + @ApiOperation("提交解约申请") + @PostMapping("save") + public R save(@Validated @RequestBody ResidentRescindApplyBody body) { + rescindApplyService.insert(body); + return R.ok(); + } + + @ApiOperation("取消解约申请") + @GetMapping("cancel/{rescindCode}") + public R cancel(@PathVariable String rescindCode) { + rescindApplyService.cancel(rescindCode); + return R.ok(); + } + + @ApiOperation(value = "获取解约请列表") + @GetMapping("/getList") + public TableDataInfo getList(ApplyQuery query) { + try { + startPage(); + List list = rescindApplyService.findList(query); + return getDataTable(list); + } catch (Exception e) { + throw new ServiceException(e.getMessage()); + } + } + + @ApiOperation(value = "获取解约申请详情") + @GetMapping("/detail/{rescindCode}") + public R getRescindApply(@PathVariable String rescindCode) { + try { + return R.ok(rescindApplyService.detail(rescindCode)); + } catch (Exception e) { + return R.fail(e.getMessage()); + } + } + +} diff --git a/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/ResidentSignApplyController.java b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/ResidentSignApplyController.java index 6137fbb..f29f64e 100644 --- a/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/ResidentSignApplyController.java +++ b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/ResidentSignApplyController.java @@ -1,7 +1,7 @@ package com.xinelu.web.controller.applet; import com.xinelu.common.core.controller.BaseController; -import com.xinelu.common.core.domain.AjaxResult; +import com.xinelu.common.core.domain.R; import com.xinelu.common.core.page.TableDataInfo; import com.xinelu.common.exception.ServiceException; import com.xinelu.familydoctor.applet.pojo.body.ResidentSignApplyBody; @@ -9,7 +9,6 @@ import com.xinelu.familydoctor.applet.pojo.query.ApplyQuery; import com.xinelu.familydoctor.applet.pojo.vo.ResidentSignApplyVo; import com.xinelu.familydoctor.applet.service.IResidentSignAppletService; import io.swagger.annotations.Api; -import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiOperation; import org.apache.commons.lang3.StringUtils; import org.springframework.web.bind.annotation.*; @@ -24,7 +23,7 @@ import java.util.List; * @Param * @return **/ -@Api(tags = "居民小程序签约申请控制器") +@Api(tags = "签约申请控制器") @RestController @RequestMapping("/applet/sign/apply") public class ResidentSignApplyController extends BaseController { @@ -34,28 +33,28 @@ public class ResidentSignApplyController extends BaseController { @ApiOperation("提交签约申请") @PostMapping("/save") - public AjaxResult save(@RequestBody ResidentSignApplyBody body) { + public R save(@RequestBody ResidentSignApplyBody body) { if(StringUtils.isBlank(body.getIdentity())) { - return AjaxResult.error("身份证号不能为空"); + return R.fail("身份证号不能为空"); } residentSignAppletService.insert(body); - return AjaxResult.success(); + return R.ok(); } @ApiOperation("取消签约申请") @PostMapping("/cancel/{signCode}") - public AjaxResult cancel(@PathVariable String signCode) { + public R cancel(@PathVariable String signCode) { residentSignAppletService.cancel(signCode); - return AjaxResult.success(); + return R.ok(); } @ApiOperation(value = "是否已签约", notes = "data(01: 已申请签约 02:已签约 0: 未签约)") @GetMapping("/checkSignApply/{identity}") - public AjaxResult save(@PathVariable String identity, @RequestHeader("region") String region) { + public R save(@PathVariable String identity, @RequestHeader("region") String region) { try { - return AjaxResult.success(residentSignAppletService.checkSignApply(identity, region)); + return R.ok(residentSignAppletService.checkSignApply(identity, region)); } catch (Exception e) { - return AjaxResult.error(e.getMessage()); + return R.fail(e.getMessage()); } } @@ -73,11 +72,11 @@ public class ResidentSignApplyController extends BaseController { @ApiOperation(value = "获取签约申请详情") @GetMapping("/detail/{signCode}") - public AjaxResult getSignApply(@PathVariable String signCode) { + public R getSignApply(@PathVariable String signCode) { try { - return AjaxResult.success(residentSignAppletService.detail(signCode)); + return R.ok(residentSignAppletService.detail(signCode)); } catch (Exception e) { - return AjaxResult.error(e.getMessage()); + return R.fail(e.getMessage()); } } diff --git a/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/SignInfoController.java b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/SignInfoController.java index 3d68365..4d20d05 100644 --- a/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/SignInfoController.java +++ b/xinelu-admin/src/main/java/com/xinelu/web/controller/applet/SignInfoController.java @@ -3,7 +3,7 @@ package com.xinelu.web.controller.applet; import com.alibaba.fastjson2.JSONArray; import com.alibaba.fastjson2.JSONObject; import com.xinelu.common.core.controller.BaseController; -import com.xinelu.common.core.domain.AjaxResult; +import com.xinelu.common.core.domain.R; import com.xinelu.common.core.page.TableDataInfo; import com.xinelu.common.exception.ServiceException; import com.xinelu.common.utils.http.HttpService; @@ -40,43 +40,43 @@ public class SignInfoController extends BaseController { @ApiOperation(value = "获取签约详情") @GetMapping("/detail/{identity}") - public AjaxResult detail(@PathVariable String identity, @RequestHeader("region") String region) { + public R detail(@PathVariable String identity, @RequestHeader("region") String region) { String result = (String) httpService.get(SpringUtils.getFdUrl(region) + "/resident/signinfo/detail/" + identity, null, String.class); JSONObject jsonObject = JSONObject.parseObject(result); if (!"1".equals(jsonObject.get("code"))) { - return AjaxResult.error(jsonObject.get("msg").toString()); + return R.fail(jsonObject.get("msg").toString()); } if (!jsonObject.containsKey("data") || jsonObject.get("data") == null) { - return AjaxResult.error("未查询到签约信息"); + return R.fail("未查询到签约信息"); } - return AjaxResult.success(JSONObject.parseObject(jsonObject.getJSONObject("data").toJSONString(), SignInfoDetailVo.class)); + return R.ok(JSONObject.parseObject(jsonObject.getJSONObject("data").toJSONString(), SignInfoDetailVo.class)); } @ApiOperation(value = "获取居民公卫健康档案") @GetMapping("/archive/{identity}") - public AjaxResult archive(@PathVariable String identity, @RequestHeader("region") String region) { + public R archive(@PathVariable String identity, @RequestHeader("region") String region) { String result = (String) httpService.get(SpringUtils.getFdUrl(region) + "/resident/signinfo/archive/" + identity, null, String.class); JSONObject jsonObject = JSONObject.parseObject(result); if (!"1".equals(jsonObject.get("code"))) { - return AjaxResult.error(jsonObject.get("msg").toString()); + return R.fail(jsonObject.get("msg").toString()); } if (!jsonObject.containsKey("data")) { - return AjaxResult.error("未查询到居民公卫档案"); + return R.fail("未查询到居民公卫档案"); } JSONObject data = jsonObject.getJSONObject("data"); if (data == null) { - return AjaxResult.error("未查询到居民公卫档案"); + return R.fail("未查询到居民公卫档案"); } - return AjaxResult.success(JSONObject.parseObject(data.toJSONString(), ArchiveReviewVo.class)); + return R.ok(JSONObject.parseObject(data.toJSONString(), ArchiveReviewVo.class)); } @ApiOperation(value = "获取已签约服务包") @GetMapping("/getSignPackage/{identity}") - public AjaxResult getSignPackage(@PathVariable("identity") String identity, @RequestHeader("region") String region) { + public R> getSignPackage(@PathVariable("identity") String identity, @RequestHeader("region") String region) { String result = (String) httpService.get(SpringUtils.getFdUrl(region) + "/resident/signinfo/getSignPackage/" + identity, null, String.class); JSONObject jsonObject = JSONObject.parseObject(result); if (!"1".equals(jsonObject.get("code"))) { - return AjaxResult.error(jsonObject.get("msg").toString()); + return R.fail(jsonObject.get("msg").toString()); } JSONArray array = jsonObject.getJSONArray("data"); List signedPackageVoList = new ArrayList<>(); @@ -84,62 +84,62 @@ public class SignInfoController extends BaseController { JSONObject object = array.getJSONObject(i); signedPackageVoList.add(JSONObject.parseObject(object.toJSONString(), SignedPackageVo.class)); } - return AjaxResult.success(signedPackageVoList); + return R.ok(signedPackageVoList); } @ApiOperation("获取可选择的服务包(个性包)") @GetMapping("/getPackageList/{identity}") - public AjaxResult getPackageList(@PathVariable("identity") String identity, @RequestHeader("region") String region) { + public R> getPackageList(@PathVariable("identity") String identity, @RequestHeader("region") String region) { String result = (String) httpService.get(SpringUtils.getFdUrl(region) + "/resident/signinfo/getPackageList/" + identity, null, String.class); JSONObject jsonObject = JSONObject.parseObject(result); if (!"1".equals(jsonObject.get("code"))) { - return AjaxResult.error(jsonObject.get("msg").toString()); + return R.fail(jsonObject.get("msg").toString()); } if (!jsonObject.containsKey("data") || jsonObject.get("data") == null) { return null; } - return AjaxResult.success(JSONArray.parseArray(jsonObject.getJSONArray("data").toJSONString()).toJavaList(PackageDetailVo.class)); + return R.ok(JSONArray.parseArray(jsonObject.getJSONArray("data").toJSONString()).toJavaList(PackageDetailVo.class)); } @ApiOperation(value = "获取区县列表") @PostMapping("/getCounty") - public AjaxResult getCounty(@RequestBody NearbyOrgQuery query, @RequestHeader("region") String region) { + public R> getCounty(@RequestBody NearbyOrgQuery query, @RequestHeader("region") String region) { JSONObject result = httpService.post(SpringUtils.getFdUrl(region) + "/org/getCounty", null, JSONObject.parseObject(JSONObject.toJSONString(query))); if ("0".equals(result.get("code"))) { - return AjaxResult.error(result.get("msg").toString()); + return R.fail(result.get("msg").toString()); } if (!result.containsKey("data") || result.get("data") == null) { - return AjaxResult.success(); + return R.ok(); } - return AjaxResult.success(JSONArray.parseArray(result.getJSONArray("data").toJSONString()).toJavaList(NearOrgVo.class)); + return R.ok(JSONArray.parseArray(result.getJSONArray("data").toJSONString()).toJavaList(NearOrgVo.class)); } @ApiOperation(value = "获取区划列表", notes = "山东省: 371400000000 德州市: 371400000000 东营市:370500000000") @GetMapping("/area/list/{pid}") - public AjaxResult getPhArea(@PathVariable Long pid, @RequestHeader("region") String region) { + public R> getPhArea(@PathVariable Long pid, @RequestHeader("region") String region) { String result = (String) httpService.get(SpringUtils.getFdUrl(region) + "/area/ph/list/" + pid, null, String.class); JSONObject jsonObject = JSONObject.parseObject(result); if ("0".equals(jsonObject.get("code"))) { - return AjaxResult.error(jsonObject.get("msg").toString()); + return R.fail(jsonObject.get("msg").toString()); } if (!jsonObject.containsKey("data") || jsonObject.get("data") == null) { - return AjaxResult.success(); + return R.ok(); } - return AjaxResult.success(JSONArray.parseArray(jsonObject.getJSONArray("data").toJSONString()).toJavaList(AreaListVo.class)); + return R.ok(JSONArray.parseArray(jsonObject.getJSONArray("data").toJSONString()).toJavaList(AreaListVo.class)); } // @ApiOperation("获取区划详情") // @GetMapping("/area/getAreaById/{id}") -// public AjaxResult getAreaById(@PathVariable Long id, @RequestHeader("region") String region) { +// public R getAreaById(@PathVariable Long id, @RequestHeader("region") String region) { // String result = (String) httpService.get(SpringUtils.getFdUrl(region) + "/area/ph/getAreaById/" + id, null, String.class); // JSONObject jsonObject = JSONObject.parseObject(result); // if ("0".equals(jsonObject.get("code"))) { -// return AjaxResult.error(jsonObject.get("msg").toString()); +// return R.fail(jsonObject.get("msg").toString()); // } // if (!jsonObject.containsKey("data") || jsonObject.get("data") == null) { -// return AjaxResult.success(); +// return R.ok(); // } -// return AjaxResult.success(JSONObject.parseObject(jsonObject.getJSONObject("data").toJSONString(), AreaListVo.class)); +// return R.ok(JSONObject.parseObject(jsonObject.getJSONObject("data").toJSONString(), AreaListVo.class)); // } @ApiOperation(value = "获取附近机构列表", notes = "lng:经度 lat:纬度") @@ -175,16 +175,16 @@ public class SignInfoController extends BaseController { @ApiOperation(value = "获取团队详情") @GetMapping("/getTeam/{teamNo}") - public AjaxResult getTeamList(@PathVariable String teamNo, @RequestHeader("region") String region) { + public R> getTeamList(@PathVariable String teamNo, @RequestHeader("region") String region) { String result = (String) httpService.get(SpringUtils.getFdUrl(region) + "/resident/signinfo/getTeam/" + teamNo, null, String.class); JSONObject jsonObject = JSONObject.parseObject(result); if ("0".equals(jsonObject.get("code"))) { - return AjaxResult.error(jsonObject.get("msg").toString()); + return R.fail(jsonObject.get("msg").toString()); } if (!jsonObject.containsKey("data") || jsonObject.get("data") == null) { - return AjaxResult.success(); + return R.ok(); } - return AjaxResult.success(JSONArray.parseArray(jsonObject.getJSONArray("data").toJSONString()).toJavaList(TeamDetailVo.class)); + return R.ok(JSONArray.parseArray(jsonObject.getJSONArray("data").toJSONString()).toJavaList(TeamDetailVo.class)); } @ApiOperation("获取医生列表") @@ -203,15 +203,15 @@ public class SignInfoController extends BaseController { @ApiOperation("获取签约协议内容") @GetMapping("/getContent/{orgNo}") - public AjaxResult getAreaById(@PathVariable String orgNo, @RequestHeader("region") String region) { + public R getAreaById(@PathVariable String orgNo, @RequestHeader("region") String region) { String result = (String) httpService.get(SpringUtils.getFdUrl(region) + "/resident/signinfo/getContent/" + orgNo, null, String.class); JSONObject jsonObject = JSONObject.parseObject(result); if ("0".equals(jsonObject.get("code"))) { - return AjaxResult.error(jsonObject.get("msg").toString()); + return R.fail(jsonObject.get("msg").toString()); } if (!jsonObject.containsKey("data") || jsonObject.get("data") == null) { - return AjaxResult.success(); + return R.ok(); } - return AjaxResult.success(JSONObject.parseObject(jsonObject.getJSONObject("data").toJSONString(), ProtocolContentVo.class)); + return R.ok(JSONObject.parseObject(jsonObject.getJSONObject("data").toJSONString(), ProtocolContentVo.class)); } } diff --git a/xinelu-common/src/main/java/com/xinelu/common/enums/FollowupType.java b/xinelu-common/src/main/java/com/xinelu/common/enums/FollowupType.java new file mode 100644 index 0000000..f2efe30 --- /dev/null +++ b/xinelu-common/src/main/java/com/xinelu/common/enums/FollowupType.java @@ -0,0 +1,81 @@ +package com.xinelu.common.enums; + +import lombok.Getter; + +/** + * @Author mengkuiliang + * @Description 随访参数枚举 + * @Date 2022-01-14 9:12 + * @Param + * @return + **/ +@Getter +public enum FollowupType { + + /** 高血压随访参数 */ + FOLLOWUP_HBP("28", "sfysqm", "jmqm"), + + /** 糖尿病随访参数 */ + FOLLOWUP_T2DM("29", "sfysqm", "jmqm"), + + /** 高血压高危人群随访参数 */ + FOLLOWUP_HBPHIGH("30", "sfysqm", ""), + + /** 精神障碍个人信息补充参数 */ + FOLLOWUP_SMI_REPLENISH("31", "ysqm", "hzjsqm"), + + /** 精神障碍随访参数 */ + FOLLOWUP_SMI("32", "ysqm", "hzjsqm"), + + /** 孕产妇产后访视随访参数 */ + FOLLOWUP_MATERNAL("12", "sfysqm", "jmjsqm"), + + /** 新生儿随访参数 */ + FOLLOWUP_NEONATE("14", "sfysqm", "jzqm"), + + /** 脑卒中随访参数 */ + FOLLOWUP_CVA("100", "", ""), + + /** 冠心病随访参数 */ + FOLLOWUP_CHD("101", "", ""), + + /** 听力、言语残疾随访参数 */ + FOLLOWUP_HI("102", "", ""), + + /** 言语残疾随访参数 */ + FOLLOWUP_SD("103", "", ""), + + /** 肢体残疾随访参数 */ + FOLLOWUP_PD("104", "", ""), + + /** 智力残疾随访参数 */ + FOLLOWUP_ID("105", "", ""), + + /** 视力残疾随访参数 */ + FOLLOWUP_VI("106", "", ""), + + NONE("", "", ""); + + + /** 随访类型 */ + private final String tableName; + /** 医生签名类型 */ + private final String userSignColumn; + /** 居民签名类型 */ + private final String residentSignColumn; + + FollowupType(String tableName, String userSignColumn, String residentSignColumn) { + this.tableName = tableName; + this.userSignColumn = userSignColumn; + this.residentSignColumn = residentSignColumn; + } + + public static FollowupType getFolllowupTypeByCode(String tableName) { + for(FollowupType followupType : FollowupType.values()) { + if (tableName.equals(followupType.getTableName())) { + return followupType; + } + } + return FollowupType.NONE; + } +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/mapper/ResidentRescindApplyMapper.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/mapper/ResidentRescindApplyMapper.java new file mode 100644 index 0000000..058b2b6 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/mapper/ResidentRescindApplyMapper.java @@ -0,0 +1,75 @@ +package com.xinelu.familydoctor.applet.mapper; + +import com.xinelu.familydoctor.applet.pojo.body.ApprovalBody; +import com.xinelu.familydoctor.applet.pojo.entity.ResidentRescindApplyEntity; +import com.xinelu.familydoctor.applet.pojo.query.ApplyQuery; +import com.xinelu.familydoctor.applet.pojo.vo.ResidentRescindApplyVo; + +import java.util.List; + +/** + * @Author mengkuiliang + * @Description 解约申请Mapper + * @Date 2023-09-27 027 16:59 + * @Param + * @return + **/ +public interface ResidentRescindApplyMapper { + /** + * 查询 + * @author lixinying + * @param query: + * @return List + * @date 2022/11/21 15:48 + */ + List findByBody(ApplyQuery query); + + /** + * 审批功能 + * @author lixinying + * @param body: + * @return Integer + * @date 2022/11/21 17:22 + */ + Integer updateEx(ApprovalBody body); + + /** + * @Author mengkuiliang + * @Description 解约申请详情 + * @Date 2022-11-23 10:03 + * @Param [rescindCode] + * @return com.xinelu.mp.sign.pojo.vo.FdResidentRescindApplyVo + **/ + ResidentRescindApplyVo detail(String rescindCode); + + /** + * @Author mengkuiliang + * @Description 取消解约申请 + * @Date 2022-11-23 14:41 + * @Param [applyNo] + * @return void + **/ + void cancel(String applyNo); + + /** + * @Author mengkuiliang + * @Description 新增 + * @Date 2023-09-27 027 17:12 + * @Param [entity] + * @return void + **/ + void insert(ResidentRescindApplyEntity entity); + + /** + * @Author mengkuiliang + * @Description 修改 + * @Date 2023-09-27 027 17:12 + * @Param [entity] + * @return void + **/ + void update(ResidentRescindApplyEntity entity); +} + + + + diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/body/ResidentRescindApplyBody.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/body/ResidentRescindApplyBody.java new file mode 100644 index 0000000..bed64f6 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/body/ResidentRescindApplyBody.java @@ -0,0 +1,88 @@ +package com.xinelu.familydoctor.applet.pojo.body; + +import com.xinelu.common.core.domain.BaseEntity; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import javax.validation.constraints.NotBlank; +import javax.validation.constraints.NotNull; + +/** + * @Author mengkuiliang + * @Description 解约申请请求对象 + * @Date 2023-09-27 027 16:56 + * @Param + * @return + **/ +@ApiModel("解约申请请求体") +@Data +@EqualsAndHashCode(callSuper = true) +public class ResidentRescindApplyBody extends BaseEntity { + /** + * 居民编号 + */ + @ApiModelProperty(value = "居民业务主键", required = true) + private String patientId; + + /** + * 居民身份证号 + */ + @NotNull(message = "居民身份证号不能为空") + @NotBlank(message = "居民身份证号不能为空") + @ApiModelProperty(value = "居民身份证号", required = true) + private String identity; + + /** + * 机构编号 + */ + @ApiModelProperty(value = "机构编号", required = true) + private String orgNo; + + /** + * 机构名称 + */ + @ApiModelProperty(value = "机构名称", required = true) + private String orgName; + + /** + * 团队编号 + */ + @ApiModelProperty(value = "团队编号", required = true) + private String teamNo; + + /** + * 团队名称 + */ + @ApiModelProperty(value = "团队名称", required = true) + private String teamName; + + /** + * 医生编号 + */ + @ApiModelProperty(value = "医生编号", required = true) + private String userNo; + + /** + * 医生姓名 + */ + @ApiModelProperty(value = "医生姓名", required = true) + private String userName; + + /** + * 解约类型(1:主动解约 2:迁出 3:死亡 4:到期 5:其他) + */ + @NotNull(message = "解约类型不能为空") + @NotBlank(message = "解约类型不能为空") + @ApiModelProperty(value = "解约类型(1:主动解约 2:迁出 3:死亡 4:到期 5:其他)", required = true) + private String rescindType; + + /** + * 解约原因 + */ + @NotNull(message = "解约原因不能为空") + @NotBlank(message = "解约原因不能为空") + @ApiModelProperty(value = "解约原因", required = true) + private String rescindReason; +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/HospitalCourse.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/HospitalCourse.java new file mode 100644 index 0000000..6cd9c8d --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/HospitalCourse.java @@ -0,0 +1,51 @@ +package com.xinelu.familydoctor.applet.pojo.dto; + +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Author mengkuiliang + * @Description 体检表-住院治疗情况 + * @Date 2023-09-28 028 9:16 + * @Param + * @return + **/ +@Data +public class HospitalCourse { + /** + * 入院建床日期 + */ + @ApiModelProperty("入院建床日期") + private String zryjcrq; + + /** + * 出院车床日期 + */ + @ApiModelProperty("出院车床日期") + private String zcyccrq; + + /** + * 原因 + */ + @ApiModelProperty("原因") + private String zyuanyin; + + /** + * 医疗机构名称 + */ + @ApiModelProperty("医疗机构名称") + private String zyljgmc; + + /** + * 病案号 + */ + @ApiModelProperty("病案号") + private String zbingah; + + /** + * 字典:1 住院史 2 家庭病床史 + */ + @ApiModelProperty("字典:1 住院史 2 家庭病床史") + private String ztype; + +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/MedicalHistory.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/MedicalHistory.java index 07881d1..c35bbd1 100644 --- a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/MedicalHistory.java +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/MedicalHistory.java @@ -1,6 +1,7 @@ package com.xinelu.familydoctor.applet.pojo.dto; import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.Date; @@ -17,10 +18,12 @@ public class MedicalHistory { /** * 名称 */ + @ApiModelProperty("名称") private String name; /** * 时间 */ + @ApiModelProperty("时间") @JsonFormat(pattern = "yyyy-MM-dd") private Date date; diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/MedicalRecord.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/MedicalRecord.java new file mode 100644 index 0000000..0621e44 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/MedicalRecord.java @@ -0,0 +1,30 @@ +package com.xinelu.familydoctor.applet.pojo.dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.List; + +/** + * @Author mengkuiliang + * @Description 健康体检记录时间轴对象 + * @Date 2023-09-28 028 9:14 + * @Param + * @return + **/ +@Data +@ApiModel("健康体检记录") +public class MedicalRecord { + /** + * 年份 + */ + @ApiModelProperty("年份") + private String date; + + /** + * 记录列表 + */ + @ApiModelProperty("记录列表") + private List list; +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/MedicationSituation.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/MedicationSituation.java new file mode 100644 index 0000000..70f65d2 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/MedicationSituation.java @@ -0,0 +1,47 @@ +package com.xinelu.familydoctor.applet.pojo.dto; + +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Author mengkuiliang + * @Description 体检表-主要用药情况 + * @Date 2023-09-28 028 9:17 + * @Param + * @return + **/ +@Data +public class MedicationSituation { + + /** + * 药物名称 + */ + @ApiModelProperty("药物名称") + private String yywmc; + /** + * 用法 + */ + @ApiModelProperty("用法") + private String yyongfa; + /** + * 用量 + */ + @ApiModelProperty("用量") + private String yyongl; + /** + * 用药时间 + */ + @ApiModelProperty("用药时间") + private String yyysj; + /** + * 服药依从性 + */ + @ApiModelProperty("服药依从性") + private String yfyycx; + + /** + * 时间 + */ + @ApiModelProperty("时间") + private String yhappentime; +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/Record.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/Record.java new file mode 100644 index 0000000..dd8e108 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/Record.java @@ -0,0 +1,21 @@ +package com.xinelu.familydoctor.applet.pojo.dto; + +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Author mengkuiliang + * @Description 随访记录时间轴对象 + * @Date 2023-09-28 028 9:11 + * @Param + * @return + **/ +@Data +public class Record { + @ApiModelProperty("主键") + private String id; + @ApiModelProperty("随访日期") + private String happentime; + @ApiModelProperty("创建日期") + private String createtime; +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/SmiDrug.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/SmiDrug.java new file mode 100644 index 0000000..1627654 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/SmiDrug.java @@ -0,0 +1,40 @@ +package com.xinelu.familydoctor.applet.pojo.dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Author mengkuiliang + * @Description 严重精神障碍用药对象 + * @Date 2023-09-28 028 10:22 + * @Param + * @return + **/ +@Data +@ApiModel("严重精神障碍用药对象") +public class SmiDrug { + /** + * 药物名称 + */ + @ApiModelProperty("药物名称") + private String cywmc; + + /** + * 药物剂量 + */ + @ApiModelProperty("药物剂量") + private String cjl; + + /** + * 主要表现的副作用 + */ + @ApiModelProperty("主要表现的副作用") + private String czyfzy; + + /** + * 药物用法 + */ + @ApiModelProperty("药物用法") + private String yongfa; +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/VaccinationHistory.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/VaccinationHistory.java new file mode 100644 index 0000000..86d1604 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/dto/VaccinationHistory.java @@ -0,0 +1,33 @@ +package com.xinelu.familydoctor.applet.pojo.dto; + +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Author mengkuiliang + * @Description 体检表-非免疫规划预防接种史 + * @Date 2023-09-28 028 9:16 + * @Param + * @return + **/ +@Data +public class VaccinationHistory { + /** + * 接种名称 + */ + @ApiModelProperty("接种名称") + private String fjzmc; + + /** + * 接种日期 + */ + @ApiModelProperty("接种日期") + private String fjzrq; + + /** + * 接种机构 + */ + @ApiModelProperty("接种机构") + private String fjzjg; + +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/entity/ResidentRescindApplyEntity.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/entity/ResidentRescindApplyEntity.java new file mode 100644 index 0000000..97c1c9b --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/entity/ResidentRescindApplyEntity.java @@ -0,0 +1,127 @@ +package com.xinelu.familydoctor.applet.pojo.entity; + +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.io.Serializable; +import java.util.Date; + +/** + * @Author mengkuiliang + * @Description 解约申请对象 + * @Date 2023-09-27 027 16:55 + * @Param + * @return + **/ +@Data +public class ResidentRescindApplyEntity implements Serializable { + /** + * 自增主键 + */ + @ApiModelProperty(value = "自增主键") + private Long id; + + /** + * 申请编号 + */ + @ApiModelProperty(value = "申请编号") + private String rescindCode; + + /** + * 居民编号 + */ + @ApiModelProperty(value = "居民编号") + private String patientId; + + /** + * 居民身份证号 + */ + @ApiModelProperty(value = "居民身份证号") + private String identity; + + /** + * 机构编号 + */ + @ApiModelProperty(value = "机构编号") + private String orgNo; + + /** + * 机构名称 + */ + @ApiModelProperty(value = "机构名称") + private String orgName; + + /** + * 团队编号 + */ + @ApiModelProperty(value = "团队编号") + private String teamNo; + + /** + * 团队名称 + */ + @ApiModelProperty(value = "团队名称") + private String teamName; + + /** + * 医生编号 + */ + @ApiModelProperty(value = "医生编号") + private String userNo; + + /** + * 医生姓名 + */ + @ApiModelProperty(value = "医生姓名") + private String userName; + + /** + * 申请时间 + */ + @ApiModelProperty(value = "申请时间") + private Date applyTime; + + /** + * 申请状态0:已申请1:已取消 + */ + @ApiModelProperty(value = "申请状态0:已申请1:已取消") + private String bookingStatus; + + /** + * 取消时间 + */ + @ApiModelProperty(value = "取消时间") + private Date cancelTime; + + /** + * 解约类型(1:主动解约 2:迁出 3:死亡 4:到期 5:其他) + */ + @ApiModelProperty(value = "解约类型(1:主动解约 2:迁出 3:死亡 4:到期 5:其他)") + private String rescindType; + + /** + * 解约原因 + */ + @ApiModelProperty(value = "解约原因") + private String rescindReason; + + /** + * 审批状态0:待批准1:已同意2:已拒绝 + */ + @ApiModelProperty(value = "审批状态0:待批准1:已同意2:已拒绝") + private String approvalStatus; + + /** + * 拒绝理由 + */ + @ApiModelProperty(value = "拒绝理由") + private String refuseReason; + + /** + * 审批时间 + */ + @ApiModelProperty(value = "审批时间") + private Date approvalTime; + + private static final long serialVersionUID = 1L; +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/entity/ResidentSignApplyEntity.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/entity/ResidentSignApplyEntity.java index d32660f..983b8a9 100644 --- a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/entity/ResidentSignApplyEntity.java +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/entity/ResidentSignApplyEntity.java @@ -1,5 +1,6 @@ package com.xinelu.familydoctor.applet.pojo.entity; +import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @@ -21,221 +22,265 @@ public class ResidentSignApplyEntity implements Serializable { /** * 自增主键 */ + @ApiModelProperty(value = "自增主键") private Long id; /** * 签约申请编号 */ + @ApiModelProperty(value = "签约申请编号") private String signCode; /** - * 居民注册业务主键 + * 居民编号 */ + @ApiModelProperty(value = "居民编号") private String patientId; /** * 居民姓名 */ + @ApiModelProperty(value = "居民姓名") private String residentName; /** * 居民性别1:男2:女99:不详 */ + @ApiModelProperty(value = "居民性别1:男2:女99:不详") private String gender; /** * 出生日期 */ + @ApiModelProperty(value = "出生日期") private Date birthday; /** * 民族 */ + @ApiModelProperty(value = "民族") private String nation; /** * 身份证号 */ + @ApiModelProperty(value = "身份证号") private String identity; /** * 联系电话 */ + @ApiModelProperty(value = "联系电话") private String phone; /** * 省编码 */ + @ApiModelProperty(value = "省编码") private String province; /** * 省名称 */ + @ApiModelProperty(value = "省名称") private String provinceName; /** * 市编码 */ + @ApiModelProperty(value = "市编码") private String city; /** * 市名称 */ + @ApiModelProperty(value = "市名称") private String cityName; /** * 区县编码 */ + @ApiModelProperty(value = "区县编码") private String county; /** * 区县名称 */ + @ApiModelProperty(value = "区县名称") private String countyName; /** * 街道/乡镇编码 */ + @ApiModelProperty(value = "街道/乡镇编码") private String town; /** * 街道/乡镇名称 */ + @ApiModelProperty(value = "街道/乡镇名称") private String townName; /** * 社区/村编码 */ + @ApiModelProperty(value = "社区/村编码") private String committee; /** * 社区/村名称 */ + @ApiModelProperty(value = "社区/村名称") private String committeeName; /** * 详细地址 */ + @ApiModelProperty(value = "详细地址") private String address; /** * 所属人群编号 */ + @ApiModelProperty(value = "所属人群编号") private String crowdsNo; /** * 所属人群名称 */ + @ApiModelProperty(value = "所属人群名称") private String crowdsName; /** * 选择服务包编号 */ + @ApiModelProperty(value = "选择服务包编号") private String packagesNo; /** * 选择服务包名称 */ + @ApiModelProperty(value = "选择服务包名称") private String packagesName; /** * 签约机构编号 */ + @ApiModelProperty(value = "签约机构编号") private String orgNo; /** * 签约机构名称 */ + @ApiModelProperty(value = "签约机构名称") private String orgName; /** * 签约团队编号 */ + @ApiModelProperty(value = "签约团队编号") private String teamNo; /** * 签约团队名称 */ + @ApiModelProperty(value = "签约团队名称") private String teamName; /** * 签约医生编号 */ + @ApiModelProperty(value = "签约医生编号") private String userNo; /** * 签约医生姓名 */ + @ApiModelProperty(value = "签约医生姓名") private String userName; /** * 签约时间 */ + @ApiModelProperty(value = "签约时间") private Date signTime; /** * 居民头像照片 */ + @ApiModelProperty(value = "居民头像照片") private String residentAvatar; /** * 居民签名照片 */ + @ApiModelProperty(value = "居民签名照片") private String residentAutographPath; /** * 医生签名照片 */ + @ApiModelProperty(value = "医生签名照片") private String doctorAutographPath; /** * 与户主关系 1.户主本人;2.配偶;3.子女;4.(外)孙子女;5.父母;6.(外)祖父母;7.兄弟姐妹;8.儿媳;9.女婿;10.孙子女;11.侄子女;12.曾孙子女;13.祖父母;99.其他; */ + @ApiModelProperty(value = "与户主关系 1.户主本人;2.配偶;3.子女;4.(外)孙子女;5.父母;6.(外)祖父母;7.兄弟姐妹;8.儿媳;9.女婿;10.孙子女;11.侄子女;12.曾孙子女;13.祖父母;99.其他;") private String relationshipWithHouseholder; /** * 户主姓名 */ + @ApiModelProperty(value = "户主姓名") private String householderName; /** * 户主身份证号 */ + @ApiModelProperty(value = "户主身份证号") private String householderIdentity; /** * 申请时间 */ + @ApiModelProperty(value = "申请时间") private Date applyTime; /** * 预约状态0:已申请1:已取消 */ + @ApiModelProperty(value = "预约状态0:已申请1:已取消") private String bookingStatus; /** * 取消时间 */ + @ApiModelProperty(value = "取消时间") private Date cancelTime; /** * 审批状态0:待批准1:已同意2:已拒绝 */ + @ApiModelProperty(value = "审批状态0:待批准1:已同意2:已拒绝") private String approvalStatus; /** * 拒绝理由 */ + @ApiModelProperty(value = "拒绝理由") private String refuseReason; /** * 审批时间 */ + @ApiModelProperty(value = "审批时间") private Date approvalTime; /** * 备注 */ + @ApiModelProperty(value = "备注") private String remark; private static final long serialVersionUID = 1L; diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/CrowdVo.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/CrowdVo.java index c1c84df..a81d568 100644 --- a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/CrowdVo.java +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/CrowdVo.java @@ -1,5 +1,6 @@ package com.xinelu.familydoctor.applet.pojo.vo; +import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; @@ -17,77 +18,77 @@ public class CrowdVo implements Serializable { /** * 人群编号 - */ + */@ApiModelProperty("人群编号") private String crowdNo; /** * 人群名称 - */ + */@ApiModelProperty("人群名称") private String crowdName; /** * 最小适用年龄 - */ + */@ApiModelProperty("最小适用年龄") private Integer fitMinAge; /** * 最大适用年龄 - */ + */@ApiModelProperty("最大适用年龄") private Integer fitMaxAge; /** * 适用性别 (0:全部 1:男 2:女 99:未知) - */ + */@ApiModelProperty("适用性别 (0:全部 1:男 2:女 99:未知)") private String fitGender; /** * 序号 - */ + */@ApiModelProperty("序号") private Integer sort; /** * 人群类型(0: 默认 1:慢病 2:特殊人群) - */ + */@ApiModelProperty("人群类型(0: 默认 1:慢病 2:特殊人群)") private String crowdType; /** * 特殊人群类型( 1:60岁老年人 2:65岁老年人 3:60-64岁老年人 4:老年人 5:儿童 6:孕产妇 7:严重精神障碍 8:特扶家庭 9:残疾人 10:贫困人口 11:结核病 12:恶性肿瘤病) - */ + */@ApiModelProperty("特殊人群类型( 1:60岁老年人 2:65岁老年人 3:60-64岁老年人 4:老年人 5:儿童 6:孕产妇 7:严重精神障碍 8:特扶家庭 9:残疾人 10:贫困人口 11:结核病 12:恶性肿瘤病)") private String specialType; /** * 备注 - */ + */@ApiModelProperty("备注") private String remark; /** * 创建人 - */ + */@ApiModelProperty("创建人") private String createBy; /** * 创建时间 - */ + */@ApiModelProperty("创建时间") private Date createDate; /** * 更新人 - */ + */@ApiModelProperty("更新人") private String updateBy; /** * 更新时间 - */ + */@ApiModelProperty("更新时间") private Date updateDate; /** * 删除标识 0:正常,1:已删除 - */ + */@ApiModelProperty("删除标识 0:正常,1:已删除") private Boolean delete; /** * 是否禁用(0: 可用 1:禁用) - */ + */@ApiModelProperty("是否禁用(0: 可用 1:禁用)") private String disable; private static final long serialVersionUID = 1L; diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowUpRecordDetailVo.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowUpRecordDetailVo.java new file mode 100644 index 0000000..c8d0042 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowUpRecordDetailVo.java @@ -0,0 +1,26 @@ +package com.xinelu.familydoctor.applet.pojo.vo; + +import com.xinelu.familydoctor.applet.pojo.dto.Record; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.List; + +/** + * @Author mengkuiliang + * @Description 随访记录对象 + * @Date 2022-06-08 16:33 + * @Param + * @return + **/ +@ApiModel("随访记录对象") +@Data +public class FollowUpRecordDetailVo { + + @ApiModelProperty(value = "日期") + private String date; + + @ApiModelProperty(value = "随访记录集合") + private List list; +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordChdVo.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordChdVo.java new file mode 100644 index 0000000..94dda9c --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordChdVo.java @@ -0,0 +1,349 @@ +package com.xinelu.familydoctor.applet.pojo.vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Author mengkuiliang + * @Description 随访记录(冠心病)展示类 + * @Date 2022-08-30 13:33 + * @Param + * @return + **/ +@ApiModel("随访记录(冠心病)展示类") +@Data +public class FollowupRecordChdVo { + + /** + * 冠心病随访业务主键 + */ + @ApiModelProperty(value = "冠心病业务主键") + private String chdFollowupNo; + + /** + * 公卫机构id + */ + @ApiModelProperty(value = "公卫机构id") + private String orgId; + + /** + * 随访编号 + */ + @ApiModelProperty(value = "随访编号") + private String followupNo; + + /** + * 履约编号 + */ + @ApiModelProperty(value = "履约编号") + private String performanceNo; + + /** + * 签约编号 + */ + @ApiModelProperty(value = "签约编号") + private String signNo; + + /** + * 居民用户业务主键 + */ + @ApiModelProperty(value = "居民用户业务主键") + private String residentNo; + + /** + * 姓名 + */ + @ApiModelProperty(value = "姓名") + private String residentName; + + /** + * 履约明细编号 + */ + @ApiModelProperty(value = "履约明细编号") + private String performanceDetailNo; + + /** + * 服务包明细编号 + */ + @ApiModelProperty(value = "服务包明细编号", required = true) + private String packageDetailNo; + + /** + * 服务包编号 + */ + @ApiModelProperty(value = "服务包编号", required = true) + private String packageNo; + + /** + * 服务包名称 + */ + @ApiModelProperty(value = "服务包名称", required = true) + private String packageName; + + /** + * 服务项表单编号 + */ + @ApiModelProperty(value = "服务项表单编号", required = true) + private String formNo; + + /** + * 服务项表单名称 + */ + @ApiModelProperty(value = "服务项表单名称", required = true) + private String formName; + + /** + * 档案id + */ + @ApiModelProperty(value = "档案id") + private String archiveId; + + /** + * 身份证号 + */ + @ApiModelProperty(value = "身份证号") + private String dsfzh; + /** + * 出生日期 + */ + @ApiModelProperty(value = "出生日期") + private String dcsrq; + /** + * 日吸烟量 + */ + @ApiModelProperty(value = "日吸烟量") + private String mxysl; + /** + * 日饮酒量 + */ + @ApiModelProperty(value = "日饮酒量") + private String myjsl; + /** + * 运动频率 + */ + @ApiModelProperty(value = "运动频率") + private String mydpl; + /** + * 每次持续时间 + */ + @ApiModelProperty(value = "每次持续时间") + private String mydcxsj; + /** + * 生活能否自理能力 1、完全自理 2、部分自理 3、完全不能自理 + */ + @ApiModelProperty(value = "生活能否自理能力 1、完全自理 2、部分自理 3、完全不能自理") + private String mshzlnl; + /** + * 身高 + */ + @ApiModelProperty(value = "身高") + private String dsg; + /** + * 体重 + */ + @ApiModelProperty(value = "体重") + private String dtz; + /** + * 体质指数 + */ + @ApiModelProperty(value = "体质指数") + private String dbmi; + /** + * 收缩压 + */ + @ApiModelProperty(value = "收缩压") + private String dssy; + /** + * 舒张压 + */ + @ApiModelProperty(value = "舒张压") + private String dszy; + /** + * 空腹血糖 + */ + @ApiModelProperty(value = "空腹血糖") + private String dkfxt; + /** + * 高密度脂蛋白 + */ + @ApiModelProperty(value = "高密度脂蛋白") + private String dgmddb; + /** + * 低密度脂蛋白 + */ + @ApiModelProperty(value = "低密度脂蛋白") + private String ddmddb; + /** + * 甘油三脂 + */ + @ApiModelProperty(value = "甘油三脂") + private String dgysz; + /** + * 胆固醇 + */ + @ApiModelProperty(value = "胆固醇") + private String dzdgc; + /** + * 随访方式(1:门诊,2:家庭,3:电话,99:其他) + */ + @ApiModelProperty(value = "随访方式(1:门诊,2:家庭,3:电话,99:其他)") + private String gsffs; + /** + * 随访方式其他 + */ + @ApiModelProperty(value = "随访方式其他") + private String gsffsqt; + /** + * 冠心病类型 1、稳定型心绞痛 2、不稳定型心绞痛 3、急性心肌梗死 4、陈旧性心肌梗死 6、猝死型 99、其他不确定类型 + */ + @ApiModelProperty(value = "冠心病类型 1、稳定型心绞痛 2、不稳定型心绞痛 3、急性心肌梗死 4、陈旧性心肌梗死 6、猝死型 99、其他不确定类型") + private String ggxblx; + /** + * 目前症状 0.无症状 1.多饮 2.多食 3.多尿 4.视力模糊 5.感染 6.手脚麻木 7.下肢浮肿 8.体重明显下降 99.其他 + */ + @ApiModelProperty(value = "目前症状 0.无症状 1.多饮 2.多食 3.多尿 4.视力模糊 5.感染 6.手脚麻木 7.下肢浮肿 8.体重明显下降 99.其他") + private String gmqzz; + /** + * 目前症状其他 + */ + @ApiModelProperty(value = "目前症状其他") + private String gmqzzqt; + /** + * 心电图检查结果 + */ + @ApiModelProperty(value = "心电图检查结果") + private String gxdtjc; + /** + * 心电图运动负荷试验结果 + */ + @ApiModelProperty(value = "心电图运动负荷试验结果") + private String gxdtydfh; + /** + * 心脏彩超检查结果 + */ + @ApiModelProperty(value = "心脏彩超检查结果") + private String gxzcc; + /** + * 冠状动脉造影结果 + */ + @ApiModelProperty(value = "冠状动脉造影结果") + private String ggzdmzy; + /** + * 心肌酶学检查结果 + */ + @ApiModelProperty(value = "心肌酶学检查结果") + private String gxjmx; + /** + * 服药依从性 //1.规律2.间断3.不服药 4、医嘱无需用药 + */ + @ApiModelProperty(value = "服药依从性 //1.规律2.间断3.不服药 4、医嘱无需用药") + private String gfyycx; + /** + * 特殊治疗 0、无 1、外科手术治疗 2、介入治疗 3、起搏器 + */ + @ApiModelProperty(value = "特殊治疗 0、无 1、外科手术治疗 2、介入治疗 3、起搏器") + private String gtszl; + /** + * 非药物治疗措施 + */ + @ApiModelProperty(value = "非药物治疗措施") + private String gfywzlcs; + /** + * 此次随访分类 1.控制满意 2.控制不满意 3.不良反应 4.并发症 + */ + @ApiModelProperty(value = "此次随访分类 1.控制满意 2.控制不满意 3.不良反应 4.并发症") + private String gccsffl; + /** + * 此次随访分类 不良反应描述 + */ + @ApiModelProperty(value = "此次随访分类 不良反应描述") + private String gccsfflblfy; + /** + * 此次随访分类 并发症描述 + */ + @ApiModelProperty(value = "此次随访分类 并发症描述") + private String gccsfflbfz; + /** + * 用药情况 1.使用 2.不使用 + */ + @ApiModelProperty(value = "用药情况 1.使用 2.不使用") + private String gjyy; + /** + * 目前用药详情JSON格式,例:[{"NAME":"用药名称","FREQUENCY":"用药频次","DOSE":"用药次剂量","UNIT":"用药单位"}] + */ + @ApiModelProperty(value = "目前用药详情JSON格式") + private String drugDetail; + /** + * 本次随访医生建议 + */ + @ApiModelProperty(value = "本次随访医生建议") + private String gbcsfysjy; + /** + * 随访医生 + */ + @ApiModelProperty(value = "随访医生") + private String gsfys; + /** + * 下次随访时间 + */ + @ApiModelProperty(value = "下次随访时间") + private String gxcsfsj; + /** + * 转诊机构及科室 + */ + @ApiModelProperty(value = "转诊机构及科室") + private String zzdw; + /** + * 居民签名(电子) + */ + @ApiModelProperty(value = "居民签名(电子)") + private String jmqm; + /** + * 居民签名(手动) + */ + @ApiModelProperty(value = "居民签名(手动)") + private String sdjmqm; + /** + * 备注 + */ + @ApiModelProperty(value = "备注") + private String remark; + + /** + * 随访时间(yyyy-MM-dd) + */ + @ApiModelProperty(value = "随访时间(yyyy-MM-dd)") + private String happentime; + /** + * 创建时间(yyyy-MM-dd HH:mm:ss) + */ + @ApiModelProperty(value = "创建时间(yyyy-MM-dd HH:mm:ss)") + private String createtime; + /** + * 更新时间(yyyy-MM-dd HH:mm:ss) + */ + @ApiModelProperty(value = "更新时间(yyyy-MM-dd HH:mm:ss)") + private String updatetime; + /** + * 所属机构 + */ + @ApiModelProperty(value = "所属机构") + private String prgid; + /** + * 创建机构 + */ + @ApiModelProperty(value = "创建机构") + private String creatregion; + /** + * 创建人 + */ + @ApiModelProperty(value = "创建人") + private String createuser; + /** + * 修改人 + */ + @ApiModelProperty(value = "修改人") + private String updateuser; + +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordCvaVo.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordCvaVo.java new file mode 100644 index 0000000..97637f7 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordCvaVo.java @@ -0,0 +1,357 @@ +package com.xinelu.familydoctor.applet.pojo.vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Author mengkuiliang + * @Description 随访记录(脑卒中)展示类 + * @Date 2022-08-29 16:47 + * @Param + * @return + **/ +@ApiModel("随访记录(脑卒中)展示类") +@Data +public class FollowupRecordCvaVo { + + /** + * 脑卒中随访业务主键 + */ + @ApiModelProperty(value = "脑卒中业务主键") + private String cvaFollowupNo; + + /** + * 公卫机构id + */ + @ApiModelProperty(value = "公卫机构id") + private String orgId; + + /** + * 随访编号 + */ + @ApiModelProperty(value = "随访编号") + private String followupNo; + + /** + * 履约编号 + */ + @ApiModelProperty(value = "履约编号") + private String performanceNo; + + /** + * 签约编号 + */ + @ApiModelProperty(value = "签约编号") + private String signNo; + + /** + * 居民用户业务主键 + */ + @ApiModelProperty(value = "居民用户业务主键") + private String residentNo; + + /** + * 姓名 + */ + @ApiModelProperty(value = "姓名") + private String residentName; + + /** + * 履约明细编号 + */ + @ApiModelProperty(value = "履约明细编号") + private String performanceDetailNo; + + /** + * 服务包明细编号 + */ + @ApiModelProperty(value = "服务包明细编号", required = true) + private String packageDetailNo; + + /** + * 服务包编号 + */ + @ApiModelProperty(value = "服务包编号", required = true) + private String packageNo; + + /** + * 服务包名称 + */ + @ApiModelProperty(value = "服务包名称", required = true) + private String packageName; + + /** + * 服务项表单编号 + */ + @ApiModelProperty(value = "服务项表单编号", required = true) + private String formNo; + + /** + * 服务项表单名称 + */ + @ApiModelProperty(value = "服务项表单名称", required = true) + private String formName; + + /** + * 档案id + */ + @ApiModelProperty(value = "档案id") + private String archiveId; + /** + * 身份证号 + */ + @ApiModelProperty("DSfzh") + private String dsfzh; + /** + * 出生日期 + */ + @ApiModelProperty("DCsrq") + private String dcsrq; + /** + * 日吸烟量 + */ + @ApiModelProperty("MXysl") + private String mxysl; + /** + * 日饮酒量 + */ + @ApiModelProperty("MYjsl") + private String myjsl; + /** + * 运动频率 + */ + @ApiModelProperty("MYdpl") + private String mydpl; + /** + * 每次持续时间 + */ + @ApiModelProperty("MYdcxsj") + private String mydcxsj; + /** + * 生活能否自理能力 1、完全自理 2、部分自理 3、完全不能自理 + */ + @ApiModelProperty("MShzlnl") + private String mshzlnl; + /** + * 身高 + */ + @ApiModelProperty("DSg") + private String dsg; + /** + * 体重 + */ + @ApiModelProperty("DTz") + private String dtz; + /** + * 体质指数 + */ + @ApiModelProperty("DBmi") + private String dbmi; + /** + * 腰围 + */ + @ApiModelProperty("DYw") + private String dyw; + /** + * 收缩压 + */ + @ApiModelProperty("DSsy") + private String dssy; + /** + * 舒张压 + */ + @ApiModelProperty("DSzy") + private String dszy; + /** + * 空腹血糖 + */ + @ApiModelProperty("DKfxt") + private String dkfxt; + /** + * 脑卒中类型 1.蛛网膜下腔出血2.脑出血3.脑血栓形成4.脑栓塞5.腔隙性梗死6.分水岭脑梗死7.未分类脑卒中 + */ + @ApiModelProperty("NNzzfl") + private String nnzzfl; + /** + * 脑卒中部位 1.大脑半球左侧2大脑半球右侧3.脑干4.小脑5.不确定 + */ + @ApiModelProperty("NNzzbw") + private String nnzzbw; + /** + * 随访方式(1:门诊,2:家庭,3:电话,99:其他) + */ + @ApiModelProperty("NSffs") + private String nsffs; + /** + * 随访方式其他 + */ + @ApiModelProperty("NSffsqt") + private String nsffsqt; + /** + * 1.蛛网膜下腔出血2.脑出血3.脑血栓形成4.脑栓塞5.腔隙性梗死6.分水岭脑梗死7.未分类脑卒中 + */ + @ApiModelProperty("NNzzlx") + private String nnzzlx; + /** + * 目前症状 //0无.1.嘴、眼歪斜2.半身不遂3.舌强言蹇4.智力障碍99.其他症状 + */ + @ApiModelProperty("NMqzz") + private String nmqzz; + /** + * 个人病史 1.冠心病2.高血压3.高脂血症4.糖尿病 + */ + @ApiModelProperty("NGrbs") + private String ngrbs; + /** + * 脑卒中并发情况 0.无。1.褥疮2.呼吸道感染 3.泌尿道感染 4.深静脉炎99.其他 + */ + @ApiModelProperty("NBfzqk") + private String nbfzqk; + /** + * 脑卒中并发情况其他 + */ + @ApiModelProperty("NBfzqkqt") + private String nbfzqkqt; + /** + * 新发卒中症状 0、无症状 1、构音障碍 2、失语 3、面瘫 4、感觉障碍 5、左侧肢体瘫痪 6、共济失调 7、昏迷 8、右侧肢体瘫痪 9、头疼 10、呕吐 11、意识障碍 12、眩晕 13、癫痫 + */ + @ApiModelProperty("NXfzzzz") + private String nxfzzzz; + /** + * 新发卒中症状其他 + */ + @ApiModelProperty("NXfzzzzqt") + private String nxfzzzzqt; + /** + * 服药依从性 //1.规律2.间断3.不服药 4、医嘱无需用药 + */ + @ApiModelProperty("NFyycx") + private String nfyycx; + /** + * 康复治疗的方式 0、无 1、按摩 2、针灸 3、运动训练 99、其他方式 + */ + @ApiModelProperty("NKfzlfs") + private String nkfzlfs; + /** + * 肢体功能恢复情况 1、好 2、一般 3、差 + */ + @ApiModelProperty("NZtknhf") + private String nztknhf; + /** + * 此次随访分类 + */ + @ApiModelProperty("NCcsffl") + private String nccsffl; + /** + * 并发症描述 + */ + @ApiModelProperty("NCcsfflbfz") + private String nccsfflbfz; + /** + * 用药情况 1.使用 2.不使用 + */ + @ApiModelProperty("GJyy") + private String gjyy; + /** + * 目前用药详情JSON格式,例:[{"NAME":"用药名称","FREQUENCY":"用药频次","DOSE":"用药次剂量","UNIT":"用药单位"}] + */ + private String drugDetail; + /** + * 本次随访医生建议 + */ + @ApiModelProperty("NBcsfysjy") + private String nbcsfysjy; + /** + * 随访医生 + */ + @ApiModelProperty("NSfys") + private String nsfys; + /** + * 下次随访时间 + */ + @ApiModelProperty("GXcsfsj") + private String gxcsfsj; + /** + * 目前症状其他 + */ + @ApiModelProperty("NMqzzqt") + private String nmqzzqt; + /** + * 康复治疗的方式其他 + */ + @ApiModelProperty("NKfzlfsqt") + private String nkfzlfsqt; + /** + * 肢体运动指导 1、是 2、否 + */ + @ApiModelProperty("ztzd") + private String ztzd; + /** + * 家庭护理指导 1、是 2、否 + */ + @ApiModelProperty("jtzd") + private String jtzd; + /** + * 转诊原因 + */ + @ApiModelProperty("zzyy") + private String zzyy; + /** + * 转诊机构及科室 + */ + @ApiModelProperty("zzdw") + private String zzdw; + /** + * 居民签名(电子) + */ + @ApiModelProperty("jmqm") + private String jmqm; + /** + * 居民签名(手动) + */ + @ApiModelProperty("sdjmqm") + private String sdjmqm; + /** + * 备注 + */ + @ApiModelProperty("remark") + private String remark; + + /** + * 建档时间(yyyy-MM-dd) + */ + @ApiModelProperty("happentime") + private String happentime; + /** + * 创建时间(yyyy-MM-dd HH:mm:ss) + */ + @ApiModelProperty("createtime") + private String createtime; + /** + * 更新时间(yyyy-MM-dd HH:mm:ss) + */ + @ApiModelProperty("updatetime") + private String updatetime; + /** + * 所属机构 + */ + @ApiModelProperty("pRgid") + private String prgid; + /** + * 创建机构 + */ + @ApiModelProperty("creatregion") + private String creatregion; + /** + * 创建人 + */ + @ApiModelProperty("createuser") + private String createuser; + /** + * 修改人 + */ + @ApiModelProperty("updateuser") + private String updateuser; + +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordDmVo.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordDmVo.java new file mode 100644 index 0000000..f009810 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordDmVo.java @@ -0,0 +1,449 @@ +package com.xinelu.familydoctor.applet.pojo.vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; + +/** + * @Author mengkuiliang + * @Description 随访记录(糖尿病)展示类 + * @Date 2022-01-11 10:06 + * @Param + * @return + **/ +@ApiModel("随访记录(糖尿病)展示类") +@Data +public class FollowupRecordDmVo { + + /** + * 糖尿病公卫随访业务主键 + */ + @ApiModelProperty(value = "糖尿病公卫随访业务主键") + private String dmFollowupNo; + + /** + * 公卫机构id + */ + @ApiModelProperty(value = "公卫机构id") + private String orgId; + + /** + * 随访编号 + */ + @ApiModelProperty(value = "随访编号") + private String followupNo; + + /** + * 履约编号 + */ + @ApiModelProperty(value = "履约编号") + private String performanceNo; + + /** + * 档案id + */ + @ApiModelProperty(value = "档案id") + private String archiveId; + + /** + * 居民身份证号码 + */ + @ApiModelProperty(value = "居民身份证号码") + private String identity; + + /** + * 员工编号 + */ + @ApiModelProperty(value = "员工编号") + private String staffCode; + + /** + * 随访医生公卫用户id + */ + @ApiModelProperty(value = "随访医生公卫用户id") + private String followupDoctor; + + @ApiModelProperty(value = "随访医生公卫用户名字") + private String followupDoctorName; + + /** + * 随访日期 + */ + @ApiModelProperty(value = "随访日期") + private String followupTime; + + /** + * 随访方式(1:家庭,2:门诊,3:电话,99:其他) + */ + @ApiModelProperty(value = "随访方式(1:家庭,2:门诊,3:电话,99:其他)") + private String followupWay; + + /** + * 其他随访方式 + */ + @ApiModelProperty(value = "其他随访方式") + private String followupWayOther; + + /** + * 症状(0.无症状 1.多饮 2.多食 3.多尿 4.视力模糊 5.感染 6.手脚麻木 7.下肢浮肿 8.体重明显下降 99.其他)逗号隔开 + */ + @ApiModelProperty(value = "症状(0.无症状 1.多饮 2.多食 3.多尿 4.视力模糊 5.感染 6.手脚麻木 7.下肢浮肿 8.体重明显下降 99.其他)逗号隔开") + private String symptom; + + /** + * 症状其它 + */ + @ApiModelProperty(value = "症状其它") + private String symptomOtherContent; + + /** + * 收缩压(mmHg) + */ + @ApiModelProperty(value = "收缩压(mmHg)") + private String systolic; + + /** + * 舒张压(mmHg) + */ + @ApiModelProperty(value = "舒张压(mmHg)") + private String diastolic; + + /** + * 体重(kg) + */ + @ApiModelProperty(value = "体重(kg)") + private String weight; + + /** + * 指导体重(kg) + */ + @ApiModelProperty(value = "指导体重(kg)") + private String guideWeight; + + /** + * 身高(cm) + */ + @ApiModelProperty(value = "身高(cm)") + private String height; + + /** + * 体质指数(kg/㎡) + */ + @ApiModelProperty(value = "体质指数(kg/㎡)") + private String bmi; + + /** + * 指导体质指数(kg/㎡) + */ + @ApiModelProperty(value = "指导体质指数(kg/㎡)") + private String guideBmi; + + /** + * 足背动脉搏动(1:触及正常2:减弱3:消失) + */ + @ApiModelProperty(value = "足背动脉搏动(1:触及正常2:减弱3:消失)") + private String footPulseAnomaly; + + /** + * 足背动脉搏动异常(1:左侧,2:双侧,3:右侧) + */ + @ApiModelProperty(value = "足背动脉搏动异常(1:左侧,2:双侧,3:右侧)") + private String footPulseException; + + /** + * 体征其他 + */ + @ApiModelProperty(value = "体征其他") + private String signOtherContent; + + /** + * 日吸烟量(支/天) + */ + @ApiModelProperty(value = "日吸烟量(支/天)") + private String smoking; + + /** + * 指导日吸烟量(支/天) + */ + @ApiModelProperty(value = "指导日吸烟量(支/天)") + private String guideSmoking; + + /** + * 日饮酒量(两/天) + */ + @ApiModelProperty(value = "日饮酒量(两/天)") + private String drink; + + /** + * 指导日饮酒量(两/天) + */ + @ApiModelProperty(value = "指导日饮酒量(两/天)") + private String guideDrink; + + /** + * 运动频率(次/周) + */ + @ApiModelProperty(value = "运动频率(次/周)") + private String exerciseFreq; + + /** + * 指导运动频率(次/周) + */ + @ApiModelProperty(value = "指导运动频率(次/周)") + private String guideExerciseFreq; + + /** + * 运动持续时间(分钟/次) + */ + @ApiModelProperty(value = "运动持续时间(分钟/次)") + private String exerciseDuration; + + /** + * 指导运动持续时间(分钟/次) + */ + @ApiModelProperty(value = "指导运动持续时间(分钟/次)") + private String guideExerciseDuration; + + /** + * 主食(克/天) + */ + @ApiModelProperty(value = "主食(克/天)") + private String staple; + + /** + * 指导主食(克/天) + */ + @ApiModelProperty(value = "指导主食(克/天)") + private String guideStaple; + + /** + * 心理调整(1:良好 2:一般 3:差) + */ + @ApiModelProperty(value = "心理调整(1:良好 2:一般 3:差)") + private String psychologyState; + + /** + * 遵医行为(1:良好 2:一般 3:差) + */ + @ApiModelProperty(value = "遵医行为(1:良好 2:一般 3:差)") + private String complianceState; + + /** + * 血糖测量场景(0:空腹,1:餐后) + */ + @ApiModelProperty(value = "血糖测量场景(0:空腹,1:餐后)") + private String bloodSugarTime; + /** + * 血糖测量餐后多长时间(/小时) + */ + @ApiModelProperty(value = "血糖测量餐后多长时间(/小时)") + private String bloodSugarTimeContain; + + /** + * 空腹血糖(mmol/L) + */ + @ApiModelProperty(value = "空腹血糖(mmol/L)") + private String fastingBloodGlucose; + + /** + * 糖化血红蛋白(%) + */ + @ApiModelProperty(value = "糖化血红蛋白(%)") + private String hbalc; + + /** + * 糖化血红蛋白检查日期 + */ + @ApiModelProperty(value = "糖化血红蛋白检查日期") + private String hbalcDate; + + /** + * 其他检查 + */ + @ApiModelProperty(value = "其他检查") + private String otherExamine; + + /** + * 服药依从性(1:规律2:间断3:不服药4:医嘱无需用药) + */ + @ApiModelProperty(value = "服药依从性(1:规律2:间断3:不服药4:医嘱无需用药)") + private String drugState; + + /** + * 药物不良反应(1:无,2:有) + */ + @ApiModelProperty(value = "药物不良反应(1:无,2:有)") + private String adr; + + /** + * 药物不良反应描述 + */ + @ApiModelProperty(value = "药物不良反应描述") + private String adrRemark; + + /** + * 低血糖反应(1:无,2:偶尔,3:频繁) + */ + @ApiModelProperty(value = "低血糖反应(1:无,2:偶尔,3:频繁)") + private String hypoglycemia; + + /** + * 此次随访分类(1:控制满意,2:控制不满意,3:不良反,4:并发症) + */ + @ApiModelProperty(value = "此次随访分类(1:控制满意,2:控制不满意,3:不良反,4:并发症)") + private String followupKind; + + /** + * 并发症(1.脑卒中 2.冠心病 99.其他) + */ + @ApiModelProperty(value = "并发症(1.脑卒中 2.冠心病 99.其他)") + private String syndrome; + + /** + * 胰岛素种类 + */ + @ApiModelProperty(value = "胰岛素种类") + private String insulinKind; + + /** + * 胰岛素用法用量 + */ + @ApiModelProperty(value = "胰岛素用法用量") + private String insulinUsage; + + /** + * 目前是否用药(1:使用,2:不使用) + */ + @ApiModelProperty(value = "目前是否用药(1:使用,2:不使用)") + private String drugUse; + + /** + * 目前用药详情JSON格式,例:[{"NAME":"用药名称","FREQUENCY":"用药频次","DOSE":"用药次剂量","UNIT":"用药单位"}] + */ + @ApiModelProperty(value = "目前用药详情JSON格式,例:[{\"NAME\":\"用药名称\",\"FREQUENCY\":\"用药频次\",\"DOSE\":\"用药次剂量\",\"UNIT\":\"用药单位\"}]") + private String drugDetail; + + /** + * 胰岛素种类 + */ + @ApiModelProperty(value = "胰岛素种类") + private String insulinKind1; + /** + * 胰岛素用法用量 + */ + @ApiModelProperty(value = "胰岛素用法用量") + private String insulinUsage1; + + /** + * 是否需要调整用药(1:是,2:否) + */ + @ApiModelProperty(value = "是否需要调整用药(1:是,2:否)") + private String needAdjustDrug; + + /** + * 调整用药意见JSON格式,例:[{"NAME":"用药名称","FREQUENCY":"用药频次","DOSE":"用药次剂量","UNIT":"用药单位"}] + */ + @ApiModelProperty(value = "调整用药意见JSON格式,例:[{\"NAME\":\"用药名称\",\"FREQUENCY\":\"用药频次\",\"DOSE\":\"用药次剂量\",\"UNIT\":\"用药单位\"}]") + private String adjustDrugAdvice; + + /** + * 下一步管理措施(1:常规随访,2:第1次控制不满意2周随访,3:两次控制不满意转诊随访,4:紧急转诊) + */ + @ApiModelProperty(value = "下一步管理措施(1:常规随访,2:第1次控制不满意2周随访,3:两次控制不满意转诊随访,4:紧急转诊)") + private String nextManageMeasure; + + /** + * 是否有转诊记录(1:有,2:无) + */ + @ApiModelProperty(value = "是否有转诊记录(1:有,2:无)") + private String hasTransferRecord; + + /** + * 转诊原因 + */ + @ApiModelProperty(value = "转诊原因") + private String transferReason; + + /** + * 机构及科别 + */ + @ApiModelProperty(value = "机构及科别") + private String transferOrgDept; + + /** + * 联系人及电话 + */ + @ApiModelProperty(value = "联系人及电话") + private String linkPeoplePhone; + + /** + * 转诊结果(1:到位,2:不到位) + */ + @ApiModelProperty(value = "转诊结果(1:到位,2:不到位)") + private String transferResult; + + /** + * 下次随访日期 + */ + @ApiModelProperty(value = "下次随访日期") + private String followupNextTime; + + /** + * 随访医生签名路径 + */ + @ApiModelProperty(value = "随访医生签名路径") + private String followupDoctorSignature; + + /** + * 居民签名路径 + */ + @ApiModelProperty(value = "居民签名路径") + private String residentSignature; + + /** 居民头像 */ + @ApiModelProperty(value = "居民头像") + private String residentHeadImg; + + /** 随访表单提交时间 */ + @ApiModelProperty(value = "随访表单提交时间") + private String createTime; + + /** + * 创建人 + */ + @ApiModelProperty(value = "创建人") + private String createBy; + + /** + * 创建时间 + */ + @ApiModelProperty(value = "创建时间") + private Date createDate; + + /** + * 更新人 + */ + @ApiModelProperty(value = "更新人") + private String updateBy; + + /** + * 更新时间 + */ + @ApiModelProperty(value = "更新时间") + private Date updateDate; + + /** + * 删除标志 + */ + @ApiModelProperty(value = "删除标志") + private Boolean delete; + + /** + * 备注 + */ + @ApiModelProperty(value = "备注") + private String remark; + +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordHbpVo.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordHbpVo.java new file mode 100644 index 0000000..0e17e56 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordHbpVo.java @@ -0,0 +1,397 @@ +package com.xinelu.familydoctor.applet.pojo.vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; + +/** + * @Author mengkuiliang + * @Description 随访记录(高血压)展示类 + * @Date 2022-01-11 20:36 + * @Param + * @return + **/ +@ApiModel("随访记录(高血压)展示类") +@Data +public class FollowupRecordHbpVo { + + /** + * 高血压公卫随访业务主键 + */ + @ApiModelProperty(value = "高血压公卫随访业务主键") + private String hbpFollowupNo; + + /** + * 公卫机构id + */ + @ApiModelProperty(value = "公卫机构id") + private String orgId; + + /** + * 随访编号 + */ + @ApiModelProperty(value = "随访编号") + private String followupNo; + + /** + * 履约编号 + */ + @ApiModelProperty(value = "履约编号") + private String performanceNo; + + /** + * 档案id + */ + @ApiModelProperty(value = "档案id") + private String archiveId; + + /** + * 居民身份证号码 + */ + @ApiModelProperty(value = "居民身份证号码") + private String identity; + + /** + * 员工编号 + */ + @ApiModelProperty(value = "员工编号") + private String staffCode; + + /** + * 随访医生公卫用户id + */ + @ApiModelProperty(value = "随访医生公卫用户id") + private String followupDoctor; + + @ApiModelProperty(value = "随访医生公卫用户名字") + private String followupDoctorName; + + /** + * 随访日期 + */ + @ApiModelProperty(value = "随访日期") + private String followupTime; + + /** + * 随访方式(1:家庭,2:门诊,3:电话,99:其他) + */ + @ApiModelProperty(value = "随访方式(1:家庭,2:门诊,3:电话,99:其他)") + private String followupWay; + + /** + * 其他随访方式 + */ + @ApiModelProperty(value = "其他随访方式") + private String followupWayOther; + + /** + * 症状(0.无症状 1.多饮 2.多食 3.多尿 4.视力模糊 5.感染 6.手脚麻木 7.下肢浮肿 8.体重明显下降 99.其他)逗号隔开 + */ + @ApiModelProperty(value = "症状(0.无症状 1.多饮 2.多食 3.多尿 4.视力模糊 5.感染 6.手脚麻木 7.下肢浮肿 8.体重明显下降 99.其他)逗号隔开") + private String symptom; + + /** + * 症状其它 + */ + @ApiModelProperty(value = "症状其它") + private String symptomOtherContent; + + /** + * 收缩压(mmHg) + */ + @ApiModelProperty(value = "收缩压(mmHg)") + private String systolic; + + /** + * 舒张压(mmHg) + */ + @ApiModelProperty(value = "舒张压(mmHg)") + private String diastolic; + + /** + * 体重(kg) + */ + @ApiModelProperty(value = "体重(kg)") + private String weight; + + /** + * 指导体重(kg) + */ + @ApiModelProperty(value = "指导体重(kg)") + private String guideWeight; + + /** + * 身高(cm) + */ + @ApiModelProperty(value = "身高(cm)") + private String height; + + /** + * 体质指数(kg/㎡) + */ + @ApiModelProperty(value = "体质指数(kg/㎡)") + private String bmi; + + /** + * 指导体质指数(kg/㎡) + */ + @ApiModelProperty(value = "指导体质指数(kg/㎡)") + private String guideBmi; + + /** + * 心率(次/分) + */ + @ApiModelProperty(value = "心率(次/分)") + private String heartRate; + + /** + * 体征其他 + */ + @ApiModelProperty(value = "体征其他") + private String signOtherContent; + + /** + * 日吸烟量(支/天) + */ + @ApiModelProperty(value = "日吸烟量(支/天)") + private String smoking; + + /** + * 指导日吸烟量(支/天) + */ + @ApiModelProperty(value = "指导日吸烟量(支/天)") + private String guideSmoking; + + /** + * 日饮酒量(两/天) + */ + @ApiModelProperty(value = "日饮酒量(两/天)") + private String drink; + + /** + * 指导日饮酒量(两/天) + */ + @ApiModelProperty(value = "指导日饮酒量(两/天)") + private String guideDrink; + + /** + * 运动频率(次/周) + */ + @ApiModelProperty(value = "运动频率(次/周)") + private String exerciseFreq; + + /** + * 指导运动频率(次/周) + */ + @ApiModelProperty(value = "指导运动频率(次/周)") + private String guideExerciseFreq; + + /** + * 运动持续时间(分钟/次) + */ + @ApiModelProperty(value = "运动持续时间(分钟/次)") + private String exerciseDuration; + + /** + * 指导运动持续时间(分钟/次) + */ + @ApiModelProperty(value = "指导运动持续时间(分钟/次)") + private String guideExerciseDuration; + + /** + * 摄盐情况(咸淡)(1:轻,2:中,3:重) + */ + @ApiModelProperty(value = "摄盐情况(咸淡)(1:轻,2:中,3:重)") + private String saltSituation; + + /** + * 指导摄盐情况(咸淡)(1:轻,2:中,3:重) + */ + @ApiModelProperty(value = "指导摄盐情况(咸淡)(1:轻,2:中,3:重)") + private String guideSaltSituation; + + /** + * 心理调整(1:良好 2:一般 3:差) + */ + @ApiModelProperty(value = "心理调整(1:良好 2:一般 3:差)") + private String psychologyState; + + /** + * 遵医行为(1:良好 2:一般 3:差) + */ + @ApiModelProperty(value = "遵医行为(1:良好 2:一般 3:差)") + private String complianceState; + + /** + * 辅助检查 + */ + @ApiModelProperty(value = "辅助检查") + private String auxiliaryExamination; + + /** + * 服药依从性(1:规律2:间断3:不服药4:医嘱无需用药) + */ + @ApiModelProperty(value = "服药依从性(1:规律2:间断3:不服药4:医嘱无需用药)") + private String drugState; + + /** + * 药物不良反应(1:无,2:有) + */ + @ApiModelProperty(value = "药物不良反应(1:无,2:有)") + private String adr; + + /** + * 药物不良反应描述 + */ + @ApiModelProperty(value = "药物不良反应描述") + private String adrRemark; + + /** + * 低血糖反应(1:无,2:偶尔,3:频繁) + */ + @ApiModelProperty(value = "低血糖反应(1:无,2:偶尔,3:频繁)") + private String hypoglycemia; + + /** + * 此次随访分类(1:控制满意,2:控制不满意,3:不良反,4:并发症) + */ + @ApiModelProperty(value = "此次随访分类(1:控制满意,2:控制不满意,3:不良反,4:并发症)") + private String followupKind; + + /** + * 并发症(1.脑卒中 2.冠心病 99.其他) + */ + @ApiModelProperty(value = "并发症(1.脑卒中 2.冠心病 99.其他)") + private String syndrome; + + /** + * 目前是否用药(1:使用,2:不使用) + */ + @ApiModelProperty(value = "目前是否用药(1:使用,2:不使用)") + private String drugUse; + + /** + * 目前用药详情JSON格式,例:[{"NAME":"用药名称","FREQUENCY":"用药频次","DOSE":"用药次剂量","UNIT":"用药单位"}] + */ + @ApiModelProperty(value = "目前用药详情JSON格式,例:[{\"NAME\":\"用药名称\",\"FREQUENCY\":\"用药频次\",\"DOSE\":\"用药次剂量\",\"UNIT\":\"用药单位\"}]") + private String drugDetail; + + /** + * 是否需要调整用药(1:是,2:否) + */ + @ApiModelProperty(value = "是否需要调整用药(1:是,2:否)") + private String needAdjustDrug; + + /** + * 调整用药意见JSON格式,例:[{"NAME":"用药名称","FREQUENCY":"用药频次","DOSE":"用药次剂量","UNIT":"用药单位"}] + */ + @ApiModelProperty(value = "调整用药意见JSON格式,例:[{\"NAME\":\"用药名称\",\"FREQUENCY\":\"用药频次\",\"DOSE\":\"用药次剂量\",\"UNIT\":\"用药单位\"}]") + private String adjustDrugAdvice; + + /** + * 下一步管理措施(1:常规随访,2:第1次控制不满意2周随访,3:两次控制不满意转诊随访,4:紧急转诊) + */ + @ApiModelProperty(value = "下一步管理措施(1:常规随访,2:第1次控制不满意2周随访,3:两次控制不满意转诊随访,4:紧急转诊)") + private String nextManageMeasure; + + /** + * 是否有转诊记录(1:有,2:无) + */ + @ApiModelProperty(value = "是否有转诊记录(1:有,2:无)") + private String hasTransferRecord; + + /** + * 转诊原因 + */ + @ApiModelProperty(value = "转诊原因") + private String transferReason; + + /** + * 机构及科别 + */ + @ApiModelProperty(value = "机构及科别") + private String transferOrgDept; + + /** + * 联系人及电话 + */ + @ApiModelProperty(value = "联系人及电话") + private String linkPeoplePhone; + + /** + * 转诊结果(1:到位,2:不到位) + */ + @ApiModelProperty(value = "转诊结果(1:到位,2:不到位)") + private String transferResult; + + /** + * 下次随访日期 + */ + @ApiModelProperty(value = "下次随访日期") + private String followupNextTime; + + /** + * 随访医生签名路径 + */ + @ApiModelProperty(value = "随访医生签名路径") + private String followupDoctorSignature; + + /** + * 居民签名路径 + */ + @ApiModelProperty(value = "居民签名路径") + private String residentSignature; + + /** 居民头像 */ + @ApiModelProperty(value = "居民头像") + private String residentHeadImg; + + /** 随访表单提交时间 */ + @ApiModelProperty(value = "随访表单提交时间") + private String createTime; + + /** + * 是否使用随访设备 + */ + @ApiModelProperty(value = "是否使用随访设备") + private Boolean useDevice; + + /** + * 创建人 + */ + @ApiModelProperty(value = "创建人") + private String createBy; + + /** + * 创建时间 + */ + @ApiModelProperty(value = "创建时间") + private Date createDate; + + /** + * 更新人 + */ + @ApiModelProperty(value = "更新人") + private String updateBy; + + /** + * 更新时间 + */ + @ApiModelProperty(value = "更新时间") + private Date updateDate; + + /** + * 删除标志 + */ + @ApiModelProperty(value = "删除标志") + private Boolean delete; + + /** + * 备注 + */ + @ApiModelProperty(value = "备注") + private String remark; + +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordHrVo.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordHrVo.java new file mode 100644 index 0000000..e76b786 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordHrVo.java @@ -0,0 +1,514 @@ +package com.xinelu.familydoctor.applet.pojo.vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @author gaoyu + * @version v3.0.1.0 + * @description 高血压高危人群 + * @date 2022-09-01 9:25 + */ +@ApiModel("高血压高危人群") +@Data +public class FollowupRecordHrVo { + + /** + * 高血压高危人群业务主键 + */ + @ApiModelProperty("高血压高危人群业务主键") + private String hrFollowupNo; + + /** + * 履约编号 + */ + @ApiModelProperty("履约编号") + private String performanceNo; + + /** + * 居民身份证号 + */ + @ApiModelProperty("居民身份证号") + private String identity; + + /** + * 公卫用户id + */ + @ApiModelProperty("公卫用户id") + private String createuser; + + /** + * 公卫机构id + */ + @ApiModelProperty("公卫机构id") + private String prgid; + + /** + * 创建时间 yyyy-MM-dd HH:mm:ss + */ + @ApiModelProperty("创建时间 yyyy-MM-dd HH:mm:ss") + private String createtime; + + /** + * 个人档案编号 + */ + @ApiModelProperty("个人档案编号") + private String dgrdabh; + + /** + * 过去三个月常在家中吃饭的人数 + */ + @ApiModelProperty("过去三个月常在家中吃饭的人数") + private String tjtssyi; + + /** + * 一起吃饭低于6岁的儿童有几人 + */ + @ApiModelProperty("一起吃饭低于6岁的儿童有几人") + private String tjtssyidyi; + + /** + * 过去3个月,您家平均一月吃多少克盐 + */ + @ApiModelProperty("过去3个月,您家平均一月吃多少克盐") + private String tjtsser; + + /** + * 过去3个月,您家平均一月吃多少克酱油 + */ + @ApiModelProperty("过去3个月,您家平均一月吃多少克酱油") + private String tjtsssan; + + /** + * 咸蛋是否吃 字典:1是 2否 + */ + @ApiModelProperty("咸蛋是否吃 字典:1是 2否") + private String txiandansf; + + /** + * 次每天 + */ + @ApiModelProperty("次每天") + private String txiandanjscstian; + + /** + * 次每周 + */ + @ApiModelProperty("次每周") + private String txiandanjscszhou; + + /** + * 次每月 + */ + @ApiModelProperty("次每月") + private String txiandanjscsyue; + + /** + * 平均每次食用量(克) + */ + @ApiModelProperty("平均每次食用量(克)") + private String txiandanjscssyl; + + /** + * 咸鱼是否吃 字典:1是 2否 + */ + @ApiModelProperty("咸鱼是否吃 字典:1是 2否") + private String txianyusf; + + /** + * 次每天 + */ + @ApiModelProperty("次每天") + private String txianyujscstian; + + /** + * 次每周 + */ + @ApiModelProperty("次每周") + private String txianyujscszhou; + + /** + * 次每月 + */ + @ApiModelProperty("次每月") + private String txianyujscsyue; + + /** + * 平均每次食用量(克) + */ + @ApiModelProperty("平均每次食用量(克)") + private String txianyujscssyl; + + /** + * 虾皮是否吃 字典:1是 2否 + */ + @ApiModelProperty("虾皮是否吃 字典:1是 2否") + private String txiapisf; + + /** + * 次每天 + */ + @ApiModelProperty("次每天") + private String txiapijscstian; + + /** + * 次每周 + */ + @ApiModelProperty("次每周") + private String txiapijscszhou; + + /** + * 次每月 + */ + @ApiModelProperty("次每月") + private String txiapijscsyue; + + /** + * 平均每次食用量(克) + */ + @ApiModelProperty("平均每次食用量(克)") + private String txiapijscssyl; + + /** + * 虾米是否吃 字典:1是 2否 + */ + @ApiModelProperty("虾米是否吃 字典:1是 2否") + private String txiamisf; + + /** + * 次每天 + */ + @ApiModelProperty("次每天") + private String txiamijscstian; + + /** + * 次每周 + */ + @ApiModelProperty("次每周") + private String txiamijscszhou; + + /** + * 次每月 + */ + @ApiModelProperty("次每月") + private String txiamijscsyue; + + /** + * 平均每次食用量(克) + */ + @ApiModelProperty("平均每次食用量(克)") + private String txiamijscssyl; + + /** + * 方便面是否吃 字典:1是 2否 + */ + @ApiModelProperty("方便面是否吃 字典:1是 2否") + private String tfbmsf; + + /** + * 次每天 + */ + @ApiModelProperty("次每天") + private String tfbmjscstian; + + /** + * 次每周 + */ + @ApiModelProperty("次每周") + private String tfbmjscszhou; + + /** + * 次每月 + */ + @ApiModelProperty("次每月") + private String tfbmjscsyue; + + /** + * 平均每次食用量(克) + */ + @ApiModelProperty("平均每次食用量(克)") + private String tfbmjscssyl; + + /** + * 豆腐乳是否吃 字典:1是 2否 + */ + @ApiModelProperty("豆腐乳是否吃 字典:1是 2否") + private String tdfrsf; + + /** + * 次每天 + */ + @ApiModelProperty("次每天") + private String tdfrjscstian; + + /** + * 次每周 + */ + @ApiModelProperty("次每周") + private String tdfrjscszhou; + + /** + * 次每月 + */ + @ApiModelProperty("次每月") + private String tdfrjscsyue; + + /** + * 平均每次食用量(克) + */ + @ApiModelProperty("平均每次食用量(克)") + private String tdfrjscssyl; + + /** + * 咸菜是否吃 字典:1是 2否 + */ + @ApiModelProperty("咸菜是否吃 字典:1是 2否") + private String txiancaisf; + + /** + * 次每天 + */ + @ApiModelProperty("次每天") + private String txiancaijscstian; + + /** + * 次每周 + */ + @ApiModelProperty("次每周") + private String txiancaijscszhou; + + /** + * 次每月 + */ + @ApiModelProperty("次每月") + private String txiancaijscsyue; + + /** + * 平均每次食用量(克) + */ + @ApiModelProperty("平均每次食用量(克)") + private String txiancaijscssyl; + + /** + * 辣椒酱是否吃 字典:1是 2否 + */ + @ApiModelProperty("辣椒酱是否吃 字典:1是 2否") + private String tljjsf; + + /** + * 次每天 + */ + @ApiModelProperty("次每天") + private String tljjjscstian; + + /** + * 次每周 + */ + @ApiModelProperty("次每周") + private String tljjjscszhou; + + /** + * 次每月 + */ + @ApiModelProperty("次每月") + private String tljjjscsyue; + + /** + * 平均每次食用量(克) + */ + @ApiModelProperty("平均每次食用量(克)") + private String tljjjscssyl; + + /** + * 虾酱是否吃 字典:1是 2否 + */ + @ApiModelProperty("虾酱是否吃 字典:1是 2否") + private String txiajiangsf; + + /** + * 次每天 + */ + @ApiModelProperty("次每天") + private String txiajiangjscstian; + + /** + * 次每周 + */ + @ApiModelProperty("次每周") + private String txiajiangjscszhou; + + /** + * 次每月 + */ + @ApiModelProperty("次每月") + private String txiajiangjscsyue; + + /** + * 平均每次食用量(克) + */ + @ApiModelProperty("平均每次食用量(克)") + private String txiajiangjscssyl; + + /** + * 甜面酱是否吃 字典:1是 2否 + */ + @ApiModelProperty("甜面酱是否吃 字典:1是 2否") + private String ttmjsf; + + /** + * 次每天 + */ + @ApiModelProperty("次每天") + private String ttmjjscstian; + + /** + * 次每周 + */ + @ApiModelProperty("次每周") + private String ttmjjscszhou; + + /** + * 次每月 + */ + @ApiModelProperty("次每月") + private String ttmjjscsyue; + + /** + * 平均每次食用量(克) + */ + @ApiModelProperty("平均每次食用量(克)") + private String ttmjjscssyl; + + /** + * 豆瓣酱是否吃 字典:1是 2否 + */ + @ApiModelProperty("豆瓣酱是否吃 字典:1是 2否") + private String tdbjsf; + + /** + * 次每天 + */ + @ApiModelProperty("次每天") + private String tdbjjscstian; + + /** + * 次每周 + */ + @ApiModelProperty("次每周") + private String tdbjjscszhou; + + /** + * 次每月 + */ + @ApiModelProperty("次每月") + private String tdbjjscsyue; + + /** + * 平均每次食用量(克) + */ + @ApiModelProperty("平均每次食用量(克)") + private String tdbjjscssyl; + + /** + * 随访日期 + */ + @ApiModelProperty("随访日期") + private String happentime; + + /** + * 随访方式 字典:1门诊 2家庭 3电话 + */ + @ApiModelProperty("随访方式 字典:1门诊 2家庭 3电话") + private String tsffs; + + /** + * 血压 格式:高压/低压 + */ + @ApiModelProperty("血压 格式:高压/低压") + private String txy; + + /** + * 日吸烟量(支) + */ + @ApiModelProperty("日吸烟量(支)") + private String tshzdfsxyl; + + /** + * 日吸烟量(支)-指导 + */ + @ApiModelProperty("日吸烟量(支)-指导") + private String tshzdfsxyl2; + + /** + * 日饮酒量(两) + */ + @ApiModelProperty("日饮酒量(两)") + private String tshzdfsyjl; + + /** + * 日饮酒量(两)-指导 + */ + @ApiModelProperty("日饮酒量(两)-指导") + private String tshzdfsyjl2; + + /** + * 运动次每周 + */ + @ApiModelProperty("运动次每周") + private String tshzdfsydcz; + + /** + * 运动分钟每次 + */ + @ApiModelProperty("运动分钟每次") + private String tshzdfsydcfz; + + /** + * 运动次每周-指导 + */ + @ApiModelProperty("运动次每周-指导") + private String tshzdfsydcz2; + + /** + * 运动分钟每次-指导 + */ + @ApiModelProperty("运动分钟每次-指导") + private String tshzdfsydcfz2; + + /** + * 摄盐情况(咸淡) 字典:1轻 2中 3重 + */ + @ApiModelProperty("摄盐情况(咸淡) 字典:1轻 2中 3重") + private String tshzdfssyqk; + + /** + * 摄盐情况(咸淡)-指导 字典:1轻 2中 3重 + */ + @ApiModelProperty("摄盐情况(咸淡)-指导 字典:1轻 2中 3重") + private String tshzdfssyqk2; + + /** + * 食盐摄入量(克每天) + */ + @ApiModelProperty("食盐摄入量(克每天)") + private String tshzdfssysrl; + + /** + * 心理调整 字典:1良好 2一般 3差 + */ + @ApiModelProperty("心理调整 字典:1良好 2一般 3差") + private String tshzdfsxltz; + + /** + * 下次随访日期 + */ + @ApiModelProperty("下次随访日期") + private String txcsfrq; + + /** + * 医生签名(仅文本,非签字板签字使用) + */ + @ApiModelProperty("医生签名(仅文本,非签字板签字使用)") + private String ysqm; +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordMaternalVo.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordMaternalVo.java new file mode 100644 index 0000000..75aeb40 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordMaternalVo.java @@ -0,0 +1,283 @@ +package com.xinelu.familydoctor.applet.pojo.vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Author mengkuiliang + * @Description 随访记录(孕产妇产后访视)展示类 + * @Date 2022-01-11 20:36 + * @Param + * @return + **/ +@ApiModel("随访记录(孕产妇产后访视)展示类") +@Data +public class FollowupRecordMaternalVo { + + /** + * 孕产妇产后访视随访业务主键 + */ + @ApiModelProperty(value = "孕产妇产后访视业务主键") + private String maternalFollowupNo; + + /** + * 公卫机构id + */ + @ApiModelProperty(value = "公卫机构id") + private String orgId; + + /** + * 随访编号 + */ + @ApiModelProperty(value = "随访编号") + private String followupNo; + + /** + * 履约编号 + */ + @ApiModelProperty(value = "履约编号") + private String performanceNo; + + /** + * 档案id + */ + @ApiModelProperty(value = "档案id") + private String archiveId; + + /** + * 卡号 + */ + @ApiModelProperty(value = "卡号") + private String cardid; + + /** + * 员工编号 + */ + @ApiModelProperty(value = "员工编号") + private String staffCode; + + /** + * 随访医生签名路径 + */ + @ApiModelProperty(value = "随访医生签名路径") + private String followupDoctorSignature; + + /** + * 身份证号 + */ + @ApiModelProperty(value = "身份证号") + private String dsfzh; + /** + * 体温 + */ + @ApiModelProperty(value = "体温") + private String ftw; + /** + * 血压左 + */ + @ApiModelProperty(value = "血压左") + private String fxy; + /** + * 血压右 + */ + @ApiModelProperty(value = "血压右") + private String fxy1; + /** + * 其他情况 + */ + @ApiModelProperty(value = "其他情况") + private String fqt; + /** + * 乳房是否异常 字典:1.未见异常 99.异常 + */ + @ApiModelProperty(value = "乳房是否异常 字典:1.未见异常 99.异常") + private String frf; + /** + * 乳房异常 + */ + @ApiModelProperty(value = "乳房异常") + private String frfyc; + /** + * 恶露是否异常 字典:1.未见异常 99.异常 + */ + @ApiModelProperty(value = "恶露是否异常 字典:1.未见异常 99.异常") + private String fel; + /** + * 恶露异常描述 + */ + @ApiModelProperty(value = "恶露异常描述") + private String felyc; + /** + * 子宫是否异常 字典:1.未见异常 99.异常 + */ + @ApiModelProperty(value = "子宫是否异常 字典:1.未见异常 99.异常") + private String fzg; + /** + * 子宫异常描述 + */ + @ApiModelProperty(value = "子宫异常描述") + private String fzgy; + /** + * 伤口是否异常 字典:1.未见异常 99.异常 + */ + @ApiModelProperty(value = "伤口是否异常 字典:1.未见异常 99.异常") + private String fsk; + /** + * 伤口异常描述 + */ + @ApiModelProperty(value = "伤口异常描述") + private String fskyc; + /** + * 评估此产妇健康状况是否异常 字典:1.未见异常 99.异常 + */ + @ApiModelProperty(value = "评估此产妇健康状况是否异常 字典:1.未见异常 99.异常") + private String ffl; + /** + * 分类 此产妇健康状况异常情况 + */ + @ApiModelProperty(value = "分类 此产妇健康状况异常情况") + private String fflyc; + /** + * 一般健康情况 + */ + @ApiModelProperty(value = "一般健康情况") + private String fybjkzk; + /** + * 一般心理状况 + */ + @ApiModelProperty(value = "一般心理状况") + private String fybxlzk; + /** + * 是否转诊 yw_youwu 字典:1.有 2.无 + */ + @ApiModelProperty(value = "是否转诊 yw_youwu 字典:1.有 2.无") + private String fzz; + /** + * 转诊原因 + */ + @ApiModelProperty(value = "转诊原因") + private String fzzyy; + /** + * 转诊机构及科室 + */ + @ApiModelProperty(value = "转诊机构及科室") + private String fjgks; + /** + * 转诊机构及科室 联系人 + */ + @ApiModelProperty(value = "转诊机构及科室 联系人") + private String flxr; + /** + * 转诊机构及科室 联系方式 + */ + @ApiModelProperty(value = "转诊机构及科室 联系方式") + private String flxfs; + /** + * 转诊机构及科室 结果 1:到位 2:不到位 + */ + @ApiModelProperty(value = "转诊机构及科室 结果 1:到位 2:不到位") + private String fjg; + /** + * 下次随访日期(yyyy-MM-dd) + */ + @ApiModelProperty(value = "下次随访日期(yyyy-MM-dd)") + private String fnextsf; + /** + * 随访医生签名 + */ + @ApiModelProperty(value = "随访医生签名") + private String fsfysqm; + /** + * 健康指导 字典:1.个人卫生 2.心理 3.营养 4.母乳喂养 5.新生儿护理与喂养 6.其他 + */ + @ApiModelProperty(value = "健康指导 字典:1.个人卫生 2.心理 3.营养 4.母乳喂养 5.新生儿护理与喂养 6.其他") + private String fzhidao; + /** + * 指导其他情况 + */ + @ApiModelProperty(value = "指导其他情况") + private String zdqt; + /** + * 产次 下拉选1~8 + */ + @ApiModelProperty(value = "产次 下拉选1~8") + private String fcc; + /** + * 分娩日期 + */ + @ApiModelProperty(value = "分娩日期") + private String ffmrq; + /** + * 出院日期 + */ + @ApiModelProperty(value = "出院日期") + private String fcyrq; + /** + * 分娩孕周 + */ + @ApiModelProperty(value = "分娩孕周") + private String ffmyz; + /** + * 分娩孕周天 + */ + @ApiModelProperty(value = "分娩孕周天") + private String ffmyzt; + /** + * 分娩方式 + */ + @ApiModelProperty(value = "分娩方式") + private String fmfs; + /** + * 居民/家属签字(电子) + */ + @ApiModelProperty(value = "居民/家属签字(电子)") + private String fjsqm; + /** + * 居民/家属签字(手动) + */ + @ApiModelProperty(value = "居民/家属签字(手动)") + private String sdfjsqm; + /** + * 随访时间(yyyy-MM-dd) + */ + @ApiModelProperty(value = "随访时间(yyyy-MM-dd)") + private String happentime; + /** + * 创建时间(yyyy-MM-dd HH:mm:ss) + */ + @ApiModelProperty(value = "创建时间(yyyy-MM-dd HH:mm:ss)") + private String createtime; + /** + * 更新时间(yyyy-MM-dd HH:mm:ss) + */ + @ApiModelProperty(value = "更新时间(yyyy-MM-dd HH:mm:ss)") + private String updatetime; + /** + * 所属机构 + */ + @ApiModelProperty(value = "所属机构") + private String prgid; + /** + * 创建机构 + */ + @ApiModelProperty(value = "创建机构") + private String creatregion; + /** + * 创建人 + */ + @ApiModelProperty(value = "创建人") + private String createuser; + /** + * 修改人 + */ + @ApiModelProperty(value = "修改人") + private String updateuser; + + /** + * 备注 + */ + @ApiModelProperty(value = "备注") + private String remark; + +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordNeonateVo.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordNeonateVo.java new file mode 100644 index 0000000..0311a23 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordNeonateVo.java @@ -0,0 +1,616 @@ +package com.xinelu.familydoctor.applet.pojo.vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Author mengkuiliang + * @Description 新生儿随访记录展示类 + * @Date 2022-08-21 16:39 + * @Param + * @return + **/ +@ApiModel("新生儿随访记录展示类") +@Data +public class FollowupRecordNeonateVo { + + /** + * 新生儿随访业务主键 + */ + @ApiModelProperty(value = "新生儿业务主键") + private String neonateFollowupNo; + + /** + * 公卫机构id + */ + @ApiModelProperty(value = "公卫机构id") + private String orgId; + + /** + * 随访编号 + */ + @ApiModelProperty(value = "随访编号") + private String followupNo; + + /** + * 履约编号 + */ + @ApiModelProperty(value = "履约编号") + private String performanceNo; + + /** + * 签约编号 + */ + @ApiModelProperty(value = "签约编号") + private String signNo; + + /** + * 居民用户业务主键 + */ + @ApiModelProperty(value = "居民用户业务主键") + private String residentNo; + + /** + * 姓名 + */ + @ApiModelProperty(value = "姓名") + private String residentName; + + /** + * 履约明细编号 + */ + @ApiModelProperty(value = "履约明细编号") + private String performanceDetailNo; + + /** + * 服务包明细编号 + */ + @ApiModelProperty(value = "服务包明细编号", required = true) + private String packageDetailNo; + + /** + * 服务包编号 + */ + @ApiModelProperty(value = "服务包编号", required = true) + private String packageNo; + + /** + * 服务包名称 + */ + @ApiModelProperty(value = "服务包名称", required = true) + private String packageName; + + /** + * 服务项表单编号 + */ + @ApiModelProperty(value = "服务项表单编号", required = true) + private String formNo; + + /** + * 服务项表单名称 + */ + @ApiModelProperty(value = "服务项表单名称", required = true) + private String formName; + + /** + * 档案id + */ + @ApiModelProperty(value = "档案id") + private String archiveId; + + /** + * 随访医生签名路径 + */ + @ApiModelProperty(value = "随访医生签名路径") + private String followupDoctorSignature; + + /** + * 身份证号 + */ + @ApiModelProperty(value = "身份证号") + private String dsfzh; + /** + * 姓名 + */ + @ApiModelProperty(value = "姓名") + private String dxm; + /** + * 性别 + */ + @ApiModelProperty(value = "性别") + private String dxb; + /** + * 出生日期 + */ + @ApiModelProperty(value = "出生日期 ") + private String dcsrq; + /** + * 机构编号 + */ + @ApiModelProperty(value = "机构编号") + private String prgid; + /** + * 创建时间 + */ + @ApiModelProperty(value = "创建时间") + private String createtime; + /** + * 最近修改时间 + */ + @ApiModelProperty(value = "最近修改时间") + private String updatetime; + /** + * 录入时间 本次随访日期 + */ + @ApiModelProperty(value = "录入时间 本次随访日期") + private String happentime; + /** + * 创建用户编号 + */ + @ApiModelProperty(value = "创建用户编号") + private String createuser; + /** + * 最近修改用户编号 + */ + @ApiModelProperty(value = "最近修改用户编号") + private String updateuser; + /** + * 创建机构编号 + */ + @ApiModelProperty(value = "创建机构编号") + private String createregion; + /** + * 儿童卡号 + */ + @ApiModelProperty(value = "儿童卡号") + private String ekahao; + /** + * 母亲身份证号 + */ + @ApiModelProperty(value = "母亲身份证号") + private String emqsfzh; + /** + * 父亲亲身份证号 + */ + @ApiModelProperty(value = "父亲身份证号") + private String fsfzh; + /** + * 出生孕周 + */ + @ApiModelProperty(value = "出生孕周") + private String ecssyz; + /** + * 出生孕周零几天 + */ + @ApiModelProperty(value = "出生孕周零几天") + private String ecssyzts; + /** + * 母亲妊娠期患病疾病情况 字典:0.无 1.糖尿病 2.妊娠期高血压 99.其他 + */ + @ApiModelProperty(value = "母亲妊娠期患病疾病情况 字典:0.无 1.糖尿病 2.妊娠期高血压 99.其他") + private String ercqjhbqk; + /** + * 母亲妊娠期患病疾病情况其他 + */ + @ApiModelProperty(value = "母亲妊娠期患病疾病情况其他") + private String ercqjhbqkqt; + /** + * 助产机构名称 + */ + @ApiModelProperty(value = "助产机构名称") + private String ezcjgmc; + /** + * 出生情况 字典:1.顺产 2.胎头吸引 3.产钳 4.剖宫 5.双多胎 6.臀位 99.其他 + */ + @ApiModelProperty(value = "出生情况 字典:1.顺产 2.胎头吸引 3.产钳 4.剖宫 5.双多胎 6.臀位 99.其他") + private String ecsqk; + /** + * 出生情况其他 + */ + @ApiModelProperty(value = "出生情况其他") + private String ecsqkqt; + /** + * 新生儿窒息 字典:1.有 2.无 + */ + @ApiModelProperty(value = "新生儿窒息 字典:1.有 2.无") + private String exsezx; + /** + * 新生儿窒息其他 + */ + @ApiModelProperty(value = "新生儿窒息其他") + private String exsezxqt; + /** + * 新生儿畸型 字典:1.有 2.无 + */ + @ApiModelProperty(value = "新生儿畸型 字典:1.有 2.无") + private String exsejx; + /** + * 新生儿畸型其他 + */ + @ApiModelProperty(value = "新生儿畸型其他") + private String exsejxqt; + /** + * 新生儿听力筛查 字典:1.未筛查 2.通过 3.未通过 4.不详 + */ + @ApiModelProperty(value = "新生儿听力筛查 字典:1.未筛查 2.通过 3.未通过 4.不详") + private String exsejbsc; + /** + * 新生儿听力筛查其他 + */ + @ApiModelProperty(value = "新生儿听力筛查其他") + private String exsejbscqt; + /** + * 新生儿出生体重 + */ + @ApiModelProperty(value = "新生儿出生体重") + private String exsecstz; + /** + * 出生身长 + */ + @ApiModelProperty(value = "出生身长") + private String exsecssg; + /** + * 喂养方式 字典:1.母乳 2.人工乳 3.混合喂养 + */ + @ApiModelProperty(value = "喂养方式 字典:1.母乳 2.人工乳 3.混合喂养") + private String exsewyfs; + /** + * 新生儿体温 + */ + @ApiModelProperty(value = "新生儿体温") + private String exsetw; + /** + * 呼吸频率 + */ + @ApiModelProperty(value = "呼吸频率") + private String exsehxfs; + /** + * 脉率 + */ + @ApiModelProperty(value = "脉率") + private String exseml; + /** + * 面色 字典:2.红润 3.黄染 4.苍白 99.其他 + */ + @ApiModelProperty(value = "面色 字典:2.红润 3.黄染 4.苍白 99.其他") + private String exsemsqk; + /** + * 面色其他 + */ + @ApiModelProperty(value = "面色其他") + private String exsemsqkqt; + /** + * 前囟1 + */ + @ApiModelProperty(value = "前囟1") + private String exseqx1; + /** + * 前囟2 + */ + @ApiModelProperty(value = "前囟2") + private String exseqx2; + /** + * 前囟状况 字典:1.正常 2.澎隆 3.凹陷 99.其他 + */ + @ApiModelProperty(value = "前囟状况 字典:1.正常 2.澎隆 3.凹陷 99.其他") + private String exseqxzk; + /** + * 前囟状况其他 + */ + @ApiModelProperty(value = "前囟状况其他") + private String exseqxzkqt; + /** + * 眼外观 字典:1.异常 99.未见异常 + */ + @ApiModelProperty(value = "眼外观 字典:1.异常 99.未见异常") + private String exseyb; + /** + * 眼外观其他 + */ + @ApiModelProperty(value = "眼外观其他") + private String exseybqt; + /** + * 耳外观 字典:1.异常 99.未见异常 + */ + @ApiModelProperty(value = "耳外观 字典:1.异常 99.未见异常") + private String exseeb; + /** + * 耳外观其他 + */ + @ApiModelProperty(value = "耳外观其他") + private String exseebqt; + /** + * 鼻 字典:1.异常 99.未见异常 + */ + @ApiModelProperty(value = "鼻 字典:1.异常 99.未见异常") + private String exsebz; + /** + * 鼻其他 + */ + @ApiModelProperty(value = "鼻其他") + private String exsebzqt; + /** + * 口腔 字典:1.异常 99.未见异常 + */ + @ApiModelProperty(value = "口腔 字典:1.异常 99.未见异常") + private String exsekq; + /** + * 口腔其他 + */ + @ApiModelProperty(value = "口腔其他") + private String exsekqqt; + /** + * 心肺 字典:1.异常 99.未见异常 + */ + @ApiModelProperty(value = "心肺 字典:1.异常 99.未见异常") + private String exsexf; + /** + * 心肺其他 + */ + @ApiModelProperty(value = "心肺其他") + private String exsexfqt; + /** + * 腹部触诊 字典:1.异常 99.未见异常 + */ + @ApiModelProperty(value = "腹部触诊 字典:1.异常 99.未见异常") + private String exsefb; + /** + * 腹部触诊其他 + */ + @ApiModelProperty(value = "腹部触诊其他") + private String exsefbqt; + /** + * 四肢活动度 字典:1.异常 99.未见异常 + */ + @ApiModelProperty(value = "四肢活动度 字典:1.异常 99.未见异常") + private String exseszhdd; + /** + * 四肢活动度其他 + */ + @ApiModelProperty(value = "四肢活动度其他") + private String exseszhddqt; + /** + * 颈部包块 字典:1.有 2.无 + */ + @ApiModelProperty(value = "颈部包块 字典:1.有 2.无") + private String exsejbbk; + /** + * 颈部包块其他 + */ + @ApiModelProperty(value = "颈部包块其他") + private String exsejbbkqt; + /** + * 皮肤 字典:1.未见异常 2.湿疹 3.糜烂 99.其他 + */ + @ApiModelProperty(value = "皮肤 字典:1.未见异常 2.湿疹 3.糜烂 99.其他") + private String exsepf; + /** + * 皮肤其他 + */ + @ApiModelProperty(value = "皮肤其他") + private String exsepfqt; + /** + * 肛门 字典:1.异常 99.未见异常 + */ + @ApiModelProperty(value = "肛门 字典:1.异常 99.未见异常") + private String exsegm; + /** + * 肛门其他 + */ + @ApiModelProperty(value = "肛门其他") + private String exsegmqt; + /** + * 外生殖器官 字典:1.异常 99.未见异常 + */ + @ApiModelProperty(value = "外生殖器官 字典:1.异常 99.未见异常") + private String exsewszq; + /** + * 外生殖器官其他 + */ + @ApiModelProperty(value = "外生殖器官其他") + private String exsewszqqt; + /** + * 脊柱 字典:1.异常 99.未见异常 + */ + @ApiModelProperty(value = "脊柱 字典:1.异常 99.未见异常") + private String exsejz; + /** + * 脊柱其他 + */ + @ApiModelProperty(value = "脊柱其他") + private String exsejzqt; + /** + * 脐带 字典:1.未脱 2.脱落 3.脐部有渗出 99.其他 + */ + @ApiModelProperty(value = "脐带 字典:1.未脱 2.脱落 3.脐部有渗出 99.其他") + private String exsejd; + /** + * 脐带其他 + */ + @ApiModelProperty(value = "脐带其他") + private String exsejdqt; + /** + * 转诊状况 字典:1.有 2.无 + */ + @ApiModelProperty(value = "转诊状况 字典:1.有 2.无") + private String exsezzzk; + /** + * 转诊原因 + */ + @ApiModelProperty(value = "转诊原因") + private String exsezzzkyy; + /** + * 转诊机构 + */ + @ApiModelProperty(value = "转诊机构") + private String exsezzzkjg; + /** + * 指导 字典:1.喂养指导 2.母乳喂养 3.护理指导 4.疾病预防指导 5.发育指导 6.防病指导 7.预防伤害指导 8.口腔保健指导 10.其他 + */ + @ApiModelProperty(value = "指导 字典:1.喂养指导 2.母乳喂养 3.护理指导 4.疾病预防指导 5.发育指导 6.防病指导 7.预防伤害指导 8.口腔保健指导 10.其他") + private String exsezd; + /** + * 下次随访地点 + */ + @ApiModelProperty(value = "下次随访地点") + private String exsexcsfdd; + /** + * 下次随访日期 + */ + @ApiModelProperty(value = "下次随访日期") + private String exsexcsfrq; + /** + * 随访医生签名 + */ + @ApiModelProperty(value = "随访医生签名") + private String exsesfysxm; + /** + * Apgar评分 字典:1.1分钟 2.5分钟 3.不详 + */ + @ApiModelProperty(value = "Apgar评分 字典:1.1分钟 2.5分钟 3.不详") + private String apgarscore; + /** + * Apgar评分 1分钟 + */ + @ApiModelProperty(value = "Apgar评分 1分钟") + private String apgarscore1; + + /** + * Apgar评分 5分钟 + */ + @ApiModelProperty(value = "Apgar评分 5分钟") + private String apgarscore5; + /** + * 目前体重 + */ + @ApiModelProperty(value = "目前体重") + private String weight; + /** + * 吃奶量 + */ + @ApiModelProperty(value = "吃奶量") + private String suckvolume; + /** + * 吃奶次数 + */ + @ApiModelProperty(value = "吃奶次数") + private String sucktime; + /** + * 呕吐 字典:1.有 2.无 + */ + @ApiModelProperty(value = "呕吐 字典:1.有 2.无") + private String vomit; + /** + * 大便 字典:1.糊状 2.稀 3.成形(其他) + */ + @ApiModelProperty(value = "大便 字典:1.糊状 2.稀 3.成形(其他)") + private String shit; + /** + * 大便次数 + */ + @ApiModelProperty(value = "大便次数") + private String shittime; + /** + * 黄疸部位 字典:1.面部 2.躯干 3.四肢 4.手足 99.无 + */ + @ApiModelProperty(value = "黄疸部位 字典:1.面部 2.躯干 3.四肢 4.手足 99.无") + private String jaundice; + /** + * 新生儿疾病筛查 字典:0.未进行 1.甲低 2.苯丙酮尿症 3.先天性肾上腺皮质激素增生症 4.葡萄糖-6-磷酸脱氢酶缺乏症 5.检查均阴性 99.其他遗传代谢病 + */ + @ApiModelProperty(value = "新生儿疾病筛查 字典:0.未进行 1.甲低 2.苯丙酮尿症 3.先天性肾上腺皮质激素增生症 4.葡萄糖-6-磷酸脱氢酶缺乏症 5.检查均阴性 99.其他遗传代谢病") + private String babydisease; + /** + * 新生儿疾病筛查其他 + */ + @ApiModelProperty(value = "新生儿疾病筛查其他") + private String babydiseaseqt; + /** + * 父亲姓名 + */ + @ApiModelProperty(value = "父亲姓名") + private String efqxm; + /** + * 父亲工作单位 + */ + @ApiModelProperty(value = "父亲工作单位") + private String efqgzdw; + /** + * 父亲联系电话 + */ + @ApiModelProperty(value = "父亲联系电话") + private String efqlxdh; + /** + * 父亲出生日期 + */ + @ApiModelProperty(value = "父亲出生日期") + private String efqcsrq; + /** + * 母亲姓名 + */ + @ApiModelProperty(value = "母亲姓名") + private String emqxm; + /** + * 母亲工作单位 + */ + @ApiModelProperty(value = "母亲工作单位") + private String emqgzdw; + /** + * 母亲联系电话 + */ + @ApiModelProperty(value = "母亲联系电话") + private String emqlxdh; + /** + * 母亲出生日期 + */ + @ApiModelProperty(value = "母亲出生日期") + private String emqcsrq; + /** + * 胸部 字典:99.未见异常 1. 异常 + */ + @ApiModelProperty(value = "胸部 字典:1.异常 99.未见异常") + private String xb; + /** + * 胸部其他 + */ + @ApiModelProperty(value = "胸部其他") + private String xbqt; + /** + * 转诊科室 + */ + @ApiModelProperty(value = "转诊科室") + private String zzks; + /** + * 转诊联系人 + */ + @ApiModelProperty(value = "转诊联系人") + private String zzlxr; + /** + * 转诊联系电话 + */ + @ApiModelProperty(value = "转诊联系电话") + private String zzlxdh; + /** + * 转诊结果 字典:1.到位 2.未到位 + */ + @ApiModelProperty(value = "转诊结果 字典:1.到位 2.未到位") + private String zzjg; + /** + * 家长签名(电子) + */ + @ApiModelProperty(value = "家长签名(电子)") + private String ejsqm; + /** + * 家长签名(手动) + */ + @ApiModelProperty(value = "家长签名(手动)") + private String sdejsqm; + + /** + * 备注 + */ + @ApiModelProperty(value = "备注") + private String remark; + +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordSmiVo.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordSmiVo.java new file mode 100644 index 0000000..98bdbaa --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/FollowupRecordSmiVo.java @@ -0,0 +1,274 @@ +package com.xinelu.familydoctor.applet.pojo.vo; + +import com.xinelu.familydoctor.applet.pojo.dto.SmiDrug; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.List; + +/** + * @author gaoyu + * @version v3.0.1.0 + * @description 重精随访详情 + * @date 2022-08-29 16:55 + */ +@Data +@ApiModel("重精随访详情") +public class FollowupRecordSmiVo { + + /** + * 重精随访业务主键 + */ + @ApiModelProperty("重精随访业务主键") + private String smiFollowupNo; + + /** + * 履约编号 + */ + @ApiModelProperty("履约编号") + private String performanceNo; + + /** + * 身份证号 + */ + @ApiModelProperty("身份证号") + private String identity; + + /** + * 随访日期 + */ + @ApiModelProperty("随访日期") + private String happentime; + + /** + * 录入医生 + */ + @ApiModelProperty("录入医生") + private String createuser; + + /** + * 机构编号 + */ + @ApiModelProperty("机构编号") + private String prgid; + + /** + * 创建时间 + */ + @ApiModelProperty("创建时间") + private String createtime; + + /** + * 危险性评估 + */ + @ApiModelProperty("危险性评估") + private String wxx; + + /** + * 既往症状 + */ + @ApiModelProperty("既往症状") + private String czzbx; + + /** + * 自知力 + */ + @ApiModelProperty("自知力") + private String cgrzl; + + /** + * 睡眠情况 + */ + @ApiModelProperty("睡眠情况") + private String ccjcd; + + /** + * 饮食情况 + */ + @ApiModelProperty("饮食情况") + private String ccxsj; + + /** + * 个人生活料理 + */ + @ApiModelProperty("个人生活料理") + private String cjyqk; + + /** + * 家务劳动 + */ + @ApiModelProperty("家务劳动") + private String cpjsr; + + /** + * 生产劳动及工作 + */ + @ApiModelProperty("生产劳动及工作") + private String cldnl; + + /** + * 学习能力 + */ + @ApiModelProperty("学习能力") + private String cldjn; + + /** + * 社会人际交往 + */ + @ApiModelProperty("社会人际交往") + private String cjbfl; + + /** + * 患者对家庭社会的影响 + */ + @ApiModelProperty("患者对家庭社会的影响") + private String csrly; + + /** + * 轻度滋事次数 + */ + @ApiModelProperty("轻度滋事次数") + private String cdjtshyx1; + + /** + * 肇事次数 + */ + @ApiModelProperty("肇事次数") + private String cdjtshyx2; + + /** + * 肇祸次数 + */ + @ApiModelProperty("肇祸次数") + private String cdjtshyx3; + + /** + * 自伤次数 + */ + @ApiModelProperty("自伤次数") + private String cdjtshyx4; + + /** + * 自杀未遂次数 + */ + @ApiModelProperty("自杀未遂次数") + private String cdjtshyx5; + + /** + * 其他危险行为 + */ + @ApiModelProperty("其他危险行为") + private String cdjtshyx6; + + /** + * 两次随访期间关锁情况 + */ + @ApiModelProperty("两次随访期间关锁情况") + private String gsqk; + + /** + * 住院情况 + */ + @ApiModelProperty("住院情况") + private String zyqk; + + /** + * 实验室检查 + */ + @ApiModelProperty("实验室检查") + private String jcyw; + + /** + * 实验室检查内容 + */ + @ApiModelProperty("实验室检查内容") + private String cnlly; + + /** + * 目前用药 + */ + private List drugDetail; + + /** + * 服药依从性 + */ + @ApiModelProperty("服药依从性") + private String cmx; + + /** + * 药物不良反应 + */ + @ApiModelProperty("药物不良反应") + private String cmxnj; + + /** + * 药物不良反应详情 + */ + @ApiModelProperty("药物不良反应详情") + private String cywblfy; + + /** + * 治疗效果 + */ + @ApiModelProperty("治疗效果") + private String clx; + + /** + * 康复措施 + */ + @ApiModelProperty("康复措施") + private String field1; + + /** + * 康复措施其他情况 + */ + @ApiModelProperty("康复措施其他情况") + private String ckfcsqt; + + /** + * 此次随访分类 + */ + @ApiModelProperty("此次随访分类") + private String clxnj; + + /** + * 是否需要转诊 + */ + @ApiModelProperty("是否需要转诊") + private String cqttsxxnj; + + /** + * 转诊原因 + */ + @ApiModelProperty("转诊原因") + private String czzyy; + + /** + * 调整用药 + */ + private List adjustDrugAdvice; + + /** + * 下次随访日期 + */ + @ApiModelProperty("下次随访日期") + private String cxcsfrq; + + /** + * 医生签名文字 + */ + @ApiModelProperty("医生签名文字") + private String csfys; + + @ApiModelProperty("医生签名文件编号") + private String ysqm; + + @ApiModelProperty("患者家属签名编号") + private String hzjsqm; + /** + * (手动)居民签名 + */ + @ApiModelProperty("(手动)居民签名") + private String csdjsqm; +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/MedicalDetailVo.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/MedicalDetailVo.java new file mode 100644 index 0000000..4d192a2 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/MedicalDetailVo.java @@ -0,0 +1,1102 @@ +package com.xinelu.familydoctor.applet.pojo.vo; + + +import com.xinelu.familydoctor.applet.pojo.dto.HospitalCourse; +import com.xinelu.familydoctor.applet.pojo.dto.MedicationSituation; +import com.xinelu.familydoctor.applet.pojo.dto.VaccinationHistory; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.List; + +/** + * @Author mengkuiliang + * @Description 体检详情对象 + * @Date 2023-09-28 028 9:15 + * @Param + * @return + **/ +@Data +@ApiModel("体检详情对象") +public class MedicalDetailVo { + /** + * 体检日期 + */ + @ApiModelProperty("体检日期") + private String happentime; + + /** + * 责任医生 + */ + @ApiModelProperty("责任医生") + private String field2; + + /** + * 症状 + */ + @ApiModelProperty("症状") + private String gzhzh; + + /** + * 症状其他 + */ + @ApiModelProperty("症状其他") + private String gzzqt; + + /** + * 体温 + */ + @ApiModelProperty("体温") + private String gtw; + + /** + * 脉率 + */ + @ApiModelProperty("脉率") + private String gmb; + + /** + * 呼吸频率 + */ + @ApiModelProperty("呼吸频率") + private String ghx; + + /** + * 左侧收缩压 + */ + @ApiModelProperty("左侧收缩压") + private String gxyzc1; + + /** + * 左侧舒张压 + */ + @ApiModelProperty("左侧舒张压") + private String gxyzc2; + + /** + * 右侧收缩压 + */ + @ApiModelProperty("右侧收缩压") + private String gxyyc1; + + /** + * 右侧舒张压 + */ + @ApiModelProperty("右侧舒张压") + private String gxyyc2; + + /** + * 左侧原因 + */ + @ApiModelProperty("左侧原因") + private String zcyy; + + /** + * 右侧原因 + */ + @ApiModelProperty("右侧原因") + private String ycyy; + + /** + * 身高 + */ + @ApiModelProperty("身高") + private String gsg; + + /** + * 体重 + */ + @ApiModelProperty("体重") + private String gtzh; + + /** + * 腰围 + */ + @ApiModelProperty("腰围") + private String gyw; + + /** + * 体重指数(BMI) + */ + @ApiModelProperty("体重指数(BMI)") + private String gtzhzh; + + /** + * 老年人健康状态自我评估 + */ + @ApiModelProperty("老年人健康状态自我评估") + private String lnrzkpg; + + /** + * 老年人生活自理能力自我评估 + */ + @ApiModelProperty("老年人生活自理能力自我评估") + private String lnrzlpg; + + /** + * 老年人认知能力 + */ + @ApiModelProperty("老年人认知能力") + private String glnrrz; + + /** + * 简易智力状态检查,总分 + */ + @ApiModelProperty("简易智力状态检查,总分") + private String glnrrzfen; + + /** + * 老年人情感状态 + */ + @ApiModelProperty("老年人情感状态") + private String glnrqg; + + /** + * 老年人抑郁评分检查,总分 + */ + @ApiModelProperty("老年人抑郁评分检查,总分") + private String glnrqgfen; + + /** + * 锻炼频率 + */ + @ApiModelProperty("锻炼频率") + private String gdlpl; + + /** + * 每次锻炼时间 + */ + @ApiModelProperty("每次锻炼时间") + private String gmcdlsj; + + /** + * 坚持锻炼时间 + */ + @ApiModelProperty("坚持锻炼时间") + private String gjcdlsj; + + /** + * 锻炼方式 + */ + @ApiModelProperty("锻炼方式") + private String gdlfs; + + /** + * 饮食习惯 + */ + @ApiModelProperty("饮食习惯") + private String gysxg; + + /** + * 吸烟状况 + */ + @ApiModelProperty("吸烟状况") + private String gxyzk; + + /** + * 日吸烟量 + */ + @ApiModelProperty("日吸烟量") + private String grxyl; + + /** + * 开始吸烟年龄 + */ + @ApiModelProperty("开始吸烟年龄") + private String gksxynl; + + /** + * 戒烟年龄 + */ + @ApiModelProperty("戒烟年龄") + private String gjynl; + + /** + * 饮酒频率 + */ + @ApiModelProperty("饮酒频率") + private String gyjpl; + + /** + * 日饮酒量 + */ + @ApiModelProperty("日饮酒量") + private String gryjl; + + /** + * 是否戒酒 + */ + @ApiModelProperty("是否戒酒") + private String gsfjj; + + /** + * 戒酒年龄 + */ + @ApiModelProperty("戒酒年龄") + private String gjjnl; + + /** + * 开始饮酒年龄 + */ + @ApiModelProperty("开始饮酒年龄") + private String gksyjnl; + + /** + * 近一年内是否曾醉酒 + */ + @ApiModelProperty("近一年内是否曾醉酒") + private String gynnsfyj; + + /** + * 饮酒种类 + */ + @ApiModelProperty("饮酒种类") + private String gyjzl; + + /** + * 其他饮酒种类 + */ + @ApiModelProperty("其他饮酒种类") + private String gyjzlqt; + + /** + * 职业病危害因素接触史 + */ + @ApiModelProperty("职业病危害因素接触史") + private String gywzybl; + + /** + * 工种和字段GYwzybl有关联 + */ + @ApiModelProperty("工种和字段GYwzybl有关联") + private String gjtzy; + + /** + * 从业时间和字段GYwzybl有关联 + */ + @ApiModelProperty("从业时间和字段GYwzybl有关联") + private String gcysj; + + /** + * 粉尘和字段GYwzybl有关联 + */ + @ApiModelProperty("粉尘和字段GYwzybl有关联") + private String fenchen; + + /** + * 职业病危害因素接触史-粉尘-防护措施 + */ + @ApiModelProperty("职业病危害因素接触史-粉尘-防护措施") + private String fchcs; + + /** + * 粉尘措施 + */ + @ApiModelProperty("粉尘措施") + private String fchy; + + /** + * 放射物质和字段GYwzybl有关联 + */ + @ApiModelProperty("放射物质和字段GYwzybl有关联") + private String gshexian; + + /** + * 职业病危害因素接触史-放射物质-防护措施 + */ + @ApiModelProperty("职业病危害因素接触史-放射物质-防护措施") + private String gsxfhcs; + + /** + * 放射物质措施和字段GSxfhcs有关系 + */ + @ApiModelProperty("放射物质措施和字段GSxfhcs有关系") + private String gsxfhcsqt; + + /** + * 物理因素和字段GYwzybl有关联 + */ + @ApiModelProperty("物理因素和字段GYwzybl有关联") + private String wuliyinsu; + + /** + * 职业病危害因素接触史-物理因素-防护措施 + */ + @ApiModelProperty("职业病危害因素接触史-物理因素-防护措施") + private String wlcs; + + /** + * 物理因素措施 + */ + @ApiModelProperty("物理因素措施") + private String wly; + + /** + * 化学物质和字段GYwzybl有关联 + */ + @ApiModelProperty("化学物质和字段GYwzybl有关联") + private String ghxp; + + /** + * 职业病危害因素接触史-化学物质-防护措施 + */ + @ApiModelProperty("职业病危害因素接触史-化学物质-防护措施") + private String ghxpfhcs; + + /** + * 化学物质措施和字段GHxpfhcs有关联 + */ + @ApiModelProperty("化学物质措施和字段GHxpfhcs有关联") + private String ghxpfhcsjt; + + /** + * 职业病危害因素接触史其他 + */ + @ApiModelProperty("职业病危害因素接触史其他") + private String blqita; + + /** + * 职业病危害因素接触史-其他-防护措施 + */ + @ApiModelProperty("职业病危害因素接触史-其他-防护措施") + private String blqtcs; + + /** + * 职业病危害因素接触史-其他措施 + */ + @ApiModelProperty("职业病危害因素接触史-其他措施") + private String qty; + + /** + * 口唇 + */ + @ApiModelProperty("口唇") + private String gkouchun; + + /** + * 口唇其他和字段GKouchun有关系 + */ + @ApiModelProperty("口唇其他和字段GKouchun有关系") + private String kchqt; + + /** + * 齿列 + */ + @ApiModelProperty("齿列") + private String gchilei; + + /** + * 齿列其他 + */ + @ApiModelProperty("齿列其他") + private String chlqt; + + /** + * 咽部 + */ + @ApiModelProperty("咽部") + private String gyanbu; + + /** + * 咽部其他 + */ + @ApiModelProperty("咽部其他") + private String ybqt; + + /** + * 左眼视力 + */ + @ApiModelProperty("左眼视力") + private String gzysl; + + /** + * 右眼视力 + */ + @ApiModelProperty("右眼视力") + private String gyysl; + + /** + * 左眼矫正视力 + */ + @ApiModelProperty("左眼矫正视力") + private String gzyjz; + + /** + * 右眼矫正视力 + */ + @ApiModelProperty("右眼矫正视力") + private String gyyjz; + + /** + * 听力 + */ + @ApiModelProperty("听力") + private String gtl; + + /** + * 运动功能 + */ + @ApiModelProperty("运动功能") + private String gydgn; + + /** + * 眼底 + */ + @ApiModelProperty("眼底") + private String gyand; + + /** + * 眼底异常和字段GYand有关系 + */ + @ApiModelProperty("眼底异常和字段GYand有关系") + private String gyandyi; + + /** + * 皮肤 + */ + @ApiModelProperty("皮肤") + private String gpfgm; + + /** + * 皮肤其他 + */ + @ApiModelProperty("皮肤其他") + private String gpfqt; + + /** + * 巩膜 + */ + @ApiModelProperty("巩膜") + private String ggongmo; + + /** + * 巩膜其他 + */ + @ApiModelProperty("巩膜其他") + private String ggmqt; + + /** + * 淋巴结 + */ + @ApiModelProperty("淋巴结") + private String glbj; + + /** + * 淋巴结其他 + */ + @ApiModelProperty("淋巴结其他") + private String glbjqt; + + /** + * 桶状胸 + */ + @ApiModelProperty("桶状胸") + private String gtzx; + + /** + * 呼吸音 + */ + @ApiModelProperty("呼吸音") + private String ghxy; + + /** + * 呼吸音异常 + */ + @ApiModelProperty("呼吸音异常") + private String ghxyyc; + + /** + * 罗音 + */ + @ApiModelProperty("罗音") + private String gly; + + /** + * 罗音其他 + */ + @ApiModelProperty("罗音其他") + private String glyyc; + + /** + * 心率 + */ + @ApiModelProperty("心率") + private String gxinlv; + + /** + * 心律 + */ + @ApiModelProperty("心律") + private String gxinlvci; + + /** + * 杂音 + */ + @ApiModelProperty("杂音") + private String gzayin; + + /** + * 有杂音和字段GZayin有关系 + */ + @ApiModelProperty("有杂音和字段GZayin有关系") + private String gzayinyo; + + /** + * 压痛 + */ + @ApiModelProperty("压痛") + private String gyato; + + /** + * 有压痛和字段GYato有关系 + */ + @ApiModelProperty("有压痛和字段GYato有关系") + private String gyatoyo; + + /** + * 包块 + */ + @ApiModelProperty("包块") + private String gbk; + + /** + * 有包块和字段GBk有关系 + */ + @ApiModelProperty("有包块和字段GBk有关系") + private String gbkyo; + + /** + * 肝大 + */ + @ApiModelProperty("肝大") + private String gganda; + + /** + * 有肝大 + */ + @ApiModelProperty("有肝大") + private String ggandayo; + + /** + * 脾大 + */ + @ApiModelProperty("脾大") + private String gpida; + + /** + * 有脾大 + */ + @ApiModelProperty("有脾大") + private String gpidayo; + + /** + * 移动性浊音 + */ + @ApiModelProperty("移动性浊音") + private String gzhuoyin; + + /** + * 有移动性浊音 + */ + @ApiModelProperty("有移动性浊音") + private String gzhuoyinyo; + + /** + * 下肢水肿 + */ + @ApiModelProperty("下肢水肿") + private String gxzsz; + + /** + * 足背动脉搏动 + */ + @ApiModelProperty("足背动脉搏动") + private String gzbdmmd; + + /** + * 肛门指诊 + */ + @ApiModelProperty("肛门指诊") + private String ggmzhzh; + + /** + * 其他肛门指诊和字段GGmzhzh有关系 + */ + @ApiModelProperty("其他肛门指诊和字段GGmzhzh有关系") + private String ggmzhzhyi; + + /** + * 乳腺 + */ + @ApiModelProperty("乳腺") + private String gruxian; + + /** + * 其他乳腺和字段GRuxian有关系 + */ + @ApiModelProperty("其他乳腺和字段GRuxian有关系") + private String gruxianqt; + + /** + * 外阴 + */ + @ApiModelProperty("外阴") + private String gwaiyin; + + /** + * 外阴异常和字段GWaiyin有关系 + */ + @ApiModelProperty("外阴异常和字段GWaiyin有关系") + private String gwaiyinyc; + + /** + * 阴道 + */ + @ApiModelProperty("阴道") + private String gyindao; + + /** + * 阴道异常和字段GYindao有关系 + */ + @ApiModelProperty("阴道异常和字段GYindao有关系") + private String gyindaoyc; + + /** + * 宫颈 + */ + @ApiModelProperty("宫颈") + private String ggongjing; + + /** + * 宫颈异常和字段GGongjing有关系 + */ + @ApiModelProperty("宫颈异常和字段GGongjing有关系") + private String ggongjingyc; + + /** + * 宫体 + */ + @ApiModelProperty("宫体") + private String ggongti; + + /** + * 宫体异常 + */ + @ApiModelProperty("宫体异常") + private String ggongtiyc; + + /** + * 附件 + */ + @ApiModelProperty("附件") + private String gfujian; + + /** + * 附件异常 + */ + @ApiModelProperty("附件异常") + private String gfujianyc; + + /** + * 其他查体 + */ + @ApiModelProperty("其他查体") + private String gctqt; + + /** + * 血型 TODO 未知 + */ + @ApiModelProperty("血型") + private String gxx; + + /** + * rh型 TODO 未知 + */ + @ApiModelProperty("rh型") + private String grhyx; + + /** + * 血常规-血红蛋白 + */ + @ApiModelProperty("血常规-血红蛋白") + private String hb; + + /** + * 血常规-白细胞 + */ + @ApiModelProperty("血常规-白细胞") + private String wbc; + + /** + * 血常规-血小板 + */ + @ApiModelProperty("血常规-血小板") + private String plt; + + /** + * 血常规-其他 + */ + @ApiModelProperty("血常规-其他") + private String gxcgqt; + + /** + * 尿常规-尿蛋白 + */ + @ApiModelProperty("尿常规-尿蛋白") + private String gndb; + + /** + * 尿常规-尿糖 + */ + @ApiModelProperty("尿常规-尿糖") + private String gnt; + + /** + * 尿常规-尿酮体 + */ + @ApiModelProperty("尿常规-尿酮体") + private String gntt; + + /** + * 尿常规-尿潜血 + */ + @ApiModelProperty("尿常规-尿潜血") + private String gnqx; + + /** + * 尿常规-其他 + */ + @ApiModelProperty("尿常规-其他") + private String gncgqt; + + /** + * 空腹血糖 + */ + @ApiModelProperty("空腹血糖") + private String gkfxt; + + /** + * 同型半胱氨酸 TODO 未知 + */ + @ApiModelProperty("同型半胱氨酸") + private String hcy; + + /** + * 尿微量白蛋白 + */ + @ApiModelProperty("尿微量白蛋白") + private String nwlbdb; + + /** + * 大便潜血 + */ + @ApiModelProperty("大便潜血") + private String gdbqx; + + /** + * 糖化血红蛋白 + */ + @ApiModelProperty("糖化血红蛋白") + private String gthxhdb; + + /** + * 乙型肝炎表面抗原 + */ + @ApiModelProperty("乙型肝炎表面抗原") + private String hbsag; + + /** + * 肝功能-血清谷丙转氨酶 + */ + @ApiModelProperty("肝功能-血清谷丙转氨酶") + private String alt; + + /** + * 肝功能-血清谷草转氨酶 + */ + @ApiModelProperty("肝功能-血清谷草转氨酶") + private String ast; + + /** + * 肝功能-白蛋白 + */ + @ApiModelProperty("肝功能-白蛋白") + private String alb; + + /** + * 肝功能-总胆红素 + */ + @ApiModelProperty("肝功能-总胆红素") + private String tbil; + + /** + * 肝功能-结合胆红素 + */ + @ApiModelProperty("肝功能-结合胆红素") + private String dbil; + + /** + * 肾功能-血清肌酐 + */ + @ApiModelProperty("肾功能-血清肌酐") + private String scr; + + /** + * 肾功能-血尿素氮 + */ + @ApiModelProperty("肾功能-血尿素氮") + private String bun; + + /** + * 肾功能-血钾浓度 + */ + @ApiModelProperty("肾功能-血钾浓度") + private String gsgnxjnd; + + /** + * 肾功能-血钠浓度 + */ + @ApiModelProperty("肾功能-血钠浓度") + private String gsgnxnnd; + + /** + * 血脂-总胆固醇 + */ + @ApiModelProperty("血脂-总胆固醇") + private String cho; + + /** + * 血脂-甘油三酯 + */ + @ApiModelProperty("血脂-甘油三酯") + private String tg; + + /** + * 血脂-低密度脂蛋白 + */ + @ApiModelProperty("血脂-低密度脂蛋白") + private String ldlc; + + /** + * 血脂-高密度脂蛋白 + */ + @ApiModelProperty("血脂-高密度脂蛋白") + private String hdlc; + + /** + * 心电图 + */ + @ApiModelProperty("心电图") + private String gxindt; + + /** + * 心电图异常 + */ + @ApiModelProperty("心电图异常") + private String gxindtyi; + + /** + * 胸部X线片 + */ + @ApiModelProperty("胸部X线片") + private String gxiongp; + + /** + * 胸部X线片异常和字段GXiongp有关系 + */ + @ApiModelProperty("胸部X线片异常和字段GXiongp有关系") + private String gxiongpyc; + + /** + * B超 + */ + @ApiModelProperty("B超") + private String gfbbc; + + /** + * B超异常 + */ + @ApiModelProperty("B超异常") + private String gfbbcyc; + + /** + * B超其他 + */ + @ApiModelProperty("B超其他") + private String gqt; + + /** + * B超其他异常 + */ + @ApiModelProperty("B超其他异常") + private String gqtyc; + + /** + * 宫颈涂片 + */ + @ApiModelProperty("宫颈涂片") + private String ggjtp; + + /** + * 宫颈涂片异常和字段GGjtp有关系 + */ + @ApiModelProperty("宫颈涂片异常和字段GGjtp有关系") + private String ggjtpyc; + + /** + * 辅助检查其他 + */ + @ApiModelProperty("辅助检查其他") + private String gfuzhuqt; + + /** + * 脑血管疾病 + */ + @ApiModelProperty("脑血管疾病") + private String gnxgjb; + + /** + * 脑血管疾病其他 + */ + @ApiModelProperty("脑血管疾病其他") + private String gnxgjbqt; + + /** + * 肾脏疾病 + */ + @ApiModelProperty("肾脏疾病") + private String gszjb; + + /** + * 肾脏疾病其他 + */ + @ApiModelProperty("肾脏疾病其他") + private String gszjbqt; + + /** + * 心脏疾病 + */ + @ApiModelProperty("心脏疾病") + private String gxzjb; + + /** + * 心脏疾病其他 + */ + @ApiModelProperty("心脏疾病其他") + private String gxzjbqt; + + /** + * 眼部疾病 + */ + @ApiModelProperty("眼部疾病") + private String gybjb; + + /** + * 眼部疾病其他 + */ + @ApiModelProperty("眼部疾病其他") + private String gybjbqt; + + /** + * 神经系统疾病 + */ + @ApiModelProperty("神经系统疾病") + private String gsjxtjb; + + /** + * 神经系统疾病其他 + */ + @ApiModelProperty("神经系统疾病其他") + private String gsjxtjbqt; + + /** + * 其他系统疾病 + */ + @ApiModelProperty("其他系统疾病") + private String gqtxtjb; + + /** + * 其他系统疾病其他 + */ + @ApiModelProperty("其他系统疾病其他") + private String gqtxtjbqt; + + /** + * 住院治疗情况记录 + */ + @ApiModelProperty("住院治疗情况记录") + private List hospitalCourseList; + + /** + * 主要用药情况 + */ + @ApiModelProperty("主要用药情况") + private List medicationList; + + /** + * 非免疫规划预防接种史 + */ + @ApiModelProperty("非免疫规划预防接种史") + private List vaccinationHistoryList; + + /** + * 健康评价 + */ + @ApiModelProperty("健康评价") + private String gjkpj; + + /** + * 健康评价异常1和字段GJkpj有关系 + */ + @ApiModelProperty("健康评价异常1和字段GJkpj有关系") + private String gjkpjyc1; + + /** + * 健康评价异常2和字段GJkpj有关系 + */ + @ApiModelProperty("健康评价异常2和字段GJkpj有关系") + private String gjkpjyc2; + + /** + * 健康评价异常3和字段GJkpj有关系 + */ + @ApiModelProperty("健康评价异常3和字段GJkpj有关系") + private String gjkpjyc3; + + /** + * 健康评价异常4和字段GJkpj有关系 + */ + @ApiModelProperty("健康评价异常4和字段GJkpj有关系") + private String gjkpjyc4; + + /** + * 健康指导 + */ + @ApiModelProperty("健康指导") + private String gjkzd; + + /** + * 危险因素控制 + */ + @ApiModelProperty("危险因素控制") + private String gwxyskz; + + /** + * 危险因素控制-体重目标 + */ + @ApiModelProperty("危险因素控制-体重目标") + private String gwxystz; + + /** + * 危险因素控制-建议疫苗接种 + */ + @ApiModelProperty("危险因素控制-建议疫苗接种") + private String gwsysym; + + /** + * 危险因素控制-其他 + */ + @ApiModelProperty("危险因素控制-其他") + private String gwxysqt; +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/ResidentRescindApplyVo.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/ResidentRescindApplyVo.java new file mode 100644 index 0000000..5cf0637 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/pojo/vo/ResidentRescindApplyVo.java @@ -0,0 +1,155 @@ +package com.xinelu.familydoctor.applet.pojo.vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; + +/** + * @Author mengkuiliang + * @Description 解约申请展示类 + * @Date 2023-09-27 027 16:58 + * @Param + * @return + **/ +@Data +@ApiModel("解约申请展示类") +public class ResidentRescindApplyVo { + + /** + * 申请编号 + */ + @ApiModelProperty("申请编号") + private String rescindCode; + + /** + * 居民编号 + */ + @ApiModelProperty(value = "居民业务主键", required = true) + private String patientId; + + /** + * 居民姓名 + */ + @ApiModelProperty("居民姓名") + private String residentName; + + /** + * 居民身份证号 + */ + @ApiModelProperty(value = "居民身份证号") + private String identity; + + /** + * 详细地址 + */ + @ApiModelProperty("详细地址") + private String address; + + /** + * 手机号码 + */ + @ApiModelProperty(value = "手机号码") + private String phone; + + /** + * 机构编号 + */ + @ApiModelProperty("机构编号") + private String orgNo; + + /** + * 机构名称 + */ + @ApiModelProperty("机构名称") + private String orgName; + + /** + * 团队编号 + */ + @ApiModelProperty("团队编号") + private String teamNo; + + /** + * 团队名称 + */ + @ApiModelProperty("团队名称") + private String teamName; + + /** + * 医生编号 + */ + @ApiModelProperty("医生编号") + private String userNo; + + /** + * 医生姓名 + */ + @ApiModelProperty("医生姓名") + private String userName; + + /** + * 申请时间 + */ + @ApiModelProperty("申请时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date applyTime; + + /** + * 申请状态0:已申请1:已取消 + */ + @ApiModelProperty("申请状态0:已申请1:已取消") + private String bookingStatus; + + /** + * 取消时间 + */ + @ApiModelProperty("取消时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date cancelTime; + + /** + * 解约类型(1:主动解约 2:迁出 3:死亡 4:到期 5:其他) + */ + @ApiModelProperty("解约类型(1:主动解约 2:迁出 3:死亡 4:到期 5:其他)") + private String rescindType; + + /** + * 解约原因 + */ + @ApiModelProperty("解约原因") + private String rescindReason; + + /** + * 审批状态0:待批准1:已同意2:已拒绝 + */ + @ApiModelProperty("审批状态0:待批准1:已同意2:已拒绝") + private String approvalStatus; + + /** + * 拒绝理由 + */ + @ApiModelProperty("拒绝理由") + private String refuseReason; + + /** + * 审批时间 + */ + @ApiModelProperty("审批时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date approvalTime; + + /** + * 签约编号 + */ + @ApiModelProperty("签约编号") + private String signNo; + + /** + * 备注 + */ + @ApiModelProperty(value = "备注") + private String remark; +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/service/ResidentRescindApplyService.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/service/ResidentRescindApplyService.java new file mode 100644 index 0000000..430be8c --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/service/ResidentRescindApplyService.java @@ -0,0 +1,50 @@ +package com.xinelu.familydoctor.applet.service; + +import com.xinelu.familydoctor.applet.pojo.body.ApprovalBody; +import com.xinelu.familydoctor.applet.pojo.body.ResidentRescindApplyBody; +import com.xinelu.familydoctor.applet.pojo.query.ApplyQuery; +import com.xinelu.familydoctor.applet.pojo.vo.ResidentRescindApplyVo; + +import java.util.List; + +/** + * @Author mengkuiliang + * @Description 解约申请Service + * @Date 2023-09-27 027 17:04 + * @Param + * @return + **/ +public interface ResidentRescindApplyService { + + List findList(ApplyQuery query); + + void insert(ResidentRescindApplyBody body); + + /** + * 修改审批 + * + * @param body: + * @return Integer + * @author lixinying + * @date 2022/11/21 17:07 + */ + void updateFd(ApprovalBody body); + + /** + * @return java.lang.Object + * @Author mengkuiliang + * @Description 解约申请详情 + * @Date 2022-11-23 10:03 + * @Param [applyNo] + **/ + ResidentRescindApplyVo detail(String rescindCode); + + /** + * @return void + * @Author mengkuiliang + * @Description 取消解约申请 + * @Date 2022-11-23 14:41 + * @Param [rescindCode] + **/ + void cancel(String rescindCode); +} diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/service/impl/ResidentRescindApplyServiceImpl.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/service/impl/ResidentRescindApplyServiceImpl.java new file mode 100644 index 0000000..bbbcf57 --- /dev/null +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/service/impl/ResidentRescindApplyServiceImpl.java @@ -0,0 +1,136 @@ +package com.xinelu.familydoctor.applet.service.impl; + +import com.xinelu.common.exception.ServiceException; +import com.xinelu.common.utils.DateUtils; +import com.xinelu.common.utils.StringUtils; +import com.xinelu.common.utils.uuid.IdUtils; +import com.xinelu.familydoctor.applet.mapper.ResidentRescindApplyMapper; +import com.xinelu.familydoctor.applet.pojo.body.ApprovalBody; +import com.xinelu.familydoctor.applet.pojo.body.ResidentRescindApplyBody; +import com.xinelu.familydoctor.applet.pojo.entity.PatientInfo; +import com.xinelu.familydoctor.applet.pojo.entity.ResidentRescindApplyEntity; +import com.xinelu.familydoctor.applet.pojo.query.ApplyQuery; +import com.xinelu.familydoctor.applet.pojo.vo.ResidentRescindApplyVo; +import com.xinelu.familydoctor.applet.service.IPatientInfoService; +import com.xinelu.familydoctor.applet.service.ResidentRescindApplyService; +import org.springframework.beans.BeanUtils; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import java.util.Date; +import java.util.List; + +/** + * @Author mengkuiliang + * @Description 解约申请Impl + * @Date 2023-09-27 027 17:06 + * @Param + * @return + **/ +@Service +public class ResidentRescindApplyServiceImpl implements ResidentRescindApplyService { + + @Resource + private ResidentRescindApplyMapper residentRescindApplyMapper; + @Resource + private IPatientInfoService patientInfoService; + + @Override + public List findList(ApplyQuery query) { + if (query.getStartDate() != null) { + query.setStartDate(DateUtils.parseDate(DateUtils.parseDateToStr("yyyy-MM-dd 00:00:00", query.getStartDate()))); + } + if (query.getEndDate() != null) { + query.setEndDate(DateUtils.parseDate(DateUtils.parseDateToStr("yyyy-MM-dd 23:59:59", query.getEndDate()))); + } + return residentRescindApplyMapper.findByBody(query); + } + + @Override + public void insert(ResidentRescindApplyBody body) { + + // 查询解约申请记录 + ApplyQuery applyQuery = new ApplyQuery(); + applyQuery.setIdentity(body.getIdentity()); + applyQuery.setBookingStatus("0"); + applyQuery.setApprovalStatus("0"); + List applyVoList = residentRescindApplyMapper.findByBody(applyQuery); + if (applyVoList != null && applyVoList.size() > 0) { + throw new ServiceException("已经提交解约申请,不能重复提交"); + } + ResidentRescindApplyEntity entity = new ResidentRescindApplyEntity(); + BeanUtils.copyProperties(body, entity); + + if(StringUtils.isBlank(body.getPatientId())) { + PatientInfo patientInfo = patientInfoService.getByCardNo(body.getIdentity()); + if (patientInfo == null) { + throw new ServiceException("未查询到注册信息"); + } + entity.setPatientId(patientInfo.getPatientCode()); + } + + entity.setRescindCode(IdUtils.simpleUUID()); + entity.setApplyTime(new Date()); + entity.setBookingStatus("0"); + entity.setApprovalStatus("0"); + residentRescindApplyMapper.insert(entity); + } + + /** + * 修改审批 + * + * @param body : + * @return Integer + * @author lixinying + * @date 2022/11/21 17:07 + */ + @Override + public void updateFd(ApprovalBody body) { + ResidentRescindApplyVo vo = residentRescindApplyMapper.detail(body.getApplyNo()); + if (vo != null) { + residentRescindApplyMapper.updateEx(body); + } + } + + /** + * @return com.xinelu.mp.sign.pojo.vo.FdResidentRescindApplyVo + * @Author mengkuiliang + * @Description 解约申请详情 + * @Date 2022-11-23 10:03 + * @Param [rescindCode] + **/ + @Override + public ResidentRescindApplyVo detail(String rescindCode) { + return residentRescindApplyMapper.detail(rescindCode); + } + + /** + * @return void + * @Author mengkuiliang + * @Description 取消解约申请 + * @Date 2022-11-23 14:41 + * @Param [rescindCode] + **/ + @Override + public void cancel(String rescindCode) { + ResidentRescindApplyVo residentRescindApplyVo = residentRescindApplyMapper.detail(rescindCode); + if(residentRescindApplyVo == null) { + throw new ServiceException("未查询到解约申请记录"); + } + if(!StringUtils.isBlank(residentRescindApplyVo.getBookingStatus()) && residentRescindApplyVo.getBookingStatus().equals("1")) { + throw new ServiceException("已取消,不能再次取消"); + } + if(!StringUtils.isBlank(residentRescindApplyVo.getApprovalStatus())) { + if(residentRescindApplyVo.getApprovalStatus().equals("1")) { + throw new ServiceException("已同意,不能取消"); + } else if(residentRescindApplyVo.getApprovalStatus().equals("2")) { + throw new ServiceException("已拒绝,不能取消"); + } + } + residentRescindApplyMapper.cancel(rescindCode); + } +} + + + + diff --git a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/service/impl/ResidentSignApplyServiceImpl.java b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/service/impl/ResidentSignApplyServiceImpl.java index 547cc9b..5c27a51 100644 --- a/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/service/impl/ResidentSignApplyServiceImpl.java +++ b/xinelu-familydoctor/src/main/java/com/xinelu/familydoctor/applet/service/impl/ResidentSignApplyServiceImpl.java @@ -63,15 +63,17 @@ public class ResidentSignApplyServiceImpl implements IResidentSignAppletService if (signBookingInfoVoList != null && signBookingInfoVoList.size() > 0) { throw new ServiceException("已经提交签约申请,不能重复提交"); } - - PatientInfo patientInfo = patientInfoService.getByCardNo(body.getIdentity()); - if (patientInfo == null) { - throw new ServiceException("未查询到注册信息"); - } - ResidentSignApplyEntity entity = new ResidentSignApplyEntity(); BeanUtils.copyProperties(body, entity); - entity.setPatientId(patientInfo.getPatientCode()); + + if(StringUtils.isBlank(body.getPatientId())) { + PatientInfo patientInfo = patientInfoService.getByCardNo(body.getIdentity()); + if (patientInfo == null) { + throw new ServiceException("未查询到注册信息"); + } + entity.setPatientId(patientInfo.getPatientCode()); + } + entity.setApplyTime(new Date()); // 预约状态0:已申请 1:已取消 entity.setBookingStatus("0"); diff --git a/xinelu-familydoctor/src/main/resources/mapper/sign/ResidentRescindApplyMapper.xml b/xinelu-familydoctor/src/main/resources/mapper/sign/ResidentRescindApplyMapper.xml new file mode 100644 index 0000000..dc30d86 --- /dev/null +++ b/xinelu-familydoctor/src/main/resources/mapper/sign/ResidentRescindApplyMapper.xml @@ -0,0 +1,238 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + id,rescind_code,patient_id,identity, + org_no,org_name,team_no, + team_name,user_no,user_name, + apply_time,booking_status,cancel_time,rescind_type,rescind_reason, + approval_status,refuse_reason,approval_time + + + p.id,p.rescind_code,p.patient_id,p.identity, + p.org_no,p.org_name,p.team_no, + p.team_name,p.user_no,p.user_name, + p.apply_time,booking_status,cancel_time,p.rescind_type,p.rescind_reason, + p.approval_status,p.refuse_reason,p.approval_time + + + + + update resident_rescind_apply set booking_status = '1', cancel_time = now() where rescind_code = #{rescindCode} + + + + + + + + + insert into resident_rescind_apply + + rescind_code, + + patient_id, + + identity, + + org_no, + + org_name, + + team_no, + + team_name, + + user_no, + + user_name, + + apply_time, + + booking_status, + + cancel_time, + + rescind_type, + + rescind_reason, + + approval_status, + + refuse_reason, + + approval_time, + + + + #{rescindCode}, + + #{patientId}, + + #{identity}, + + #{orgNo}, + + #{orgName}, + + #{teamNo}, + + #{teamName}, + + #{userNo}, + + #{userName}, + + #{applyTime}, + + #{bookingStatus}, + + #{cancelTime}, + + #{rescindType}, + + #{rescindReason}, + + #{approvalStatus}, + + #{refuseReason}, + + #{approvalTime}, + + + + + + update resident_rescind_apply + + patient_id = + #{patientId}, + + identity = + #{identity}, + + org_no = + #{orgNo}, + + org_name = + #{orgName}, + + team_no = + #{teamNo}, + + team_name = + #{teamName}, + + user_no = + #{userNo}, + + user_name = + #{userName}, + + apply_time = + #{applyTime}, + + booking_status = + #{bookingStatus}, + + cancel_time = + #{cancelTime}, + + rescind_type = + #{rescindType}, + + rescind_reason = + #{rescindReason}, + + approval_status = + #{approvalStatus}, + + refuse_reason = + #{refuseReason}, + + approval_time = + #{approvalTime}, + + + where rescind_code = #{rescindCode} + + + + update resident_rescind_apply + + + approval_status = #{approvalStatus}, + + + refuse_reason = #{refuseReason}, + + approval_time = now() + + where rescind_code = #{rescindCode}; + + diff --git a/xinelu-familydoctor/src/main/resources/mapper/sign/ResidentSignApplyMapper.xml b/xinelu-familydoctor/src/main/resources/mapper/sign/ResidentSignApplyMapper.xml index 40b13a7..aed7905 100644 --- a/xinelu-familydoctor/src/main/resources/mapper/sign/ResidentSignApplyMapper.xml +++ b/xinelu-familydoctor/src/main/resources/mapper/sign/ResidentSignApplyMapper.xml @@ -272,7 +272,7 @@