02

RT_slot

Treatment Slot PlannerTreatment Slot Planner

여러 치료실의 슬롯(예약 가능 자리)과 환자 조건을 한곳에서 비교해, 신환 배정과 일정 변경 대안을 근거와 함께 보여 주는 운영 보조 도구.Compares slots and patient requirements across all treatment rooms and proposes new-patient placements and rescheduling options — with reasons.

  • PROTOTYPE
  • Windows 10/11 x64
  • Local web (browser)
2026-10-24 OCR 포함 배포본 · PC 안의 로컬 서버 + 브라우저 · 병원 시스템 자동 입력 없음2026-10-24 build with OCR · local server + browser on the PC · never writes to hospital systems
RT_slot screenshot
연구·교육용 — 사용 범위 안내Intended use예약·운영 의사결정을 보조하는 도구입니다. 치료 계획·처방·환자별 이동 가능 여부의 최종 판단은 담당 의료진과 기존 승인 절차를 따르며, 추천만으로 치료를 바꾸지 않습니다. 화면의 점유 수치·환자·예약은 모두 가상(자동 생성) 데이터입니다.A scheduling and operations aid. Final decisions on plans, prescriptions and whether a patient can move follow the care team and existing approvals; a recommendation alone never changes treatment. Occupancy, patients and bookings on screen are synthetic.
The Idea

왜 만들었나Why it exists

방사선치료 신환 배정은 ‘오늘 비어 있는 치료실’을 찾는 것으로 끝나지 않습니다. 치료기법과 장비 조건(SGRT, Gating), 여러 날에 걸친 치료기간 전체의 여유, 추가 절차 시간을 함께 봐야 하고, 치료실별 예약을 하나씩 조회해 날짜별로 대조해야 합니다. 일정 변경이나 장비 문제가 생기면 B치료실을 비우려고 다른 환자를 C치료실로 먼저 옮기는 ‘연쇄 이동’까지 따져야 합니다. 병원 예약 프로그램에 아직 반영하지 않은 배정은 자리가 비어 보여 중복 배정의 위험도 있습니다. RT_slot은 이 비교·대조를 한 화면에서 계산해 보여 줍니다.Placing a new radiotherapy patient is more than finding a free room today. Technique and equipment needs (SGRT, gating), capacity over the whole course and extra procedure time all matter, and each room’s bookings must be checked date by date. When plans change, freeing room B may first require moving another patient to room C. Placements not yet entered into the hospital system make slots look free and risk double-booking. RT_slot computes these comparisons on one screen.

Before / After

도입 전과 후Before and after

도입 전 (현재)Before (today)

  1. 치료실별 예약 현황과 환자 조건을 각각 조회합니다.Each room’s bookings and patient needs are looked up separately.
  2. 치료기간 전체의 여유와 장비 적합성을 반복해서 대조합니다.Whole-course capacity and equipment fit are cross-checked by hand.
  3. 변경이 필요하면 옮길 수 있는 환자와 대체 치료실을 찾아 협의합니다.For changes, movable patients and alternative rooms are found and negotiated.
  4. 병원 프로그램에 반영한 뒤 현황과 누락 여부를 다시 확인합니다.After entering into the hospital system, everything is re-checked for gaps.

도입 후After

  1. 슬롯 현황 화면 이미지를 PC 내부 OCR로 읽거나 엑셀 붙여넣기·직접 입력으로 등록하고, 원본과 나란히 검수한 뒤 저장합니다.Slot screens are read by on-device OCR (or pasted/typed) and reviewed side by side before saving.
  2. 치료기간·장비 조건을 반영한 추천 후보와 제외 사유를 한 화면에서 비교합니다.Recommended rooms and exclusion reasons are compared on one screen.
  3. 단일·연쇄 이동 대안과 순서를 검토하고 담당자가 결정합니다.Single and chained move options with their order are reviewed; staff decide.
  4. 병원 프로그램에 직접 반영한 뒤 ‘반영 완료’를 표시하고, 미반영 목록으로 누락을 확인합니다.After entering into the hospital system, staff mark it done; an unentered list catches gaps.
How it works

설계와 작동 원리Design and how it works

