Clinical Practice Guidelines, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ballot 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: 3.0.0-ballot | ||||
| Standards status: Trial-use | Maturity Level: 2 | 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.
Use this operation to generate a Questionnaire covering the case-feature data requirements referenced by a PlanDefinition's actions. It supports collecting a plan's information up front, including requirements from referenced nested plans.
The output is a form definition. Patient-specific population, answering, extraction, and reevaluation are separate steps in interactive CDS. For a form based on one selected data profile, use StructureDefinition $questionnaire.
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.
identifier, resource, and url; the comment's reference to a profile input does not name a declared parameter. Direct submission through resource depends on server support.action.input references and nested plans before generation. Their case-feature StructureDefinitions supply the groups, questions, and extraction mappings. This plan-wide generation is non-adaptive; an application can select currently relevant features and generate forms for them during an adaptive evaluation cycle.minimalOnly explicitly when minimal generation is wanted. Its processing includes differential elements or required snapshot elements, handles required children, and omits questions constrained by fixed or pattern values. The operation advises against combining supportedOnly with minimalOnly.See the generation semantics and CPG Case Feature Definition.