Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions input/fsh/ehealth-ext-basic-name.fsh

This file was deleted.

2 changes: 1 addition & 1 deletion input/fsh/ehealth-questionnairelinkage.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Parent: Basic
* extension contains ehealth-intendedAudience named intendedAudience 0..*
* extension contains ehealth-modifier-role named modifierRole 1..*
* extension contains ehealth-basic-title named title 0..1
* extension contains ehealth-basic-name named name 0..1
* extension contains ehealth-version named version 0..1
* extension contains ehealth-description named description 0..1
* extension contains ehealth-purpose named purpose 0..1
Expand All @@ -15,6 +14,7 @@ Parent: Basic
* extension contains ehealth-questionnairelinkage-for named questionnaireLinkageFor 0..*
* extension contains ehealth-questionnairelinkage-item named item 0..*
* code from http://ehealth.sundhed.dk/vs/basic-resource-type (required)
* code = http://ehealth.sundhed.dk/cs/basic-resource-type#questionnairelinkage


Extension: ehealth-questionnairelinkage-for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ The linkage consists of:
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.
- The shared metadata extensions known from `ehealth-view`: recommendation, intendedAudience, modifierRole
(owner/co-author Organization), title, version, description, purpose, useContext and status — plus `name`
(`ehealth-basic-name`, computer-friendly name complementing the human-friendly title, as on
`ehealth-questionnaire`).
(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.
Expand All @@ -51,8 +51,6 @@ pressure questionnaire:
"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-basic-name",
"valueString": "bp-cross-version-linkage" },
{ "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{ "url": "reference", "valueReference": { "reference": "Organization/10001" } },
Expand Down Expand Up @@ -92,7 +90,7 @@ A QuestionnaireLinkage can only be set to active when it references at least one
| Element group | draft | active / retired |
|---|---|---|
| status, intendedAudience, useContext, modifierRole, recommendation | editable | editable |
| title, name, description, version, purpose | editable | locked |
| title, description, version, purpose | editable | locked |
| questionnaireLinkageFor, item (defining content) | editable | locked |
| identifier | immutable | immutable |

Expand All @@ -111,9 +109,14 @@ On create and update the following is rejected:

## Search

In addition to the standard parameters (status, code, identifier, modifier role, intended audience,
recommendation, usage context), QuestionnaireLinkage resources can be searched by
`questionnaireLinkageFor` (reference — linkages relevant for given questionnaires) and by
`questionnaireLinkageTitle` (string — startsWith, case- and accent-insensitive; `:contains` is not
supported). As all Basic-based profiles share one search space, searches should carry a profile or code
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)
- usage context via the standard `context`, `context-type` and `context-type-value` parameters
- the standard `code`, `identifier`, `_id` and `_lastUpdated` parameters

As all Basic-based profiles share one search space, searches should carry a profile or code
discriminator.
15 changes: 6 additions & 9 deletions input/pagecontent/changelog.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
This is the log of changes made to the eHealth Implementation Guide.

## Unreleased (2026.4)
### Profiles
- Added `ehealth-questionnairelinkage` profile (FHIR Basic based, as `ehealth-view`/`ehealth-actionguidance`) for linking questions across questionnaires or questionnaire versions (CCR0317 Option 1, FDD0197)
### Extensions
- Added `ehealth-questionnairelinkage-for` extension (0..* version-specific Reference(ehealth-questionnaire) — the questionnaires participating in a linkage)
- Added `ehealth-questionnairelinkage-item` extension (0..* groups of linked questions: optional description + linkage pairs of questionnaire reference and linkId)
- Added `ehealth-basic-name` extension (computer-friendly name, complementing `ehealth-basic-title`; used by `ehealth-questionnairelinkage`)
- Added `ehealth-intendedQuestionnaireLinkage` extension (0..* Reference(ehealth-questionnairelinkage)) on `PlanDefinition.action` (any nesting level) and on `ehealth-servicerequest` — the linkages intended for presenting the questionnaire responses of the action/service request; copied action to ServiceRequest by PlanDefinition/$apply (CCR0317 Option 1, FDD0197)
### Code systems
- Added `questionnairelinkage` (Spørgeskemasammenknytning) to http://ehealth.sundhed.dk/cs/basic-resource-type
- Added `questionnairelinkage` (Spørgeskemasammenknytning) to `http://ehealth.sundhed.dk/cs/basic-resource-type` (CCR0317).
### Resource/profile changes
- Added new `ehealth-questionnairelinkage` profile (FHIR Basic based, like `ehealth-view` and `ehealth-actionguidance`) for linking questions across questionnaires or questionnaire versions (CCR0317). The profile carries the extensions `ehealth-questionnairelinkage-for` (the questionnaires participating in the linkage, as version-specific references) and `ehealth-questionnairelinkage-item` (groups of linked questions, each question given as a questionnaire reference and a linkId).
- Added extension `ehealth-intendedQuestionnaireLinkage` to `ehealth-plandefinition` (on `action`, at any nesting level) and to `ehealth-servicerequest`, holding the QuestionnaireLinkage references intended for presenting the questionnaire responses of the action/service request (CCR0317). `PlanDefinition/$apply` copies the references from the action to the created ServiceRequest.
### Search parameters
- Added `questionnaireLinkageFor` (reference) and `questionnaireLinkageTitle` (string, startsWith only) search parameters on Basic for the `ehealth-questionnairelinkage` profile (defined in the ehealth-model repo, as for the other Systematic-owned search parameters)
- Added search parameter `questionnaireLinkageFor` on `ehealth-questionnairelinkage` to query linkages by a participating questionnaire (reference).
- Added search parameter `title` on `ehealth-questionnairelinkage` to query by title (string, startsWith matching). As the parameter is defined on Basic, it also applies to `ehealth-view` and `ehealth-actionguidance`.
## 10.0.0 (2026-08-26)
### General changes
- Updated ehealth-media to allow patient and relatedPerson references in it's operator field.
Expand Down