编辑 | blame | 历史 | 原始文档

排队叫号系统

业务特性

  1. 一个工位可能支持多种检查项目
  2. 一个检查项目可能分配给多个工位
  3. VIP 患者:走预留的预约序号
  4. 加急
  5. 排队过号

业务实现

分流

  1. 【排队中】 患者 未分流到 诊室,没有内部序号
  2. 预约确认时,主动触发分流 到支持该预约项目的工位1、工位2...工位N ==>【候诊中】 赋予工位 + 内部序号
  3. 叫号时,【候诊中】=>【就诊中】 主动触发分流 到该工位 用以填补【候诊中】空缺
  4. 检查项目优先队列 (工位队列) 记录的是 工位上【候诊中】的人数

过号

  1. 过号、召回 【已召回】 -> 【候诊中】 重新赋予内部序号
  2. 安装过号、召回

亲和

  1. 亲和:患者的多个检查项目可以在工位上一并做,避免多次排队,比如动态心电、动态血压
  2. 亲和:是依附者,依附到已分流到诊室的检查项目,也就是【候诊中】【就诊中】【过号】【召回】的检查项 (有工位和内部序号) 会直接上位 【就诊中】
  3. 亲和-安装:是依附者,依附到【安装中】【安装过号】【安装召回】的检查项 会直接上位 【安装中】
  4. 亲和项: 有工位和内部序号
  5. 预约确认后 主动寻求依附
  6. 有检查项分流到诊室后,也就是进入[候诊中]后,拉 [排队中] + 具有亲和性的 检查项 来依附该检查项
  7. 检查项进入到 [安装中] 时,拉 [已领用] + 具有亲和性的 检查项 来依附该检查项

叫号

  1. 大屏 检查/领用 、 不用显示安装相关信息 亲和检查项需要在同一列显示, 否则亲和项跟主项分开在不同列
  2. 大屏: 主要解决 非分流患者顺序问题 【排队中】【过号-排队】
  3. 小屏 检查/领用 + 显示安装相关信息,亲和跟随前需要先把患者分开成领用相关的患者和安装相关的患者,基于患者和内部序号跟随
  4. 小屏: 主要解决 检查/领用 相关患者 和 安装相关患者 需要分开处理问题 否则当有两个及以上亲和项时会发生不知道是跟随检查相关项目还是安装相关项目
  5. 小屏: 都是已经分流的 有工位和内部序号
  6. 顺序: 状态 => 内部序号 => 无内部序号 => 时间槽
    => 有内部序号 => 创建时间

开诊设置

开诊时间:6:30~23:59 1
工位概况: 8 2 1 【开放的工位 有医生的工位 参与分流的工位(医生暂停的不计入)】
常规心电图 3 0 0 0
动态心电 1 2 1 1 【开放的检查/领用工位 开放的安装工位 有医生的检查/领用工位 有医生的安装工位】
动态血压 1 2 1 1
平板运动心电 1 0 0 0
动脉硬化监测 1 0 0 0

测试相关

  1. queue_sequence 表 queue 表
编辑 | blame | 历史 | 原始文档
The MIT License (MIT)

Copyright (c) 2021 ruoyi-vue-pro

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
README 3 KB
jh-framework/jh-common/《芋道 Spring Boot 参数校验 Validation 入门》 51 b
jh-framework/jh-spring-boot-starter-job/《芋道 Spring Boot 定时任务入门》 44 b
jh-framework/jh-spring-boot-starter-job/《芋道 Spring Boot 异步任务入门》 50 b
jh-framework/jh-spring-boot-starter-monitor/《芋道 Spring Boot 监控工具 Admin 入门》 47 b
jh-framework/jh-spring-boot-starter-monitor/《芋道 Spring Boot 监控端点 Actuator 入门》 50 b
jh-framework/jh-spring-boot-starter-monitor/《芋道 Spring Boot 链路追踪 SkyWalking 入门》 51 b
jh-framework/jh-spring-boot-starter-mq/《芋道 Spring Boot 事件机制 Event 入门》 49 b
jh-framework/jh-spring-boot-starter-mq/《芋道 Spring Boot 消息队列 Kafka 入门》 46 b
jh-framework/jh-spring-boot-starter-mq/《芋道 Spring Boot 消息队列 RabbitMQ 入门》 49 b
jh-framework/jh-spring-boot-starter-mq/《芋道 Spring Boot 消息队列 RocketMQ 入门》 49 b
jh-framework/jh-spring-boot-starter-mybatis/《芋道 Spring Boot MyBatis 入门》 48 b
jh-framework/jh-spring-boot-starter-mybatis/《芋道 Spring Boot 多数据源(读写分离)入门》 59 b
jh-framework/jh-spring-boot-starter-mybatis/《芋道 Spring Boot 数据库连接池入门》 56 b
jh-framework/jh-spring-boot-starter-redis/《芋道 Spring Boot Cache 入门》 46 b
jh-framework/jh-spring-boot-starter-redis/《芋道 Spring Boot Redis 入门》 46 b
jh-framework/jh-spring-boot-starter-security/《芋道 Spring Boot 安全框架 Spring Security 入门》 205 b
jh-framework/jh-spring-boot-starter-web/src/main/resources/banner 1 KB
jh-framework/jh-spring-boot-starter-web/《芋道 Spring Boot API 接口文档 Swagger 入门》 48 b
jh-framework/jh-spring-boot-starter-web/《芋道 Spring Boot SpringMVC 入门》 50 b
jh-framework/jh-spring-boot-starter-websocket/《芋道 Spring Boot WebSocket 入门》 50 b
jh-module-infra/jh-module-infra-biz/src/main/java/cn/lihu/jh/module/infra/convert/《芋道 Spring Boot 对象转换 MapStruct 入门》 50 b
jh-module-infra/jh-module-infra-biz/src/main/java/cn/lihu/jh/module/infra/framework/monitor/《芋道 Spring Boot 监控工具 Admin 入门》 46 b
jh-module-system/jh-module-system-biz/src/main/java/cn/lihu/jh/module/system/convert/《芋道 Spring Boot 对象转换 MapStruct 入门》 50 b
jh-ui/jh-ui-admin-uniapp/README 176 b
jh-ui/jh-ui-admin-vben/README 186 b
jh-ui/jh-ui-admin-vue2/README 176 b
jh-ui/jh-ui-admin-vue3/README 178 b
jh-ui/jh-ui-mall-uniapp/README 424 b
script/docker/Docker-HOWTO 1 KB
sql/db2/README 194 b
sql/tools/README 4 KB