Example Questionnaire resource (GAD7)

This page contains example JSON for a Questionnaire resource of a GAD7, generated from the advanced questionnaires feature. This is the format you will receive the Questionnaire in when you retrieve it from the Questionnaire endpoint.

JSON

{ "resourceType": "Questionnaire", "id": "2becaa96-8d4c-4ea4-84b8-6b41edba854a", "meta": { "extension": [ { "url": "ex:createdAt", "valueInstant": "2023-12-11T15:07:31.094891Z" } ], "versionId": "4107", "lastUpdated": "2024-05-22T12:55:05.497174Z", "profile": [ "urn:fhir:extension:SDCQuestionnaire" ] }, "url": "http://fhir.patientsknowbest.com/questionnaire/gad7|1.0", "version": "1.0", "name": "standard-library.forms-sandbox/Gad7Form", "title": "GAD-7", "status": "active", "description": "GAD-7. This form represents an anxiety measure based on seven items which are scored from zero to three.", "code": [ { "system": "https://loinc.org/", "code": "44249-1" } ], "item": [ { "linkId": "69725-0", "code": [ { "system": "http://loinc.org", "code": "69725-0" } ], "text": "Feeling nervous, anxious, or on edge", "type": "choice", "answerOption": [ { "valueCoding": { "system": "http://loinc.org", "code": "LA6568-5", "display": "Not at all" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6569-3", "display": "Several days" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6570-1", "display": "More than half the days" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6571-9", "display": "Nearly every day" } } ] }, { "linkId": "68509-9", "code": [ { "system": "http://loinc.org", "code": "68509-9" } ], "text": "Not being able to stop or control worrying", "type": "choice", "answerOption": [ { "valueCoding": { "system": "http://loinc.org", "code": "LA6568-5", "display": "Not at all" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6569-3", "display": "Several days" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6570-1", "display": "More than half the days" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6571-9", "display": "Nearly every day" } } ] }, { "linkId": "69733-4", "code": [ { "system": "http://loinc.org", "code": "69733-4" } ], "text": "Worrying too much about different things", "type": "choice", "answerOption": [ { "valueCoding": { "system": "http://loinc.org", "code": "LA6568-5", "display": "Not at all" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6569-3", "display": "Several days" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6570-1", "display": "More than half the days" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6571-9", "display": "Nearly every day" } } ] }, { "linkId": "69734-2", "code": [ { "system": "http://loinc.org", "code": "69734-2" } ], "text": "Trouble relaxing", "type": "choice", "answerOption": [ { "valueCoding": { "system": "http://loinc.org", "code": "LA6568-5", "display": "Not at all" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6569-3", "display": "Several days" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6570-1", "display": "More than half the days" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6571-9", "display": "Nearly every day" } } ] }, { "linkId": "69735-9", "code": [ { "system": "http://loinc.org", "code": "69735-9" } ], "text": "Being so restless that it is hard to sit still", "type": "choice", "answerOption": [ { "valueCoding": { "system": "http://loinc.org", "code": "LA6568-5", "display": "Not at all" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6569-3", "display": "Several days" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6570-1", "display": "More than half the days" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6571-9", "display": "Nearly every day" } } ] }, { "linkId": "69689-8", "code": [ { "system": "http://loinc.org", "code": "69689-8" } ], "text": "Becoming easily annoyed or irritable", "type": "choice", "answerOption": [ { "valueCoding": { "system": "http://loinc.org", "code": "LA6568-5", "display": "Not at all" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6569-3", "display": "Several days" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6570-1", "display": "More than half the days" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6571-9", "display": "Nearly every day" } } ] }, { "linkId": "69736-7", "code": [ { "system": "http://loinc.org", "code": "69736-7" } ], "text": "Feeling afraid, as if something awful might happen", "type": "choice", "answerOption": [ { "valueCoding": { "system": "http://loinc.org", "code": "LA6568-5", "display": "Not at all" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6569-3", "display": "Several days" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6570-1", "display": "More than half the days" } }, { "valueCoding": { "system": "http://loinc.org", "code": "LA6571-9", "display": "Nearly every day" } } ] }, { "extension": [ { "url": "urn:fhir:extension:sdc-questionnaire-ruleDescription", "valueMarkdown": "A + B + C + D + E + F + G\n\nWhere:\n* A = Feeling nervous, anxious, or on edge\n* B = Not being able to stop or control worrying\n* C = Worrying too much about different things\n* D = Trouble relaxing\n* E = Being so restless that it is hard to sit still\n* F = Becoming easily annoyed or irritable\n* G = Feeling afraid, as if something awful might happen" } ], "linkId": "/70274-6", "code": [ { "system": "http://loinc.org", "code": "9733-4" } ], "text": "GAD-7 Anxiety Severity Score", "type": "decimal" } ] }

How to read this Questionnaire resource

The above Questionnaire resource is in JSON format and adheres to the FHIR R4 standard. The FHIR Questionnaire resource spec can be found here. Key information it contains includes:

Item

Description

Where is this defined?

Item

Description

Where is this defined?

description

A textual description of the questionnaire.

This is set by PKB when the questionnaire is built.

publisher

The hospital or clinical team that created/published the questionnaire

This is set by PKB when the questionnaire is built.

item

The questions in the questionnaire, linkId to link to the answers in the QuestionnaireResponse and, where they exist, multiple choice answer options.

This is set by PKB when the questionnaire is built.

status

Whether the questionnaire is actively in use

This is set by PKB when the questionnaire is built.

url

A canonical URL for the questionnaire. This is used to link the QuestionnaireResponse to the relevant version of the Questionnaire resource.

This is set by PKB when the questionnaire is built.

version

The business version of the Questionnaire.

This is set by PKB when the questionnaire is built.