diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/check/controller/SpecimenBarcodeController.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/check/controller/SpecimenBarcodeController.java new file mode 100644 index 000000000..1bd1b4584 --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/check/controller/SpecimenBarcodeController.java @@ -0,0 +1,103 @@ +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.SpecimenBarcode; +import com.healthlink.his.check.service.ISpecimenBarcodeService; +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.time.LocalDateTime; +import java.util.Date; + +/** + * 标本条码管理 Controller + */ +@RestController +@RequestMapping("/specimen-barcode") +@Slf4j +@AllArgsConstructor +public class SpecimenBarcodeController { + + private final ISpecimenBarcodeService barcodeService; + + @GetMapping("/page") + public R getPage( + @RequestParam(value = "patientName", required = false) String patientName, + @RequestParam(value = "barcode", required = false) String barcode, + @RequestParam(value = "status", required = false) String status, + @RequestParam(value = "specimenType", required = false) String specimenType, + @RequestParam(value = "encounterId", required = false) Long encounterId, + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.like(StringUtils.hasText(patientName), SpecimenBarcode::getPatientName, patientName) + .eq(StringUtils.hasText(barcode), SpecimenBarcode::getBarcode, barcode) + .eq(StringUtils.hasText(status), SpecimenBarcode::getStatus, status) + .eq(StringUtils.hasText(specimenType), SpecimenBarcode::getSpecimenType, specimenType) + .eq(encounterId != null, SpecimenBarcode::getEncounterId, encounterId) + .orderByDesc(SpecimenBarcode::getCreateTime); + return R.ok(barcodeService.page(new Page<>(pageNo, pageSize), w)); + } + + @GetMapping("/{id}") + public R getById(@PathVariable Long id) { + return R.ok(barcodeService.getById(id)); + } + + @GetMapping("/by-barcode/{barcode}") + public R getByBarcode(@PathVariable String barcode) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.eq(SpecimenBarcode::getBarcode, barcode); + return R.ok(barcodeService.getOne(w)); + } + + @PostMapping("/add") + @Transactional(rollbackFor = Exception.class) + public R add(@RequestBody SpecimenBarcode barcode) { + barcode.setStatus("COLLECTED"); + barcode.setCreateTime(new Date()); + barcodeService.save(barcode); + return R.ok(barcode); + } + + @PutMapping("/update") + @Transactional(rollbackFor = Exception.class) + public R update(@RequestBody SpecimenBarcode barcode) { + barcodeService.updateById(barcode); + return R.ok(barcode); + } + + @PutMapping("/scan/{id}") + @Transactional(rollbackFor = Exception.class) + public R scanConfirm(@PathVariable Long id, @RequestParam("confirmBy") String confirmBy) { + SpecimenBarcode barcode = barcodeService.getById(id); + if (barcode == null) return R.fail("条码不存在"); + barcode.setStatus("SCANNED"); + barcode.setScanConfirmTime(LocalDateTime.now()); + barcode.setScanConfirmBy(confirmBy); + barcodeService.updateById(barcode); + return R.ok(barcode); + } + + @PutMapping("/reject/{id}") + @Transactional(rollbackFor = Exception.class) + public R reject(@PathVariable Long id) { + SpecimenBarcode barcode = barcodeService.getById(id); + if (barcode == null) return R.fail("条码不存在"); + barcode.setStatus("REJECTED"); + barcodeService.updateById(barcode); + return R.ok(barcode); + } + + @DeleteMapping("/delete/{id}") + @Transactional(rollbackFor = Exception.class) + public R delete(@PathVariable Long id) { + barcodeService.removeById(id); + return R.ok(); + } +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/empi/controller/EmpiIdVerificationController.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/empi/controller/EmpiIdVerificationController.java new file mode 100644 index 000000000..d61c6d759 --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/empi/controller/EmpiIdVerificationController.java @@ -0,0 +1,63 @@ +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.EmpiIdVerification; +import com.healthlink.his.empi.service.IEmpiIdVerificationService; +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.time.LocalDateTime; +import java.util.Date; + +/** + * 身份证校验记录 Controller + */ +@RestController +@RequestMapping("/id-verification") +@Slf4j +@AllArgsConstructor +public class EmpiIdVerificationController { + + private final IEmpiIdVerificationService verificationService; + + @GetMapping("/page") + public R getPage( + @RequestParam(value = "patientId", required = false) Long patientId, + @RequestParam(value = "patientName", required = false) String patientName, + @RequestParam(value = "verifyResult", required = false) String verifyResult, + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.eq(patientId != null, EmpiIdVerification::getPatientId, patientId) + .like(StringUtils.hasText(patientName), EmpiIdVerification::getPatientName, patientName) + .eq(StringUtils.hasText(verifyResult), EmpiIdVerification::getVerifyResult, verifyResult) + .orderByDesc(EmpiIdVerification::getCreateTime); + return R.ok(verificationService.page(new Page<>(pageNo, pageSize), w)); + } + + @GetMapping("/{id}") + public R getById(@PathVariable Long id) { + return R.ok(verificationService.getById(id)); + } + + @PostMapping("/verify") + @Transactional(rollbackFor = Exception.class) + public R verify(@RequestBody EmpiIdVerification verification) { + verification.setVerifyTime(LocalDateTime.now()); + verification.setCreateTime(new Date()); + verificationService.save(verification); + return R.ok(verification); + } + + @DeleteMapping("/delete/{id}") + @Transactional(rollbackFor = Exception.class) + public R delete(@PathVariable Long id) { + verificationService.removeById(id); + return R.ok(); + } +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/inpatientmanage/controller/NursingVitalSignsChartController.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/inpatientmanage/controller/NursingVitalSignsChartController.java new file mode 100644 index 000000000..0b4bdd5cc --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/inpatientmanage/controller/NursingVitalSignsChartController.java @@ -0,0 +1,83 @@ +package com.healthlink.his.web.inpatientmanage.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.nursing.domain.NursingVitalSignsChart; +import com.healthlink.his.nursing.service.INursingVitalSignsChartService; +import lombok.AllArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.format.annotation.DateTimeFormat; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.util.StringUtils; +import org.springframework.web.bind.annotation.*; + +import java.time.LocalDate; +import java.util.Date; +import java.util.List; + +/** + * 体温单数据(三测单) Controller + */ +@RestController +@RequestMapping("/vital-signs-chart") +@Slf4j +@AllArgsConstructor +public class NursingVitalSignsChartController { + + private final INursingVitalSignsChartService chartService; + + @GetMapping("/page") + public R getPage( + @RequestParam(value = "patientId", required = false) Long patientId, + @RequestParam(value = "encounterId", required = false) Long encounterId, + @RequestParam(value = "startDate", required = false) @DateTimeFormat(pattern = "yyyy-MM-dd") LocalDate startDate, + @RequestParam(value = "endDate", required = false) @DateTimeFormat(pattern = "yyyy-MM-dd") LocalDate endDate, + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.eq(patientId != null, NursingVitalSignsChart::getPatientId, patientId) + .eq(encounterId != null, NursingVitalSignsChart::getEncounterId, encounterId) + .ge(startDate != null, NursingVitalSignsChart::getRecordDate, startDate) + .le(endDate != null, NursingVitalSignsChart::getRecordDate, endDate) + .orderByDesc(NursingVitalSignsChart::getRecordDate) + .orderByDesc(NursingVitalSignsChart::getRecordHour); + return R.ok(chartService.page(new Page<>(pageNo, pageSize), w)); + } + + @GetMapping("/list") + public R getList( + @RequestParam("encounterId") Long encounterId, + @RequestParam(value = "startDate", required = false) @DateTimeFormat(pattern = "yyyy-MM-dd") LocalDate startDate, + @RequestParam(value = "endDate", required = false) @DateTimeFormat(pattern = "yyyy-MM-dd") LocalDate endDate) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.eq(NursingVitalSignsChart::getEncounterId, encounterId) + .ge(startDate != null, NursingVitalSignsChart::getRecordDate, startDate) + .le(endDate != null, NursingVitalSignsChart::getRecordDate, endDate) + .orderByAsc(NursingVitalSignsChart::getRecordDate) + .orderByAsc(NursingVitalSignsChart::getRecordHour); + return R.ok(chartService.list(w)); + } + + @PostMapping("/add") + @Transactional(rollbackFor = Exception.class) + public R add(@RequestBody NursingVitalSignsChart chart) { + chart.setCreateTime(new Date()); + chartService.save(chart); + return R.ok(chart); + } + + @PutMapping("/update") + @Transactional(rollbackFor = Exception.class) + public R update(@RequestBody NursingVitalSignsChart chart) { + chartService.updateById(chart); + return R.ok(chart); + } + + @DeleteMapping("/delete/{id}") + @Transactional(rollbackFor = Exception.class) + public R delete(@PathVariable Long id) { + chartService.removeById(id); + return R.ok(); + } +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/surgicalschedule/controller/SurgerySafetyCheckController.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/surgicalschedule/controller/SurgerySafetyCheckController.java new file mode 100644 index 000000000..42986ab44 --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/surgicalschedule/controller/SurgerySafetyCheckController.java @@ -0,0 +1,76 @@ +package com.healthlink.his.web.surgicalschedule.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.surgicalschedule.domain.SurgerySafetyCheck; +import com.healthlink.his.surgicalschedule.service.ISurgerySafetyCheckService; +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.Date; + +/** + * 术前安全核查 Controller (WS/T 313) + */ +@RestController +@RequestMapping("/surgery-safety-check") +@Slf4j +@AllArgsConstructor +public class SurgerySafetyCheckController { + + private final ISurgerySafetyCheckService safetyCheckService; + + @GetMapping("/page") + public R getPage( + @RequestParam(value = "patientName", required = false) String patientName, + @RequestParam(value = "encounterId", required = false) Long encounterId, + @RequestParam(value = "checkPhase", required = false) String checkPhase, + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.like(StringUtils.hasText(patientName), SurgerySafetyCheck::getPatientName, patientName) + .eq(encounterId != null, SurgerySafetyCheck::getEncounterId, encounterId) + .eq(StringUtils.hasText(checkPhase), SurgerySafetyCheck::getCheckPhase, checkPhase) + .orderByDesc(SurgerySafetyCheck::getCreateTime); + return R.ok(safetyCheckService.page(new Page<>(pageNo, pageSize), w)); + } + + @GetMapping("/list") + public R getList(@RequestParam("encounterId") Long encounterId) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.eq(SurgerySafetyCheck::getEncounterId, encounterId) + .orderByAsc(SurgerySafetyCheck::getCheckPhase); + return R.ok(safetyCheckService.list(w)); + } + + @GetMapping("/{id}") + public R getById(@PathVariable Long id) { + return R.ok(safetyCheckService.getById(id)); + } + + @PostMapping("/add") + @Transactional(rollbackFor = Exception.class) + public R add(@RequestBody SurgerySafetyCheck check) { + check.setCreateTime(new Date()); + safetyCheckService.save(check); + return R.ok(check); + } + + @PutMapping("/update") + @Transactional(rollbackFor = Exception.class) + public R update(@RequestBody SurgerySafetyCheck check) { + safetyCheckService.updateById(check); + return R.ok(check); + } + + @DeleteMapping("/delete/{id}") + @Transactional(rollbackFor = Exception.class) + public R delete(@PathVariable Long id) { + safetyCheckService.removeById(id); + return R.ok(); + } +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/system/controller/SysAuditLogController.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/system/controller/SysAuditLogController.java new file mode 100644 index 000000000..03a48e844 --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/system/controller/SysAuditLogController.java @@ -0,0 +1,62 @@ +package com.healthlink.his.web.system.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.sys.domain.SysAuditLog; +import com.healthlink.his.sys.service.ISysAuditLogService; +import lombok.AllArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.util.StringUtils; +import org.springframework.web.bind.annotation.*; + +import java.util.Date; + +/** + * 审计日志 Controller + */ +@RestController +@RequestMapping("/audit-log") +@Slf4j +@AllArgsConstructor +public class SysAuditLogController { + + private final ISysAuditLogService auditLogService; + + @GetMapping("/page") + public R getPage( + @RequestParam(value = "userName", required = false) String userName, + @RequestParam(value = "module", required = false) String module, + @RequestParam(value = "action", required = false) String action, + @RequestParam(value = "result", required = false) String result, + @RequestParam(value = "userId", required = false) Long userId, + @RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize", defaultValue = "20") Integer pageSize) { + LambdaQueryWrapper w = new LambdaQueryWrapper<>(); + w.like(StringUtils.hasText(userName), SysAuditLog::getUserName, userName) + .eq(StringUtils.hasText(module), SysAuditLog::getModule, module) + .eq(StringUtils.hasText(action), SysAuditLog::getAction, action) + .eq(StringUtils.hasText(result), SysAuditLog::getResult, result) + .eq(userId != null, SysAuditLog::getUserId, userId) + .orderByDesc(SysAuditLog::getCreateTime); + return R.ok(auditLogService.page(new Page<>(pageNo, pageSize), w)); + } + + @GetMapping("/{id}") + public R getById(@PathVariable Long id) { + return R.ok(auditLogService.getById(id)); + } + + @PostMapping("/record") + public R record(@RequestBody SysAuditLog log) { + log.setCreateTime(new Date()); + auditLogService.save(log); + return R.ok(log); + } + + @DeleteMapping("/delete/{id}") + public R delete(@PathVariable Long id) { + auditLogService.removeById(id); + return R.ok(); + } +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/domain/SpecimenBarcode.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/domain/SpecimenBarcode.java index 70f19ca6e..5a3c8d136 100644 --- a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/domain/SpecimenBarcode.java +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/check/domain/SpecimenBarcode.java @@ -5,10 +5,26 @@ import com.core.common.core.domain.HisBaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; +import java.time.LocalDateTime; + +/** + * 标本条码管理 + */ @Data @EqualsAndHashCode(callSuper = true) @TableName("specimen_barcode") public class SpecimenBarcode extends HisBaseEntity { @TableId(value = "id", type = IdType.ASSIGN_ID) private Long id; + private Long encounterId; + private Long patientId; + private String patientName; + private String barcode; + private String specimenType; + private String specimenName; + private LocalDateTime collectionTime; + private String collectorName; + private LocalDateTime scanConfirmTime; + private String scanConfirmBy; + private String status; } diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiIdVerification.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiIdVerification.java index bb541d97f..d2049a2cf 100644 --- a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiIdVerification.java +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/empi/domain/EmpiIdVerification.java @@ -5,10 +5,24 @@ import com.core.common.core.domain.HisBaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; +import java.time.LocalDate; +import java.time.LocalDateTime; + +/** + * 身份证校验记录 + */ @Data @EqualsAndHashCode(callSuper = true) @TableName("empi_id_verification") public class EmpiIdVerification extends HisBaseEntity { @TableId(value = "id", type = IdType.ASSIGN_ID) private Long id; + private Long patientId; + private String idCard; + private String patientName; + private LocalDate birthDate; + private String gender; + private String verifyResult; + private String verifySource; + private LocalDateTime verifyTime; } diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/nursing/domain/NursingVitalSignsChart.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/nursing/domain/NursingVitalSignsChart.java index 07a852477..06ebf42aa 100644 --- a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/nursing/domain/NursingVitalSignsChart.java +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/nursing/domain/NursingVitalSignsChart.java @@ -5,10 +5,34 @@ import com.core.common.core.domain.HisBaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; +import java.math.BigDecimal; +import java.time.LocalDate; + +/** + * 体温单数据(三测单) + */ @Data @EqualsAndHashCode(callSuper = true) @TableName("nursing_vital_signs_chart") public class NursingVitalSignsChart extends HisBaseEntity { @TableId(value = "id", type = IdType.ASSIGN_ID) private Long id; + private Long encounterId; + private Long patientId; + private String patientName; + private LocalDate recordDate; + private Integer recordHour; + private BigDecimal temperature; + private Integer pulse; + private Integer respiration; + private Integer systolicBp; + private Integer diastolicBp; + private BigDecimal heightCm; + private BigDecimal weightKg; + private Integer painScore; + private String consciousLevel; + private Integer inputMl; + private Integer outputMl; + private Integer stoolCount; + private String nurseName; } diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/surgicalschedule/domain/SurgerySafetyCheck.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/surgicalschedule/domain/SurgerySafetyCheck.java index 11792ee6b..ba01311e1 100644 --- a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/surgicalschedule/domain/SurgerySafetyCheck.java +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/surgicalschedule/domain/SurgerySafetyCheck.java @@ -5,10 +5,32 @@ import com.core.common.core.domain.HisBaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; +import java.time.LocalDateTime; + +/** + * 术前安全核查(WS/T 313) + */ @Data @EqualsAndHashCode(callSuper = true) @TableName("surgery_safety_check") public class SurgerySafetyCheck extends HisBaseEntity { @TableId(value = "id", type = IdType.ASSIGN_ID) private Long id; + private Long encounterId; + private Long patientId; + private String patientName; + private String surgeryName; + private String checkPhase; + private LocalDateTime checkTime; + private String checkItems; + private Boolean patientIdConfirmed; + private Boolean surgerySiteConfirmed; + private Boolean procedureTypeConfirmed; + private Boolean allergyConfirmed; + private Boolean vitalSignsBaseline; + private Boolean criticalResultConfirmed; + private Boolean checklistCompleted; + private String anesthesiologistName; + private String surgeonName; + private String nurseName; } diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/sys/domain/SysAuditLog.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/sys/domain/SysAuditLog.java index 89ee4aa4e..75d208215 100644 --- a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/sys/domain/SysAuditLog.java +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/sys/domain/SysAuditLog.java @@ -5,10 +5,24 @@ import com.core.common.core.domain.HisBaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; +/** + * 审计日志(所有接口调用可追溯) + */ @Data @EqualsAndHashCode(callSuper = true) @TableName("sys_audit_log") public class SysAuditLog extends HisBaseEntity { @TableId(value = "id", type = IdType.ASSIGN_ID) private Long id; + private Long userId; + private String userName; + private String module; + private String action; + private String method; + private String url; + private String ip; + private String params; + private String result; + private String errorMsg; + private Integer durationMs; } diff --git a/healthlink-his-ui/src/views/auditlog/api.js b/healthlink-his-ui/src/views/auditlog/api.js new file mode 100644 index 000000000..ecd30016a --- /dev/null +++ b/healthlink-his-ui/src/views/auditlog/api.js @@ -0,0 +1,5 @@ +import request from '@/utils/request' +export function getPage(p){return request({url:'/audit-log/page',method:'get',params:p})} +export function getById(id){return request({url:'/audit-log/'+id,method:'get'})} +export function record(d){return request({url:'/audit-log/record',method:'post',data:d})} +export function del(id){return request({url:'/audit-log/delete/'+id,method:'delete'})} diff --git a/healthlink-his-ui/src/views/auditlog/index.vue b/healthlink-his-ui/src/views/auditlog/index.vue new file mode 100644 index 000000000..10320a29d --- /dev/null +++ b/healthlink-his-ui/src/views/auditlog/index.vue @@ -0,0 +1,63 @@ + + diff --git a/healthlink-his-ui/src/views/esbmanage/registry/components/api.js b/healthlink-his-ui/src/views/esbmanage/registry/components/api.js index da3e5ef66..883cbea89 100644 --- a/healthlink-his-ui/src/views/esbmanage/registry/components/api.js +++ b/healthlink-his-ui/src/views/esbmanage/registry/components/api.js @@ -4,3 +4,4 @@ export function addRegistry(data) { return request({ url: '/esb/registry/add', m export function updateRegistry(data) { return request({ url: '/esb/registry/update', method: 'put', data }) } export function deleteRegistry(id) { return request({ url: '/esb/registry/delete', method: 'delete', params: { id } }) } export function updateRegistryStatus(id, status) { return request({ url: '/esb/registry/status', method: 'put', params: { id, status } }) } +export function getRegistryList(params) { return request({ url: "/esb/registry/list", method: "get", params }) } diff --git a/healthlink-his-ui/src/views/idverification/api.js b/healthlink-his-ui/src/views/idverification/api.js new file mode 100644 index 000000000..87a91d54d --- /dev/null +++ b/healthlink-his-ui/src/views/idverification/api.js @@ -0,0 +1,4 @@ +import request from '@/utils/request' +export function getPage(p){return request({url:'/id-verification/page',method:'get',params:p})} +export function verify(d){return request({url:'/id-verification/verify',method:'post',data:d})} +export function del(id){return request({url:'/id-verification/delete/'+id,method:'delete'})} diff --git a/healthlink-his-ui/src/views/idverification/index.vue b/healthlink-his-ui/src/views/idverification/index.vue new file mode 100644 index 000000000..2e9a9c359 --- /dev/null +++ b/healthlink-his-ui/src/views/idverification/index.vue @@ -0,0 +1,78 @@ + + diff --git a/healthlink-his-ui/src/views/specimenbarcode/api.js b/healthlink-his-ui/src/views/specimenbarcode/api.js new file mode 100644 index 000000000..7e4de2d4e --- /dev/null +++ b/healthlink-his-ui/src/views/specimenbarcode/api.js @@ -0,0 +1,9 @@ +import request from '@/utils/request' +export function getPage(p){return request({url:'/specimen-barcode/page',method:'get',params:p})} +export function getById(id){return request({url:'/specimen-barcode/'+id,method:'get'})} +export function getByBarcode(bc){return request({url:'/specimen-barcode/by-barcode/'+bc,method:'get'})} +export function add(d){return request({url:'/specimen-barcode/add',method:'post',data:d})} +export function scanConfirm(id,confirmBy){return request({url:'/specimen-barcode/scan/'+id,method:'put',params:{confirmBy}})} +export function reject(id){return request({url:'/specimen-barcode/reject/'+id,method:'put'})} +export function del(id){return request({url:'/specimen-barcode/delete/'+id,method:'delete'})} +export function update(d){return request({url:"/specimen-barcode/update",method:"put",data:d})} diff --git a/healthlink-his-ui/src/views/specimenbarcode/index.vue b/healthlink-his-ui/src/views/specimenbarcode/index.vue new file mode 100644 index 000000000..4cd81428f --- /dev/null +++ b/healthlink-his-ui/src/views/specimenbarcode/index.vue @@ -0,0 +1,79 @@ + + diff --git a/healthlink-his-ui/src/views/surgerysafetycheck/api.js b/healthlink-his-ui/src/views/surgerysafetycheck/api.js new file mode 100644 index 000000000..9f2b03ce8 --- /dev/null +++ b/healthlink-his-ui/src/views/surgerysafetycheck/api.js @@ -0,0 +1,7 @@ +import request from '@/utils/request' +export function getPage(p){return request({url:'/surgery-safety-check/page',method:'get',params:p})} +export function getList(p){return request({url:'/surgery-safety-check/list',method:'get',params:p})} +export function getById(id){return request({url:'/surgery-safety-check/'+id,method:'get'})} +export function add(d){return request({url:'/surgery-safety-check/add',method:'post',data:d})} +export function update(d){return request({url:'/surgery-safety-check/update',method:'put',data:d})} +export function del(id){return request({url:'/surgery-safety-check/delete/'+id,method:'delete'})} diff --git a/healthlink-his-ui/src/views/surgerysafetycheck/index.vue b/healthlink-his-ui/src/views/surgerysafetycheck/index.vue new file mode 100644 index 000000000..ec815d1dc --- /dev/null +++ b/healthlink-his-ui/src/views/surgerysafetycheck/index.vue @@ -0,0 +1,93 @@ + + diff --git a/healthlink-his-ui/src/views/vitalsignschart/api.js b/healthlink-his-ui/src/views/vitalsignschart/api.js new file mode 100644 index 000000000..2f55c7138 --- /dev/null +++ b/healthlink-his-ui/src/views/vitalsignschart/api.js @@ -0,0 +1,6 @@ +import request from '@/utils/request' +export function getChartPage(p){return request({url:'/vital-signs-chart/page',method:'get',params:p})} +export function getChartList(p){return request({url:'/vital-signs-chart/list',method:'get',params:p})} +export function addChart(d){return request({url:'/vital-signs-chart/add',method:'post',data:d})} +export function updateChart(d){return request({url:'/vital-signs-chart/update',method:'put',data:d})} +export function deleteChart(id){return request({url:'/vital-signs-chart/delete/'+id,method:'delete'})} diff --git a/healthlink-his-ui/src/views/vitalsignschart/index.vue b/healthlink-his-ui/src/views/vitalsignschart/index.vue new file mode 100644 index 000000000..d5ad7cc91 --- /dev/null +++ b/healthlink-his-ui/src/views/vitalsignschart/index.vue @@ -0,0 +1,74 @@ + +