Structured Data Capture
3.0.0 - STU 3 International flag

This page is part of the Structured Data Capture FHIR IG (v3.0.0: STU 3) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Questionnaire: SDC-Example using ordinalValue and constraint

Official URL: http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-ordinal-value Version: 3.0.0
Standards status: Informative Computable Name: SDCExampleUsingOrdinalValue
LinkIdTextCardinalityTypeFlagsDescription & Constraintsdoco
.. SDCExampleUsingOrdinalValueQuestionnairehttp://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-ordinal-value#3.0.0
... 1.0Over the last 2 weeks, how often have you been bothered by any of the following problems?0..1group
.... 1.11. Little interest or pleasure in doing things0..1choiceValue Set: Timing of harm assessment [AHRQ]
.... 1.22. Feeling down, depressed, or hopeless0..1choiceValue Set: Timing of harm assessment [AHRQ]
.... 1.33. Trouble falling or staying asleep, or sleeping too much0..1choiceValue Set: Timing of harm assessment [AHRQ]
.... 1.44. Feeling tired or having little energy0..1choiceValue Set: Timing of harm assessment [AHRQ]
.... 6Total Score:0..1integerExpressions:
  • Calculated Value: %resource.repeat(item).where(linkId='1.0').item.answer.ordinalValue().aggregate($this + $total, 0)

doco Documentation for this format