How mohammed-sufiyaan/care-connect works
Canada CareConnect is a static interactive strategy site presenting a three-stage medical-tourism proposal. Visitors enter through the home page, then explore the provider network, patient itinerary, policy impacts, five-year economics, and supporting sources; the Advisor answers strategy questions with local research or optional Claude responses. The diagram preserves these documented capabilities and the sampled implementation links. Some page implementations were not excerpted, so their documented features are shown without speculative internal call chains.
Main entry points: routeTree.gen.ts Route Registry · advisor-chat.tsx Advisor Chat · simulator.tsx Policy Simulator · main.tsx App Entry
Components 20
Application Shell
- App Entry
src/main.tsx - Route Registry
src/routeTree.gen.ts - Shared Site Shell
src/routes/__root.tsx
Strategy Tools
- Strategy Home
src/routes/index.tsx - Network Map
src/routes/network.tsx - Map Geometry
src/lib/canada-map.ts - Patient Journey
src/routes/careroute.tsx - Policy Simulator
src/routes/simulator.tsx - Risk Analysis Panel
src/components/risk-panel.tsx - Impact Engine
src/lib/simulate.ts - Economic Model Page
src/routes/economics.tsx - Projection Model
src/lib/model.ts
Research and Advice
- Sources Page
src/routes/sources.tsx - Research Sources
src/lib/sources.ts - Advisor Knowledge
src/lib/advisor.ts
Advisor Interface
- Advisor Page
src/routes/advisor.tsx - Advisor Chat
src/components/advisor-chat.tsx - Advisor Mascot
src/components/robot.tsx
Other components
- Site Visitor
- Anthropic Claude
Connections 22
- Site Visitor → App Entry: opens site
- App Entry → Route Registry: renders routes
src/main.tsx - Route Registry → Strategy Home: registers
src/routeTree.gen.ts - Route Registry → Shared Site Shell: registers
src/routeTree.gen.ts - Route Registry → Network Map: registers
src/routeTree.gen.ts - Route Registry → Patient Journey: registers
src/routeTree.gen.ts - Route Registry → Policy Simulator: registers
src/routeTree.gen.ts - Route Registry → Economic Model Page: registers
src/routeTree.gen.ts - Route Registry → Sources Page: registers
src/routeTree.gen.ts - Route Registry → Advisor Page: registers
src/routeTree.gen.ts - Shared Site Shell → Advisor Chat: includes chat
src/routes/__root.tsx - Strategy Home → Research Sources: reads statistics
src/routes/index.tsx - Network Map → Map Geometry: uses geometry
src/routes/network.tsx - Policy Simulator → Impact Engine: runs analysis
src/routes/simulator.tsx - Policy Simulator → Risk Analysis Panel: shows risks
src/routes/simulator.tsx - Risk Analysis Panel → Impact Engine: reads impact data
src/components/risk-panel.tsx - Economic Model Page → Projection Model: uses projections
src/routes/economics.tsx - Sources Page → Research Sources: reads sources
src/routes/sources.tsx - Advisor Page → Advisor Chat: renders chat
src/routes/advisor.tsx - Advisor Chat → Advisor Knowledge: requests answers
src/components/advisor-chat.tsx - Advisor Chat → Advisor Mascot: renders mascot
src/components/advisor-chat.tsx - Advisor Knowledge → Anthropic Claude: requests live answers