Info |
---|
See Questionnaire for introduction and use of the resources and its elements. |
...
Info |
---|
The description here applies for Questionnaire resources where processing of corresponding QuestionnaireResponse involves extraction of answer(s) to certain questions in the Questionnaire. In the eHealth Infrastructure, such processing is performed through rules captured in Library resources. In order to make the rules robust and allow for change of question order and additional questions and answer options, the Questionnaire shall utilize defined questions in the form of DefinedQuestion resources. See DefinedQuestion for further details. |
When a question in Questionnaire.item
is eligible for extraction in a rule, a DefinedQuestion shall be either found or created and subsequently referenced in Questionnaire.item.definition
.
...
Expand | ||
---|---|---|
| ||
A Questionnaire containing a question suitable for calculating a Medical Research Council (MRC) score is to processed by a MRC score rule. Therefore the particular question must be identifiable in order to extract the answer value from a QuestionnaireResponse in a robust way. In the following it is given that the MRC score question has been defined (see #Managing-DefinedQuestion) as a DefinedQuestion with:
Preparing for robust extraction, the Questionnaire is defined with:
|
Info |
---|
As noted in DefinedQuestion, despite any reference through |
...
A Questionnaire defined with the eHealth profile ehealth-questionnaire-advanced
(see https://docs.ehealth.sundhed.dk/latest-releasedfhir/ig/StructureDefinition-ehealth-questionnaire-advanced.html ) can contain zero, one or more expressions performing a calculation based on answers to questions in the Questionnaire. The expression can make use of zero, one or more variables which identify the particular question/answers more concisely.
Note |
---|
A Questionnaire defined with eHealth profile |
...
Info |
---|
A variable is supported for a question with answer type choice, integer and decimal provided that:
|
An example of a variable evaluating to an ordinal value is shown below as an excerpt of a Questionnaire (in profile ehealth-questionnaire-advanced
) in JSON:
...
The expression itself is defined in the extension sdc-questionnaire-calculatedExpression
(see calculatedExpression) which is an Expression FHIR element type containing:
...
Anchor | ||||
---|---|---|---|---|
|
Info |
---|
See DefinedQuestion for introduction and use of the resource and its elements. |
...
The QFDD must be represented in a DocumentReference and uploaded to the Document-transformation service by the operation $upload-qfdd
described in https://docs.ehealth.sundhed.dk/latest/igfhir/OperationDefinition--s-upload-QFDD.html .
Info |
---|
Please note that the description of the operation is valid as of v3.0.0 of the eHealth Infrastructure Implementation Guide (IG) even though the link is to the IG continuous build. Please refer to the latest released version of the IG for all other purposes. |
...