eHealth Infrastructure
11.0.1 -
This page is part of the FUT Infrastructure (v11.0.1: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions
| Official URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnairelinkage | Version: 11.0.1 | |||
| Active as of 2026-10-23 | Computable Name: ehealth-questionnairelinkage | |||
A QuestionnaireLinkage links questions across questionnaires or questionnaire versions, so that application systems can juxtapose answers from different QuestionnaireResponses — for example a child's answer about their own condition shown side by side with a parent's answer to the corresponding question about the child.
A QuestionnaireLinkage is a defining artifact: like plan definitions and questionnaires it is searchable and readable for all users holding the required privileges, while maintenance is anchored in organisational ownership.
The profile is based on FHIR Basic, following the same construction as ehealth-view and
ehealth-actionguidance. Instances are discriminated by both meta.profile and Basic.code
(questionnairelinkage from CodeSystem http://ehealth.sundhed.dk/cs/basic-resource-type).
The linkage consists of:
description and
linkage entries, each pairing a questionnaire reference with the linkId of the linked question in
that questionnaire. A group may span two or more questionnaires, need not cover all questionnaires in
the linkage, and may link questions within a single questionnaire.ehealth-view: recommendation, intendedAudience, modifierRole
(owner/co-author Organization), title, version, description, purpose, useContext and status.Basic.code is fixed to http://ehealth.sundhed.dk/cs/basic-resource-type#questionnairelinkage.
Every QuestionnaireLinkage carries an identifier with a random UUID value (urn:uuid: prefix, system
urn:ietf:rfc:3986), assigned at creation and immutable, providing traceability across environments.
Plan templates designate intended linkages per questionnaire activity via the
ehealth-intendedQuestionnaireLinkage extension on PlanDefinition.action; the $apply operation copies
the designation onto the created ServiceRequests.
A linkage connecting the systolic blood pressure question across two business versions of a blood pressure questionnaire:
{
"resourceType": "Basic",
"meta": { "profile": ["http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnairelinkage"] },
"code": { "coding": [{ "system": "http://ehealth.sundhed.dk/cs/basic-resource-type", "code": "questionnairelinkage" }] },
"identifier": [{ "system": "urn:ietf:rfc:3986", "value": "urn:uuid:7d3e64f0-2b4a-4c5e-9a1f-8f4711aa23c1" }],
"extension": [
{ "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-status",
"valueCoding": { "system": "http://hl7.org/fhir/publication-status", "code": "active" } },
{ "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-basic-title",
"valueString": "Blodtryk på tværs af versioner" },
{ "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{ "url": "reference", "valueReference": { "reference": "Organization/10001" } },
{ "url": "role", "valueCodeableConcept": { "coding": [{ "system": "http://ehealth.sundhed.dk/cs/modifier-role", "code": "owner" }] } }
] },
{ "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnairelinkage-for",
"valueReference": { "reference": "Questionnaire/101" } },
{ "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnairelinkage-for",
"valueReference": { "reference": "Questionnaire/205" } },
{ "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnairelinkage-item",
"extension": [
{ "url": "description", "valueString": "Systolisk blodtryk" },
{ "url": "linkage", "extension": [
{ "url": "questionnaire", "valueReference": { "reference": "Questionnaire/101" } },
{ "url": "linkId", "valueString": "bp.sys,1,fut" } ] },
{ "url": "linkage", "extension": [
{ "url": "questionnaire", "valueReference": { "reference": "Questionnaire/205" } },
{ "url": "linkId", "valueString": "blodtryk.systolisk,2,fut" } ] }
] }
]
}
Status uses the ehealth-status extension bound to the standard publication-status ValueSet. Allowed
transitions: draft → active, draft → retired, active → retired. A retired linkage is immutable. There is no
entered-in-error state, no delete (a draft created by mistake is retired instead) and no versioning support
(no predecessor/base lineage and no server-side version handling; the version extension is plain
author-maintained metadata).
A QuestionnaireLinkage can only be set to active when it references at least one questionnaire in
questionnaireLinkageFor.
| Element group | draft | active / retired |
|---|---|---|
| status, intendedAudience, useContext, modifierRole, recommendation | editable | editable |
| title, description, version, purpose | editable | locked |
| questionnaireLinkageFor, item (defining content) | editable | locked |
| identifier | immutable | immutable |
Updates additionally require the user's organisational context to match the linkage's modifierRole (owner/co-author); changes to the modifier roles themselves are reserved for the owner.
On create and update the following is rejected:
questionnaireLinkageFor or item.linkage that does not exist,item.linkage.questionnaire that is not among the questionnaireLinkageFor references,item.linkage.linkId that does not exist in the referenced questionnaire,questionnaireLinkageFor is empty.QuestionnaireLinkage resources can be searched by:
title (string — startsWith matching, case- and accent-insensitive; :contains is not supported)questionnaireLinkageFor (reference — linkages relevant for given questionnaires)status (token), reference (modifier role reference), intendedAudience (reference) and
recommendation (token)context, context-type and context-type-value parameterscode, identifier, _id and _lastUpdated parametersAs all Basic-based profiles share one search space, searches should carry a profile or code discriminator.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and their representations.
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.code | Base | required | Basic resource type | 📦11.0.1 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.code | Base | required | Basic resource type | 📦11.0.1 | This IG |
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Basic.code | Base | required | Basic resource type | 📦11.0.1 | This IG |
| Id | Grade | Path(s) | Description | Expression |
Summary
Mandatory: 2 elements
Extensions
This structure refers to these extensions:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Recommendation state of the plan definition URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation Binding: PlanDefinition Recommendation (required) | |
![]() ![]() ![]() |
0..* | Reference(ehealth-organization) {r} | The intended audience of the resource URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience | |
![]() ![]() ![]() |
1..* | (Complex) | Modifier role URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role | |
![]() ![]() ![]() |
0..1 | string | Name for this (human friendly) URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-basic-title | |
![]() ![]() ![]() |
0..1 | string | The current version URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-version | |
![]() ![]() ![]() |
0..1 | markdown | Natural language description URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-description | |
![]() ![]() ![]() |
0..1 | markdown | Why this is defined URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-purpose | |
![]() ![]() ![]() |
0..* | UsageContext | The context that the content is intended to support URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-useContext | |
![]() ![]() ![]() |
1..1 | Coding | The current status URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-status Binding: PublicationStatus (required) | |
![]() ![]() ![]() |
0..* | Reference(ehealth-questionnaire) | Questionnaire participating in the linkage URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnairelinkage-for | |
![]() ![]() ![]() |
0..* | (Complex) | Group of linked questions URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnairelinkage-item | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Binding: Basic resource type (required) Required Pattern: | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.code | Base | required | Basic resource type | 📦11.0.1 | This IG |
| Id | Grade | Path(s) | Description | Expression |
Differential View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Recommendation state of the plan definition URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation Binding: PlanDefinition Recommendation (required) | |
![]() ![]() ![]() |
0..* | Reference(ehealth-organization) {r} | The intended audience of the resource URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience | |
![]() ![]() ![]() |
1..* | (Complex) | Modifier role URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role | |
![]() ![]() ![]() |
0..1 | string | Name for this (human friendly) URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-basic-title | |
![]() ![]() ![]() |
0..1 | string | The current version URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-version | |
![]() ![]() ![]() |
0..1 | markdown | Natural language description URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-description | |
![]() ![]() ![]() |
0..1 | markdown | Why this is defined URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-purpose | |
![]() ![]() ![]() |
0..* | UsageContext | The context that the content is intended to support URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-useContext | |
![]() ![]() ![]() |
1..1 | Coding | The current status URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-status Binding: PublicationStatus (required) | |
![]() ![]() ![]() |
0..* | Reference(ehealth-questionnaire) | Questionnaire participating in the linkage URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnairelinkage-for | |
![]() ![]() ![]() |
0..* | (Complex) | Group of linked questions URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnairelinkage-item | |
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Binding: Basic resource type (required) Required Pattern: | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.code | Base | required | Basic resource type | 📦11.0.1 | This IG |
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Basic | Resource for non-supported content | |||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Recommendation state of the plan definition URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation Binding: PlanDefinition Recommendation (required) | |||||
![]() ![]() ![]() |
0..* | Reference(ehealth-organization) {r} | The intended audience of the resource URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience | |||||
![]() ![]() ![]() |
1..* | (Complex) | Modifier role URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role | |||||
![]() ![]() ![]() |
0..1 | string | Name for this (human friendly) URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-basic-title | |||||
![]() ![]() ![]() |
0..1 | string | The current version URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-version | |||||
![]() ![]() ![]() |
0..1 | markdown | Natural language description URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-description | |||||
![]() ![]() ![]() |
0..1 | markdown | Why this is defined URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-purpose | |||||
![]() ![]() ![]() |
0..* | UsageContext | The context that the content is intended to support URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-useContext | |||||
![]() ![]() ![]() |
1..1 | Coding | The current status URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-status Binding: PublicationStatus (required) | |||||
![]() ![]() ![]() |
0..* | Reference(ehealth-questionnaire) | Questionnaire participating in the linkage URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnairelinkage-for | |||||
![]() ![]() ![]() |
0..* | (Complex) | Group of linked questions URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnairelinkage-item | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | Business identifier | |||||
![]() ![]() |
1..1 | CodeableConcept | Kind of Resource Binding: Basic resource type (required) Required Pattern: | |||||
![]() ![]() |
0..1 | Reference(Resource) | Identifies the focus of this resource | |||||
![]() ![]() |
0..1 | date | When created | |||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | Who created | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Basic.code | Base | required | Basic resource type | 📦11.0.1 | This IG |
| Id | Grade | Path(s) | Description | Expression |
Summary
Mandatory: 2 elements
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron