| Package | hl7.fhir.uv.sdc |
| Resource Type | Questionnaire |
| Id | questionnaire-sdc-profile-example-item-weight |
| FHIR Version | R4 |
| Source | http://hl7.org/fhir/uv/sdc/https://build.fhir.org/ig/HL7/sdc/Questionnaire-questionnaire-sdc-profile-example-item-weight.html |
| URL | http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-item-weight |
| Version | 4.0.0-ballot |
| Status | active |
| Date | 2025-08-07T06:58:13+00:00 |
| Name | SDCExampleUsingItemWeight |
| Realm | uv |
| Authority | hl7 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: Questionnaire questionnaire-sdc-profile-example-item-weight
Profile: Advanced Behavior Questionnaire
| LinkID | Text | Cardinality | Type | Flags | Description & Constraints |
|---|---|---|---|---|---|
![]() | Questionnaire | http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-item-weight#4.0.0-ballot | |||
![]() ![]() | 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 | ||
ValueSet #LL358-3
http://loinc.org| Code | Display |
| LA6568-5 | Not at all |
| LA6569-3 | Several days |
| LA6570-1 | More than half the days |
| LA6571-9 | Nearly every day |
{
"resourceType": "Questionnaire",
"id": "questionnaire-sdc-profile-example-item-weight",
"meta": {
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave"
]
},
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"contained": [
{
"resourceType": "ValueSet",
"id": "LL358-3",
"url": "http://example.org/ValueSet/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": [
{
"code": "LA6568-5",
"display": "Not at all"
},
{
"code": "LA6569-3",
"display": "Several days"
},
{
"code": "LA6570-1",
"display": "More than half the days"
},
{
"code": "LA6571-9",
"display": "Nearly every day"
}
]
}
]
}
}
],
"extension": [
{
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm%5Bx%5D",
"valueCoding": {
"system": "http://hl7.org/fhir/version-algorithm",
"code": "semver"
}
}
],
"url": "http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-item-weight",
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:oid:2.16.840.1.113883.4.642.40.17.35.31"
}
],
"version": "4.0.0-ballot",
"name": "SDCExampleUsingItemWeight",
"status": "active",
"date": "2025-08-07T06:58:13+00:00",
"publisher": "HL7 International / FHIR Infrastructure",
"contact": [
{
"name": "HL7 International / FHIR Infrastructure",
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/fiwg"
}
]
},
{
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"jurisdiction": [
{
"coding": [
{
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code": "001",
"display": "World"
}
]
}
],
"item": [
{
"extension": [
{
"extension": [
{
"url": "key",
"valueId": "contraint-1"
},
{
"url": "requirements",
"valueMarkdown": "At least three questions must be answered to have a meaningful total."
},
{
"url": "severity",
"valueCode": "warning"
},
{
"url": "expression",
"valueExpression": {
"language": "text/fhirpath",
"expression": "%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/targetConstraint"
}
],
"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.value.weight().aggregate($this + $total, 0)"
}
}
],
"linkId": "6",
"text": "Total Score:",
"type": "integer"
}
]
}
]
}