$assemble

Assemble Modular Questionnaire Operation

activeStructured Data Capture4.0.0operation1 input2 outputs

The $assemble operation takes a modular questionnaire (one that references sub-questionnaires and/or relies on definition elements to contain the content for item definitions) and produces the equivalent fully-inline Questionnaire. Full details on the process can be found here.

Metadata

hl7.org/fhir
Canonical URL
http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-assemble
Code
$assemble
Kind
operation
Affects State
No
Publisher
HL7 International / FHIR Infrastructure

Invocation Context

Can be invoked at:
Type LevelInstance Level
Target Resources:

Input Parameters (1)

NameTypeCard.Description
questionnaire*Element1..1The [Modular Questionnaire](StructureDefinition-sdc-questionnaire-modular.html) to assemble the content of. Can be provided as a canonical for the questionnaire, a questionnaire reference, or directly as a questionnaire resource.

Output Parameters (2)

NameTypeCard.Description
returnResource0..1The fully assembled [Questionnaire](StructureDefinition-sdc-questionnaire.html) with all subQuestionnaires inlined and all items with item.definitions have had relevant metadata propagated into the item.
outcomeResource0..1The OperationOutcome indicating any warnings or information messages with the assembly process

Additional Information

Version
4.0.0
Date
2026-03-24T16:16:08+11:00