123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- package thyyxxk.webserver.controller.zhuyuanyizheng;
- import com.baomidou.mybatisplus.core.metadata.IPage;
- import org.springframework.validation.annotation.Validated;
- import org.springframework.web.bind.annotation.*;
- import thyyxxk.webserver.entity.ResultVo;
- import thyyxxk.webserver.entity.datamodify.GetDropdownBox;
- import thyyxxk.webserver.entity.datamodify.YzActOrder;
- import thyyxxk.webserver.entity.yibao.ZyActpatient;
- import thyyxxk.webserver.entity.zhuyuanyisheng.PatientTemp;
- import thyyxxk.webserver.entity.zhuyuanyisheng.YiZhuFeiYongChaXunTiaoJian;
- import thyyxxk.webserver.entity.zhuyuanyisheng.YiZhuMingChen;
- import thyyxxk.webserver.service.zhuyuanyisheng.YiZhuLuRuServer;
- import java.util.List;
- import java.util.Map;
- /**
- * <p>
- * 描述: 医嘱录入
- * </p>
- *
- * @author xc
- * @date 2022-01-04 17:02
- */
- @RestController
- @RequestMapping("/yiZhuLuRu")
- public class YizhuLuRuController {
- private final YiZhuLuRuServer server;
- public YizhuLuRuController(YiZhuLuRuServer server) {
- this.server = server;
- }
- @GetMapping("/huoQuHuanZheLieBiao")
- public ResultVo<List<ZyActpatient>> huoQuHuanZheLieBiao(@RequestParam("wardCode") String wardCode) {
- return server.huoQuHuanZheLieBiao(wardCode);
- }
- @GetMapping("/huoQuHuanZheXinXi")
- public ResultVo<PatientTemp> huoQuHuanZheXinXi(@RequestParam("inpatientNo") String inpatientNo) {
- return server.huoQuHuanZheXinXi(inpatientNo);
- }
- @GetMapping("/huoQuYiZhuMingCheng")
- public ResultVo<List<GetDropdownBox>> huoQuYiZhuMingCheng(@RequestParam("inpatientNo") String inpatientNo,
- @RequestParam("admissTimes") Integer admissTimes,
- @RequestParam("orderName") String orderName) {
- return server.huoQuYiZhuMingCheng(inpatientNo, admissTimes, orderName);
- }
- @GetMapping("/huoQuGeRenPinLv")
- public ResultVo<List<GetDropdownBox>> huoQuGeRenPinLv(@RequestParam("patNo") String patNo,
- @RequestParam("times") Integer times) {
- return server.huoQuGeRenPinLv(patNo, times);
- }
- @PostMapping("/huoQuYiZhuShuJu")
- public ResultVo<IPage<YzActOrder>> huoQuYiZhuShuJu(@RequestBody @Validated YiZhuFeiYongChaXunTiaoJian param) {
- return server.huoQuYiZhuShuJu(param);
- }
- @GetMapping("/huoQuXiangMu")
- public ResultVo<List<YiZhuMingChen>> huoQuXiangMu(String code) {
- return server.huoQuXiangMu(code);
- }
- @GetMapping("/huoQuFeiYongXinXi")
- public ResultVo<Map<String, Object>> huoQuFeiYongXinXi(@RequestParam("code") String code,
- @RequestParam("serial") String serial) {
- return server.huoQuFeiYongXinXi(code, serial);
- }
- @GetMapping("/huoQuZhuYuanPinLv")
- public ResultVo<List<GetDropdownBox>> huoQuZhuYuanPinLv(String code) {
- return server.huoQuZhuYuanPinLv(code);
- }
- @GetMapping("/huoQuGeiYaoFangShi")
- public ResultVo<List<GetDropdownBox>> huoQuGeiYaoFangShi(String code) {
- return server.huoQuGeiYaoFangShi(code);
- }
- @GetMapping("/huoQuFuYiZhu")
- public ResultVo<List<GetDropdownBox>> huoQuFuYiZhu(@RequestParam("patNo") String patNo,
- @RequestParam("times") Integer times) {
- return server.huoQuFuYiZhu(patNo, times);
- }
- @GetMapping("/huoQuZhiXinKeShi")
- public ResultVo<List<GetDropdownBox>> huoQuZhiXinKeShi(String code) {
- return server.huoQuZhiXinKeShi(code);
- }
- }
|