POST /v1/telehealth-consults/{id}/end response. Ending puts the physician straight back on the rota (unless goOffline) and re-runs the match, so the NEXT patient can already be ringing by the time this returns.
POST /v1/telehealth-consults/{id}/end
goOffline
The consult after ending (status: 'completed', or unchanged if it already had).
status: 'completed'
The consult now ringing for this physician, if the re-match found a waiting patient; null otherwise (including whenever goOffline was set).
ringing
POST /v1/telehealth-consults/{id}/endresponse. Ending puts the physician straight back on the rota (unlessgoOffline) and re-runs the match, so the NEXT patient can already be ringing by the time this returns.