42 lines
2.0 KiB
Markdown
42 lines
2.0 KiB
Markdown
# Screen Map
|
|
|
|
This maps the route names found in the compiled build to a cleaner new-project structure.
|
|
|
|
## Old To New
|
|
|
|
| Old route / screen | New module | Notes |
|
|
| --- | --- | --- |
|
|
| `/splashScreen` | `auth/splash` | Startup / redirect logic |
|
|
| `/problemLoginRoute` | `auth/problem-login` | Login error or auth problem state |
|
|
| Login screen | `auth/login` | Uses `auth/login` API |
|
|
| `/changePasswordRoute` | `settings/change-password` | Uses `auth/change_password` |
|
|
| `/pendaftaranPasienStepper` | `orders/create/stepper` | Multi-step patient registration |
|
|
| `/pendaftaranPasien` | `orders/create` | Base registration form |
|
|
| `/pendaftaranPasienDemografi` | `orders/create/demografi` | Demographic step |
|
|
| `/pendaftaranPasienDiagnosa` | `orders/create/diagnosa` | Diagnosis step |
|
|
| `/pendaftaranPasienPemeriksaan` | `orders/create/pemeriksaan` | Exam selection step |
|
|
| `/pendaftaranPasienPemeriksaanv2` | `orders/create/pemeriksaan-v2` | Newer exam step variant |
|
|
| `/pendaftaranPasienQrCode` | `orders/create/qrcode` | QR-based patient entry |
|
|
| `/pesanKhususScreen` | `orders/pesan-khusus` | Special message entry |
|
|
| `/historicalResult` | `results/historical` | Historical results view |
|
|
| `/hasilBelumKeluar` | `results/pending` | Orders with results not yet released |
|
|
| `/hasil` | `results/detail` | Result detail view |
|
|
| `Order` tab | `orders/list` | Order listing and search |
|
|
| `Home` tab | `dashboard/home` | Landing dashboard |
|
|
| `Akun` tab | `settings/account` | Account/profile area |
|
|
|
|
## Data-Flows To Preserve
|
|
|
|
- Login returns token and user metadata
|
|
- Order creation posts patient identity plus detail items
|
|
- Search uses token + doctor id + search string
|
|
- Result retrieval uses token + patient or order id
|
|
- Special message uses token + order id + message text
|
|
|
|
## Notes
|
|
|
|
- The old app is heavily mobile-first and route-heavy.
|
|
- The new app should collapse many of those routes into fewer, clearer pages.
|
|
- Where a route is just a step in a form, keep it inside a single flow rather than separate full pages.
|
|
|