1、添加随访记录接口;

2、添加解约申请相关接口;
This commit is contained in:
mengkuiliang 2023-09-28 10:50:55 +08:00
parent 618d08665a
commit 09430318bd
37 changed files with 5917 additions and 124 deletions

View File

@ -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<List<FollowUpRecordDetailVo>> 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<FollowUpRecordDetailVo> 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<List<MedicalRecord>> 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<MedicalRecord> 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<MedicalDetailVo> 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);
}
}

View File

@ -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<String> 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<JSONObject> 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<String> 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<String> 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<String> 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<List<PatientInfo>> 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<PatientInfo> 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<PatientInfo> 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<PatientInfo> 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));
}
}

View File

@ -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<String> 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<PointHealthAct> 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();
}
}

View File

@ -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<PrizeVo> 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<String> 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();
}
}

View File

@ -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<String> 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<PrizeExchangeVo> 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();
}
}

View File

@ -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<String> save(@Validated @RequestBody ResidentRescindApplyBody body) {
rescindApplyService.insert(body);
return R.ok();
}
@ApiOperation("取消解约申请")
@GetMapping("cancel/{rescindCode}")
public R<String> cancel(@PathVariable String rescindCode) {
rescindApplyService.cancel(rescindCode);
return R.ok();
}
@ApiOperation(value = "获取解约请列表")
@GetMapping("/getList")
public TableDataInfo getList(ApplyQuery query) {
try {
startPage();
List<ResidentRescindApplyVo> list = rescindApplyService.findList(query);
return getDataTable(list);
} catch (Exception e) {
throw new ServiceException(e.getMessage());
}
}
@ApiOperation(value = "获取解约申请详情")
@GetMapping("/detail/{rescindCode}")
public R<ResidentRescindApplyVo> getRescindApply(@PathVariable String rescindCode) {
try {
return R.ok(rescindApplyService.detail(rescindCode));
} catch (Exception e) {
return R.fail(e.getMessage());
}
}
}

View File

@ -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<String> 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<String> 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<ResidentSignApplyVo> 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());
}
}

View File

@ -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<SignInfoDetailVo> 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<ArchiveReviewVo> 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<List<SignedPackageVo>> 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<SignedPackageVo> 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<List<PackageDetailVo>> 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<List<NearOrgVo>> 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<List<AreaListVo>> 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<AreaListVo> 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<List<TeamDetailVo>> 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<ProtocolContentVo> 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));
}
}

View File

@ -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;
}
}

View File

@ -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<FdResidentRescindApplyVo>
* @date 2022/11/21 15:48
*/
List<ResidentRescindApplyVo> 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);
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;

View File

@ -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<Record> list;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;

View File

@ -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;
/**
* 特殊人群类型 160岁老年人 265岁老年人 360-64岁老年人 4老年人 5儿童 6孕产妇 7严重精神障碍 8特扶家庭 9残疾人 10贫困人口 11结核病 12恶性肿瘤病)
*/
*/@ApiModelProperty("特殊人群类型( 160岁老年人 265岁老年人 360-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;

View File

@ -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<Record> list;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
/**
* 低血糖反应(12偶尔3频繁)
*/
@ApiModelProperty(value = "低血糖反应(12偶尔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;
/**
* 是否有转诊记录12
*/
@ApiModelProperty(value = "是否有转诊记录12")
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;
}

View File

@ -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;
/**
* 摄盐情况咸淡123
*/
@ApiModelProperty(value = "摄盐情况咸淡123")
private String saltSituation;
/**
* 指导摄盐情况咸淡123
*/
@ApiModelProperty(value = "指导摄盐情况咸淡123")
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;
/**
* 低血糖反应(12偶尔3频繁)
*/
@ApiModelProperty(value = "低血糖反应(12偶尔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;
/**
* 是否有转诊记录12
*/
@ApiModelProperty(value = "是否有转诊记录12")
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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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<SmiDrug> 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<SmiDrug> adjustDrugAdvice;
/**
* 下次随访日期
*/
@ApiModelProperty("下次随访日期")
private String cxcsfrq;
/**
* 医生签名文字
*/
@ApiModelProperty("医生签名文字")
private String csfys;
@ApiModelProperty("医生签名文件编号")
private String ysqm;
@ApiModelProperty("患者家属签名编号")
private String hzjsqm;
/**
* 手动居民签名
*/
@ApiModelProperty("(手动)居民签名")
private String csdjsqm;
}

View File

@ -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;
}

