This page is part of the Structured Data Capture FHIR IG (v3.0.0-preview: STU 3 Draft) based on FHIR R4. The current version which supercedes this version is 3.0.0. 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-preview | |||
Standards status: Trial-use | Maturity Level: 3 | Computable Name: 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.
OPERATION: Assemble
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.