Package | hl7.fhir.uv.sdc.r4b |
Type | Questionnaire |
Id | questionnaire-sdc-profile-example-context-expression |
FHIR Version | R4B |
Source | http://hl7.org/fhir/uv/sdc/http://hl7.org/fhir/uv/sdc/STU3/Questionnaire-questionnaire-sdc-profile-example-context-expression.html |
URL | http://hl7.org/fhir/uv/sdc/questionnaire-sdc-profile-example-context-expression |
Version | 3.0.0 |
Status | draft |
Date | 2022-03-08T18:37:19+00:00 |
Name | SDCExampleUsingContextExpression |
Realm | uv |
Authority | hl7 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
LinkId | Text | Cardinality | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | Questionnaire | http://hl7.org/fhir/uv/sdc/questionnaire-sdc-profile-example-context-expression#3.0.0 | ||
![]() ![]() ![]() | 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 Expressions: |
![]() |
{ "resourceType": "Questionnaire", "id": "questionnaire-sdc-profile-example-context-expression", "text": { "status": "generated", "div": "<!-- snip (see above) -->" }, "extension": [ { "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", "version": "3.0.0", "name": "SDCExampleUsingContextExpression", "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": [ { "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" } ] } ] }