프로그램이 실제로 어떤 순서로 무엇을 계산하는지, 어디까지가 규칙이고 어디부터가 AI인지 적었습니다.What the program actually computes, in what order — and where rules end and AI begins.

입력Input

치료실별 슬롯 현황(이미지·엑셀·직접 입력), 신환 조건, 이동 검토 시 환자별 예약 목록, 치료실 기준정보(장비·정원)Per-room slot status (image, Excel or typed), new-patient requirements, per-patient bookings for move review, room reference data

처리Process

OCR 추출 → 검수 → 치료실별 현황 통합 → 코스 전체 수용 검사 → 후보 비교 → 이동 대안 탐색 → 저장 시 충돌 검사OCR → review → merge per room → whole-course capacity check → compare candidates → search moves → clash check on save

결과물Output

4주 슬롯 현황, 추천 후보와 제외 사유, 부족한 날짜, 이동 순서, 병원 미반영 목록Four-week slot view, ranked candidates with exclusion reasons, short days, move order, unentered list

01

자료 입력 — PC 내부 OCRInput — on-device OCR

슬롯 조회 화면(날짜×치료실 표)을 캡처한 이미지의 숫자를 OCR 모델로 읽습니다. 인터넷이 필요 없고 이미지는 메모리에서만 처리합니다. 불확실한 칸은 ‘확인 필요’로 표시하고 원본과 나란히 검수한 뒤에만 저장합니다. 지정된 표 형식만 읽으며 다른 형식은 추측하지 않고 거절합니다.Numbers in a captured date × room slot table are read by an on-device OCR model, offline, in memory only. Uncertain cells are flagged ‘check’ and saved only after side-by-side review. Only the expected table layout is accepted; anything else is rejected rather than guessed.

02

유효 점유 계산Effective occupancy

유효 점유 = 병원 캡처 + 아직 캡처에 반영되지 않은 배정 + 이동 보정. 새 캡처가 들어와도 병원 반영 전 배정은 유지하고, 반영된 뒤에는 이중으로 더하지 않습니다.Effective occupancy = hospital capture + placements not yet in the capture + move adjustments. Unentered placements survive a new capture and are not double-counted once entered.

03

신환 배정 — 규칙 점수Placement — rule scoring

치료기법·횟수·시작일·회당 시간을 넣으면 13개 치료실을 모두 평가해, 휴무일을 뺀 코스 전체의 수용 여부, 부족한 날짜, 늘어나는 연장근무 예상 시간을 점수와 함께 보여 줍니다. 조건이 불명확하면 ‘확인 필요’로 두고 자동 통과시키지 않으며, 추천하지 않은 치료실의 사유도 표시합니다.Given technique, fractions, start date and session length, all 13 rooms are scored for whole-course capacity (holidays excluded), short days and expected overtime. Unclear conditions stay ‘check’ instead of passing; non-recommended rooms show why.

04

과밀 조정 — 제한 깊이 탐색Rebalancing — bounded search

과밀 날짜에서 옮길 수 있는 환자를 찾고(장비 고정 치료, 같은 계열 치료기 그룹, SGRT·Gating 요건 규칙 적용), 다른 치료실을 먼저 비우는 연쇄 이동을 최대 3~4단계까지 탐색해 실행 순서와 함께 제시합니다. 전체 최적화는 아니며, 해소안이 없으면 없다고 표시합니다.For overloaded days it finds movable patients (machine-locked plans, same-family machine groups, SGRT/gating rules) and searches chained moves up to 3–4 steps, with the execution order. It is not a global optimiser and says so when no solution exists.

05

저장 시 안전장치Safety on save

저장할 때 예약 시간 충돌과 장비 조건을 다시 검사하고, 코스 중 하루라도 충돌하면 코스 전체를 취소합니다. 환자 이름·등록번호는 기본으로 가려지고, 하루 한 번 자동 백업(14개 보관)합니다.On save, time clashes and equipment rules are re-checked; one clashing day cancels the whole course. Names and IDs are masked by default; a daily backup keeps 14 copies.

