Skip to main content

Function: assemble()

assemble(parameters, fetchQuestionnaireCallback, fetchQuestionnaireRequestConfig): Promise<Questionnaire | OperationOutcome | OutputParameters>

The $assemble operation - https://build.fhir.org/ig/HL7/sdc/OperationDefinition-Questionnaire-assemble.html

Parameters

ParameterTypeDescription
parametersInputParametersThe input parameters for $assemble
fetchQuestionnaireCallbackFetchQuestionnaireCallbackA callback function defined by the implementer to fetch Questionnaire resources by a canonical url
fetchQuestionnaireRequestConfiganyA request configuration object to be passed to the callback function

Returns

Promise<Questionnaire | OperationOutcome | OutputParameters>

A fully assembled questionnaire, an operationOutcome error(if present) or both (if there are warnings)