How builtbyprashant/devicerecallassistant works
RRA turns public recall evidence into a reviewed, explainable hospital worklist, then supports clinician decisions and patient follow-up. The main path is recall review and approval, local implant matching, evidence review, and versioned notice/case tracking. The architecture also includes a complementary patient-inventory view and optional AI-assisted parsing and notice drafting. Edges rely on README workflow statements or shown source references; several internal API persistence details were not excerpted, so those links are omitted.
Main entry points: app.py Matcher API · Workflow.cs .NET API workflow · App.tsx Recall worklist app · tiers.py Tier assignment
Components 25
Recall review
- Recall review panel
frontend/src/components/RecallReviewPanel.tsx - Recall API client
frontend/src/api/recallApi.ts - Recall snapshots
backend/Api/RecallSnapshots.cs
Matching service
- Matcher API
matcher/rra_matcher/api/app.py - FDA device data
matcher/rra_matcher/fda/gudid.py - Scope parser
matcher/rra_matcher/parsing/parser.py - Optional parse assist
matcher/rra_matcher/parsing/llm_fallback.py - LLM provider interface
matcher/rra_matcher/llm/interface.py - Identifier normalization
matcher/rra_matcher/parsing/normalizer.py - Tier assignment
matcher/rra_matcher/matching/tiers.py - Match scoring
matcher/rra_matcher/matching/scorer.py
Hospital workflow
- .NET API workflow
backend/Api/Workflow.cs - Matcher client
backend/Api/MatcherClient.cs - Hospital records
backend/Api/HospitalRecords.cs
Clinician experience
- Recall worklist app
frontend/src/App.tsx - Candidate worklist
frontend/src/components/worklist/CandidateTable.tsx - Patient case detail
frontend/src/components/PatientDetailView.tsx - Patient inventory
frontend/src/components/PatientInventoryView.tsx - Contract adapter
frontend/src/utils/contractAdapter.ts
Other components
- Recall reviewer
- FDA recall evidence
- HAPI FHIR
- Supplemental implant log
- PostgreSQL
- Clinician and coordinator
Connections 25
- FDA recall evidence → .NET API workflow: provides recall evidence
README.md - Recall reviewer → Recall review panel: reviews scope
README.md - Recall review panel → Recall API client: requests recall actions
frontend/src/App.tsx - .NET API workflow → Recall snapshots: uses snapshots
backend/Api/Program.cs - .NET API workflow → Matcher client: invokes matcher
backend/Api/Workflow.cs - Matcher client → Matcher API: sends parse and match requests
backend/Api/MatcherClient.cs - Matcher API → Scope parser: parses recall scope
matcher/rra_matcher/api/app.py - Matcher API → Tier assignment: assigns match tiers
matcher/rra_matcher/api/app.py - Matcher API → Optional parse assist: uses optional parsing
matcher/rra_matcher/api/app.py - Optional parse assist → LLM provider interface: requests model output
matcher/rra_matcher/parsing/llm_fallback.py - Scope parser → Identifier normalization: normalizes identifiers
matcher/rra_matcher/parsing/parser.py - Tier assignment → Match scoring: uses scoring
matcher/rra_matcher/matching/tiers.py - Tier assignment → Identifier normalization: normalizes comparisons
matcher/rra_matcher/matching/tiers.py - Matcher API → FDA device data: loads device data
matcher/rra_matcher/api/app.py - .NET API workflow → Hospital records: loads local candidates
backend/Api/Program.cs - Hospital records → HAPI FHIR: reads patient devices
README.md - Hospital records → Supplemental implant log: combines implant records
README.md - .NET API workflow → PostgreSQL: retains workflow history
README.md - Clinician and coordinator → Recall worklist app: reviews and follows up
README.md - Recall worklist app → Candidate worklist: shows candidates
frontend/src/App.tsx - Recall worklist app → Patient case detail: opens case detail
frontend/src/App.tsx - Recall worklist app → Patient inventory: shows inventory view
frontend/src/App.tsx - Candidate worklist → Contract adapter: adapts match rows
frontend/src/components/worklist/CandidateTable.tsx - Patient case detail → Contract adapter: adapts case data
frontend/src/components/PatientDetailView.tsx - Recall worklist app → Recall API client: loads API data
frontend/src/App.tsx