Reporting module: clinician-authored logic for report snippets

CuraForge lets clinicians write small Python scripts that transform structured inputs (RIS / modality metadata / AI outputs) into report-ready text snippets.

Runs fully client-side using Pyodide (Python in WebAssembly).
The idea in 30 seconds
  1. Fetch structured data from multiple sources
  2. Merge to one input_json
  3. Run clinician-owned scripts
  4. Produce result keys as snippet placeholders
  5. Insert snippets into the report
Script contract
Scripts read input_json and write to result. Multiple .py files are concatenated and executed in filename order.
Report placeholders
Each key becomes a placeholder like:
<ext:CuraForge.impression_snippet>
Safety (in production)
Production executes scripts in a restricted environment; this public demo runs locally in your browser (no patient data).

Ready to see it live?
Edit Python, run, and watch the report preview update.
Open demo