Skip to main content

๐Ÿ›๏ธ 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โ€‹

ObjectiveOutcome
Bulk-upload service bookings & claimsGenerate CSV/XLSX batches ready for NDIS or Xero import.
Real-time spend tracking for participantsAccount pages display budget vs spend vs forecast.
Continuous compliance monitoringScrape official NDIS price guides; raise diffs for review.
Document generationAuto-fill Incident / Change-of-Circumstance forms from schedule or event triggers.
Audit-ready historyImmutable 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)โ€‹

TablePurposeKey Columns
ndis_price_guidesSnapshot of the official Support Catalogueid, version, effective_from, item_code, description, unit_price, vector
ndis_claim_batchesHeader rows for bulk uploadsid, period_start, period_end, status, file_path, guid_version
ndis_claim_linesIndividual booking lines within a batchid, batch_id, participant_id, service_date, item_code, units, claim_amt
ndis_participant_ledgerRunning spend & budget per participantid, participant_id, budget_total, budget_spent, forecast_remaining
ndis_compliance_eventsPrice-guide diffs & document-gen triggersid, event_type, payload_json, vector, created_at

Notes:

  • ndis_price_guides.description is embedded (vector) for fast fuzzy lookup by the LLM.
  • ndis_context_bucket stores recurring claim errors to prevent repeat mistakes.

4. API Endpointsโ€‹

Method & PathPurposeAuth Scope
POST /ndis/batch/buildAssemble a claim batch for a given period.ndis:write
GET /ndis/batch/:id/downloadDownload the generated CSV/XLSX file.ndis:read
GET /ndis/participants/:id/ledgerData for budget vs spend dashboard.ndis:read + owner

5. Key Workflowsโ€‹

  1. Bulk Upload โ€“ Nightly job queries bookings, validates against current price guide, creates batch file, marks status READY. Operator uploads to portal and marks SUBMITTED via API.
  2. Price-Guide Sync โ€“ ComplianceBot scrapes the official NDIS site daily. On change, it inserts the new guide into ndis_price_guides and emits a PRICE_GUIDE_UPDATE event.
  3. Document Generation โ€“ Event-driven service auto-fills official PDF templates (e.g., Change of Circumstance) and stores them in the document store.

  • ../../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