This page is part of the Structured Data Capture FHIR IG (v4.0.0-ballot: STU 4 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes 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: 4.0.0-ballot | |||
Standards status: Trial-use | Maturity Level: 4 | Computable Name: SDCAssemble | ||
Other Identifiers: OID:2.16.840.1.113883.4.642.40.17.33.1 |
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.
Generated Narrative: OperationDefinition Questionnaire-assemble
URL: [base]/Questionnaire/$assemble
URL: [base]/Questionnaire/[id]/$assemble
Input parameters Profile:SDC Modular Questionnaire
Use | Name | Scope | Cardinality | Type | Binding | Documentation |
IN | questionnaire | 1..1 | uri | Reference | Questionnaire | The Modular Questionnaire to assemble the content of. Can be provided as a canonical for the questionnaire, a questionnaire reference, or directly as a questionnaire resource. | ||
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.