AI 적용 범위Where AI is (and isn’t) used기계학습은 숫자 인식 OCR뿐입니다. 추천은 규칙 점수, 이동은 제한 깊이 탐색이며 생성형 AI는 쓰지 않습니다. 화면의 이동 가능 판정(PASS/FAIL/REVIEW)은 기계적 조건 검사이고 임상 승인이 아닙니다.Machine learning is used only for digit OCR. Recommendations are rule scores and moves are a bounded search — no generative AI. PASS/FAIL/REVIEW is a mechanical check, not clinical approval.
Key Features

핵심 기능What it does

  1. 슬롯 자료 등록 — 캡처 이미지의 숫자를 PC 내부 OCR로 추출, ‘확인 필요’ 칸 표시, 원본과 나란히 검수 후 저장 (엑셀 붙여넣기·직접 입력 지원)Slot intake — on-device OCR of captured tables, ‘check’ flags, side-by-side review (Excel paste or typing also supported)
  2. 오늘의 운영 현황 — 배정 슬롯 초과, 병원 시스템 미반영, 모닝 QA 미입력, 다음 진료일 치료실 카드Today — over-capacity slots, placements not yet in the hospital system, missing morning QA, next-day room cards
  3. 4주 스케줄 — 치료실×날짜 점유/정원과 초과·여유를 색으로Four-week schedule — occupancy vs capacity per room and day, colour-coded
  4. 신환 배정 — 13개 치료실 전수 평가, 코스 전체 수용·부족 날짜·연장근무 예상·제외 사유New-patient placement — all 13 rooms scored for whole-course fit, short days, overtime and exclusion reasons
  5. 과밀 조정 — 옮길 수 있는 환자와 연쇄 이동(최대 3~4단계) 실행 순서Rebalancing — movable patients and chained moves (up to 3–4 steps) with order
  6. 병원 미반영 관리 — 반영 전 배정 유지, 반영 후 이중 합산 방지, 저장 시 충돌 검사Unentered tracking — placements kept until entered, no double-counting, clash check on save
  7. 개인정보 가림·접근 잠금(선택)·하루 1회 자동 백업 14개Masked names and IDs, optional access lock, 14 daily backups
Gallery

실제 화면Real screens

개발 중인 프로그램을 실제로 실행해 캡처한 화면입니다. 클릭하면 크게 볼 수 있어요.Captured from the running program. Click to enlarge.

Try it

직접 시험해 보기Try it yourself

시연 순서를 그대로 따라 할 수 있게 정리했습니다. 모든 예시는 가상(합성) 데이터입니다.The demo, step by step. All examples use fictional or synthetic data.

  1. ZIP을 고정된 위치(예: C:\RT_slot)에 모두 풀고 ‘RT_slot 실행.bat’을 실행하면 브라우저가 열립니다.Extract the ZIP to a fixed folder (e.g. C:\RT_slot) and run ‘RT_slot 실행.bat’; a browser opens.
  2. 왼쪽 ‘슬롯 자료 등록’에서 ‘직접 시험해 보기’의 합성 슬롯 표 이미지를 내려받아 선택(또는 Ctrl+V)하고 숫자 추출을 누릅니다.In ‘Slot data’, choose the synthetic slot table from ‘Try it yourself’ (or Ctrl+V) and extract the numbers.
  3. 원본 이미지와 나란히 비교하며 검수 완료 → 저장 후보 확인 → 반영합니다.Review side by side with the original, then confirm and apply.
  4. ‘오늘’과 ‘4주 스케줄’에서 과밀·여유 날짜를 확인합니다.Check overloaded and free days on ‘Today’ and the four-week schedule.
  5. ‘신환 배정’에 가상 조건(예: VMAT, 10회, 시작일, 회당 20분)을 넣고 추천 치료실과 ‘추천되지 않은 이유’를 봅니다.In ‘New patient’, enter fictional requirements (e.g. VMAT, 10 fractions, 20 min) and read the recommendations and the reasons others were excluded.
  6. 종료는 ‘RT_slot 종료.bat’으로 합니다.Stop the server with ‘RT_slot 종료.bat’.
시험용 합성 자료Synthetic test file
rtslot-synthetic-slot-table-202611.png

