Prerequisites
- Categories and schemas are public; no token is needed to read them.
- Saving and submitting need a patient bearer token.
Operations
Boundaries and side effects
- An unknown slug is a
400, not a404, on every questionnaire endpoint. - Reading progress is not side-effect free.
GET .../progress/creates an empty progress record if none exists. PATCH .../progress/replaces the whole answer array. Send the full cumulative set every time; anything you omit is erased.- The guided endpoints share the draft with
PATCH .../progress/and never submit.current/,back/andreview/change nothing. - Submission accepts an
Idempotency-Key. Without one, repeating it can create another submission, so re-read state before retrying after an error. - A submission already covered by an active plan returns
409covered_by_active_planwithcurrent_period_end.
Related
- Pagination and Errors
- Uploads and downloads for photos a questionnaire asks for
- For chat interfaces, the MCP patient tools run the questionnaire one question at a time