๐๏ธ NDIS Integration Module
This module connects RABS to the Australian National Disability Insurance Scheme (NDIS) ecosystem.
It automates claims, maintains price-guide compliance, tracks participant spending, and produces mandatory reports.
1. Scope & Objectivesโ
| Objective | Outcome |
|---|---|
| Bulk-upload service bookings & claims | Generate CSV/XLSX batches ready for NDIS or Xero import. |
| Real-time spend tracking for participants | Account pages display budget vs spend vs forecast. |
| Continuous compliance monitoring | Scrape official NDIS price guides; raise diffs for review. |
| Document generation | Auto-fill Incident / Change-of-Circumstance forms from schedule or event triggers. |
| Audit-ready history | Immutable ledger of every claim, correction, and price-guide version used. |
2. High-Level Architectureโ
RABS Core DB
โฒ
โ REST / RPC
โโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโ
โ NDIS Service โโโโโบ SFTP / Portal Upload (CSV/XLSX)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โฒ
โ (web-scrape / RSS)
โโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโ
โ ComplianceBot โโโโโบ internalmonologue (PRICE_GUIDE_UPDATE)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Front-end: Spend Dash โ /ndis/accounts/:id
3. Data Model (PostgreSQL)โ
| Table | Purpose | Key Columns |
|---|---|---|
ndis_price_guides | Snapshot of the official Support Catalogue | id, version, effective_from, item_code, description, unit_price, vector |
ndis_claim_batches | Header rows for bulk uploads | id, period_start, period_end, status, file_path, guid_version |
ndis_claim_lines | Individual booking lines within a batch | id, batch_id, participant_id, service_date, item_code, units, claim_amt |
ndis_participant_ledger | Running spend & budget per participant | id, participant_id, budget_total, budget_spent, forecast_remaining |
ndis_compliance_events | Price-guide diffs & document-gen triggers | id, event_type, payload_json, vector, created_at |
Notes:
ndis_price_guides.descriptionis embedded (vector) for fast fuzzy lookup by the LLM.ndis_context_bucketstores recurring claim errors to prevent repeat mistakes.
4. API Endpointsโ
| Method & Path | Purpose | Auth Scope |
|---|---|---|
POST /ndis/batch/build | Assemble a claim batch for a given period. | ndis:write |
GET /ndis/batch/:id/download | Download the generated CSV/XLSX file. | ndis:read |
GET /ndis/participants/:id/ledger | Data for budget vs spend dashboard. | ndis:read + owner |
5. Key Workflowsโ
- Bulk Upload โ Nightly job queries bookings, validates against current price guide, creates batch file, marks status
READY. Operator uploads to portal and marksSUBMITTEDvia API. - Price-Guide Sync โ
ComplianceBotscrapes the official NDIS site daily. On change, it inserts the new guide intondis_price_guidesand emits aPRICE_GUIDE_UPDATEevent. - Document Generation โ Event-driven service auto-fills official PDF templates (e.g., Change of Circumstance) and stores them in the document store.
๐ Related Docsโ
- ../../02_Brainframe_Cognitive_Architechture/02_Reasoning_&_Memory/04_Context_Buckets_Lessons_Learned.md
- ../../02_Brainframe_Cognitive_Architechture/03_LLM_&_Prompts/01_Central_LLM_Gateway.md
- ../../02_Brainframe_Cognitive_Architechture/00_Introduction_to_the_Brainframe.md