FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagefhir.paciosampledata
Resource TypeQuestionnaire
IdQuestionnaire-NeckDisabilityIndexQuestionnaire.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/paciowg/sample-data-fsh/Questionnaire-NeckDisabilityIndexQuestionnaire.html
URLhttp://example.org/fhir/Questionnaire/NeckDisabilityIndexQuestionnaire
Version0.1.0
Statusactive
Date2026-09-10T21:57:14+00:00
TitleNeck Disability Index (NDI)
Realmus
Authorityhl7

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: Questionnaire NeckDisabilityIndexQuestionnaire

Profile: SDC Base Questionnaire version: 4.0.0

Structure
LinkIDTextCardinalityTypeFlagsDescription & Constraintsdoco
.. Questionnairehttp://example.org/fhir/Questionnaire/NeckDisabilityIndexQuestionnaire#0.1.0
... ndi-1Pain intensity0..1choiceValue Set: LOINC Answer Codes for LL3898-5
... ndi-2Personal care (washing, dressing, etc.)0..1choiceValue Set: LOINC Answer Codes for LL3899-3
... ndi-3Lifting0..1choiceValue Set: LOINC Answer Codes for LL3900-9
... ndi-4Reading0..1choiceValue Set: LOINC Answer Codes for LL3901-7
... ndi-5Headaches0..1choiceValue Set: LOINC Answer Codes for LL3902-5
... ndi-6Concentration0..1choiceValue Set: LOINC Answer Codes for LL3903-3
... ndi-7Work0..1choiceValue Set: LOINC Answer Codes for LL3904-1
... ndi-8Driving0..1choiceValue Set: LOINC Answer Codes for LL3905-8
... ndi-9Sleeping0..1choiceValue Set: LOINC Answer Codes for LL3906-6
... ndi-10Recreation0..1choiceValue Set: LOINC Answer Codes for LL3907-4
... total-scoreTotal score [NDI]0..1decimaliconicon
... severity-categoryNDI disability category0..1choiceiconiconOptions: 5 options

doco Documentation for this format

Options Sets

Answer options for severity-category

  • No disability
  • Mild disability
  • Moderate disability
  • Severe disability
  • Complete disability

Source1

