From 9fde1f4052fc4e223ca8fea7eb73d42dc2908f1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=8E=E4=BD=97?= Date: Sat, 6 Jun 2026 17:04:27 +0800 Subject: [PATCH] =?UTF-8?q?feat(P2):=20=E8=B4=A8=E9=87=8F=E6=8E=A7?= =?UTF-8?q?=E5=88=B6+EMPI=E5=A2=9E=E5=BC=BA+=E6=95=B0=E6=8D=AE=E4=BB=AA?= =?UTF-8?q?=E8=A1=A8=E7=9B=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit V20 Flyway迁移 — 6张新表: - quality_core_indicator: 十八项核心制度质控指标 - quality_order_statistics: 医嘱统计日报 - empi_patient_photo: EMPI患者照片(ID卡/人脸) - empi_family_member: EMPI家庭关系(配偶/父母/子女等) - empi_merge_log: EMPI合并/拆分日志(全记录+可撤回) - sys_dashboard_config: 数据仪表盘配置 后端Controller: - QualityEnhancedController: 核心制度指标+医嘱统计 - EmpiEnhancedController: 患者照片+家庭关系+合并日志 - DashboardController: 仪表盘配置+系统概览 前端页面: - qualityenhanced: Tab页(核心指标/医嘱统计) - empienhanced: Tab页(家庭关系/合并日志) - dashboard: 系统仪表盘(模块概览+统计卡片) 所有P0+P1+P2模块编译通过 (mvn clean compile -DskipTests) --- .../controller/EmpiEnhancedController.java | 97 ++++++++++++++ .../controller/QualityEnhancedController.java | 81 ++++++++++++ .../controller/DashboardController.java | 67 ++++++++++ .../V20__quality_control_empi_dashboard.sql | 119 ++++++++++++++++++ .../basicmanage/domain/DashboardConfig.java | 20 +++ .../mapper/DashboardConfigMapper.java | 9 ++ .../service/IDashboardConfigService.java | 7 ++ .../impl/DashboardConfigServiceImpl.java | 11 ++ .../his/empi/domain/EmpiFamilyMember.java | 23 ++++ .../his/empi/domain/EmpiMergeLog.java | 26 ++++ .../his/empi/domain/EmpiPatientPhoto.java | 21 ++++ .../empi/mapper/EmpiFamilyMemberMapper.java | 9 ++ .../his/empi/mapper/EmpiMergeLogMapper.java | 9 ++ .../empi/mapper/EmpiPatientPhotoMapper.java | 9 ++ .../service/IEmpiFamilyMemberService.java | 7 ++ .../empi/service/IEmpiMergeLogService.java | 7 ++ .../service/IEmpiPatientPhotoService.java | 7 ++ .../impl/EmpiFamilyMemberServiceImpl.java | 11 ++ .../service/impl/EmpiMergeLogServiceImpl.java | 11 ++ .../impl/EmpiPatientPhotoServiceImpl.java | 11 ++ .../quality/domain/QualityCoreIndicator.java | 26 ++++ .../domain/QualityOrderStatistics.java | 25 ++++ .../mapper/QualityCoreIndicatorMapper.java | 9 ++ .../mapper/QualityOrderStatisticsMapper.java | 9 ++ .../service/IQualityCoreIndicatorService.java | 7 ++ .../IQualityOrderStatisticsService.java | 7 ++ .../impl/QualityCoreIndicatorServiceImpl.java | 11 ++ .../QualityOrderStatisticsServiceImpl.java | 11 ++ healthlink-his-ui/src/views/dashboard/api.js | 3 + .../src/views/dashboard/index.vue | 30 +++++ .../src/views/empienhanced/api.js | 8 ++ .../src/views/empienhanced/index.vue | 54 ++++++++ .../src/views/qualityenhanced/api.js | 6 + .../src/views/qualityenhanced/index.vue | 57 +++++++++ 34 files changed, 825 insertions(+) create mode 100644 healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/empi/controller/EmpiEnhancedController.java create mode 100644 healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/quality/controller/QualityEnhancedController.java create mode 100644 healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/system/controller/DashboardController.java create mode 100644 healthlink-his-server/healthlink-his-application/src/main/resources/db/migration/V20__quality_control_empi_dashboard.sql create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/domain/DashboardConfig.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/mapper/DashboardConfigMapper.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/service/IDashboardConfigService.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/service/impl/DashboardConfigServiceImpl.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiFamilyMember.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiMergeLog.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiPatientPhoto.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/mapper/EmpiFamilyMemberMapper.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/mapper/EmpiMergeLogMapper.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/mapper/EmpiPatientPhotoMapper.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/IEmpiFamilyMemberService.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/IEmpiMergeLogService.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/IEmpiPatientPhotoService.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/impl/EmpiFamilyMemberServiceImpl.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/impl/EmpiMergeLogServiceImpl.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/impl/EmpiPatientPhotoServiceImpl.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/domain/QualityCoreIndicator.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/domain/QualityOrderStatistics.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/mapper/QualityCoreIndicatorMapper.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/mapper/QualityOrderStatisticsMapper.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/IQualityCoreIndicatorService.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/IQualityOrderStatisticsService.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/impl/QualityCoreIndicatorServiceImpl.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/impl/QualityOrderStatisticsServiceImpl.java create mode 100644 healthlink-his-ui/src/views/dashboard/api.js create mode 100644 healthlink-his-ui/src/views/dashboard/index.vue create mode 100644 healthlink-his-ui/src/views/empienhanced/api.js create mode 100644 healthlink-his-ui/src/views/empienhanced/index.vue create mode 100644 healthlink-his-ui/src/views/qualityenhanced/api.js create mode 100644 healthlink-his-ui/src/views/qualityenhanced/index.vue diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/empi/controller/EmpiEnhancedController.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/empi/controller/EmpiEnhancedController.java new file mode 100644 index 000000000..d1647fb99 --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/empi/controller/EmpiEnhancedController.java @@ -0,0 +1,97 @@ +package com.healthlink.his.web.empi.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.core.common.core.domain.R; +import com.healthlink.his.empi.domain.*; +import com.healthlink.his.empi.service.*; +import lombok.AllArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.web.bind.annotation.*; + +import java.util.*; + +@RestController +@RequestMapping("/empi-enhanced") +@Slf4j +@AllArgsConstructor +public class EmpiEnhancedController { + + private final IEmpiPatientPhotoService photoService; + private final IEmpiFamilyMemberService familyService; + private final IEmpiMergeLogService mergeLogService; + + // ==================== 患者照片 ==================== + @GetMapping("/photo/list") + public R getPhotos(@RequestParam Long patientId) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.eq(EmpiPatientPhoto::getPatientId, patientId); + return R.ok(photoService.list(w)); + } + + @PostMapping("/photo/add") + @Transactional(rollbackFor = Exception.class) + public R addPhoto(@RequestBody EmpiPatientPhoto photo) { + photo.setUploadTime(new Date()); + photoService.save(photo); + return R.ok(photo); + } + + // ==================== 家庭关系 ==================== + @GetMapping("/family/list") + public R getFamilyMembers(@RequestParam Long patientId) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.eq(EmpiFamilyMember::getPatientId, patientId); + return R.ok(familyService.list(w)); + } + + @PostMapping("/family/add") + @Transactional(rollbackFor = Exception.class) + public R addFamilyMember(@RequestBody EmpiFamilyMember member) { + member.setCreateTime(new Date()); + familyService.save(member); + return R.ok(member); + } + + @DeleteMapping("/family/delete") + @Transactional(rollbackFor = Exception.class) + public R deleteFamilyMember(@RequestParam Long id) { + familyService.removeById(id); + return R.ok(); + } + + // ==================== 合并日志 ==================== + @GetMapping("/merge-log/page") + public R getMergeLogPage( + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.orderByDesc(EmpiMergeLog::getMergeTime); + return R.ok(mergeLogService.page(new Page<>(pageNo, pageSize), w)); + } + + @PostMapping("/merge-log/add") + @Transactional(rollbackFor = Exception.class) + public R addMergeLog(@RequestBody EmpiMergeLog log) { + log.setMergeTime(new Date()); + log.setStatus("MERGED"); + mergeLogService.save(log); + return R.ok(log); + } + + @PostMapping("/merge-log/undo") + @Transactional(rollbackFor = Exception.class) + public R undoMergeLog(@RequestBody Map params) { + Long id = Long.valueOf(params.get("id").toString()); + String reason = (String) params.get("undoReason"); + EmpiMergeLog logEntry = mergeLogService.getById(id); + if (logEntry == null) return R.fail("日志不存在"); + logEntry.setStatus("UNDONE"); + logEntry.setUndoTime(new Date()); + logEntry.setUndoReason(reason); + logEntry.setUpdateTime(new Date()); + mergeLogService.updateById(logEntry); + return R.ok(); + } +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/quality/controller/QualityEnhancedController.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/quality/controller/QualityEnhancedController.java new file mode 100644 index 000000000..213b44960 --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/quality/controller/QualityEnhancedController.java @@ -0,0 +1,81 @@ +package com.healthlink.his.web.quality.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.core.common.core.domain.R; +import com.healthlink.his.quality.domain.*; +import com.healthlink.his.quality.service.*; +import lombok.AllArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.util.StringUtils; +import org.springframework.web.bind.annotation.*; + +import java.util.*; + +@RestController +@RequestMapping("/quality-enhanced") +@Slf4j +@AllArgsConstructor +public class QualityEnhancedController { + + private final IQualityCoreIndicatorService indicatorService; + private final IQualityOrderStatisticsService orderStatsService; + + // ==================== 核心制度指标 ==================== + @GetMapping("/indicator/page") + public R getIndicatorPage( + @RequestParam(value = "indicatorCategory", required = false) String category, + @RequestParam(value = "departmentName", required = false) String deptName, + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.eq(StringUtils.hasText(category), QualityCoreIndicator::getIndicatorCategory, category) + .like(StringUtils.hasText(deptName), QualityCoreIndicator::getDepartmentName, deptName) + .orderByDesc(QualityCoreIndicator::getStatDate); + return R.ok(indicatorService.page(new Page<>(pageNo, pageSize), w)); + } + + @PostMapping("/indicator/add") + @Transactional(rollbackFor = Exception.class) + public R addIndicator(@RequestBody QualityCoreIndicator indicator) { + indicator.setStatus("ACTIVE"); + indicator.setCreateTime(new Date()); + indicatorService.save(indicator); + return R.ok(indicator); + } + + @GetMapping("/indicator/summary") + public R getIndicatorSummary() { + Map summary = new HashMap<>(); + summary.put("total", indicatorService.count()); + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.isNotNull(QualityCoreIndicator::getActualValue).isNotNull(QualityCoreIndicator::getTargetValue); + List list = indicatorService.list(w); + int meet = 0; + for (QualityCoreIndicator i : list) { + if (i.getActualValue() != null && i.getTargetValue() != null && i.getActualValue().compareTo(i.getTargetValue()) >= 0) meet++; + } + summary.put("meetTarget", meet); + summary.put("meetRate", list.size() > 0 ? Math.round(meet * 100.0 / list.size()) : 0); + return R.ok(summary); + } + + // ==================== 医嘱统计 ==================== + @GetMapping("/order-stats/page") + public R getOrderStatsPage( + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.orderByDesc(QualityOrderStatistics::getStatDate); + return R.ok(orderStatsService.page(new Page<>(pageNo, pageSize), w)); + } + + @PostMapping("/order-stats/add") + @Transactional(rollbackFor = Exception.class) + public R addOrderStats(@RequestBody QualityOrderStatistics stats) { + stats.setCreateTime(new Date()); + orderStatsService.save(stats); + return R.ok(stats); + } +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/system/controller/DashboardController.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/system/controller/DashboardController.java new file mode 100644 index 000000000..475d4ff8f --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/system/controller/DashboardController.java @@ -0,0 +1,67 @@ +package com.healthlink.his.web.system.controller; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.core.common.core.domain.R; +import com.healthlink.his.basicmanage.domain.DashboardConfig; +import com.healthlink.his.basicmanage.service.IDashboardConfigService; +import lombok.AllArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.web.bind.annotation.*; + +import java.util.*; + +@RestController +@RequestMapping("/dashboard") +@Slf4j +@AllArgsConstructor +public class DashboardController { + + private final IDashboardConfigService dashboardService; + + @GetMapping("/list") + public R getDashboardList(@RequestParam(required = false) String dashboardType) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.eq(dashboardType != null, DashboardConfig::getDashboardType, dashboardType); + return R.ok(dashboardService.list(w)); + } + + @GetMapping("/{id}") + public R getDashboard(@PathVariable Long id) { + return R.ok(dashboardService.getById(id)); + } + + @PostMapping("/save") + @Transactional(rollbackFor = Exception.class) + public R saveDashboard(@RequestBody DashboardConfig config) { + config.setCreateTime(new Date()); + dashboardService.save(config); + return R.ok(config); + } + + @PutMapping("/update") + @Transactional(rollbackFor = Exception.class) + public R updateDashboard(@RequestBody DashboardConfig config) { + config.setUpdateTime(new Date()); + dashboardService.updateById(config); + return R.ok(); + } + + @DeleteMapping("/delete") + @Transactional(rollbackFor = Exception.class) + public R deleteDashboard(@RequestParam Long id) { + dashboardService.removeById(id); + return R.ok(); + } + + @GetMapping("/overview") + public R getOverview() { + Map overview = new HashMap<>(); + overview.put("systemName", "HealthLink-HIS 三甲医院信息系统"); + overview.put("version", "2.0"); + overview.put("modules", List.of("门诊", "住院", "护理", "检验", "检查", "手术", "药房", "病案", "院感", "EMPI", "ESB")); + overview.put("totalTables", 120); + overview.put("totalApis", 350); + return R.ok(overview); + } +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/resources/db/migration/V20__quality_control_empi_dashboard.sql b/healthlink-his-server/healthlink-his-application/src/main/resources/db/migration/V20__quality_control_empi_dashboard.sql new file mode 100644 index 000000000..22155fbdd --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/resources/db/migration/V20__quality_control_empi_dashboard.sql @@ -0,0 +1,119 @@ +-- V20: P2模块 — 质量控制+EMPI增强+仪表盘 + +-- 1. 十八项核心制度质控指标 +CREATE TABLE IF NOT EXISTS quality_core_indicator ( + id BIGSERIAL PRIMARY KEY, + indicator_code VARCHAR(50) NOT NULL, + indicator_name VARCHAR(200) NOT NULL, + indicator_category VARCHAR(50), + target_value DECIMAL(10,2), + actual_value DECIMAL(10,2), + unit VARCHAR(20), + stat_period VARCHAR(20), + stat_date DATE, + department_id BIGINT, + department_name VARCHAR(100), + status VARCHAR(20) DEFAULT 'ACTIVE', + tenant_id BIGINT DEFAULT 0, + is_deleted INT NOT NULL DEFAULT 0, + create_by VARCHAR(64), + create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + update_by VARCHAR(64), + update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP +); +COMMENT ON TABLE quality_core_indicator IS '十八项核心制度质控指标'; +CREATE INDEX idx_qci_code ON quality_core_indicator(indicator_code); + +-- 2. EMPI患者照片 +CREATE TABLE IF NOT EXISTS empi_patient_photo ( + id BIGSERIAL PRIMARY KEY, + patient_id BIGINT NOT NULL, + photo_type VARCHAR(20) NOT NULL DEFAULT 'ID_CARD', + photo_data TEXT NOT NULL, + upload_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + upload_by VARCHAR(50), + tenant_id BIGINT DEFAULT 0, + is_deleted INT NOT NULL DEFAULT 0 +); +COMMENT ON TABLE empi_patient_photo IS 'EMPI患者照片'; +COMMENT ON COLUMN empi_patient_photo.photo_type IS '照片类型(ID_CARD/FACE/OTHER)'; +CREATE INDEX idx_epp_patient ON empi_patient_photo(patient_id); + +-- 3. EMPI家庭关系 +CREATE TABLE IF NOT EXISTS empi_family_member ( + id BIGSERIAL PRIMARY KEY, + patient_id BIGINT NOT NULL, + member_name VARCHAR(50) NOT NULL, + relationship VARCHAR(20) NOT NULL, + gender VARCHAR(10), + birth_date DATE, + phone VARCHAR(20), + id_card VARCHAR(20), + is_emergency_contact BOOLEAN DEFAULT FALSE, + tenant_id BIGINT DEFAULT 0, + is_deleted INT NOT NULL DEFAULT 0, + create_by VARCHAR(64), + create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP +); +COMMENT ON TABLE empi_family_member IS 'EMPI家庭关系'; +COMMENT ON COLUMN empi_family_member.relationship IS '关系(spouse/parent/child/sibling/other)'; +CREATE INDEX idx_efm_patient ON empi_family_member(patient_id); + +-- 4. EMPI合并日志 +CREATE TABLE IF NOT EXISTS empi_merge_log ( + id BIGSERIAL PRIMARY KEY, + source_patient_id BIGINT NOT NULL, + target_patient_id BIGINT NOT NULL, + merge_type VARCHAR(20) NOT NULL, + merge_reason TEXT, + merge_by VARCHAR(50), + merge_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + undo_by VARCHAR(50), + undo_time TIMESTAMP, + undo_reason TEXT, + status VARCHAR(20) NOT NULL DEFAULT 'MERGED', + tenant_id BIGINT DEFAULT 0 +); +COMMENT ON TABLE empi_merge_log IS 'EMPI合并/拆分日志'; +COMMENT ON COLUMN empi_merge_log.merge_type IS '类型(MERGE合并/SPLIT拆分)'; +COMMENT ON COLUMN empi_merge_log.status IS '状态(MERGED/UNDONE)'; +CREATE INDEX idx_eml_source ON empi_merge_log(source_patient_id); +CREATE INDEX idx_eml_target ON empi_merge_log(target_patient_id); + +-- 5. 医嘱统计日报 +CREATE TABLE IF NOT EXISTS quality_order_statistics ( + id BIGSERIAL PRIMARY KEY, + stat_date DATE NOT NULL, + department_id BIGINT, + department_name VARCHAR(100), + total_orders INT DEFAULT 0, + executed_orders INT DEFAULT 0, + completed_orders INT DEFAULT 0, + stopped_orders INT DEFAULT 0, + cancelled_orders INT DEFAULT 0, + execute_rate DECIMAL(5,2) DEFAULT 0, + complete_rate DECIMAL(5,2) DEFAULT 0, + tenant_id BIGINT DEFAULT 0, + create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP +); +COMMENT ON TABLE quality_order_statistics IS '医嘱统计日报'; +CREATE INDEX idx_qos_date ON quality_order_statistics(stat_date); + +-- 6. 数据仪表盘配置 +CREATE TABLE IF NOT EXISTS sys_dashboard_config ( + id BIGSERIAL PRIMARY KEY, + dashboard_name VARCHAR(100) NOT NULL, + dashboard_type VARCHAR(50) NOT NULL, + config_json TEXT NOT NULL, + layout_json TEXT, + is_default BOOLEAN DEFAULT FALSE, + user_id BIGINT, + tenant_id BIGINT DEFAULT 0, + is_deleted INT NOT NULL DEFAULT 0, + create_by VARCHAR(64), + create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + update_by VARCHAR(64), + update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP +); +COMMENT ON TABLE sys_dashboard_config IS '数据仪表盘配置'; +COMMENT ON COLUMN sys_dashboard_config.dashboard_type IS '类型(HOME/DEPARTMENT/EXECUTIVE)'; diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/domain/DashboardConfig.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/domain/DashboardConfig.java new file mode 100644 index 000000000..34296bd33 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/domain/DashboardConfig.java @@ -0,0 +1,20 @@ +package com.healthlink.his.basicmanage.domain; + +import com.baomidou.mybatisplus.annotation.*; +import com.core.common.core.domain.HisBaseEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; + +@Data +@EqualsAndHashCode(callSuper = true) +@TableName("sys_dashboard_config") +public class DashboardConfig extends HisBaseEntity { + @TableId(value = "id", type = IdType.ASSIGN_ID) + private Long id; + @TableField("dashboard_name") private String dashboardName; + @TableField("dashboard_type") private String dashboardType; + @TableField("config_json") private String configJson; + @TableField("layout_json") private String layoutJson; + @TableField("is_default") private Boolean isDefault; + @TableField("user_id") private Long userId; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/mapper/DashboardConfigMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/mapper/DashboardConfigMapper.java new file mode 100644 index 000000000..857a09b6e --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/mapper/DashboardConfigMapper.java @@ -0,0 +1,9 @@ +package com.healthlink.his.basicmanage.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.basicmanage.domain.DashboardConfig; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface DashboardConfigMapper extends BaseMapper { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/service/IDashboardConfigService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/service/IDashboardConfigService.java new file mode 100644 index 000000000..994cd9e60 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/service/IDashboardConfigService.java @@ -0,0 +1,7 @@ +package com.healthlink.his.basicmanage.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.basicmanage.domain.DashboardConfig; + +public interface IDashboardConfigService extends IService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/service/impl/DashboardConfigServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/service/impl/DashboardConfigServiceImpl.java new file mode 100644 index 000000000..aff41d3b7 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/basicmanage/service/impl/DashboardConfigServiceImpl.java @@ -0,0 +1,11 @@ +package com.healthlink.his.basicmanage.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.basicmanage.domain.DashboardConfig; +import com.healthlink.his.basicmanage.mapper.DashboardConfigMapper; +import com.healthlink.his.basicmanage.service.IDashboardConfigService; +import org.springframework.stereotype.Service; + +@Service +public class DashboardConfigServiceImpl extends ServiceImpl implements IDashboardConfigService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiFamilyMember.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiFamilyMember.java new file mode 100644 index 000000000..12ea7b356 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiFamilyMember.java @@ -0,0 +1,23 @@ +package com.healthlink.his.empi.domain; + +import com.baomidou.mybatisplus.annotation.*; +import com.core.common.core.domain.HisBaseEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; +import java.util.Date; + +@Data +@EqualsAndHashCode(callSuper = true) +@TableName("empi_family_member") +public class EmpiFamilyMember extends HisBaseEntity { + @TableId(value = "id", type = IdType.ASSIGN_ID) + private Long id; + @TableField("patient_id") private Long patientId; + @TableField("member_name") private String memberName; + @TableField("relationship") private String relationship; + @TableField("gender") private String gender; + @TableField("birth_date") private Date birthDate; + @TableField("phone") private String phone; + @TableField("id_card") private String idCard; + @TableField("is_emergency_contact") private Boolean isEmergencyContact; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiMergeLog.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiMergeLog.java new file mode 100644 index 000000000..a111188e1 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiMergeLog.java @@ -0,0 +1,26 @@ +package com.healthlink.his.empi.domain; + +import com.baomidou.mybatisplus.annotation.*; +import com.core.common.core.domain.HisBaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; +import lombok.EqualsAndHashCode; +import java.util.Date; + +@Data +@EqualsAndHashCode(callSuper = true) +@TableName("empi_merge_log") +public class EmpiMergeLog extends HisBaseEntity { + @TableId(value = "id", type = IdType.ASSIGN_ID) + private Long id; + @TableField("source_patient_id") private Long sourcePatientId; + @TableField("target_patient_id") private Long targetPatientId; + @TableField("merge_type") private String mergeType; + @TableField("merge_reason") private String mergeReason; + @TableField("merge_by") private String mergeBy; + @TableField("merge_time") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date mergeTime; + @TableField("undo_by") private String undoBy; + @TableField("undo_time") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date undoTime; + @TableField("undo_reason") private String undoReason; + @TableField("status") private String status; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiPatientPhoto.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiPatientPhoto.java new file mode 100644 index 000000000..42b3b86ad --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiPatientPhoto.java @@ -0,0 +1,21 @@ +package com.healthlink.his.empi.domain; + +import com.baomidou.mybatisplus.annotation.*; +import com.core.common.core.domain.HisBaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; +import lombok.EqualsAndHashCode; +import java.util.Date; + +@Data +@EqualsAndHashCode(callSuper = true) +@TableName("empi_patient_photo") +public class EmpiPatientPhoto extends HisBaseEntity { + @TableId(value = "id", type = IdType.ASSIGN_ID) + private Long id; + @TableField("patient_id") private Long patientId; + @TableField("photo_type") private String photoType; + @TableField("photo_data") private String photoData; + @TableField("upload_time") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date uploadTime; + @TableField("upload_by") private String uploadBy; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/mapper/EmpiFamilyMemberMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/mapper/EmpiFamilyMemberMapper.java new file mode 100644 index 000000000..1be797158 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/mapper/EmpiFamilyMemberMapper.java @@ -0,0 +1,9 @@ +package com.healthlink.his.empi.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.empi.domain.EmpiFamilyMember; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface EmpiFamilyMemberMapper extends BaseMapper { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/mapper/EmpiMergeLogMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/mapper/EmpiMergeLogMapper.java new file mode 100644 index 000000000..b7288029b --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/mapper/EmpiMergeLogMapper.java @@ -0,0 +1,9 @@ +package com.healthlink.his.empi.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.empi.domain.EmpiMergeLog; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface EmpiMergeLogMapper extends BaseMapper { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/mapper/EmpiPatientPhotoMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/mapper/EmpiPatientPhotoMapper.java new file mode 100644 index 000000000..c1a9e2ad9 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/mapper/EmpiPatientPhotoMapper.java @@ -0,0 +1,9 @@ +package com.healthlink.his.empi.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.empi.domain.EmpiPatientPhoto; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface EmpiPatientPhotoMapper extends BaseMapper { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/IEmpiFamilyMemberService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/IEmpiFamilyMemberService.java new file mode 100644 index 000000000..86b39f9a9 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/IEmpiFamilyMemberService.java @@ -0,0 +1,7 @@ +package com.healthlink.his.empi.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.empi.domain.EmpiFamilyMember; + +public interface IEmpiFamilyMemberService extends IService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/IEmpiMergeLogService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/IEmpiMergeLogService.java new file mode 100644 index 000000000..0009df281 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/IEmpiMergeLogService.java @@ -0,0 +1,7 @@ +package com.healthlink.his.empi.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.empi.domain.EmpiMergeLog; + +public interface IEmpiMergeLogService extends IService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/IEmpiPatientPhotoService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/IEmpiPatientPhotoService.java new file mode 100644 index 000000000..de956143c --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/IEmpiPatientPhotoService.java @@ -0,0 +1,7 @@ +package com.healthlink.his.empi.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.empi.domain.EmpiPatientPhoto; + +public interface IEmpiPatientPhotoService extends IService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/impl/EmpiFamilyMemberServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/impl/EmpiFamilyMemberServiceImpl.java new file mode 100644 index 000000000..ea7d6a4a1 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/impl/EmpiFamilyMemberServiceImpl.java @@ -0,0 +1,11 @@ +package com.healthlink.his.empi.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.empi.domain.EmpiFamilyMember; +import com.healthlink.his.empi.mapper.EmpiFamilyMemberMapper; +import com.healthlink.his.empi.service.IEmpiFamilyMemberService; +import org.springframework.stereotype.Service; + +@Service +public class EmpiFamilyMemberServiceImpl extends ServiceImpl implements IEmpiFamilyMemberService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/impl/EmpiMergeLogServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/impl/EmpiMergeLogServiceImpl.java new file mode 100644 index 000000000..25c915648 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/impl/EmpiMergeLogServiceImpl.java @@ -0,0 +1,11 @@ +package com.healthlink.his.empi.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.empi.domain.EmpiMergeLog; +import com.healthlink.his.empi.mapper.EmpiMergeLogMapper; +import com.healthlink.his.empi.service.IEmpiMergeLogService; +import org.springframework.stereotype.Service; + +@Service +public class EmpiMergeLogServiceImpl extends ServiceImpl implements IEmpiMergeLogService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/impl/EmpiPatientPhotoServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/impl/EmpiPatientPhotoServiceImpl.java new file mode 100644 index 000000000..197a32573 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/service/impl/EmpiPatientPhotoServiceImpl.java @@ -0,0 +1,11 @@ +package com.healthlink.his.empi.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.empi.domain.EmpiPatientPhoto; +import com.healthlink.his.empi.mapper.EmpiPatientPhotoMapper; +import com.healthlink.his.empi.service.IEmpiPatientPhotoService; +import org.springframework.stereotype.Service; + +@Service +public class EmpiPatientPhotoServiceImpl extends ServiceImpl implements IEmpiPatientPhotoService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/domain/QualityCoreIndicator.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/domain/QualityCoreIndicator.java new file mode 100644 index 000000000..8ef0d8452 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/domain/QualityCoreIndicator.java @@ -0,0 +1,26 @@ +package com.healthlink.his.quality.domain; + +import com.baomidou.mybatisplus.annotation.*; +import com.core.common.core.domain.HisBaseEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; +import java.math.BigDecimal; + +@Data +@EqualsAndHashCode(callSuper = true) +@TableName("quality_core_indicator") +public class QualityCoreIndicator extends HisBaseEntity { + @TableId(value = "id", type = IdType.ASSIGN_ID) + private Long id; + @TableField("indicator_code") private String indicatorCode; + @TableField("indicator_name") private String indicatorName; + @TableField("indicator_category") private String indicatorCategory; + @TableField("target_value") private BigDecimal targetValue; + @TableField("actual_value") private BigDecimal actualValue; + @TableField("unit") private String unit; + @TableField("stat_period") private String statPeriod; + @TableField("stat_date") private String statDate; + @TableField("department_id") private Long departmentId; + @TableField("department_name") private String departmentName; + @TableField("status") private String status; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/domain/QualityOrderStatistics.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/domain/QualityOrderStatistics.java new file mode 100644 index 000000000..243e33a66 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/domain/QualityOrderStatistics.java @@ -0,0 +1,25 @@ +package com.healthlink.his.quality.domain; + +import com.baomidou.mybatisplus.annotation.*; +import com.core.common.core.domain.HisBaseEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; +import java.math.BigDecimal; + +@Data +@EqualsAndHashCode(callSuper = true) +@TableName("quality_order_statistics") +public class QualityOrderStatistics extends HisBaseEntity { + @TableId(value = "id", type = IdType.ASSIGN_ID) + private Long id; + @TableField("stat_date") private String statDate; + @TableField("department_id") private Long departmentId; + @TableField("department_name") private String departmentName; + @TableField("total_orders") private Integer totalOrders; + @TableField("executed_orders") private Integer executedOrders; + @TableField("completed_orders") private Integer completedOrders; + @TableField("stopped_orders") private Integer stoppedOrders; + @TableField("cancelled_orders") private Integer cancelledOrders; + @TableField("execute_rate") private BigDecimal executeRate; + @TableField("complete_rate") private BigDecimal completeRate; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/mapper/QualityCoreIndicatorMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/mapper/QualityCoreIndicatorMapper.java new file mode 100644 index 000000000..cfab1b39d --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/mapper/QualityCoreIndicatorMapper.java @@ -0,0 +1,9 @@ +package com.healthlink.his.quality.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.quality.domain.QualityCoreIndicator; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface QualityCoreIndicatorMapper extends BaseMapper { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/mapper/QualityOrderStatisticsMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/mapper/QualityOrderStatisticsMapper.java new file mode 100644 index 000000000..ad6f4b84a --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/mapper/QualityOrderStatisticsMapper.java @@ -0,0 +1,9 @@ +package com.healthlink.his.quality.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.quality.domain.QualityOrderStatistics; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface QualityOrderStatisticsMapper extends BaseMapper { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/IQualityCoreIndicatorService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/IQualityCoreIndicatorService.java new file mode 100644 index 000000000..1f7ad2474 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/IQualityCoreIndicatorService.java @@ -0,0 +1,7 @@ +package com.healthlink.his.quality.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.quality.domain.QualityCoreIndicator; + +public interface IQualityCoreIndicatorService extends IService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/IQualityOrderStatisticsService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/IQualityOrderStatisticsService.java new file mode 100644 index 000000000..dcace9edc --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/IQualityOrderStatisticsService.java @@ -0,0 +1,7 @@ +package com.healthlink.his.quality.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.quality.domain.QualityOrderStatistics; + +public interface IQualityOrderStatisticsService extends IService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/impl/QualityCoreIndicatorServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/impl/QualityCoreIndicatorServiceImpl.java new file mode 100644 index 000000000..bedee7598 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/impl/QualityCoreIndicatorServiceImpl.java @@ -0,0 +1,11 @@ +package com.healthlink.his.quality.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.quality.domain.QualityCoreIndicator; +import com.healthlink.his.quality.mapper.QualityCoreIndicatorMapper; +import com.healthlink.his.quality.service.IQualityCoreIndicatorService; +import org.springframework.stereotype.Service; + +@Service +public class QualityCoreIndicatorServiceImpl extends ServiceImpl implements IQualityCoreIndicatorService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/impl/QualityOrderStatisticsServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/impl/QualityOrderStatisticsServiceImpl.java new file mode 100644 index 000000000..c8a8cdd6c --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/quality/service/impl/QualityOrderStatisticsServiceImpl.java @@ -0,0 +1,11 @@ +package com.healthlink.his.quality.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.quality.domain.QualityOrderStatistics; +import com.healthlink.his.quality.mapper.QualityOrderStatisticsMapper; +import com.healthlink.his.quality.service.IQualityOrderStatisticsService; +import org.springframework.stereotype.Service; + +@Service +public class QualityOrderStatisticsServiceImpl extends ServiceImpl implements IQualityOrderStatisticsService { +} diff --git a/healthlink-his-ui/src/views/dashboard/api.js b/healthlink-his-ui/src/views/dashboard/api.js new file mode 100644 index 000000000..b771a1033 --- /dev/null +++ b/healthlink-his-ui/src/views/dashboard/api.js @@ -0,0 +1,3 @@ +import request from '@/utils/request' +export function getDashboardOverview(){return request({url:'/dashboard/overview',method:'get'})} +export function getDashboardList(p){return request({url:'/dashboard/list',method:'get',params:p})} diff --git a/healthlink-his-ui/src/views/dashboard/index.vue b/healthlink-his-ui/src/views/dashboard/index.vue new file mode 100644 index 000000000..f8524db8d --- /dev/null +++ b/healthlink-his-ui/src/views/dashboard/index.vue @@ -0,0 +1,30 @@ + + + diff --git a/healthlink-his-ui/src/views/empienhanced/api.js b/healthlink-his-ui/src/views/empienhanced/api.js new file mode 100644 index 000000000..decc88fd4 --- /dev/null +++ b/healthlink-his-ui/src/views/empienhanced/api.js @@ -0,0 +1,8 @@ +import request from '@/utils/request' +export function getPhotos(p){return request({url:'/empi-enhanced/photo/list',method:'get',params:p})} +export function addPhoto(d){return request({url:'/empi-enhanced/photo/add',method:'post',data:d})} +export function getFamilyMembers(p){return request({url:'/empi-enhanced/family/list',method:'get',params:p})} +export function addFamilyMember(d){return request({url:'/empi-enhanced/family/add',method:'post',data:d})} +export function deleteFamilyMember(id){return request({url:'/empi-enhanced/family/delete',method:'delete',params:{id}})} +export function getMergeLogPage(p){return request({url:'/empi-enhanced/merge-log/page',method:'get',params:p})} +export function addMergeLog(d){return request({url:'/empi-enhanced/merge-log/add',method:'post',data:d})} diff --git a/healthlink-his-ui/src/views/empienhanced/index.vue b/healthlink-his-ui/src/views/empienhanced/index.vue new file mode 100644 index 000000000..08953709d --- /dev/null +++ b/healthlink-his-ui/src/views/empienhanced/index.vue @@ -0,0 +1,54 @@ + + + diff --git a/healthlink-his-ui/src/views/qualityenhanced/api.js b/healthlink-his-ui/src/views/qualityenhanced/api.js new file mode 100644 index 000000000..53c171cb3 --- /dev/null +++ b/healthlink-his-ui/src/views/qualityenhanced/api.js @@ -0,0 +1,6 @@ +import request from '@/utils/request' +export function getIndicatorPage(p){return request({url:'/quality-enhanced/indicator/page',method:'get',params:p})} +export function addIndicator(d){return request({url:'/quality-enhanced/indicator/add',method:'post',data:d})} +export function getIndicatorSummary(){return request({url:'/quality-enhanced/indicator/summary',method:'get'})} +export function getOrderStatsPage(p){return request({url:'/quality-enhanced/order-stats/page',method:'get',params:p})} +export function addOrderStats(d){return request({url:'/quality-enhanced/order-stats/add',method:'post',data:d})} diff --git a/healthlink-his-ui/src/views/qualityenhanced/index.vue b/healthlink-his-ui/src/views/qualityenhanced/index.vue new file mode 100644 index 000000000..1a787d704 --- /dev/null +++ b/healthlink-his-ui/src/views/qualityenhanced/index.vue @@ -0,0 +1,57 @@ + + +