Excerpt | ||
---|---|---|
| ||
The eHealth Infrastructure document-query and document-transformation services provide integrations to the Danish national document-sharing infrastructure. This page describes the eHealth infrastructure capabilities for
|
...
Transformation | Source (XML document in FHIR DocumentReference) | Target (XML document in FHIR DocumentReference) | Comment | ||
---|---|---|---|---|---|
https://ehealth.sundhed.dk/fhir/OperationDefinition--s-transform-to-PHMR.html | Bundle of FHIR resources. The primary source of information is a FHIR Observation. | PHMR v1.3 XML document. | Used in assembly, transformation and upload of FHIR Observation transformed to PHMR to XDS-based document sharing infrastructure as described in Sharing through Registering Documents in National Document Sharing Infrastructure. | ||
https://ehealth.sundhed.dk/fhir/OperationDefinition--s-transform-to-QRD.html | Bundle of FHIR resources. The primary source of information is an FHIR QuestionnaireResponse. | QRD v1.3 XML document | Used in assembly, transformation and upload of FHIR QuestionnaireResponse transformed to QRD to XDS-based document sharing infrastructure as described in Sharing through Registering Documents in National Document Sharing Infrastructure. | ||
https://ehealth.sundhed.dk/fhir/OperationDefinition--s-transform-to-QFDD.html | Bundle of FHIR resources. The primary source of information is the FHIR Questionnaire. | QFDD v1.1 XML document | |||
TODO: new link | Bundle of FHIR resources. The primary source of information is the FHIR Questionnaire. | QFDD v1.2 XML document | |||
https://ehealth.sundhed.dk/fhir/OperationDefinition--s-transform-to-APD.html | Bundle of FHIR resources. The primary source of information is a FHIR Appointment. | APD v2.0 XML document | Used in assembly, transformation and upload of FHIR Appointment transformed to APD to XDS-based document sharing infrastructure as described in Sharing through Registering Documents in National Document Sharing Infrastructure. | ||
https://ehealth.sundhed.dk/fhir/OperationDefinition--s-transform-from-PHMR.html | PHMR v1.3 XML document. | Bundle of FHIR resources. The most significant information is within an FHIR Observation. | The resultingtion(s) is not guaranteed to be a valid FHIR Observation. | ||
https://ehealth.sundhed.dk/fhir/OperationDefinition--s-transform-from-QRD.html | QRD v1.3 XML document | Bundle of FHIR resources. The most significant information is within a FHIR QuestionnaireResponse. | The resulting QuestionnaireResponse is not guaranteed to be a valid FHIR QuestionnaireResponse. | ||
| QRD v1.3 XML document | Bundle of FHIR resources Most significant information is within an FHIR QuestionnaireResponse with a structure matching the Questionnaire given as input. The QuestionnaireResponse will have linkIDs matching the corresponding Questionnaire. | The resulting QuestionnaireResponse is not guaranteed to be a valid FHIR QuestionnaireResponse. | ||
https://ehealth.sundhed.dk/fhir/OperationDefinition--s-transform-from-QFDD.html | QFDD v1.1 XML document | Bundle of FHtheR resources. The primary source of information is the FHIR Questionnaire. | |||
Todo: new link | QFDD v1.2 XML document | The primary resource in the return bundle is the FHIR Questionnaire. | |||
https://ehealth.sundhed.dk/fhir/OperationDefinition--s-transform-from-APD.html | APD v2.0 XML document | Bundle of FHIR resources. The primary source of information is a FHIR Appointment. | The resulting Appointment is not guaranteed to be a valid FHIR Appointment. |
...
The following are prerequisites for a FHIR Questionnaire (shortened Questionnaire and covering both the ehealth-questionnaire and ehealth-questionnaire-advanced profiles) to be an approximation of a QFDD:
Info |
---|
With FUT-I Release 2024.3.1:
|
At root level of the FHIR Questionnaire, the number of question groups (
Questionnaire.item
withitem.type
set togroup
) shall match the number of QFDD sections for all but QFDD copyright section.Rationale: Copyright is placed in
Questionnaire.copyright
.
For each QFDD section except Information Only sections, the number of FHIR Questionnaire subgroups (
Questionnaire.item.item
withitem.type
set togroup
) shall match the number of QFDD organizers inside the section.The
Questionnaire.item
.item.externalIdentifier
(on a subgroup) shall match the QFDD organizer id.
For each QFDD question within an organizer there shall be a FHIR Questionnaire question item (
Questionnaire.item.item.item
)The
Questionnaire.item
.item.item.externalIdentifier
shall match the QFDD question id.A QFDD question with associated text shall have the associated text represented as a separate FHIR Questionnaire question item (
Questionnaire.item.item.item
)
Calculation type
Questionnaire.item
at any level are allowed in the FHIR Questionnaire without counterpart in the QFDDRationale: Calculations and formulas are not represented in QFDD.
...
Logical Part | QRD Document | Details |
---|---|---|
Multiple Choice Response Pattern Observation | /ClinicalDocument/component/structuredBody/component/section/entry/organizer/component/observation | An item inside a subgroup
Multiple Choice Response if
|
Id | …/observation/id | Uses Id from QFFD question Validating if Questionnaire item( |
Code | …/observation/code | Uses code from Questionnaire item Code: CodeSystem: if CodeSystemName: is fetched from CodeSystem in Questionnaire Terminology. Value is taken in the following order: codeSystem.title, codeSystem.name, codeSystem.url or “Unknown“. Display: OriginalText: Question text ( |
Answer | …/observation/value | Value: from For Code: CodeSystem: if CodeSystemName: is fetched from CodeSystem in Questionnaire Terminology. Value is taken in the following order: codeSystem.title, codeSystem.name, codeSystem.url or “Unknown“. Display: |
Help text Image Associated text question | …/observation/entryRelationship | Is added if Questionnaire item has one or more extensions:
And if QFDD has associated text question and preconditions are fulfilled. Structure for associated text question in FHIR Questionnaire:
OBS: Supported precondition for Associated text question:
|
External reference | …/observation/reference | The QFDD unique id. From id element and the property 'extension' |
Range | …/observation/referenceRange | If |
...
QFDD Element | FHIR Questionnaire | Comment | ||
---|---|---|---|---|
Information Only Section | A A single child item | |||
Question Section (with one or more Question Organizer) | A | Root-level group | ||
For each QFDD Question Organizer: A single child item | Subgroup of root-level group | |||
For each question in the group/QFDD Question Organizer: A single child item | Question type item in subgroup of root-level group. For subtypes of | Not transformed as algorithms and expressions are not supported in QFDD. | ||
Copyright Section | A
One or more child items
| |||
Not transformed as algorithms and expressions are not supported in QFDD. | A | A Calculated expression within the FHIR Questionnaire, see https://ehealth-dk.atlassian.net/wiki/spaces/EDTW/pages/1716060177/Managing+Questionnaires#Defining-a-Calculation-Expression |
...
Discrete Slider Question Pattern Observation
Logical Part | QRD QFDD Document | Details |
---|---|---|
Discrete Slider Question Pattern Observation | /ClinicalDocument/component/structuredBody/component/section/entry/organizer/component/observation | An item inside a subgroup
Multiple Choice if
Properties: id, code, help text, image and precondition is the same configuration as for Multiple Choice |
Id | …/observation/id | Uses Id from QFFD question Validating if Questionnaire item( |
Code | …/observation/code | Uses code from Questionnaire item Code: CodeSystem: if CodeSystemName: is fetched from CodeSystem in Questionnaire Terminology. Value is taken in the following order: codeSystem.title, codeSystem.name, codeSystem.url or “Unknown“. Display: OriginalText: Question text ( |
Range | …/observation/entryRelationship | Range is based on Low: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs High: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs always 1 (1 only allowed value for Discrete Slider type) See more regarding min and max: https://docs.ehealth.sundhed.dk/latest-released/ig/StructureDefinition-ehealth-questionnaire.html#setting-minimal-and-maximal-number-of-permitted-choices |
Copyright Section
Logical Part |
---|
QFDD Document | Details | |
---|---|---|
Copyright Section | /ClinicalDocument/component/structuredBody/component/section | Copyright section uses |
Supported types
...
FHIR Questionnaire.item.type
...
QRD Response Pattern Observation
...
text, string
...
Text Question Pattern Observation.
...
Info |
---|
With Release 2024.3.1 |
Logical Part | QFDD Document | Details |
---|---|---|
Copyright Section | /ClinicalDocument/component/structuredBody/component/section (with (./templateId | A root-level item with:
|
Title | …/component/section/title |
|
Narrative | …/component/section/text | The narrative is automatically generated by the transformation and contains the plain text from each copyright text(entry) separated by three <br/>. Note: When transforming from QFDD to FHIR Questionnaire the narrative is not transformed. |
Entry | ../entry/observation/value | One or more child items in the group with:
Note: When transforming from QFDD the display items will contain the plain text. |
| /ClinicalDocument/languageCode |
|
...
Supported types
FHIR Questionnaire.item.type | QRD Response Pattern Observation |
---|---|
text, string | Text Question Pattern Observation. |
choice | Multiple Choice Question Pattern Observation. Discrete Slider Question Pattern Observation when |
decimal, integer | Numeric Question Pattern Observation. Analog Slider Question Pattern Observation when |
datetime | Numeric Question Pattern Observation |
...
QFDD Element | FHIR Questionnaire | Comment | ||
---|---|---|---|---|
Information Only Section | A A single child item | |||
Question Section (with one or more Question Organizer) | A For each QFDD Question Organizer: A single child item For each question in the group/QFDD Question Organizer: A single child item | |||
Copyright Section | A
One or more child items
| |||
Not transformed as algorithms and expressions are not supported in QFDD. | A | A Calculated expression within the questionnaire, see https://ehealth-dk.atlassian.net/wiki/spaces/EDTW/pages/1716060177/Managing+Questionnaires#Defining-a-Calculation-Expression |
...