Natzar Partner API Reference - v1.0.0
    Preparing search index...

    Type Alias AsyncConsultStatus

    AsyncConsultStatus:
        | "invited"
        | "queued"
        | "active"
        | "resolve_requested"
        | "closed"

    Lifecycle of an async (messaging-based) consult thread. Mirrors the AsyncConsultStatus enum in amplify/data/resource.ts.

    • invited — consult created, patient hasn't consented yet. With consent: 'embed' the embedded widget collects consent; partner-origin invites stay valid for 7 days before auto-closing (consent_timeout).
    • queued — patient consented but no physician had capacity yet; assigned automatically the moment one becomes available.
    • active — assigned to exactly one physician; patient messages route to them and their replies flow back.
    • resolve_requested — the physician marked it resolved; the patient has a bounded window to reply (reply reopens to active, silence closes as accepted).
    • closed — terminal; why is in AsyncConsultResource.closedReason.