Skip to main content

Validate an answer payload (dry run)

POST 

/telehealth/questionnaires/:id/validate

Checks an answer payload against the questionnaire without creating a consultation. Returns 200 with {valid, errors[], derivedDiagnosis}; errors are collected (every problem in one response), each with a machine code, the offending questionId/answerId, and a localized DE/EN message. Structural validity (arity, blank, unknown option, free-text length, required additional text) and eligibility (disqualifying answers, precedence onsite ⊃ online ⊃ prescription) are both checked.

Request

Responses

Successful response