> Historical edition notes. Current capabilities and audience are documented in [the third-edition audit](09-third-edition-audit.md); nationwide data and additional sign-in setup are in [the current integration guide](10-nationwide-and-auth.md). The public preview retains private account data.

# Quickgency — product requirements, inventory and journeys

Release: private pilot, 13 October 2026. This is a fresh project. The requested complete operational platform remains in development.

## Product decision

Help people reach a willing potential donor and maintain an accountable handoff to a hospital. Hospital screening, compatibility and clinical suitability stay outside Quickgency's decision authority. The north-star metric is time from a verified active request to the first donor-confirmed available response. Acceptance, hospital handoff, reported donation and verified donation are distinct events.

The initial geographic scope is three hospital references and seven general areas in Dhaka. This is a deliberate bounded pilot, not national coverage. Hospital listings are reference information, not partnerships. No real donor data was imported.

## Personas and authorization

| Role | Implemented access | Remaining operational requirement |
|---|---|---|
| Visitor | Information, active request projections, sample cards | Owner-private hosting currently gates every visitor |
| Requester | Own private drafts, cancellations, dashboard, reports | Phone verification before request activation; requester contact-role capture |
| Donor | Private profile, pause, export/erase; response/consent controls in service and UI | Verified phone provider; live onboarding, age and participation policy |
| Coordinator | Request-owner coordination; all roles rehearsable in an isolated sandbox | Volunteer assignment permissions and organization membership |
| Reviewer | Server allowlist, independent donation review, moderation, community publishing | Vetted people, evidence policy, review duty coverage |
| Hospital | Reference catalog only | Partnership, organization identity and institutional portal |

## Feature inventory

“Implemented” describes code and persistence, not clinical approval or live service readiness.

| Capability | Current status |
|---|---|
| Bangla-first homepage, English switch, original identity | Implemented; browser/layout QA outstanding |
| Donor registration and profile edit | Persistent private profile; self-reported group and general area |
| Phone verification and independent phone login | Not configured; no number collected, no SMS sent |
| Availability | 24-hour consent window, immediate pause; enabling requires verified phone |
| Hospital-centered discovery | Bounded box plus Haversine; 5/10/25/50 km; coarse distance bands; no exact coordinates in result |
| Emergency request submission | Strict validated private draft; deadline, units, group, component, hospital; idempotency and duplicate guard |
| Unique request page | Safe projection, progress, history, closed-state handling |
| Request activation | Blocked for real requests until phone provider and operational checks exist |
| Contact invitations | In-app notification batch of up to five; per-request deduplication |
| Donor acceptance, decline and withdrawal | Persisted states; acceptance does not increment donation totals |
| Contact consent | Separate request-scoped grant, max four hours, revocation and effective expiry |
| Phone reveal/call relay | Not implemented; consent does not expose a number |
| Hospital handoff | Recorded only after active consent; no hospital integration |
| Donation report and independent verification | Pending/verified/rejected states; self-verification denied for live records |
| Partial fulfilment | Counts verified units only; closes on required total |
| Recognition | One ledger entry per verified donation; no public ranking or frequency contest |
| Disputes, verified-record corrections | Not implemented |
| Dynamic share image/poster | 1200×630 and 1080×1080 PNG, HarfBuzz Bengali shaping; no contact identifiers |
| Community publishing | Reviewed/published records appear on the community page; admin access required |
| Reports and operator overview | Persistent report queue, resolution audit, pending donations, recent event history |
| Volunteer assignments and organization import | Schema placeholder only; no UI/API capability |
| In-app inbox | Implemented; SMS, email, push, retry workers not configured |
| Deletion and export | Profile anonymization, consent revocation, request cancellation; dashboard JSON export |
| Expiration | Enforced on every read/action; no scheduled persistence/cleanup worker |
| Offline, GPS map, multi-city catalog, mobile app | Not implemented |
| Synthetic sandbox | Persistent per-owner donor/request records, visibly labeled; excluded from live statistics |

## Information architecture

| Route | User job |
|---|---|
| `/` | Understand Quickgency and begin a request or donor search |
| `/find-donors` | Select hospital/group/radius and see potential matches |
| `/requests` | Find currently active verified requests |
| `/request-blood` | Save a private need as a draft |
| `/blood-request/:id` | See current state and authorized response actions |
| `/become-a-donor` | Create/edit a private donor profile |
| `/dashboard` | Own requests, invitations, profile, history, notifications, privacy |
| `/community`, `/how-it-works` | Learn safe participation and coordination steps |
| `/report`, `/privacy` | Report a concern and understand data handling |
| `/lab` | Rehearse the full workflow with synthetic records |
| `/share-preview` | Inspect/download sample social image and poster |
| `/admin` | Allowlisted reviewer and moderation tools |
| `/readiness`, `/project-notes` | Review capabilities, limits and implementation documents |

## Principal journeys and acceptance criteria

1. Requester signs in, chooses hospital, requested group/component, units and a Bangladesh-time deadline, and consents to the draft. A successful retry returns the same request; duplicate needs are rejected. The unverified draft stays private and cannot send invitations.
2. Donor signs in, chooses a display name/group/general area and consents. Saving leaves the profile unlisted. Unconfigured phone verification cannot be bypassed with client-supplied flags. Pausing must immediately exclude the donor from new searches.
3. In the sandbox, create or resume a sample request. Invite matching sample donors, accept one, grant contact permission, record hospital handoff, report donation, then independently simulate verification. A two-unit need stays open after one verified unit and closes after two. Demo events do not affect live counters.
4. A donor can decline or withdraw. Withdrawing revokes permission. Expired consent prevents a new handoff. A cancelled or expired request cannot initiate more contact.
5. An allowlisted reviewer inspects a pending live donation and supplies an evidence reference. The reporting user and donor cannot verify their own donation. Actual reviewers and evidence sources are not connected in this pilot.
6. A user can export their dashboard records or type DELETE to erase the profile. Minimal pseudonymous audit references remain; this is anonymization of profile fields, not a claim that all historical records are physically deleted.

## Measurement plan

Derive response/acceptance and fulfilment intervals from audit timestamps. Separately count verified requests, contacted unique donors, acceptances, consent grants, verified units, unresolved closures, privacy reports and notification outcomes. Never include `demo_owner` records in operating metrics. No response-time or fulfilment-rate claims are made without a real consented pilot. There is no analytics dashboard or validated baseline yet.

## Second-edition interaction layer

The default demo mode seeds 20 fictional people and six requests, each scoped to the signed-in owner. The sample dashboard supports search and saved availability changes, request navigation and donation history. A three-step form supports any validated sample requirement. The workspace lets the owner try coordinator, donor and reviewer actions. Personal mode has a separate dashboard and private profile; no demo totals or notifications appear there.