{
  "resourceType": "Questionnaire",
  "id": "NeckDisabilityIndexQuestionnaire",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire|4.0.0"
    ]
  },
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm",
      "valueString": "semver"
    }
  ],
  "url": "http://example.org/fhir/Questionnaire/NeckDisabilityIndexQuestionnaire",
  "version": "0.1.0",
  "title": "Neck Disability Index (NDI)",
  "status": "active",
  "subjectType": [
    "Patient"
  ],
  "date": "2026-09-10T21:57:14+00:00",
  "publisher": "MITRE",
  "contact": [
    {
      "name": "MITRE",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.mitre.org"
        }
      ]
    },
    {
      "name": "May Terry",
      "telecom": [
        {
          "system": "email",
          "value": "mayT@mitre.org",
          "use": "work"
        }
      ]
    }
  ],
  "code": [
    {
      "system": "http://loinc.org",
      "code": "82226-2",
      "display": "Neck Disability Index [NDI]"
    }
  ],
  "item": [
    {
      "linkId": "ndi-1",
      "code": [
        {
          "system": "http://loinc.org",
          "code": "82227-0"
        }
      ],
      "text": "Pain intensity",
      "type": "choice",
      "answerValueSet": "http://loinc.org/vs/LL3898-5"
    },
    {
      "linkId": "ndi-2",
      "code": [
        {
          "system": "http://loinc.org",
          "code": "82228-8"
        }
      ],
      "text": "Personal care (washing, dressing, etc.)",
      "type": "choice",
      "answerValueSet": "http://loinc.org/vs/LL3899-3"
    },
    {
      "linkId": "ndi-3",
      "code": [
        {
          "system": "http://loinc.org",
          "code": "82229-6"
        }
      ],
      "text": "Lifting",
      "type": "choice",
      "answerValueSet": "http://loinc.org/vs/LL3900-9"
    },
    {
      "linkId": "ndi-4",
      "code": [
        {
          "system": "http://loinc.org",
          "code": "82230-4"
        }
      ],
      "text": "Reading",
      "type": "choice",
      "answerValueSet": "http://loinc.org/vs/LL3901-7"
    },
    {
      "linkId": "ndi-5",
      "code": [
        {
          "system": "http://loinc.org",
          "code": "82231-2"
        }
      ],
      "text": "Headaches",
      "type": "choice",
      "answerValueSet": "http://loinc.org/vs/LL3902-5"
    },
    {
      "linkId": "ndi-6",
      "code": [
        {
          "system": "http://loinc.org",
          "code": "82232-0"
        }
      ],
      "text": "Concentration",
      "type": "choice",
      "answerValueSet": "http://loinc.org/vs/LL3903-3"
    },
    {
      "linkId": "ndi-7",
      "code": [
        {
          "system": "http://loinc.org",
          "code": "82233-8"
        }
      ],
      "text": "Work",
      "type": "choice",
      "answerValueSet": "http://loinc.org/vs/LL3904-1"
    },
    {
      "linkId": "ndi-8",
      "code": [
        {
          "system": "http://loinc.org",
          "code": "82234-6"
        }
      ],
      "text": "Driving",
      "type": "choice",
      "answerValueSet": "http://loinc.org/vs/LL3905-8"
    },
    {
      "linkId": "ndi-9",
      "code": [
        {
          "system": "http://loinc.org",
          "code": "82235-3"
        }
      ],
      "text": "Sleeping",
      "type": "choice",
      "answerValueSet": "http://loinc.org/vs/LL3906-6"
    },
    {
      "linkId": "ndi-10",
      "code": [
        {
          "system": "http://loinc.org",
          "code": "82236-1"
        }
      ],
      "text": "Recreation",
      "type": "choice",
      "answerValueSet": "http://loinc.org/vs/LL3907-4"
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression",
          "valueExpression": {
            "language": "text/fhirpath",
            "expression": "(%resource.item.where(linkId='ndi-1').answer.valueCoding.extension.where(url='http://hl7.org/fhir/StructureDefinition/ordinalValue').valueDecimal + %resource.item.where(linkId='ndi-2').answer.valueCoding.extension.where(url='http://hl7.org/fhir/StructureDefinition/ordinalValue').valueDecimal + %resource.item.where(linkId='ndi-3').answer.valueCoding.extension.where(url='http://hl7.org/fhir/StructureDefinition/ordinalValue').valueDecimal + %resource.item.where(linkId='ndi-4').answer.valueCoding.extension.where(url='http://hl7.org/fhir/StructureDefinition/ordinalValue').valueDecimal + %resource.item.where(linkId='ndi-5').answer.valueCoding.extension.where(url='http://hl7.org/fhir/StructureDefinition/ordinalValue').valueDecimal + %resource.item.where(linkId='ndi-6').answer.valueCoding.extension.where(url='http://hl7.org/fhir/StructureDefinition/ordinalValue').valueDecimal + %resource.item.where(linkId='ndi-7').answer.valueCoding.extension.where(url='http://hl7.org/fhir/StructureDefinition/ordinalValue').valueDecimal + %resource.item.where(linkId='ndi-8').answer.valueCoding.extension.where(url='http://hl7.org/fhir/StructureDefinition/ordinalValue').valueDecimal + %resource.item.where(linkId='ndi-9').answer.valueCoding.extension.where(url='http://hl7.org/fhir/StructureDefinition/ordinalValue').valueDecimal + %resource.item.where(linkId='ndi-10').answer.valueCoding.extension.where(url='http://hl7.org/fhir/StructureDefinition/ordinalValue').valueDecimal) / 50 * 100"
          }
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/minValue",
          "valueDecimal": 0
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/maxValue",
          "valueDecimal": 100
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
          "valueCoding": {
            "system": "http://unitsofmeasure.org",
            "code": "%",
            "display": "percent"
          }
        }
      ],
      "linkId": "total-score",
      "code": [
        {
          "system": "http://loinc.org",
          "code": "82237-9",
          "display": "Total score [NDI]"
        }
      ],
      "text": "Total score [NDI]",
      "type": "decimal",
      "readOnly": true
    },
    {
      "extension": [
        {
          "extension": [
            {
              "url": "label",
              "valueString": "No disability"
            },
            {
              "url": "low",
              "valueDecimal": 0
            },
            {
              "url": "high",
              "valueDecimal": 8
            }
          ],
          "url": "http://example.org/StructureDefinition/score-band"
        },
        {
          "extension": [
            {
              "url": "label",
              "valueString": "Mild disability"
            },
            {
              "url": "low",
              "valueDecimal": 9
            },
            {
              "url": "high",
              "valueDecimal": 28
            }
          ],
          "url": "http://example.org/StructureDefinition/score-band"
        },
        {
          "extension": [
            {
              "url": "label",
              "valueString": "Moderate disability"
            },
            {
              "url": "low",
              "valueDecimal": 29
            },
            {
              "url": "high",
              "valueDecimal": 48
            }
          ],
          "url": "http://example.org/StructureDefinition/score-band"
        },
        {
          "extension": [
            {
              "url": "label",
              "valueString": "Severe disability"
            },
            {
              "url": "low",
              "valueDecimal": 49
            },
            {
              "url": "high",
              "valueDecimal": 64
            }
          ],
          "url": "http://example.org/StructureDefinition/score-band"
        },
        {
          "extension": [
            {
              "url": "label",
              "valueString": "Complete disability"
            },
            {
              "url": "low",
              "valueDecimal": 65
            },
            {
              "url": "high",
              "valueDecimal": 100
            }
          ],
          "url": "http://example.org/StructureDefinition/score-band"
        },
        {
          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression",
          "valueExpression": {
            "language": "text/fhirpath",
            "expression": "%resource.item.where(linkId='total-score').answer.valueDecimal.select(iif($this <= 8, 'No disability', iif($this <= 28, 'Mild disability', iif($this <= 48, 'Moderate disability', iif($this <= 64, 'Severe disability', 'Complete disability')))))"
          }
        }
      ],
      "linkId": "severity-category",
      "text": "NDI disability category",
      "type": "choice",
      "readOnly": true,
      "answerOption": [
        {
          "valueString": "No disability"
        },
        {
          "valueString": "Mild disability"
        },
        {
          "valueString": "Moderate disability"
        },
        {
          "valueString": "Severe disability"
        },
        {
          "valueString": "Complete disability"
        }
      ]
    }
  ]
}