diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/anesthesia/controller/AnesthesiaEnhancedController.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/anesthesia/controller/AnesthesiaEnhancedController.java new file mode 100644 index 000000000..3fd452830 --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/anesthesia/controller/AnesthesiaEnhancedController.java @@ -0,0 +1,113 @@ +package com.healthlink.his.web.anesthesia.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.anesthesia.domain.*; +import com.healthlink.his.anesthesia.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("/anesthesia-enhanced") +@Slf4j +@AllArgsConstructor +public class AnesthesiaEnhancedController { + + private final IAnesthesiaSpecimenService specimenService; + private final IAnesthesiaPostopFollowupService followupService; + private final IAnesthesiaQualityControlService qcService; + + // ==================== 标本管理 ==================== + @GetMapping("/specimen/page") + public R getSpecimenPage( + @RequestParam(value = "patientName", required = false) String patientName, + @RequestParam(value = "pathologyStatus", required = false) String status, + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.like(StringUtils.hasText(patientName), AnesthesiaSpecimen::getPatientName, patientName) + .eq(StringUtils.hasText(status), AnesthesiaSpecimen::getPathologyStatus, status) + .orderByDesc(AnesthesiaSpecimen::getCreateTime); + return R.ok(specimenService.page(new Page<>(pageNo, pageSize), w)); + } + + @PostMapping("/specimen/add") + @Transactional(rollbackFor = Exception.class) + public R addSpecimen(@RequestBody AnesthesiaSpecimen s) { + s.setPathologyStatus("PENDING"); + s.setCreateTime(new Date()); + specimenService.save(s); + return R.ok(s); + } + + @PostMapping("/specimen/report") + @Transactional(rollbackFor = Exception.class) + public R reportSpecimen(@RequestBody Map params) { + Long id = Long.valueOf(params.get("id").toString()); + AnesthesiaSpecimen s = specimenService.getById(id); + if (s == null) return R.fail("标本不存在"); + s.setPathologyStatus("REPORTED"); + s.setPathologyResult((String) params.get("pathologyResult")); + s.setReportTime(new Date()); + s.setUpdateTime(new Date()); + specimenService.updateById(s); + return R.ok(); + } + + // ==================== 术后随访 ==================== + @GetMapping("/followup/page") + public R getFollowupPage( + @RequestParam(value = "followupType", required = false) String type, + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.eq(StringUtils.hasText(type), AnesthesiaPostopFollowup::getFollowupType, type) + .orderByDesc(AnesthesiaPostopFollowup::getFollowupTime); + return R.ok(followupService.page(new Page<>(pageNo, pageSize), w)); + } + + @PostMapping("/followup/add") + @Transactional(rollbackFor = Exception.class) + public R addFollowup(@RequestBody AnesthesiaPostopFollowup f) { + f.setStatus(0); + f.setCreateTime(new Date()); + followupService.save(f); + return R.ok(f); + } + + // ==================== 麻醉质控 ==================== + @GetMapping("/qc/page") + public R getQcPage( + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.orderByDesc(AnesthesiaQualityControl::getCreateTime); + return R.ok(qcService.page(new Page<>(pageNo, pageSize), w)); + } + + @PostMapping("/qc/add") + @Transactional(rollbackFor = Exception.class) + public R addQc(@RequestBody AnesthesiaQualityControl qc) { + qc.setStatus(0); + qc.setCreateTime(new Date()); + qcService.save(qc); + return R.ok(qc); + } + + @GetMapping("/qc/stats") + public R getQcStats() { + Map stats = new HashMap<>(); + stats.put("total", qcService.count()); + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.isNotNull(AnesthesiaQualityControl::getComplications); + w.ne(AnesthesiaQualityControl::getComplications, ""); + stats.put("withComplications", qcService.count(w)); + return R.ok(stats); + } +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/check/controller/RadiologyEnhancedController.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/check/controller/RadiologyEnhancedController.java new file mode 100644 index 000000000..8933aa3be --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/check/controller/RadiologyEnhancedController.java @@ -0,0 +1,85 @@ +package com.healthlink.his.web.check.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.check.domain.*; +import com.healthlink.his.check.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("/radiology-enhanced") +@Slf4j +@AllArgsConstructor +public class RadiologyEnhancedController { + + private final IRadiologyUrgentReportService urgentReportService; + private final IRadiologyStatisticsService statisticsService; + + // ==================== 紧急报告 ==================== + @GetMapping("/urgent-report/page") + public R getUrgentReportPage( + @RequestParam(value = "patientName", required = false) String patientName, + @RequestParam(value = "notifyStatus", required = false) Integer status, + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.like(StringUtils.hasText(patientName), RadiologyUrgentReport::getPatientName, patientName) + .eq(status != null, RadiologyUrgentReport::getNotifyStatus, status) + .orderByDesc(RadiologyUrgentReport::getReportTime); + return R.ok(urgentReportService.page(new Page<>(pageNo, pageSize), w)); + } + + @PostMapping("/urgent-report/add") + @Transactional(rollbackFor = Exception.class) + public R addUrgentReport(@RequestBody RadiologyUrgentReport r) { + r.setNotifyStatus(0); + r.setReportTime(new Date()); + r.setCreateTime(new Date()); + urgentReportService.save(r); + return R.ok(r); + } + + @PostMapping("/urgent-report/notify") + @Transactional(rollbackFor = Exception.class) + public R notifyReport(@RequestParam Long id) { + RadiologyUrgentReport r = urgentReportService.getById(id); + if (r == null) return R.fail("报告不存在"); + r.setNotifyStatus(1); + r.setNotifyTime(new Date()); + r.setUpdateTime(new Date()); + urgentReportService.updateById(r); + return R.ok(); + } + + // ==================== 检查统计 ==================== + @GetMapping("/statistics/page") + public R getStatisticsPage( + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.orderByDesc(RadiologyStatistics::getStatDate); + return R.ok(statisticsService.page(new Page<>(pageNo, pageSize), w)); + } + + @PostMapping("/statistics/add") + @Transactional(rollbackFor = Exception.class) + public R addStatistics(@RequestBody RadiologyStatistics s) { + s.setCreateTime(new Date()); + statisticsService.save(s); + return R.ok(s); + } + + @GetMapping("/statistics/summary") + public R getStatisticsSummary() { + Map summary = new HashMap<>(); + summary.put("totalRecords", statisticsService.count()); + return R.ok(summary); + } +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/lab/controller/LabEnhancedController.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/lab/controller/LabEnhancedController.java new file mode 100644 index 000000000..87b41b289 --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/lab/controller/LabEnhancedController.java @@ -0,0 +1,78 @@ +package com.healthlink.his.web.lab.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.lab.domain.*; +import com.healthlink.his.lab.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("/lab-enhanced") +@Slf4j +@AllArgsConstructor +public class LabEnhancedController { + + private final ILabInternalQcService internalQcService; + private final ILabExternalEqaService externalEqaService; + + // ==================== 室内质控 ==================== + @GetMapping("/internal-qc/page") + public R getInternalQcPage( + @RequestParam(value = "qcItem", required = false) String qcItem, + @RequestParam(value = "isPass", required = false) Boolean isPass, + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.like(StringUtils.hasText(qcItem), LabInternalQc::getQcItem, qcItem) + .eq(isPass != null, LabInternalQc::getIsPass, isPass) + .orderByDesc(LabInternalQc::getQcDate); + return R.ok(internalQcService.page(new Page<>(pageNo, pageSize), w)); + } + + @PostMapping("/internal-qc/add") + @Transactional(rollbackFor = Exception.class) + public R addInternalQc(@RequestBody LabInternalQc qc) { + qc.setCreateTime(new Date()); + internalQcService.save(qc); + return R.ok(qc); + } + + @GetMapping("/internal-qc/stats") + public R getQcStats() { + Map stats = new HashMap<>(); + stats.put("total", internalQcService.count()); + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.eq(LabInternalQc::getIsPass, true); + stats.put("passed", internalQcService.count(w)); + w.eq(LabInternalQc::getIsPass, false); + stats.put("failed", internalQcService.count(w)); + return R.ok(stats); + } + + // ==================== 室间质评 ==================== + @GetMapping("/external-eqa/page") + public R getExternalEqaPage( + @RequestParam(value = "assessmentName", required = false) String name, + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.like(StringUtils.hasText(name), LabExternalEqa::getAssessmentName, name) + .orderByDesc(LabExternalEqa::getCreateTime); + return R.ok(externalEqaService.page(new Page<>(pageNo, pageSize), w)); + } + + @PostMapping("/external-eqa/add") + @Transactional(rollbackFor = Exception.class) + public R addExternalEqa(@RequestBody LabExternalEqa eqa) { + eqa.setCreateTime(new Date()); + externalEqaService.save(eqa); + return R.ok(eqa); + } +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/resources/db/migration/V19__anesthesia_lab_radiology_enhancement.sql b/healthlink-his-server/healthlink-his-application/src/main/resources/db/migration/V19__anesthesia_lab_radiology_enhancement.sql new file mode 100644 index 000000000..dbb49d0e8 --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/resources/db/migration/V19__anesthesia_lab_radiology_enhancement.sql @@ -0,0 +1,169 @@ +-- V19: P1模块补全 — 麻醉+检验+检查 + +-- 1. 麻醉标本管理 +CREATE TABLE IF NOT EXISTS anesthesia_specimen ( + id BIGSERIAL PRIMARY KEY, + encounter_id BIGINT NOT NULL, + patient_id BIGINT NOT NULL, + patient_name VARCHAR(50), + surgery_id BIGINT, + specimen_type VARCHAR(50) NOT NULL, + specimen_name VARCHAR(200), + collection_time TIMESTAMP, + collector_name VARCHAR(50), + destination VARCHAR(100), + pathology_status VARCHAR(20) DEFAULT 'PENDING', + pathology_result TEXT, + report_time TIMESTAMP, + 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 anesthesia_specimen IS '麻醉标本管理'; +COMMENT ON COLUMN anesthesia_specimen.pathology_status IS '病理状态(PENDING送检中/REPORTED已出报告)'; +CREATE INDEX idx_spec_encounter ON anesthesia_specimen(encounter_id); + +-- 2. 术后随访 +CREATE TABLE IF NOT EXISTS anesthesia_postop_followup ( + id BIGSERIAL PRIMARY KEY, + encounter_id BIGINT NOT NULL, + patient_id BIGINT NOT NULL, + patient_name VARCHAR(50), + surgery_id BIGINT, + followup_type VARCHAR(20) NOT NULL, + followup_time TIMESTAMP NOT NULL, + pain_score INT, + nausea_vomiting BOOLEAN DEFAULT FALSE, + consciousness_status VARCHAR(50), + vital_signs TEXT, + complications TEXT, + treatment TEXT, + followup_doctor_id BIGINT, + followup_doctor_name VARCHAR(50), + status INT NOT NULL DEFAULT 0, + 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 anesthesia_postop_followup IS '术后随访记录'; +COMMENT ON COLUMN anesthesia_postop_followup.followup_type IS '随访类型(24H/48H/72H)'; +CREATE INDEX idx_fu_encounter ON anesthesia_postop_followup(encounter_id); + +-- 3. 麻醉质控 +CREATE TABLE IF NOT EXISTS anesthesia_quality_control ( + id BIGSERIAL PRIMARY KEY, + encounter_id BIGINT NOT NULL, + patient_name VARCHAR(50), + anesthesia_type VARCHAR(50), + anesthesia_start TIMESTAMP, + anesthesia_end TIMESTAMP, + total_duration_min INT, + blood_loss_ml INT DEFAULT 0, + fluid_input_ml INT DEFAULT 0, + urine_output_ml INT DEFAULT 0, + complications TEXT, + adverse_event TEXT, + asa_grade INT, + risk_level VARCHAR(20), + status INT NOT NULL DEFAULT 0, + 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 anesthesia_quality_control IS '麻醉质控记录'; +CREATE INDEX idx_aqc_encounter ON anesthesia_quality_control(encounter_id); + +-- 4. 检验室内质控 +CREATE TABLE IF NOT EXISTS lab_internal_qc ( + id BIGSERIAL PRIMARY KEY, + department_id BIGINT NOT NULL, + department_name VARCHAR(100), + instrument_name VARCHAR(100), + qc_item VARCHAR(100) NOT NULL, + qc_date DATE NOT NULL, + target_value DECIMAL(10,4), + actual_value DECIMAL(10,4), + sd_value DECIMAL(10,4), + cv_rate DECIMAL(5,2), + westgard_rule VARCHAR(20), + is_pass BOOLEAN NOT NULL DEFAULT TRUE, + operator_name VARCHAR(50), + remarks TEXT, + 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 lab_internal_qc IS '检验室内质控'; +COMMENT ON COLUMN lab_internal_qc.westgard_rule IS 'Westgard规则(1-2s/1-3s/2-2s/R-4s/4-1s/10x)'; + +-- 5. 检验室间质评 +CREATE TABLE IF NOT EXISTS lab_external_eqa ( + id BIGSERIAL PRIMARY KEY, + assessment_name VARCHAR(200) NOT NULL, + assessment_org VARCHAR(200), + assessment_year INT, + assessment_quarter INT, + sample_code VARCHAR(100), + test_item VARCHAR(100), + target_value VARCHAR(100), + actual_value VARCHAR(100), + deviation_rate DECIMAL(5,2), + result VARCHAR(20), + operator_name VARCHAR(50), + 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 lab_external_eqa IS '检验室间质评'; + +-- 6. 检查紧急报告 +CREATE TABLE IF NOT EXISTS radiology_urgent_report ( + id BIGSERIAL PRIMARY KEY, + encounter_id BIGINT NOT NULL, + patient_id BIGINT NOT NULL, + patient_name VARCHAR(50), + examination_type VARCHAR(50), + examination_name VARCHAR(200), + urgency_reason TEXT NOT NULL, + report_content TEXT NOT NULL, + reporter_id BIGINT, + reporter_name VARCHAR(50), + report_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, + notify_status INT NOT NULL DEFAULT 0, + notify_time TIMESTAMP, + 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 radiology_urgent_report IS '检查紧急报告'; +COMMENT ON COLUMN radiology_urgent_report.notify_status IS '通知状态(0待通知 1已通知 2通知失败)'; +CREATE INDEX idx_ur_encounter ON radiology_urgent_report(encounter_id); + +-- 7. 检查统计 +CREATE TABLE IF NOT EXISTS radiology_statistics ( + id BIGSERIAL PRIMARY KEY, + stat_date DATE NOT NULL, + department_id BIGINT, + department_name VARCHAR(100), + examination_type VARCHAR(50), + total_count INT DEFAULT 0, + positive_count INT DEFAULT 0, + urgent_count INT DEFAULT 0, + avg_report_hours DECIMAL(5,2) DEFAULT 0, + tenant_id BIGINT DEFAULT 0, + create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP +); +COMMENT ON TABLE radiology_statistics IS '检查统计日报'; +CREATE INDEX idx_rs_date ON radiology_statistics(stat_date); diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/domain/AnesthesiaPostopFollowup.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/domain/AnesthesiaPostopFollowup.java new file mode 100644 index 000000000..89de31076 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/domain/AnesthesiaPostopFollowup.java @@ -0,0 +1,31 @@ +package com.healthlink.his.anesthesia.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("anesthesia_postop_followup") +public class AnesthesiaPostopFollowup extends HisBaseEntity { + @TableId(value = "id", type = IdType.ASSIGN_ID) + private Long id; + @TableField("encounter_id") private Long encounterId; + @TableField("patient_id") private Long patientId; + @TableField("patient_name") private String patientName; + @TableField("surgery_id") private Long surgeryId; + @TableField("followup_type") private String followupType; + @TableField("followup_time") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date followupTime; + @TableField("pain_score") private Integer painScore; + @TableField("nausea_vomiting") private Boolean nauseaVomiting; + @TableField("consciousness_status") private String consciousnessStatus; + @TableField("vital_signs") private String vitalSigns; + @TableField("complications") private String complications; + @TableField("treatment") private String treatment; + @TableField("followup_doctor_id") private Long followupDoctorId; + @TableField("followup_doctor_name") private String followupDoctorName; + @TableField("status") private Integer status; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/domain/AnesthesiaQualityControl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/domain/AnesthesiaQualityControl.java new file mode 100644 index 000000000..27a0c1f22 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/domain/AnesthesiaQualityControl.java @@ -0,0 +1,30 @@ +package com.healthlink.his.anesthesia.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("anesthesia_quality_control") +public class AnesthesiaQualityControl extends HisBaseEntity { + @TableId(value = "id", type = IdType.ASSIGN_ID) + private Long id; + @TableField("encounter_id") private Long encounterId; + @TableField("patient_name") private String patientName; + @TableField("anesthesia_type") private String anesthesiaType; + @TableField("anesthesia_start") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date anesthesiaStart; + @TableField("anesthesia_end") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date anesthesiaEnd; + @TableField("total_duration_min") private Integer totalDurationMin; + @TableField("blood_loss_ml") private Integer bloodLossMl; + @TableField("fluid_input_ml") private Integer fluidInputMl; + @TableField("urine_output_ml") private Integer urineOutputMl; + @TableField("complications") private String complications; + @TableField("adverse_event") private String adverseEvent; + @TableField("asa_grade") private Integer asaGrade; + @TableField("risk_level") private String riskLevel; + @TableField("status") private Integer status; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/domain/AnesthesiaSpecimen.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/domain/AnesthesiaSpecimen.java new file mode 100644 index 000000000..a97b0a063 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/domain/AnesthesiaSpecimen.java @@ -0,0 +1,28 @@ +package com.healthlink.his.anesthesia.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("anesthesia_specimen") +public class AnesthesiaSpecimen extends HisBaseEntity { + @TableId(value = "id", type = IdType.ASSIGN_ID) + private Long id; + @TableField("encounter_id") private Long encounterId; + @TableField("patient_id") private Long patientId; + @TableField("patient_name") private String patientName; + @TableField("surgery_id") private Long surgeryId; + @TableField("specimen_type") private String specimenType; + @TableField("specimen_name") private String specimenName; + @TableField("collection_time") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date collectionTime; + @TableField("collector_name") private String collectorName; + @TableField("destination") private String destination; + @TableField("pathology_status") private String pathologyStatus; + @TableField("pathology_result") private String pathologyResult; + @TableField("report_time") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date reportTime; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/mapper/AnesthesiaPostopFollowupMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/mapper/AnesthesiaPostopFollowupMapper.java new file mode 100644 index 000000000..f71eae00a --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/mapper/AnesthesiaPostopFollowupMapper.java @@ -0,0 +1,9 @@ +package com.healthlink.his.anesthesia.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.anesthesia.domain.AnesthesiaPostopFollowup; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface AnesthesiaPostopFollowupMapper extends BaseMapper { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/mapper/AnesthesiaQualityControlMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/mapper/AnesthesiaQualityControlMapper.java new file mode 100644 index 000000000..679540413 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/mapper/AnesthesiaQualityControlMapper.java @@ -0,0 +1,9 @@ +package com.healthlink.his.anesthesia.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.anesthesia.domain.AnesthesiaQualityControl; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface AnesthesiaQualityControlMapper extends BaseMapper { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/mapper/AnesthesiaSpecimenMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/mapper/AnesthesiaSpecimenMapper.java new file mode 100644 index 000000000..f412a9a77 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/mapper/AnesthesiaSpecimenMapper.java @@ -0,0 +1,9 @@ +package com.healthlink.his.anesthesia.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.anesthesia.domain.AnesthesiaSpecimen; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface AnesthesiaSpecimenMapper extends BaseMapper { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/IAnesthesiaPostopFollowupService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/IAnesthesiaPostopFollowupService.java new file mode 100644 index 000000000..38f015ac4 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/IAnesthesiaPostopFollowupService.java @@ -0,0 +1,7 @@ +package com.healthlink.his.anesthesia.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.anesthesia.domain.AnesthesiaPostopFollowup; + +public interface IAnesthesiaPostopFollowupService extends IService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/IAnesthesiaQualityControlService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/IAnesthesiaQualityControlService.java new file mode 100644 index 000000000..c093d238e --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/IAnesthesiaQualityControlService.java @@ -0,0 +1,7 @@ +package com.healthlink.his.anesthesia.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.anesthesia.domain.AnesthesiaQualityControl; + +public interface IAnesthesiaQualityControlService extends IService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/IAnesthesiaSpecimenService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/IAnesthesiaSpecimenService.java new file mode 100644 index 000000000..7089bbf56 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/IAnesthesiaSpecimenService.java @@ -0,0 +1,7 @@ +package com.healthlink.his.anesthesia.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.anesthesia.domain.AnesthesiaSpecimen; + +public interface IAnesthesiaSpecimenService extends IService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/impl/AnesthesiaPostopFollowupServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/impl/AnesthesiaPostopFollowupServiceImpl.java new file mode 100644 index 000000000..0c4e6be8b --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/impl/AnesthesiaPostopFollowupServiceImpl.java @@ -0,0 +1,11 @@ +package com.healthlink.his.anesthesia.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.anesthesia.domain.AnesthesiaPostopFollowup; +import com.healthlink.his.anesthesia.mapper.AnesthesiaPostopFollowupMapper; +import com.healthlink.his.anesthesia.service.IAnesthesiaPostopFollowupService; +import org.springframework.stereotype.Service; + +@Service +public class AnesthesiaPostopFollowupServiceImpl extends ServiceImpl implements IAnesthesiaPostopFollowupService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/impl/AnesthesiaQualityControlServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/impl/AnesthesiaQualityControlServiceImpl.java new file mode 100644 index 000000000..be0187661 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/impl/AnesthesiaQualityControlServiceImpl.java @@ -0,0 +1,11 @@ +package com.healthlink.his.anesthesia.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.anesthesia.domain.AnesthesiaQualityControl; +import com.healthlink.his.anesthesia.mapper.AnesthesiaQualityControlMapper; +import com.healthlink.his.anesthesia.service.IAnesthesiaQualityControlService; +import org.springframework.stereotype.Service; + +@Service +public class AnesthesiaQualityControlServiceImpl extends ServiceImpl implements IAnesthesiaQualityControlService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/impl/AnesthesiaSpecimenServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/impl/AnesthesiaSpecimenServiceImpl.java new file mode 100644 index 000000000..5bd6927e4 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/anesthesia/service/impl/AnesthesiaSpecimenServiceImpl.java @@ -0,0 +1,11 @@ +package com.healthlink.his.anesthesia.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.anesthesia.domain.AnesthesiaSpecimen; +import com.healthlink.his.anesthesia.mapper.AnesthesiaSpecimenMapper; +import com.healthlink.his.anesthesia.service.IAnesthesiaSpecimenService; +import org.springframework.stereotype.Service; + +@Service +public class AnesthesiaSpecimenServiceImpl extends ServiceImpl implements IAnesthesiaSpecimenService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/domain/RadiologyStatistics.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/domain/RadiologyStatistics.java new file mode 100644 index 000000000..780ba70b4 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/domain/RadiologyStatistics.java @@ -0,0 +1,23 @@ +package com.healthlink.his.check.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("radiology_statistics") +public class RadiologyStatistics 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("examination_type") private String examinationType; + @TableField("total_count") private Integer totalCount; + @TableField("positive_count") private Integer positiveCount; + @TableField("urgent_count") private Integer urgentCount; + @TableField("avg_report_hours") private BigDecimal avgReportHours; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/domain/RadiologyUrgentReport.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/domain/RadiologyUrgentReport.java new file mode 100644 index 000000000..547ecc547 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/domain/RadiologyUrgentReport.java @@ -0,0 +1,28 @@ +package com.healthlink.his.check.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("radiology_urgent_report") +public class RadiologyUrgentReport extends HisBaseEntity { + @TableId(value = "id", type = IdType.ASSIGN_ID) + private Long id; + @TableField("encounter_id") private Long encounterId; + @TableField("patient_id") private Long patientId; + @TableField("patient_name") private String patientName; + @TableField("examination_type") private String examinationType; + @TableField("examination_name") private String examinationName; + @TableField("urgency_reason") private String urgencyReason; + @TableField("report_content") private String reportContent; + @TableField("reporter_id") private Long reporterId; + @TableField("reporter_name") private String reporterName; + @TableField("report_time") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date reportTime; + @TableField("notify_status") private Integer notifyStatus; + @TableField("notify_time") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date notifyTime; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/mapper/RadiologyStatisticsMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/mapper/RadiologyStatisticsMapper.java new file mode 100644 index 000000000..91bb22ac8 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/mapper/RadiologyStatisticsMapper.java @@ -0,0 +1,9 @@ +package com.healthlink.his.check.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.check.domain.RadiologyStatistics; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface RadiologyStatisticsMapper extends BaseMapper { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/mapper/RadiologyUrgentReportMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/mapper/RadiologyUrgentReportMapper.java new file mode 100644 index 000000000..990101b0d --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/mapper/RadiologyUrgentReportMapper.java @@ -0,0 +1,9 @@ +package com.healthlink.his.check.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.check.domain.RadiologyUrgentReport; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface RadiologyUrgentReportMapper extends BaseMapper { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/service/IRadiologyStatisticsService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/service/IRadiologyStatisticsService.java new file mode 100644 index 000000000..3cf5b34a4 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/service/IRadiologyStatisticsService.java @@ -0,0 +1,7 @@ +package com.healthlink.his.check.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.check.domain.RadiologyStatistics; + +public interface IRadiologyStatisticsService extends IService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/service/IRadiologyUrgentReportService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/service/IRadiologyUrgentReportService.java new file mode 100644 index 000000000..16b7ec324 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/service/IRadiologyUrgentReportService.java @@ -0,0 +1,7 @@ +package com.healthlink.his.check.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.check.domain.RadiologyUrgentReport; + +public interface IRadiologyUrgentReportService extends IService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/service/impl/RadiologyStatisticsServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/service/impl/RadiologyStatisticsServiceImpl.java new file mode 100644 index 000000000..3c7519f27 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/service/impl/RadiologyStatisticsServiceImpl.java @@ -0,0 +1,11 @@ +package com.healthlink.his.check.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.check.domain.RadiologyStatistics; +import com.healthlink.his.check.mapper.RadiologyStatisticsMapper; +import com.healthlink.his.check.service.IRadiologyStatisticsService; +import org.springframework.stereotype.Service; + +@Service +public class RadiologyStatisticsServiceImpl extends ServiceImpl implements IRadiologyStatisticsService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/service/impl/RadiologyUrgentReportServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/service/impl/RadiologyUrgentReportServiceImpl.java new file mode 100644 index 000000000..c62ac8151 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/service/impl/RadiologyUrgentReportServiceImpl.java @@ -0,0 +1,11 @@ +package com.healthlink.his.check.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.check.domain.RadiologyUrgentReport; +import com.healthlink.his.check.mapper.RadiologyUrgentReportMapper; +import com.healthlink.his.check.service.IRadiologyUrgentReportService; +import org.springframework.stereotype.Service; + +@Service +public class RadiologyUrgentReportServiceImpl extends ServiceImpl implements IRadiologyUrgentReportService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/domain/LabExternalEqa.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/domain/LabExternalEqa.java new file mode 100644 index 000000000..cf1cd8003 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/domain/LabExternalEqa.java @@ -0,0 +1,37 @@ +package com.healthlink.his.lab.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("lab_external_eqa") +public class LabExternalEqa extends HisBaseEntity { + @TableId(value = "id", type = IdType.ASSIGN_ID) + private Long id; + @TableField("assessment_name") + private String assessmentName; + @TableField("assessment_org") + private String assessmentOrg; + @TableField("assessment_year") + private Integer assessmentYear; + @TableField("assessment_quarter") + private Integer assessmentQuarter; + @TableField("sample_code") + private String sampleCode; + @TableField("test_item") + private String testItem; + @TableField("target_value") + private String targetValue; + @TableField("actual_value") + private String actualValue; + @TableField("deviation_rate") + private BigDecimal deviationRate; + @TableField("result") + private String result; + @TableField("operator_name") + private String operatorName; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/domain/LabInternalQc.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/domain/LabInternalQc.java new file mode 100644 index 000000000..804d7da25 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/domain/LabInternalQc.java @@ -0,0 +1,41 @@ +package com.healthlink.his.lab.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("lab_internal_qc") +public class LabInternalQc extends HisBaseEntity { + @TableId(value = "id", type = IdType.ASSIGN_ID) + private Long id; + @TableField("department_id") + private Long departmentId; + @TableField("department_name") + private String departmentName; + @TableField("instrument_name") + private String instrumentName; + @TableField("qc_item") + private String qcItem; + @TableField("qc_date") + private String qcDate; + @TableField("target_value") + private BigDecimal targetValue; + @TableField("actual_value") + private BigDecimal actualValue; + @TableField("sd_value") + private BigDecimal sdValue; + @TableField("cv_rate") + private BigDecimal cvRate; + @TableField("westgard_rule") + private String westgardRule; + @TableField("is_pass") + private Boolean isPass; + @TableField("operator_name") + private String operatorName; + @TableField("remarks") + private String remarks; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/mapper/LabExternalEqaMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/mapper/LabExternalEqaMapper.java new file mode 100644 index 000000000..598f4191d --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/mapper/LabExternalEqaMapper.java @@ -0,0 +1,9 @@ +package com.healthlink.his.lab.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.lab.domain.LabExternalEqa; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface LabExternalEqaMapper extends BaseMapper { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/mapper/LabInternalQcMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/mapper/LabInternalQcMapper.java new file mode 100644 index 000000000..9fc4b4bf4 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/mapper/LabInternalQcMapper.java @@ -0,0 +1,9 @@ +package com.healthlink.his.lab.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.lab.domain.LabInternalQc; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface LabInternalQcMapper extends BaseMapper { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/service/ILabExternalEqaService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/service/ILabExternalEqaService.java new file mode 100644 index 000000000..4fd8db350 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/service/ILabExternalEqaService.java @@ -0,0 +1,7 @@ +package com.healthlink.his.lab.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.lab.domain.LabExternalEqa; + +public interface ILabExternalEqaService extends IService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/service/ILabInternalQcService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/service/ILabInternalQcService.java new file mode 100644 index 000000000..6d46877de --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/service/ILabInternalQcService.java @@ -0,0 +1,7 @@ +package com.healthlink.his.lab.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.lab.domain.LabInternalQc; + +public interface ILabInternalQcService extends IService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/service/impl/LabExternalEqaServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/service/impl/LabExternalEqaServiceImpl.java new file mode 100644 index 000000000..f075e74e2 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/service/impl/LabExternalEqaServiceImpl.java @@ -0,0 +1,11 @@ +package com.healthlink.his.lab.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.lab.domain.LabExternalEqa; +import com.healthlink.his.lab.mapper.LabExternalEqaMapper; +import com.healthlink.his.lab.service.ILabExternalEqaService; +import org.springframework.stereotype.Service; + +@Service +public class LabExternalEqaServiceImpl extends ServiceImpl implements ILabExternalEqaService { +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/service/impl/LabInternalQcServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/service/impl/LabInternalQcServiceImpl.java new file mode 100644 index 000000000..d4b6ec38b --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/lab/service/impl/LabInternalQcServiceImpl.java @@ -0,0 +1,11 @@ +package com.healthlink.his.lab.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.lab.domain.LabInternalQc; +import com.healthlink.his.lab.mapper.LabInternalQcMapper; +import com.healthlink.his.lab.service.ILabInternalQcService; +import org.springframework.stereotype.Service; + +@Service +public class LabInternalQcServiceImpl extends ServiceImpl implements ILabInternalQcService { +} diff --git a/healthlink-his-ui/src/views/anesthesiaenhanced/api.js b/healthlink-his-ui/src/views/anesthesiaenhanced/api.js new file mode 100644 index 000000000..16d34707c --- /dev/null +++ b/healthlink-his-ui/src/views/anesthesiaenhanced/api.js @@ -0,0 +1,9 @@ +import request from '@/utils/request' +export function getSpecimenPage(p){return request({url:'/anesthesia-enhanced/specimen/page',method:'get',params:p})} +export function addSpecimen(d){return request({url:'/anesthesia-enhanced/specimen/add',method:'post',data:d})} +export function reportSpecimen(d){return request({url:'/anesthesia-enhanced/specimen/report',method:'post',data:d})} +export function getFollowupPage(p){return request({url:'/anesthesia-enhanced/followup/page',method:'get',params:p})} +export function addFollowup(d){return request({url:'/anesthesia-enhanced/followup/add',method:'post',data:d})} +export function getQcPage(p){return request({url:'/anesthesia-enhanced/qc/page',method:'get',params:p})} +export function addQc(d){return request({url:'/anesthesia-enhanced/qc/add',method:'post',data:d})} +export function getQcStats(){return request({url:'/anesthesia-enhanced/qc/stats',method:'get'})} diff --git a/healthlink-his-ui/src/views/anesthesiaenhanced/index.vue b/healthlink-his-ui/src/views/anesthesiaenhanced/index.vue new file mode 100644 index 000000000..58e48a566 --- /dev/null +++ b/healthlink-his-ui/src/views/anesthesiaenhanced/index.vue @@ -0,0 +1,85 @@ + + + diff --git a/healthlink-his-ui/src/views/labenhanced/api.js b/healthlink-his-ui/src/views/labenhanced/api.js new file mode 100644 index 000000000..37fa1d63f --- /dev/null +++ b/healthlink-his-ui/src/views/labenhanced/api.js @@ -0,0 +1,6 @@ +import request from '@/utils/request' +export function getInternalQcPage(p){return request({url:'/lab-enhanced/internal-qc/page',method:'get',params:p})} +export function addInternalQc(d){return request({url:'/lab-enhanced/internal-qc/add',method:'post',data:d})} +export function getQcStats(){return request({url:'/lab-enhanced/internal-qc/stats',method:'get'})} +export function getExternalEqaPage(p){return request({url:'/lab-enhanced/external-eqa/page',method:'get',params:p})} +export function addExternalEqa(d){return request({url:'/lab-enhanced/external-eqa/add',method:'post',data:d})} diff --git a/healthlink-his-ui/src/views/labenhanced/index.vue b/healthlink-his-ui/src/views/labenhanced/index.vue new file mode 100644 index 000000000..02d152fca --- /dev/null +++ b/healthlink-his-ui/src/views/labenhanced/index.vue @@ -0,0 +1,62 @@ + + + diff --git a/healthlink-his-ui/src/views/radiologyenhanced/api.js b/healthlink-his-ui/src/views/radiologyenhanced/api.js new file mode 100644 index 000000000..3471b3fef --- /dev/null +++ b/healthlink-his-ui/src/views/radiologyenhanced/api.js @@ -0,0 +1,6 @@ +import request from '@/utils/request' +export function getUrgentReportPage(p){return request({url:'/radiology-enhanced/urgent-report/page',method:'get',params:p})} +export function addUrgentReport(d){return request({url:'/radiology-enhanced/urgent-report/add',method:'post',data:d})} +export function notifyReport(id){return request({url:'/radiology-enhanced/urgent-report/notify',method:'post',params:{id}})} +export function getStatisticsPage(p){return request({url:'/radiology-enhanced/statistics/page',method:'get',params:p})} +export function addStatistics(d){return request({url:'/radiology-enhanced/statistics/add',method:'post',data:d})} diff --git a/healthlink-his-ui/src/views/radiologyenhanced/index.vue b/healthlink-his-ui/src/views/radiologyenhanced/index.vue new file mode 100644 index 000000000..491ff024c --- /dev/null +++ b/healthlink-his-ui/src/views/radiologyenhanced/index.vue @@ -0,0 +1,55 @@ + + +