Clinical Practice Guidelines, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 2.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cqf-recommendations/ and changes regularly. See the Directory of published versions
| Official URL: http://hl7.org/fhir/uv/cpg/OperationDefinition/cpg-planDefinition-questionnaire | Version: 2.0.0 | ||||
| Active as of 2026-06-10 | Computable Name: CPGPlanDefinitionQuestionnaire | ||||
| Other Identifiers: OID:2.16.840.1.113883.4.642.40.48.33.3 | |||||
Generates a Questionnaire instance based on a specified PlanDefinition, creating questionnaire group items for each data requirement (StructureDefinition) referenced by action.input. A child questionnaire item is generated for each of the StructureDefinition elements.
Language: en
URL: [base]/PlanDefinition/$questionnaire
URL: [base]/PlanDefinition/[id]/$questionnaire
| Use | Name | Scope | Cardinality | Type | Binding | Documentation |
| IN | identifier | 0..1 | Identifier | A logical identifier (i.e. 'PlanDefinition.identifier'). The server must know the PlanDefinition or be able to retrieve it from other known repositories. | ||
| IN | resource | 0..1 | PlanDefinition | The PlanDefinition is provided directly as part of the request. Servers may choose not to accept resources in this fashion | ||
| IN | url | 0..1 | canonical (PlanDefinition) | The PlanDefinition's official URL (i.e. 'PlanDefinition.url'). The server must know the PlanDefinition or be able to retrieve it from other known repositories. | ||
| IN | supportedOnly | 0..1 | boolean | If true, the questionnaire will only include those elements marked as "mustSupport='true'" in the StructureDefinition. | ||
| IN | minimalOnly | 0..1 | boolean | If true, the questionnaire items are limited to the minimal set of elements from the StructureDefinition. | ||
| IN | artifactEndpointConfiguration | 0..* | Configuration information to resolve canonical artifacts Processing Semantics: Create a canonical-like reference (e.g.
Rank each
NOTE: For evenly ranked | |||
| IN | artifactEndpointConfiguration.artifactRoute | 0..1 | uri | An optional route used to determine whether this endpoint is expected to be able to resolve artifacts that match the route (i.e. start with the route, up to and including the entire url) | ||
| IN | artifactEndpointConfiguration.endpointUri | 0..1 | uri | The URI of the endpoint, exclusive with the | ||
| IN | artifactEndpointConfiguration.endpoint | 0..1 | Endpoint | An Endpoint resource describing the endpoint, exclusive with the | ||
| OUT | return | 1..1 | Questionnaire | The questionnaire form generated based on the PlanDefinition action.inputs |
If the operation is not called at the instance level, one of the identifier, profile or url 'in' parameters must be provided. If more than one is specified, servers may raise an error or may resolve with the parameter of their choice. If called at the instance level, these parameters will be ignored. The response will contain a Questionnaire instance that conforms to SDC Extractable Questionnaire and SDC Populatable Questionnaire - Expression based on the specified PlanDefinition and/or an OperationOutcome resource with errors or warnings. Nested groups are used to handle complex structures and data types. If the 'minimalOnly' parameter is set to true, only minimal elements from the structure definition will be included. These are defined as:
Of note, supportedOnly is not recommended for use with minimalOnly within CPG. See Questionnaire Processing Semantics for further details.