TORCH Integration
TORCH is a service for extracting patient data from clinical systems. Aether connects to TORCH to download data based on your query.
How It Works
- You provide a CRTDL query file (defines which patients/data you want)
- Aether sends it to TORCH
- TORCH extracts the matching data
- Aether downloads the results
Configuration
Add TORCH credentials to your aether.yaml:
yaml
services:
torch:
base_url: "https://your-torch-server.org"
username: "your-username"
password: "your-password"
pipeline:
enabled_steps:
- torch
- dimpRunning a TORCH Query
bash
aether pipeline start your-query.crtdlAether will show progress as it:
- Submits your query
- Waits for extraction
- Downloads the data
- Continues to DIMP (if enabled)
Advanced Options
Timeout Settings
For large queries that take longer:
yaml
services:
torch:
base_url: "https://your-torch-server.org"
username: "your-username"
password: "your-password"
extraction_timeout_minutes: 60 # Default is 30
polling_interval_seconds: 10 # Default is 5Reusing Previous Extractions
If you already have a TORCH result URL:
bash
aether pipeline start http://torch-server/fhir/result/abc123This skips the extraction and downloads directly.