---
# System prepended metadata

title: suggested structure

---

```bash
empowerhealth-platform/
├── frontend/
│   ├── src/
│   │   ├── shared/
│   │   │   ├── components/           # Shared across all modules
│   │   │   │   ├── Header/
│   │   │   │   ├── PatientInfo/
│   │   │   │   ├── DRGCard/
│   │   │   │   ├── NavigationTabs/
│   │   │   │   ├── CalendarWidget/
│   │   │   │   └── DataTable/
│   │   │   ├── design-system/       # Core design tokens
│   │   │   │   ├── colors.ts
│   │   │   │   ├── typography.ts
│   │   │   │   ├── spacing.ts
│   │   │   │   └── shadows.ts
│   │   │   ├── layouts/             # Shared page layouts
│   │   │   │   ├── MainLayout.tsx
│   │   │   │   ├── SidebarLayout.tsx
│   │   │   │   └── DashboardLayout.tsx
│   │   │   ├── hooks/               # Shared React hooks
│   │   │   │   ├── useApi.ts
│   │   │   │   ├── usePatient.ts
│   │   │   │   └── useAuth.ts
│   │   │   └── utils/               # Shared utilities
│   │   │       ├── api.ts
│   │   │       ├── formatters.ts
│   │   │       └── validators.ts
│   │   │
│   │   ├── modules/
│   │   │   ├── cdi/                 # Clinical Documentation
│   │   │   │   ├── components/
│   │   │   │   │   ├── DRGAnalysis/
│   │   │   │   │   ├── ClinicalSummary/
│   │   │   │   │   ├── QueryBuilder/
│   │   │   │   │   └── ChartChanges/
│   │   │   │   ├── pages/
│   │   │   │   │   ├── Overview.tsx
│   │   │   │   │   ├── DRGAnalysis.tsx
│   │   │   │   │   └── Queries.tsx
│   │   │   │   ├── hooks/
│   │   │   │   ├── services/
│   │   │   │   └── types/
│   │   │   │
│   │   │   ├── ai-coding/           # AI Coding Module
│   │   │   │   ├── components/
│   │   │   │   │   ├── CodeSuggestions/
│   │   │   │   │   ├── CPTAnalysis/
│   │   │   │   │   └── BillingOptimizer/
│   │   │   │   ├── pages/
│   │   │   │   ├── hooks/
│   │   │   │   ├── services/
│   │   │   │   └── types/
│   │   │   │
│   │   │   └── patient-type/      # Patient Type
│   │   │       ├── components/
│   │   │       ├── pages/
│   │   │       ├── hooks/
│   │   │       ├── services/
│   │   │       └── types/
│   │   │
│   │   ├── contexts/
│   │   │   ├── AppContext.tsx       # Global app state
│   │   │   ├── AuthContext.tsx      # Authentication
│   │   │   └── ModuleContext.tsx    # Current module context
│   │   │
│   │   ├── router/
│   │   │   └── index.tsx            # Main routing logic
│   │   │
│   │   └── App.tsx
│   │
│   ├── cypress/
│   ├── public/
│   └── package.json
│
├── backend/
│   ├── app/
│   │   ├── core/                    # Core functionality
│   │   │   ├── config.py
│   │   │   ├── security.py
│   │   │   ├── database.py
│   │   │   └── middleware.py
│   │   │
│   │   ├── shared/                  # Shared across modules
│   │   │   ├── models/
│   │   │   │   ├── patient.py
│   │   │   │   ├── user.py
│   │   │   │   └── base.py
│   │   │   ├── schemas/
│   │   │   │   ├── patient.py
│   │   │   │   └── user.py
│   │   │   └── services/
│   │   │       ├── auth.py
│   │   │       └── patient.py
│   │   │
│   │   ├── modules/
│   │   │   ├── cdi/
│   │   │   │   ├── routes/
│   │   │   │   │   ├── drg.py
│   │   │   │   │   ├── documentation.py
│   │   │   │   │   └── queries.py
│   │   │   │   ├── models/
│   │   │   │   ├── schemas/
│   │   │   │   ├── services/
│   │   │   │   └── __init__.py
│   │   │   │
│   │   │   ├── ai_coding/
│   │   │   │   ├── routes/
│   │   │   │   ├── models/
│   │   │   │   ├── schemas/
│   │   │   │   ├── services/
│   │   │   │   └── __init__.py
│   │   │   │
│   │   │   └── patient_type/
│   │   │       ├── routes/
│   │   │       ├── models/
│   │   │       ├── schemas/
│   │   │       ├── services/
│   │   │       └── __init__.py
│   │   │
│   │   └── main.py                  # FastAPI app initialization
│   │
│   ├── tests/
│   ├── alembic/                     # Database migrations
│   ├── requirements.txt
│   └── Dockerfile
│
├── docker-compose.yml               # For local development
├── .env.example
└── README.md
```