This page is part of the Structured Data Capture FHIR IG (v3.0.0: STU 3) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-assemble | Version: 3.0.0 | |||
Standards status: Trial-use | Maturity Level: 3 | Computable Name: SDCAssemble |
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.
OPERATION: SDCAssemble
The official URL for this operation definition is:
http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-assemble
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.
URL: [base]/Questionnaire/$assemble
Input parameters Profile: SDC Modular Questionnaire
Parameters
Use | Name | Cardinality | Type | Binding | Documentation |
IN | questionnaire | 1..1 | Resource | The Modular Questionnaire to assemble the content of. | |
OUT | return | 0..1 | Resource | The fully assembled Questionnaire with all subQuestionnaires inlined and all items with item.definitions have had relevant metadata propagated into the item. | |
OUT | outcome | 0..1 | Resource | The OperationOutcome indicating any warnings or information messages with the assembly process |
The assembly process for a modular questionnaire proceeds as follows:
item.definition
elements on all resulting items, as described on the
Modular Forms page.
The result of the operation will be one of three things:
An example of a modular Questionnaire (as a sample input to the operation) can be found here.
An example of the result of invoking a modular Questionnaire (as a sample output from the operation) can be found here.