feat: integrate local multi-system Database (ICD-10-CM, ICD-O, CPT), add cross-platform installers & dedicated runners

This commit is contained in:
Abhinav Gupta
2026-10-03 10:15:18 +05:30
parent 9ed0318b19
commit d3b000cb7c
32 changed files with 1098 additions and 1618 deletions
+34
View File
@@ -0,0 +1,34 @@
# PowerShell Run Script for Windows
param (
[switch]$Api
)
$ErrorActionPreference = "Stop"
$venvPath = Join-Path $PSScriptRoot "env"
$venvPython = Join-Path $venvPath "Scripts\python.exe"
$venvActivate = Join-Path $venvPath "Scripts\Activate.ps1"
if (-not (Test-Path $venvActivate)) {
Write-Host "[ERROR] Virtual environment not found at .\env." -ForegroundColor Red
Write-Host "Please run the installer first:" -ForegroundColor Yellow
Write-Host " .\install.ps1" -ForegroundColor Yellow
exit 1
}
# Activate environment in current PowerShell session
& $venvActivate
$env:PYTHONPATH = (Join-Path $PSScriptRoot "src")
if ($Api) {
Write-Host "===============================================================================" -ForegroundColor Cyan
Write-Host " Starting FastAPI Medical Coding Service on http://127.0.0.1:8000" -ForegroundColor Green
Write-Host "===============================================================================" -ForegroundColor Cyan
& $venvPython -m uvicorn medical_coding.api.app:app --host 0.0.0.0 --port 8000 --reload
} else {
Write-Host "===============================================================================" -ForegroundColor Cyan
Write-Host " Starting Streamlit Medical Coding Workspace on http://localhost:8501" -ForegroundColor Green
Write-Host "===============================================================================" -ForegroundColor Cyan
& (Join-Path $venvPath "Scripts\streamlit.exe") run (Join-Path $PSScriptRoot "app.py")
}