package com.example.controller; import com.example.domain.TjCustomer; import com.example.dto.xian.meiji.CheXiaoMzFyDto; import com.example.dto.xian.meiji.CreateMenZhenFyDto; import com.example.factory.ServiceFactory; import com.example.service.HisService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.List; import java.util.Map; /** * his接口请求 * @Company: 西安路泰科技有限公司 * @Author: zhaowenxuan * @Date: 2024/12/17 17:16 */ @RestController @RequestMapping("/api/his") public class HisController { private final ServiceFactory serviceFactory; private final HisService hisService; @Autowired public HisController(ServiceFactory serviceFactory) { this.serviceFactory = serviceFactory; hisService= serviceFactory.getService(); } /** * 建档 */ @PostMapping("creat") public String jianDang (@RequestBody Map map) { return hisService.jianDang(map); } /** * 验证身份证是否建过档 */ @PostMapping("isCreat") public String getBingRenXxByShengFenZheng (@RequestBody Map map) { return hisService.getBingRenXxByShengFenZheng(map); } /** * 病人基本信息变更 */ @PostMapping("update") public String saveBingRenXx (@RequestBody Map map) { return hisService.saveBingRenXx(map); } /** * 待收费费用查询 */ @PostMapping("getPendingPaymentList") public String getListDaiShouFei (@RequestBody Map map) { return hisService.getListDaiShouFei(map); } /** * 生成待收费/待退费 费用 */ @PostMapping("creatCostInfo") public String createMenZhenFy (@RequestBody Map map) { return hisService.createMenZhenFy(map); } /** * 门诊未收费费用撤销 */ @PostMapping("revokeCost") public String cheXiaoMzFy (@RequestBody Map map) { return hisService.cheXiaoMzFy(map); } /** * 收费/退费完成通知第三方 */ @PostMapping("pushPayMsg") public String pushZhiFuMsg (@RequestBody Map map) { return hisService.pushZhiFuMsg(map); } /** * 科室信息查询 */ @PostMapping("getKeShiList") public String getKeShi (@RequestBody Map map) { return hisService.getKeShi(map); } /** * 医生信息查询 */ @PostMapping("getYiShengList") public String getListYiShengZd (@RequestBody Map map) { return hisService.getListYiShengZd(map); } /** * 获取收费项目分页 */ @PostMapping("getShouFeiXmList") public String getShouFeiXm (@RequestBody Map map) { return hisService.getShouFeiXm(map); } /** *科室信息推送 */ @PostMapping("getKeShiByConditionsList") public String getKeShiByConditions (@RequestBody Map map) { return hisService.getKeShiByConditions(map); } /** * 取样本字典 */ @PostMapping("getYangBen") public String getYangBen (@RequestBody Map map) { return hisService.getYangBen(map); } /** * 病区信息推送 */ @PostMapping("getBingQuList") public String getListBingQuZd (@RequestBody Map map) { return hisService.getListBingQuZd(map); } /** * 职⼯信息 */ @PostMapping("getZhiGongList") public String getZhiGongPage (@RequestBody Map map) { return hisService.getZhiGongPage(map); } /** * 检查项目 */ @PostMapping("getJcxm") public String getJianChaXm (@RequestBody Map map) { return hisService.getJianChaXm(map); } /** * 检验项⽬推送 */ @PostMapping("getJyxm") public String getJianYanXm(@RequestBody Map map){ return hisService.getJianYanXm(map); } /** * 检验项⽬收费推送 */ @PostMapping("getShouFeiXmjg") public String getShouFeiXmJg(@RequestBody Map map){ return hisService.getShouFeiXmJg(map); } /** * 检验容器 */ @PostMapping("getJyrqList") public String getRongQi(@RequestBody Map map){ return hisService.getRongQi(map); } /** * 检验样本 */ @PostMapping("getJyybList") public String getJyYangBen(@RequestBody Map map){ return hisService.getJyYangBen(map); } }