| Package | hl7.fhir.uv.sdc |
| Resource Type | Questionnaire |
| Id | questionnaire-sdc-profile-example-context-expression |
| FHIR Version | R4 |
| Source | http://hl7.org/fhir/uv/sdc/https://build.fhir.org/ig/HL7/sdc/Questionnaire-questionnaire-sdc-profile-example-context-expression.html |
| URL | http://hl7.org/fhir/uv/sdc/questionnaire-sdc-profile-example-context-expression |
| Version | 4.0.0-ballot |
| Status | active |
| Date | 2025-08-07T06:58:13+00:00 |
| Name | SDCExampleUsingContextExpression |
| 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-context-expression
Profile: Advanced Behavior Questionnaire
| LinkID | Text | Cardinality | Type | Description & Constraints |
|---|---|---|---|---|
![]() | Questionnaire | http://hl7.org/fhir/uv/sdc/questionnaire-sdc-profile-example-context-expression#4.0.0-ballot | ||
![]() ![]() | null | 0..1 | group | |
![]() ![]() ![]() | Instruction: Click on "Previous Visits" button to view all the visits of this patient in the past year. | 0..1 | display | |
![]() ![]() ![]() | Has the patient been admitted for this issue on any visits in the past year? | 0..1 | choice | Value Set: Yes/No/Don't Know |
{
"resourceType": "Questionnaire",
"id": "questionnaire-sdc-profile-example-context-expression",
"meta": {
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave"
]
},
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"extension": [
{
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]",
"valueCoding": {
"system": "http://hl7.org/fhir/version-algorithm",
"code": "semver"
}
},
{
"extension": [
{
"url": "name",
"valueCoding": {
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
"code": "patient",
"display": "Patient"
}
},
{
"url": "type",
"valueCode": "Patient"
},
{
"url": "description",
"valueString": "The patient that is to be used to pre-populate the form"
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"
}
],
"url": "http://hl7.org/fhir/uv/sdc/questionnaire-sdc-profile-example-context-expression",
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:oid:2.16.840.1.113883.4.642.40.17.35.7"
}
],
"version": "4.0.0-ballot",
"name": "SDCExampleUsingContextExpression",
"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": [
{
"linkId": "1.0",
"type": "group",
"item": [
{
"linkId": "1.1",
"text": "Instruction: Click on \"Previous Visits\" button to view all the visits of this patient in the past year.",
"type": "display"
},
{
"extension": [
{
"extension": [
{
"url": "label",
"valueString": "Encounters in past year"
},
{
"url": "expression",
"valueExpression": {
"description": "list all Encounters with patient in the past year, in order by date - newest to oldest",
"language": "application/x-fhir-query",
"expression": "Encounter?patient={{%patient.id}}&date=ge{{today()-1 year}}&_sort=-date&_include=Encounter:practitioner"
}
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-contextExpression"
},
{
"extension": [
{
"url": "path",
"valueString": "period.start"
},
{
"url": "label",
"valueString": "Date"
},
{
"url": "width",
"valueQuantity": {
"value": 40,
"system": "http://unitsofmeasure.org",
"code": "%"
}
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
},
{
"extension": [
{
"url": "path",
"valueString": "reason.coding.display + ' - ' + type.text"
},
{
"url": "label",
"valueString": "Visit Reason/Description"
},
{
"url": "width",
"valueQuantity": {
"value": 60,
"system": "http://unitsofmeasure.org",
"code": "%"
}
},
{
"url": "forDisplay",
"valueBoolean": false
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
},
{
"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."
}
},
{
"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": "Has the patient been admitted for this issue on any visits in the past year?",
"type": "choice",
"answerValueSet": "http://hl7.org/fhir/ValueSet/yesnodontknow"
}
]
}
]
}