How openhealthagents/sims_rad works
SIMS Radiology is an agentic radiology operations platform: studies enter through API workflows, are ingested and prioritized, then receive AI-assisted case context and draft reporting under clinical guardrails for radiologist review. The workbench streams agent UI updates; persisted events support downstream workflow and report delivery. The README also documents PACS/EHR integrations, SHAP explainability, auditability, and transactional outbox delivery. Some subsystems are represented from README and tree evidence; their internal call paths were not sampled, so uncertain links are omitted.
Main entry points: radiology_orchestrator.py Radiology Orchestrator · ingest_study.py Study Ingestion · outbox_worker.py Outbox Dispatcher · a2ui_engine.js A2UI Stream Engine
Components 21
User Interfaces
- FastAPI Application
apps/api/src/main.py - A2UI Stream Engine
apps/web/src/a2ui_engine.js - Radiologist Workbench
apps/web/src/views/workbench.js - Clinical UI Widgets
apps/web/src/components
Clinical Workflow
- Study Ingestion
core/application/use_cases/ingest_study.py - AI Diagnostic Triage
core/application/use_cases/run_ai_diagnostic_triage.py - Study Entity
core/domain/entities/study.py - Lifecycle Rules
core/domain/state_machine.py
Agent Intelligence
- Radiology Orchestrator
agents/radiology_orchestrator.py - Case Concierge
agents/case_concierge.py - Clinical Guardrails
agents/guardrails/service.py - Clinical Tools
agents/tools/clinical_tools.py - Reporting Tools
agents/tools/reporting_tools.py - SHAP Explainability
agents/tools/shap_tools.py
Persistence & Integrations
- Study Repository
core/infrastructure/db/study_repository_impl.py - Outbox Dispatcher
core/infrastructure/persistence/outbox_worker.py - Persistence Models
core/infrastructure/persistence/models.py
Other components
- Radiologist
- Kestra Workflows
- Hospital EHR
- PACS
Connections 17
- FastAPI Application → Study Ingestion: routes studies
- FastAPI Application → AI Diagnostic Triage: routes triage
apps/api/src/main.py - Study Ingestion → Study Repository: persists study
core/application/use_cases/ingest_study.py - Study Ingestion → Study Entity: creates study
core/application/use_cases/ingest_study.py - Radiology Orchestrator → Case Concierge: requests case brief
agents/radiology_orchestrator.py - Radiology Orchestrator → Clinical Guardrails: checks outputs
agents/radiology_orchestrator.py - Radiology Orchestrator → Clinical Tools: uses tools
agents/radiology_orchestrator.py - Radiology Orchestrator → Reporting Tools: uses tools
agents/radiology_orchestrator.py - Radiology Orchestrator → SHAP Explainability: explains timing
- A2UI Stream Engine → FastAPI Application: opens SSE stream
apps/web/src/a2ui_engine.js - Radiologist Workbench → A2UI Stream Engine: uses engine
apps/web/src/main.js - A2UI Stream Engine → Clinical UI Widgets: registers widgets
apps/web/src/a2ui_engine.js - Radiologist → Radiologist Workbench: reviews drafts
- Outbox Dispatcher → Persistence Models: polls events
core/infrastructure/persistence/outbox_worker.py - Outbox Dispatcher → Kestra Workflows: triggers flows
core/infrastructure/persistence/outbox_worker.py - Outbox Dispatcher → Hospital EHR: delivers reports
core/infrastructure/persistence/outbox_worker.py - PACS → Study Ingestion: provides imaging