triage

Whether the account still has to answer the questionnaire

Changed on

required for every patient account without a submission while the onboarding is switched on (enabled); never for staff. questionnaire_key of the account's latest submission; submission_id its id, for POST /api/triage/submissions/{id}/choice when the app lost it (null without one, for staff and while switched off).

get/api/triage/me

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/triage/me
  • Auth: HTTP bearer

Response

Successful Response

completedboolean required
requiredboolean required

The app must ask the questionnaire before going on: every patient account without answers

context'onboarding' | 'existing_patient'

onboarding: a new account (e.g. social sign-in) answers as a new user, with the result page

enabledboolean

TRIAGE_ONBOARDING_ENABLED: off, nothing is required and the app goes back to the legacy sign-up

questionnaire_key'self' | 'loved_one' nullable

Questionnaire of the account's latest submission; null without one

submission_idstring uuid nullable

The account's latest submission, for POST /api/triage/submissions/{id}/choice when the app lost the id (an email verified later, a social sign-in); null without one, for staff and while switched off

Changes