feat(sprint7): 合理用药+医嘱闭环+麻醉记录+病案首页 — Phase 1 P0模块

Sprint 7 完成内容:

合理用药系统 (Rational Drug):
- Flyway V2: drug_interaction_rule + prescription_audit_log + drug_dosage_range
- 后端: 3 Entity + 3 Mapper + 3 Service + AppService(审核引擎) + Controller(11接口)
- 前端: 配伍禁忌规则管理 + 审核统计仪表板 + 审核记录查询
- 审核逻辑: 配伍禁忌(CRITICAL→REJECT/MAJOR→MANUAL) + 剂量范围检查

医嘱闭环管理 (Order Closed Loop):
- 前端: 医嘱执行跟踪(时间线) + 闭环统计(按类型/科室)

麻醉记录系统 (Anesthesia):
- Flyway V3: 5表(anes_record/vital_sign/medication/io_record/followup)
- 后端: 5 Entity + 5 Mapper + 5 Service + AppService(10方法) + Controller(15接口)
- 完整功能: 术前评估→术中记录(体征/用药/出入量)→术后随访

病案首页管理 (Medical Record Homepage):
- Flyway V4: 2表(mr_homepage + quality_check)
- 后端: 2 Entity + 2 Mapper + 2 Service + AppService(6方法) + Controller(8接口)
- 功能: 自动生成首页 + ICD编码校验 + 质控检查 + 统计

编译验证: BUILD SUCCESS (后端57s + 前端1m48s)
This commit is contained in:
2026-06-06 10:26:45 +08:00
parent 1ffea3b73b
commit 48e1a8e6e6
75 changed files with 4092 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
import request from '@/utils/request'
// 医嘱执行记录列表
export function listOrderExecuteRecord(params) {
return request({
url: '/healthlink-his/api/v1/order-closed-loop/list',
method: 'get',
params: params
})
}
// 医嘱闭环状态查询
export function getOrderClosedLoopStatus(orderId) {
return request({
url: '/healthlink-his/api/v1/order-closed-loop/status/' + orderId,
method: 'get'
})
}
// 执行医嘱步骤
export function executeOrderStep(data) {
return request({
url: '/healthlink-his/api/v1/order-closed-loop/execute',
method: 'post',
data: data
})
}
// 闭环统计
export function getClosedLoopStatistics(params) {
return request({
url: '/healthlink-his/api/v1/order-closed-loop/statistics',
method: 'get',
params: params
})
}