2026-11-02 ~ 12-02, TR1~TR14와 참고 열(Bra·SIM·CT1·CT2·US SIM)이 든 생성 숫자표입니다. 병원 화면이나 실제 예약이 아닙니다. 배포본 OCR(GPU)로 589칸 전부 일치하는 것을 확인했습니다(2026-10-24). TR4 열은 비워 두었고, 빈칸은 기존 값을 유지합니다.A generated table for 2026-11-02 – 12-02 with TR1–TR14 and reference columns. It is not a hospital screen or real bookings. The released OCR (GPU) read all 589 cells correctly (2026-10-24). TR4 is left blank; blanks keep existing values.

합성 슬롯 표 내려받기Download the synthetic table ↓
Verification · 2026-10-24

확인한 것과 아직 확인하지 않은 것What has and hasn’t been verified

확인함Verified

  • 저장·접근 검사 29개와 연쇄 재배치·적합성 판정·화면 조회 검사 통과29 storage/access checks plus chained-move, eligibility and screen checks passed
  • 배포본에서 합성 숫자표 OCR 506칸 모두 일치(GPU)Released build read a 506-cell synthetic table exactly (GPU)
  • 이 사이트의 시험용 합성 슬롯 표를 2026-10-23 배포본 OCR로 읽어 589칸 모두 일치(GPU, 약 1.8초) — 10-24 배포본에서는 다시 재지 않음This site’s synthetic table read 589/589 by the 2026-10-23 build’s OCR (GPU, ~1.8 s) — not re-run on the 10-24 build
  • 배포 ZIP의 SHA256을 다시 계산해 일치 확인, data 폴더는 빈 상태(환자 정보 없음)Release ZIP SHA256 recomputed and matched; data folder ships empty (no patient information)

아직 확인하지 않음Not yet verified

  • 실제 병원 화면에서의 OCR 정확도, GPU가 없는 PC(CPU 보조 모델)의 속도·정확도OCR accuracy on real hospital screens; speed and accuracy on PCs without an NVIDIA GPU (CPU model)
  • 현장 업무 흐름 전체, 시간표·근무표·통계 화면의 시연The full on-site workflow; timetable, rota and statistics screens
Requirements

설치 최소 사양Minimum requirements

운영체제OSWindows 10/11 64비트Windows 10/11 64-bit
설치Install고정 위치(예: C:\RT_slot)에 모두 풀고 ‘RT_slot 실행.bat’ — Node.js·Python 별도 설치 불필요Extract to a fixed folder (e.g. C:\RT_slot) and run ‘RT_slot 실행.bat’ — no Node.js or Python needed
디스크DiskZIP 약 1.59GB, 푼 뒤 약 2.5GBZIP ≈ 1.59 GB, ≈ 2.5 GB unpacked
OCR 실행OCR runtimeNVIDIA GPU가 있으면 고정밀 모델(개발 PC 31일×19칸 표 약 2~5초), 없으면 CPU용 경량 모델로 자동 전환High-accuracy model on an NVIDIA GPU (≈ 2–5 s for a 31 × 19 table on the dev PC), otherwise the lightweight CPU model
이미지Images8MB 이하 PNG/JPEG, 최대 1,200만 화소. 지정된 표 형식만 읽음PNG/JPEG up to 8 MB, 12 MP. Only the expected table layout
데이터Datadata\rt_ops.db(첫 실행 시 생성), data\backup 자동 백업. 환자 자료·시연 데이터 미포함data\rt_ops.db (created on first run), automatic backups in data\backup. No patient or demo data included

검증은 개발 PC(NVIDIA GPU) 기준입니다. 치료실 PC(예: RTX A400 4GB)의 실제 속도·메모리는 시범에서 측정합니다.Verified on the development PC (NVIDIA GPU). Speed and memory on ward PCs (e.g. RTX A400 4 GB) will be measured in a pilot.

설치·실행Install & run

시작하기Getting started

