Skip to content

Case Lifecycle

A review case is the central record for a second-opinion request. It moves through a series of stages from creation until it is completed, cancelled, or rejected.

stateDiagram-v2
  [*] --> Draft: Patient creates case
  [*] --> Submitted: Patient submits directly
  Draft --> Submitted: Submit for review
  Submitted --> AwaitingPayment: Admin assigns coordinator
  AwaitingPayment --> PaymentSuccessful: Patient pays successfully
  AwaitingPayment --> PaymentFailed: Payment does not complete
  PaymentSuccessful --> DoctorsAssigned: Coordinator assigns doctors
  DoctorsAssigned --> Completed: Coordinator submits final summary
  Draft --> Cancelled: Patient cancels
  Submitted --> Cancelled: Admin or patient cancels
  PaymentSuccessful --> Cancelled: Cancellation
  DoctorsAssigned --> Cancelled: Cancellation
  Submitted --> Rejected: Admin rejects case
  Completed --> [*]
  Cancelled --> [*]
  Rejected --> [*]
  PaymentFailed --> [*]
StageWhat it means
DraftPatient is still editing; documents can be added or changed
Submitted for reviewCase submitted; waiting for admin to assign a coordinator
Awaiting paymentCoordinator assigned; patient must complete payment
Payment successfulPaid; coordinator can assign specialist doctors
Payment failedPayment did not go through; case does not proceed
Doctors assignedSpecialist doctors are reviewing the case
CompletedFinal report is available to the patient
CancelledCase closed by patient or admin (refund issued if already paid)
RejectedAdmin declined the case with a stated reason

The admin dashboard shows a step-by-step timeline for each case:

  1. New case created
  2. Coordinator assigned
  3. Awaiting payment
  4. Payment received
  5. Doctors assigned
  6. Under specialist review
  7. Case completed

Cancellation and rejection appear as separate timeline outcomes when they occur.

  1. Browse available review types and disease categories
  2. Create a case (save as draft, or submit immediately)
  3. Upload medical documents while the case is still a draft
  4. Submit the case for review
  5. After a coordinator is assigned, pay using the payment link provided
  6. Track case progress in the patient app
  7. View the final report when the case is completed
  8. Cancel the case if needed (refund processed when applicable)

Technical reference: system status values (draft, review, payment_pending, etc.) and database tables are documented under Database → review_cases and API Flows.