Infrastructure
Our SFTP system provides:- SFTP server — Secure file upload endpoint for customers
- Cloud storage — Three buckets per tenant:
- Ingestion — Files land here from SFTP
- Processed — Successfully parsed files are archived here
- Invalid — Files that failed validation (triage queue)
- File processor — Parses files and writes entities to our data engine
Customer folder structure
Each customer gets a set of default folders on the SFTP server:The folder name determines how files are parsed. A file in the
EDI/ folder is parsed as X12 EDI. A file in UCRN/ is parsed as a pipe-delimited crosswalk.Processing pipeline
1
Upload
Customer uploads a file via SFTP. It lands in the ingestion bucket.
2
Validate
The file processor validates the path format:
{customerSlug}/{fileCategory}/{filename}.3
Route & parse
Based on the folder:
- EDI/ — X12 parser creates Claim and Remit entities
- UCRN/ — CSV parser creates Account entities and links to Claims
- MedicalRecords/ — Associates documents with existing Claims
4
Persist
Entities are created or updated in our data engine via the API.
5
Archive
The file is moved to the Processed bucket (or Invalid if parsing failed).
What happens next
Once files are parsed into entities, our background services pick up the changes in real time to:- Parse raw EDI data into structured Claim and Remit entities
- Create Account entities from UCRN crosswalks and link claims
- Link remittance payments to their corresponding claims
- Associate medical records with patient claims