ZIP을 고정된 위치에 모두 풀고 ‘RT_slot 실행.bat’을 실행하면 브라우저에서 화면이 열립니다. dist·ocr·data 폴더는 실행 파일 옆에 그대로 두세요. 종료는 ‘RT_slot 종료.bat’입니다. 업데이트할 때는 새 폴더에 풀고 기존 data 폴더를 복사합니다.Extract the ZIP to a fixed folder and run ‘RT_slot 실행.bat’; the app opens in your browser. Keep the dist, ocr and data folders next to the executable. Stop it with ‘RT_slot 종료.bat’. To update, extract to a new folder and copy the old data folder across.

  • 코드 서명이 없는 실행 파일입니다. 파일 확인값(SHA256)은 다운로드 센터에 있습니다.The executable is unsigned — checksums are on the Download Center.
  • 사용자별 계정·역할 권한, HTTPS, DB 암호화는 아직 없습니다. 서버는 기본적으로 같은 망에 열리므로 시험 시 접근 잠금을 켜거나 단독 PC에서 사용하세요.No per-user accounts, roles, HTTPS or database encryption yet. The server listens on the local network by default — turn on the lock or use a standalone PC when testing.
  • 슬롯 합계만으로는 개별 환자의 이동 가능 여부를 알 수 없어, 이동 검토에는 환자별 예약 목록이 필요합니다(배포본에는 없음).Totals alone cannot tell whether a given patient can move; move review needs per-patient bookings (not included).
Data & Privacy
로컬 처리Local processing예 — OCR·추천·이동 탐색 모두 PC 내부 서버. 외부 AI·클라우드 전송 기능 없음Yes — OCR, scoring and move search on the local server; nothing is sent to external AI or cloud
병원 시스템Hospital systems자동 입력·수정 없음 — 반영은 담당자가 직접Never writes to hospital systems — staff enter changes themselves
접근Access접근 잠금(비밀번호, 8회 실패 시 5분 잠금)은 기본 꺼짐. 시범 전 접속 범위를 해당 PC로 제한 권장Access lock (password, 5-min lockout after 8 failures) is off by default; restrict access to the PC before a pilot
출력Printing시간표 인쇄는 이름·등록번호를 가린 상태가 기본이며, 출력은 감사 기록에 남음Timetable printing masks names and IDs by default and is audit-logged
Download

내려받기Get it

Version
2026.10.24 OCR
운영체제OS
Windows 10/11 x64
형태Type
ZIP · bat + local server
파일File
RT_slot-OCR-20261024-mvmf90zx.zip
크기Size
1.59 GB
업데이트Updated
2026-10-24

Google Drive 페이지가 열립니다. 대용량 파일은 ‘바이러스 검사를 할 수 없음’ 안내가 나올 수 있으며, 이 경우 ‘무시하고 다운로드’를 누르세요. 접속이 몰리면 일시적으로 다운로드가 제한될 수 있습니다.This opens a Google Drive page. For large files Drive may say it cannot scan for viruses — choose “Download anyway”. Downloads can be temporarily limited when traffic is high.

파일이 원본 그대로인지 확인하는 값(SHA256)은 다운로드 센터에 있습니다.The checksum (SHA256) for verifying the file is on the Download Center. 다운로드 센터Download Center →

Share

홍보글 · 카드Post & card

그대로 복사해서 올릴 수 있는 짧은 홍보글과 공유용 카드입니다.A short post you can copy as-is, with share-ready cards.

📅 RT_slot — 치료실 슬롯·신환 배정 보조

슬롯 화면 캡처의 숫자를 PC 안에서 OCR로 읽고, 신환 조건을 넣으면 13개 치료실을 코스 전체 기준으로 평가해 추천과 ‘추천하지 않은 이유’를 함께 보여 줍니다. 과밀한 날은 연쇄 이동 순서까지.

✔ Windows · 로컬 서버 + 브라우저 · 인터넷 불필요
✔ 병원 시스템 자동 입력 없음 — 최종 결정은 담당자

#RT_slot #방사선치료 #일정관리 #ALEXAISTUDIO
📅 RT_slot — a treatment-slot and placement planner

Reads slot screenshots with on-device OCR, scores all 13 rooms over the whole course for a new patient, and shows why the others were not recommended. For overloaded days, it proposes the order of chained moves.

✔ Windows · local server + browser · offline
✔ Never writes to hospital systems — staff decide

#RT_slot #Radiotherapy #Scheduling #ALEXAISTUDIO
RT_slot promo card
가로 카드 1200×630Landscape 1200×630PNG ↓
RT_slot square promo card
정사각 카드 1080×1080Square 1080×1080PNG ↓