Argonaut Questionnaire Implementation Guide (Release 1.0.0 )

This page is part of the Argonaut Questionnaire Implementation Guide (v1.0.0: Release) based on FHIR R3. This is the current published version. For a full list of available versions, see the Directory of published versions

Argonaut Next Question Operation

OPERATION: Argonaut Next Question Operation

The official URL for this operation definition is:

http://fhir.org/guides/argonaut/questionnaire/OperationDefinition/next-question

The Argonaut Next Question Operation is used for adaptive questionnaires forms where the next question is based on previous answers. The result of this operation is to return the next question and optionally the questionnaire scoring for an adaptive questionnaire. This operation uses the QuestionnaireResponse resource with a contained Questionnaire as both the input and output parameter. The Client initiates and queries for the next question supplying the answer to the previous question. The Server updates the contained Questionnaire in the QuestionnaireResponse in the with the next question. When the questionnaire is complete, the Server updates the status element of the QuestionnaireResponse resource to completed. If the questionnaire has exceeded the time limit, the Client or Server may return an OperationOutcome with an error.

URL: [base]/Questionnaire/$next-question

Parameters

UseNameCardinalityTypeBindingDocumentation
INquestionnaire-response1..1Resource

The Argo Adaptive QuestionnaireResponse Profile of the QuestionnaireResponse resource with a contained Questionnaire. The url element in the contained Questionnaire identifies which set of questions are being requested. When initiating an adaptive questionnaire, the resource represents only metadata, because it precedes the first question. For subsequent transactions the Client updates the QuestionnaireResponse with the previous question-answer pair and posts it to the Server.

OUTreturn1..1Resource

The Argo Adaptive QuestionnaireResponse Profile of the QuestionnaireResponse resource with a contained Questionnaire. The Server updates the QuestionnaireResponse's contained Questionnaire with the next question and optionally scoring or other data and returns it as this parameter. When the questionnaire is complete, the Server updates the status element of the QuestionnaireResponse to completed.

Further quidance on using of this operation is described in the Adaptive Forms Use Case.

Examples of completed Adaptive QuestionnaireResponses can be found on the Argonaut Adaptive QuestionnaireResponse Profile page. In addition, the Argonaut Questionnaire Test Renderer is a simulation of the adaptive form workflow.