{ "description": "Example Questionnaire that shows both definition-based population and StructureMap-based extraction", "_filename": "example/Questionnaire-SDOHCC-QuestionnaireHungerVitalSign.json", "package_name": "hl7.fhir.uv.sdc", "subjectType": [ "Patient" ], "date": "2024-12-17T01:55:34+00:00", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-defn" ] }, "publisher": "HL7 International / FHIR Infrastructure", "jurisdiction": [ { "coding": [ { "code": "001", "system": "http://unstats.un.org/unsd/methods/m49/m49.htm", "display": "World" } ] } ], "name": "SDOHCCQuestionnaireHungerVitalSign", "item": [ { "code": [ { "code": "88122-7", "system": "http://loinc.org", "display": "Within the past 12 months we worried whether our food would run out before we got money to buy more [U.S. FSS]" } ], "text": "(I/We) worried whether (my/our) food would run out before (I/we) got money to buy more.", "type": "choice", "linkId": "/88122-7", "required": false, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "text": "Drop down", "coding": [ { "code": "drop-down", "system": "http://hl7.org/fhir/questionnaire-item-control", "display": "Drop down" } ] } } ], "answerOption": [ { "valueCoding": { "code": "LA28397-0", "system": "http://loinc.org", "display": "Often true" } }, { "valueCoding": { "code": "LA6729-3", "system": "http://loinc.org", "display": "Sometimes true" } }, { "valueCoding": { "code": "LA28398-8", "system": "http://loinc.org", "display": "Never true" } }, { "valueCoding": { "code": "LA15775-2", "system": "http://loinc.org", "display": "Don't know/refused" } } ] }, { "code": [ { "code": "88123-5", "system": "http://loinc.org", "display": "Within the past 12 months the food we bought just didn't last and we didn't have money to get more [U.S. FSS]" } ], "text": "The food that (I/we) bought just didn't last, and (I/we) didn't have money to get more.", "type": "choice", "linkId": "/88123-5", "required": false, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "text": "Drop down", "coding": [ { "code": "drop-down", "system": "http://hl7.org/fhir/questionnaire-item-control", "display": "Drop down" } ] } } ], "answerOption": [ { "valueCoding": { "code": "LA28397-0", "system": "http://loinc.org", "display": "Often true" } }, { "valueCoding": { "code": "LA6729-3", "system": "http://loinc.org", "display": "Sometimes true" } }, { "valueCoding": { "code": "LA28398-8", "system": "http://loinc.org", "display": "Never true" } }, { "valueCoding": { "code": "LA15775-2", "system": "http://loinc.org", "display": "Don't know/refused" } } ] }, { "code": [ { "code": "88124-3", "system": "http://loinc.org", "display": "Food insecurity risk [HVS]" } ], "item": [ { "text": "An answer of \"often true\" or \"sometimes true\" to either or both of the Hunger Vital Sign™ questions identifies a patient as at risk for food insecurity (FI).", "type": "display", "linkId": "/88124-3-help", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "text": "Help-Button", "coding": [ { "code": "help", "system": "http://hl7.org/fhir/questionnaire-item-control", "display": "Help-Button" } ] } } ] } ], "text": "Food insecurity risk", "type": "choice", "linkId": "/88124-3", "required": false, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "text": "Drop down", "coding": [ { "code": "drop-down", "system": "http://hl7.org/fhir/questionnaire-item-control", "display": "Drop down" } ] } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { "name": "thisItem", "language": "text/fhirpath", "expression": "%questionnaire.item.where(linkId = '/88124-3')" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { "name": "atRiskCoding", "language": "text/fhirpath", "expression": "%thisItem.answerOption.value.where(code='LA19952-3')" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { "name": "noRiskCoding", "language": "text/fhirpath", "expression": "%thisItem.answerOption.value.where(code='LA19983-8')" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", "expression": "iif(%answeredEitherQ, iif(%riskStatus, %atRiskCoding, %noRiskCoding), {})", "description": "risk determination" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", "expression": "iif(%answeredEitherQ, iif(%riskStatus, %atRiskCoding, %noRiskCoding), {})", "description": "risk determination" } } ], "answerOption": [ { "valueCoding": { "code": "LA19952-3", "system": "http://loinc.org", "display": "At risk" } }, { "valueCoding": { "code": "LA19983-8", "system": "http://loinc.org", "display": "No risk" } } ] } ], "copyright": "Content is from the Hunger Vital Sign Survey with permission: © 2010 Dr. Erin Hager and Dr. Anna Quigg and the Children’s HealthWatch research team", "type": null, "experimental": null, "resourceType": "Questionnaire", "title": "SDOHCC Questionnaire Hunger Vital Sign", "package_version": "4.0.0-ballot", "extension": [ { "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]", "valueCoding": { "code": "semver", "system": "http://hl7.org/fhir/version-algorithm" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { "name": "worriedAnsCode", "language": "text/fhirpath", "expression": "%resource.item.where(linkId='/88122-7').answer.value.code" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { "name": "ranOutAnsCode", "language": "text/fhirpath", "expression": "%resource.item.where(linkId='/88123-5').answer.value.code" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { "name": "riskCodes", "language": "text/fhirpath", "expression": "'LA28397-0'.combine('LA6729-3')" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { "name": "riskStatus", "language": "text/fhirpath", "expression": "%riskCodes contains %worriedAnsCode or %riskCodes contains %ranOutAnsCode" } }, { "url": "http://hl7.org/fhir/StructureDefinition/variable", "valueExpression": { "name": "answeredEitherQ", "language": "text/fhirpath", "expression": "%worriedAnsCode.exists() or %ranOutAnsCode.exists()" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", "valueCanonical": "http://hl7.org/fhir/uv/sdc/StructureMap/SDOHCCHungerVitalSignMap" } ], "status": "active", "id": "dea86ca9-d2c5-4a23-ae21-1e1bcd6c1dae", "kind": null, "url": "http://hl7.org/fhir/uv/sdc/Questionnaire/SDOHCC-QuestionnaireHungerVitalSign", "identifier": [ { "value": "urn:oid:2.16.840.1.113883.4.642.40.17.35.1", "system": "urn:ietf:rfc:3986" } ], "version": "4.0.0-ballot", "contact": [ { "name": "HL7 International / FHIR Infrastructure", "telecom": [ { "value": "http://www.hl7.org/Special/committees/fiwg", "system": "url" } ] }, { "telecom": [ { "value": "http://www.hl7.org/Special/committees/fiwg", "system": "url" } ] } ] }