View File

@ -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<ResidentRescindApplyVo> 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);
}

View File

@ -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<ResidentRescindApplyVo> 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<ResidentRescindApplyVo> 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);
}
}

View File

@ -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");

View File

@ -0,0 +1,238 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.xinelu.familydoctor.applet.mapper.ResidentRescindApplyMapper">
<resultMap id="BaseResultMap" type="com.xinelu.familydoctor.applet.pojo.entity.ResidentRescindApplyEntity">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="rescindCode" column="rescind_code" jdbcType="VARCHAR"/>
<result property="patientId" column="patient_id" jdbcType="VARCHAR"/>
<result property="identity" column="identity" jdbcType="VARCHAR"/>
<result property="orgNo" column="org_no" jdbcType="VARCHAR"/>
<result property="orgName" column="org_name" jdbcType="VARCHAR"/>
<result property="teamNo" column="team_no" jdbcType="VARCHAR"/>
<result property="teamName" column="team_name" jdbcType="VARCHAR"/>
<result property="userNo" column="user_no" jdbcType="VARCHAR"/>
<result property="userName" column="user_name" jdbcType="VARCHAR"/>
<result property="applyTime" column="apply_time" jdbcType="TIMESTAMP"/>
<result property="bookingStatus" column="booking_status" jdbcType="VARCHAR"/>
<result property="cancelTime" column="cancel_time" jdbcType="TIMESTAMP"/>
<result property="rescindType" column="rescind_type" jdbcType="VARCHAR"/>
<result property="rescindReason" column="rescind_reason" jdbcType="VARCHAR"/>
<result property="approvalStatus" column="approval_status" jdbcType="VARCHAR"/>
<result property="refuseReason" column="refuse_reason" jdbcType="VARCHAR"/>
<result property="approvalTime" column="approval_time" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
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
</sql>
<sql id="Base_Column_List_fd">
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
</sql>
<!-- 取消解约申请 -->
<update id="cancel">
update resident_rescind_apply set booking_status = '1', cancel_time = now() where rescind_code = #{rescindCode}
</update>
<select id="findByBody" resultType="com.xinelu.familydoctor.applet.pojo.vo.ResidentRescindApplyVo">
select <include refid="Base_Column_List_fd"></include>,b.patient_name,b.address,b.phone
from resident_rescind_apply p
left join patient_info b on p.identity = b.card_no
where 1=1
<if test="identity != null and identity != ''">
and p.identity = #{identity}
</if>
<if test="residentName != null and residentName != ''">
and b.resident_name like concat(#{residentName},'%')
</if>
<if test="orgNo != null and orgNo != ''">
and p.org_no = #{orgNo}
</if>
<if test="teamNo != null and teamNo != ''">
and p.team_no = #{teamNo}
</if>
<if test="userNo != null and userNo != ''">
and p.user_no = #{userNo}
</if>
<if test="startDate != null">
and p.apply_time >= #{startDate}
</if>
<if test="endDate != null">
and p.apply_time &lt;= #{endDate}
</if>
<if test="patientId != null and patientId != ''">
and p.patient_id = #{patientId}
</if>
<if test="bookingStatus != null and bookingStatus != ''">
and p.booking_status = #{bookingStatus}
</if>
<if test="approvalStatus != null and approvalStatus != ''">
and p.approval_status = #{approvalStatus}
</if>
<if test="address != null and address != ''">
and b.address like concat('%', #{address},'%')
</if>
order by p.apply_time desc
</select>
<!-- 解约申请详情 -->
<select id="detail" resultType="com.xinelu.familydoctor.applet.pojo.vo.ResidentRescindApplyVo">
select <include refid="Base_Column_List"></include> from resident_rescind_apply where rescind_code = #{rescindCode} limit 1
</select>
<insert id="insert">
insert into resident_rescind_apply
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="rescindCode != null">rescind_code,
</if>
<if test="patientId != null and patientId != ''">patient_id,
</if>
<if test="identity != null and identity != ''">identity,
</if>
<if test="orgNo != null and orgNo != ''">org_no,
</if>
<if test="orgName != null and orgName != ''">org_name,
</if>
<if test="teamNo != null and teamNo != ''">team_no,
</if>
<if test="teamName != null and teamName != ''">team_name,
</if>
<if test="userNo != null and userNo != ''">user_no,
</if>
<if test="userName != null and userName != ''">user_name,
</if>
<if test="applyTime != null">apply_time,
</if>
<if test="bookingStatus != null and bookingStatus != ''">booking_status,
</if>
<if test="cancelTime != null">cancel_time,
</if>
<if test="rescindType != null and rescindType != ''">rescind_type,
</if>
<if test="rescindReason != null and rescindReason != ''">rescind_reason,
</if>
<if test="approvalStatus != null and approvalStatus != ''">approval_status,
</if>
<if test="refuseReason != null">refuse_reason,
</if>
<if test="approvalTime != null">approval_time,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="rescindCode != null">#{rescindCode},
</if>
<if test="patientId != null and patientId != ''">#{patientId},
</if>
<if test="identity != null and identity != ''">#{identity},
</if>
<if test="orgNo != null and orgNo != ''">#{orgNo},
</if>
<if test="orgName != null and orgName != ''">#{orgName},
</if>
<if test="teamNo != null and teamNo != ''">#{teamNo},
</if>
<if test="teamName != null and teamName != ''">#{teamName},
</if>
<if test="userNo != null and userNo != ''">#{userNo},
</if>
<if test="userName != null and userName != ''">#{userName},
</if>
<if test="applyTime != null">#{applyTime},
</if>
<if test="bookingStatus != null and bookingStatus != ''">#{bookingStatus},
</if>
<if test="cancelTime != null">#{cancelTime},
</if>
<if test="rescindType != null and rescindType != ''">#{rescindType},
</if>
<if test="rescindReason != null and rescindReason != ''">#{rescindReason},
</if>
<if test="approvalStatus != null and approvalStatus != ''">#{approvalStatus},
</if>
<if test="refuseReason != null">#{refuseReason},
</if>
<if test="approvalTime != null">#{approvalTime},
</if>
</trim>
</insert>
<update id="update">
update resident_rescind_apply
<trim prefix="SET" suffixOverrides=",">
<if test="patientId != null and patientId != ''">patient_id =
#{patientId},
</if>
<if test="identity != null and identity != ''">identity =
#{identity},
</if>
<if test="orgNo != null and orgNo != ''">org_no =
#{orgNo},
</if>
<if test="orgName != null and orgName != ''">org_name =
#{orgName},
</if>
<if test="teamNo != null and teamNo != ''">team_no =
#{teamNo},
</if>
<if test="teamName != null and teamName != ''">team_name =
#{teamName},
</if>
<if test="userNo != null and userNo != ''">user_no =
#{userNo},
</if>
<if test="userName != null and userName != ''">user_name =
#{userName},
</if>
<if test="applyTime != null">apply_time =
#{applyTime},
</if>
<if test="bookingStatus != null and bookingStatus != ''">booking_status =
#{bookingStatus},
</if>
<if test="cancelTime != null">cancel_time =
#{cancelTime},
</if>
<if test="rescindType != null and rescindType != ''">rescind_type =
#{rescindType},
</if>
<if test="rescindReason != null and rescindReason != ''">rescind_reason =
#{rescindReason},
</if>
<if test="approvalStatus != null and approvalStatus != ''">approval_status =
#{approvalStatus},
</if>
<if test="refuseReason != null">refuse_reason =
#{refuseReason},
</if>
<if test="approvalTime != null">approval_time =
#{approvalTime},
</if>
</trim>
where rescind_code = #{rescindCode}
</update>
<update id="updateEx">
update resident_rescind_apply
<set>
<if test="approvalStatus != null and approvalStatus != ''">
approval_status = #{approvalStatus},
</if>
<if test="refuseReason != null and refuseReason != ''">
refuse_reason = #{refuseReason},
</if>
approval_time = now()
</set>
where rescind_code = #{rescindCode};
</update>
</mapper>

View File

@ -272,7 +272,7 @@
</update>
<select id="findByBody" resultType="com.xinelu.familydoctor.applet.pojo.vo.ResidentSignApplyVo">
select <include refid="Base_Column_List_fd"></include>,b.patient_code as patient_id
select <include refid="Base_Column_List_fd"></include>,b.patient_name,b.address,b.phone
from resident_sign_apply p
left join patient_info b on p.identity = b.card_no
where 1=1