Package | hl7.fhir.uv.sdc.r4b |
Resource Type | Questionnaire |
Id | questionnaire-sdc-profile-example-ordinal-value |
FHIR Version | R4B |
Source | http://hl7.org/fhir/uv/sdc/http://hl7.org/fhir/uv/sdc/STU3/Questionnaire-questionnaire-sdc-profile-example-ordinal-value.html |
URL | http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-ordinal-value |
Version | 3.0.0 |
Status | draft |
Date | 2022-03-08T18:37:19+00:00 |
Name | SDCExampleUsingOrdinalValue |
Realm | uv |
Authority | hl7 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
LinkId | Text | Cardinality | Type | Flags | Description & Constraints![]() |
---|---|---|---|---|---|
![]() ![]() | Questionnaire | http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-ordinal-value#3.0.0 | |||
![]() ![]() ![]() | Over the last 2 weeks, how often have you been bothered by any of the following problems? | 0..1 | group | ||
![]() ![]() ![]() ![]() | 1. Little interest or pleasure in doing things | 0..1 | choice | ![]() | Value Set: Timing of harm assessment [AHRQ] |
![]() ![]() ![]() ![]() | 2. Feeling down, depressed, or hopeless | 0..1 | choice | ![]() | Value Set: Timing of harm assessment [AHRQ] |
![]() ![]() ![]() ![]() | 3. Trouble falling or staying asleep, or sleeping too much | 0..1 | choice | ![]() | Value Set: Timing of harm assessment [AHRQ] |
![]() ![]() ![]() ![]() | 4. Feeling tired or having little energy | 0..1 | choice | ![]() | Value Set: Timing of harm assessment [AHRQ] |
![]() ![]() ![]() ![]() | Total Score: | 0..1 | integer | Expressions:
| |
![]() |
{ "resourceType": "Questionnaire", "id": "questionnaire-sdc-profile-example-ordinal-value", "text": { "status": "generated", "div": "<!-- snip (see above) -->" }, "contained": [ { "resourceType": "ValueSet", "id": "LL358-3", "name": "TimingOfHarmAssessment", "title": "Timing of harm assessment [AHRQ]", "status": "active", "description": "The answer list for timing of harm assessment", "copyright": "This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use", "compose": { "include": [ { "system": "http://loinc.org", "concept": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue", "valueDecimal": 0 } ], "code": "LA6568-5", "display": "Not at all" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue", "valueDecimal": 1 } ], "code": "LA6569-3", "display": "Several days" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue", "valueDecimal": 2 } ], "code": "LA6570-1", "display": "More than half the days" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue", "valueDecimal": 3 } ], "code": "LA6571-9", "display": "Nearly every day" } ] } ] } } ], "url": "http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-ordinal-value", "version": "3.0.0", "name": "SDCExampleUsingOrdinalValue", "status": "draft", "date": "2022-03-08T18:37:19+00:00", "publisher": "HL7 International - FHIR Infrastructure Work Group", "contact": [ { "telecom": [ { "system": "url", "value": "http://hl7.org/Special/committees/fiwg" } ] } ], "jurisdiction": [ { "coding": [ { "system": "http://unstats.un.org/unsd/methods/m49/m49.htm", "code": "001" } ] } ], "item": [ { "extension": [ { "extension": [ { "url": "key", "valueId": "contraint-1" }, { "url": "requirements", "valueString": "At least three questions must be answered to have a meaningful total." }, { "url": "severity", "valueCode": "warning" }, { "url": "expression", "valueString": "%resource.repeat(item).where(linkId='1.0').item.where(answer.hasValue()).count() >= 3" }, { "url": "human", "valueString": "You should answer at least three questions." } ], "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint" } ], "linkId": "1.0", "text": "Over the last 2 weeks, how often have you been bothered by any of the following problems?", "type": "group", "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", "valueCode": "horizontal" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "radio-button", "display": "Radio Button" } ], "text": "A control where choices are listed with a button beside them. The button can be toggled to select or de-select a given choice. Selecting one item deselects all others." } } ], "linkId": "1.1", "text": "1. Little interest or pleasure in doing things", "type": "choice", "answerValueSet": "#LL358-3" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", "valueCode": "horizontal" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "radio-button", "display": "Radio Button" } ], "text": "A control where choices are listed with a button beside them. The button can be toggled to select or de-select a given choice. Selecting one item deselects all others." } } ], "linkId": "1.2", "text": "2. Feeling down, depressed, or hopeless", "type": "choice", "answerValueSet": "#LL358-3" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", "valueCode": "horizontal" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "radio-button", "display": "Radio Button" } ], "text": "A control where choices are listed with a button beside them. The button can be toggled to select or de-select a given choice. Selecting one item deselects all others." } } ], "linkId": "1.3", "text": "3. Trouble falling or staying asleep, or sleeping too much", "type": "choice", "answerValueSet": "#LL358-3" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation", "valueCode": "horizontal" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "radio-button", "display": "Radio Button" } ], "text": "A control where choices are listed with a button beside them. The button can be toggled to select or de-select a given choice. Selecting one item deselects all others." } } ], "linkId": "1.4", "text": "4. Feeling tired or having little energy", "type": "choice", "answerValueSet": "#LL358-3" }, { "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "description": "Total score", "language": "text/fhirpath", "expression": "%resource.repeat(item).where(linkId='1.0').item.answer.ordinalValue().aggregate($this + $total, 0)" } } ], "linkId": "6", "text": "Total Score:", "type": "integer" } ] } ] }