java电子病例系统系统开发采用的语言为jsp
系统开发采用的语言为jsp,数据库为Mysql,系统的框架采用SpringMVC,工具为eclipse或者myeclipse系统的功能具体如下所示:选择一个专科医院,如骨科,牙科等,对用户入院治疗信息进行登记,跟踪,反馈
系统注册界面,用户可以通过操作员进行注册个人信息
病历管理功能,对入院治疗的病人分为普通治疗,入院治疗,手术治疗进行管理,其中,要求入院治疗及手术治疗病人每日进行病历更新,写下治疗信息
对管制类药品开具审核功能
对手术病人及住院病人要写护理等级信息
实习医生开具的病历须经过主管医生(师傅)审核并同意
允许医生进行更换,但只允许修改当日病历,不允许修改历史病历
打印电子病历功能系统具体的截图如下所示
在电子病历管理系统中,采用了模块结构化设计方法,根据数据流图,按层次划分各个模块,每个模块完成一个功能,且每个模块完成一个功能,且每个模块具有单入口单出口。该系统的功能模块图如下所示:
代码已经上传github,下载地址:https://github.com/21503882/casehistory
图4-1管理员子系统功能模块图
图4-2医生子系统功能模块图
图4-3患者子系统功能模块图
图5-4系统登录管理模块
图5-5管理员子系统主界面
图5-6管理员帐号管理主页面
图5-7新增管理员帐号管理页面
图5-8 医生管理主页面
图5-9 添加医生管理页面
图5-10 患者列表信息页面
图5-11 患者管理主页面
图5-12 资源管理主页面
图5-13 新增资源管理页面
图5-14医生子系统主页面
图5-15我的预约管理主页面
图5-16添加病历管理页面
图5-17病人病历管理页面
图5-18患者注册页面
图5-19患者子系统主页面
图5-20我的预约管理主页面
图5-21预约页面
图5-22我的病历管理页面
图5-23修改个人信息页面
package com.gbj.graduation.controller;
import com.gbj.graduation.model.Supplier;
import com.gbj.graduation.model.SupplierGoods;
import com.gbj.graduation.model.SupplierLicenseType;
import com.gbj.graduation.service.SupplierService;
import com.gbj.graduation.utils.FileUpload;
import com.gbj.graduation.utils.PageBean;
import com.gbj.graduation.utils.TimeDemo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.Map;
@Controller
public class SupplierController {
@Autowired
private SupplierService supplierService;
@RequestMapping("/supplierList")
//客户基本信息查询ji分页
public String supplierList(Map<String , Object> map,Supplier supplier,@RequestParam(required=false,defaultValue="1")Integer pages,HttpServletRequest request){
try{
map = PageBean.serverMap(map , supplier , pages);
map = supplierService.supplierList(map);
map = PageBean.clientMap(map , pages , request);
}catch(Exception e){
// TODO: handle exception
map.put("message" , e.getMessage());
}
return "supplier/supplierList";
}
//弹出添加信息框
@RequestMapping("/supplierAdd")
public String employeeAdd(Map<String , Object> map){
map = supplierService.supplierAdd(map);
return "supplier/supplierAdd";
}
//提交并v保存添加的供应商
@RequestMapping("/supplierAdd.action")
public String supplierAddAction(Map<String , Object> map,Supplier supplier,MultipartFile file) throws IllegalStateException, IOException{
//生成创建客户的时间
String time = TimeDemo.dateTime();
supplier.setSup_time(time);
//上传用户头像
String name = FileUpload.fileUpload(file);
supplier.setSup_logo(name);
map.put("supplier" , supplier);
try{
supplierService.supplierAddAction(map);
}catch(Exception e){
// TODO: handle exception
map.put("message" , e.getMessage());
}
return "main/message";
}
//弹出将要修改用户的信息
@RequestMapping("/supplierUpdate")
public String supplierUpdate(Map<String , Object> map,Integer sup_id){
map = supplierService.load(map , sup_id);
return "supplier/supplierUpdate";
}
//提交保存修改的用户信息信息
@RequestMapping("/supplierUpdate.action")
public String supplierUpdateAction(Map<String , Object> map,Supplier supplier,MultipartFile file){
try{
//上传用户头像
String name = FileUpload.fileUpload(file);
supplier.setSup_logo(name);
map.put("supplier" , supplier);
supplierService.supplierUpdateAction(map);
}catch(Exception e){
// TODO: handle exception
map.put("message" , e.getMessage());
}
return "main/message";
}
//弹出删除信息框
@RequestMapping("/supplierDel")
public String employeeDel(Map<String , Object> map, Integer id){
map.put("id" , id);
map.put("url" , "supplierDel.action");
return "main/del";
}
//通过ID删除该用户的信息,,,逻辑删除
@RequestMapping("/supplierDel.action")
public String supplierDelAction(Map<String , Object> map, Integer id){
try{
map.put("sup_id" , id);
supplierService.supplierDelAction(map,id);
}catch(Exception e){
// TODO: handle exception
map.put("message" , e.getMessage());
}
return "main/message";
}
//通过map进行的批量删除,用户ID存到数组中去
@RequestMapping("/supplierMoreDel.action")
public String supplierMoreDelAction(Map<String , Object> map,Integer[] sup_ids){
try{
map.put("sup_ids" , sup_ids);
supplierService.supplierMoreDelAction(map);
}catch(Exception e){
// TODO: handle exception
map.put("message" , e.getMessage());
}
return "main/message";
}
/*
*
*
*
*
* 供应商报价管理
*
*
*
*
*
* */
//报价分页
@RequestMapping("/supplierPriceList")
public String supplistPriceList(Map<String , Object> map,SupplierGoods supplierGoods,
@RequestParam(required=false,defaultValue="1")Integer pages,HttpServletRequest request){
try{
System.out.println("接到值为"+supplierGoods);
map = PageBean.serverMap(map , supplierGoods , pages);
map = supplierService.supplierGoodsList(map);
map = PageBean.clientMap(map , pages , request);
}catch(Exception e){
// TODO: handle exception
e.printStackTrace();
map.put("message" , e.getMessage());
}
return "supplier/supplierPriceList";
}
//新增报价
@RequestMapping("/supplierGoodsAdd")
public String supplierGoodsAdd(Map<String , Object> map){
map = supplierService.supplierGoodsAdd(map);
return "supplier/supplierGoodsAdd";
}
@RequestMapping("/supplierGoodsAdd.action")
public String supplierGoodsAddAction(Map<String , Object> map,SupplierGoods supplierGoods){
try{
map.put("supplierGoods" , supplierGoods);
supplierService.supplierGoodsAddAction(map);
}catch(Exception e){
// TODO: handle exception
map.put("message" , e.getMessage());
}
return "main/message";
}
//弹出删除信息框
@RequestMapping("/supplierGoodsDel")
public String supplierGoodsDel(Map<String , Object> map, Integer id){
map.put("id" , id);
map.put("url" , "supplierGoodsDel.action");
return "main/del";
}
//通过ID删除该b报价的信息,,,逻辑删除
@RequestMapping("/supplierGoodsDel.action")
public String supplierGoodsDelAction(Map<String , Object> map, Integer id){
try{
map.put("sg_id" , id);
supplierService.supplierGoodsDelAction(map,id);
}catch(Exception e){
// TODO: handle exception
map.put("message" , e.getMessage());
}
return "main/message";
}
//通过map进行的批量删除,用户ID存到数组中去
@RequestMapping("/supplierGoodsMoreDel.action")
public String supplierGoodsMoreDelAction(Map<String , Object> map,Integer[] sg_ids){
try{
map.put("sg_ids" , sg_ids);
supplierService.supplierGoodsMoreDelAction(map);
}catch(Exception e){
// TODO: handle exception
map.put("message" , e.getMessage());
}
return "main/message";
}
/*
*
*
*
*
* 供应商证照管理
*
*
*
*
*
* */
@RequestMapping("/supplierLtList")
//客户基本信息查询ji分页
public String supplierLicenseList(Map<String , Object> map,SupplierLicenseType supplierLicenseType,
@RequestParam(required=false,defaultValue="1")Integer pages,HttpServletRequest request){
try{
map = PageBean.serverMap(map , supplierLicenseType , pages);
map = supplierService.supplierLicenseList(map);
map = PageBean.clientMap(map , pages , request);
}catch(Exception e){
// TODO: handle exception
map.put("message" , e.getMessage());
}
return "supplier/supplierLtList";
}
//新增证照
@RequestMapping("/supplierLicenseAdd")
public String supplierLicenseAdd(Map<String , Object> map){
map = supplierService.supplierLicenseAdd(map);
return "supplier/supplierLicenseAdd";
}
@RequestMapping("/supplierLicenseAdd.action")
public String supplierLicenseAddAction(Map<String , Object> map,SupplierLicenseType supplierLicenseType){
try{
map.put("supplierLicenseType" , supplierLicenseType);
supplierService.supplierLicenseAddAction(map);
}catch(Exception e){
// TODO: handle exception
map.put("message" , e.getMessage());
}
return "main/message";
}
//弹出删除信息框
@RequestMapping("/supplierLicenseDel")
public String supplierLicenseDel(Map<String , Object> map, Integer id){
map.put("id" , id);
map.put("url" , "supplierLicenseDel.action");
return "main/del";
}
//通过ID删除该b报价的信息,,,逻辑删除
@RequestMapping("/supplierLicenseDel.action")
public String supplierLicenseDelAction(Map<String , Object> map, Integer id){
try{
map.put("st_id" , id);
supplierService.supplierLicenseDelAction(map,id);
}catch(Exception e){
// TODO: handle exception
map.put("message" , e.getMessage());
}
return "main/message";
}
//通过map进行的批量删除,用户ID存到数组中去
@RequestMapping("/supplierLicenseMoreDel.action")
public String supplierLicenseMoreDelAction(Map<String , Object> map,Integer[] st_ids){
try{
map.put("st_ids" , st_ids);
supplierService.supplierLicenseMoreDelAction(map);
}catch(Exception e){
// TODO: handle exception
map.put("message" , e.getMessage());
}
return "main/message";
}
}
代码已经上传github,下载地址:https://github.com/21503882/casehistory
系统开发采用的语言为jsp,数据库为Mysql,系统的框架采用SpringMVC,工具为eclipse或者myeclipse