Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

See Questionnaire for introduction and use of the resources and its elements.

...

Expand
titleExample DefinedQuestion for MRC question (question text in Danish)
Code Block
{
    "resourceType": "StructureDefinition",
    "id": "80557",
    "meta": {
        "versionId": "1",
        "lastUpdated": "2020-12-16T09:25:25.068+00:00",
        "profile": [
            "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-definedquestion"
        ]
    },
    "url": "http://ehealth.sundhed.dk/DefinedQuestion/d3db2ad6-b45e-4d21-81db-bcd0ce5d15a3",
    "version": "1",
    "name": "Hvilket af nedenstående udsagn beskriver din situation bedst? \n\nAngiv dit svar:",
    "title": "Hvilket af nedenstående udsagn beskriver din situation bedst? \n\nAngiv dit svar:",
    "status": "active",
    "publisher": "IT Telecare Nord",
    "purpose": "Genbrugeligt spørgsmål til spørgeskema",
    "kind": "logical",
    "abstract": true,
    "type": "StructureDefinition",
    "differential": {
        "element": [
            {
                "id": "StructureDefinition",
                "path": "StructureDefinition.type",
                "definition": "Hvilket af nedenstående udsagn beskriver din situation bedst? \n\nAngiv dit svar:"
            }
        ]
    }
}

...

Info

With release 2024.1

Upload QFDD/Questionnaire definition to the infrastructure

To be able to share questionnaire responses to KIH, a QFDD for the FHIR Questionnaire must be uploaded to the infrastructure. Furthermore the Questionnaire must reference the uploaded QFDD in Questionnaire.identifier by an identifier with the following properties:

Questionnaire.identifier must contain the unique QFDD document id:

  • Identifier.system set to “urn:oid:<Attribute root in QFDD /ClinicalDocument/id>”

  • Identifier.value set to “<Attribute extension in QFDD /ClinicalDocument/id>“

OBS:

  • The QFDD must be uploaded to the infrastructure before document registering of QRD.

  • The Questionnaire.identifier can contain multiple identifiers but only the identifier for QFDD is allowed to have an Identifier.system starting with prefix: “urn:oid:”

If using KAM questionnaire editor to create questionnaires, the QFDD reference is set be the following field.

...

Upload QFDD/Questionnaire definition via KAM

It is possible to upload QFDD via KAM Questionnaire editor by navigating to “Administration af spørgeskemadefinitionener/QFDD'er“.

OBS: The QFDD must be officially published before uploading to the infrastructure, as questionnaire responses should only be shared for published QFDD’s.

Upload QFDD/Questionnaire definition via endpoint

Besides uploading through KAM it is possible to upload directly via POST call to endpoint: <insert link>.

The QFDD is uploaded as a DocumentReference to Document-transformation service.

The requirements for the DocumentReference:

DocumentReference.status must be current.

DocumentReference.type must be Coding for QFDD type: system = "http://loinc.org" and value = "74468-0").

DocumentReference.description the title. If not assigned, the title from the QFDD document is used.

DocumentReference.content.attachment.data must contain the QFDD xml content.