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
{ "description": "GAD-7. This form represents an anxiety measure based on seven items which are scored from zero to three.", "publisher": "North Southern Hospital", "name": "aidbox.forms.gad-7/GAD7Form", "item": [ { "linkId": "69725-0", "text": "Feeling nervous, anxious, or on edge", "type": "choice", "code": [ { "code": "69725-0", "system": "http://loinc.org" } ], "answerOption": [ { "value": { "Coding": { "code": "LA6568-5", "system": "http://loinc.org", "display": "Not at all" } } }, { "value": { "Coding": { "code": "LA6569-3", "system": "http://loinc.org", "display": "Several days" } } }, { "value": { "Coding": { "code": "LA6570-1", "system": "http://loinc.org", "display": "More than half the days" } } }, { "value": { "Coding": { "code": "LA6571-9", "system": "http://loinc.org", "display": "Nearly every day" } } } ] }, { "linkId": "68509-9", "text": "Not being able to stop or control worrying", "type": "choice", "code": [ { "code": "68509-9", "system": "http://loinc.org" } ], "answerOption": [ { "value": { "Coding": { "code": "LA6568-5", "system": "http://loinc.org", "display": "Not at all" } } }, { "value": { "Coding": { "code": "LA6569-3", "system": "http://loinc.org", "display": "Several days" } } }, { "value": { "Coding": { "code": "LA6570-1", "system": "http://loinc.org", "display": "More than half the days" } } }, { "value": { "Coding": { "code": "LA6571-9", "system": "http://loinc.org", "display": "Nearly every day" } } } ] }, { "linkId": "69733-4", "text": "Worrying too much about different things", "type": "choice", "code": [ { "code": "69733-4", "system": "http://loinc.org" } ], "answerOption": [ { "value": { "Coding": { "code": "LA6568-5", "system": "http://loinc.org", "display": "Not at all" } } }, { "value": { "Coding": { "code": "LA6569-3", "system": "http://loinc.org", "display": "Several days" } } }, { "value": { "Coding": { "code": "LA6570-1", "system": "http://loinc.org", "display": "More than half the days" } } }, { "value": { "Coding": { "code": "LA6571-9", "system": "http://loinc.org", "display": "Nearly every day" } } } ] }, { "linkId": "69734-2", "text": "Trouble relaxing", "type": "choice", "code": [ { "code": "69734-2", "system": "http://loinc.org" } ], "answerOption": [ { "value": { "Coding": { "code": "LA6568-5", "system": "http://loinc.org", "display": "Not at all" } } }, { "value": { "Coding": { "code": "LA6569-3", "system": "http://loinc.org", "display": "Several days" } } }, { "value": { "Coding": { "code": "LA6570-1", "system": "http://loinc.org", "display": "More than half the days" } } }, { "value": { "Coding": { "code": "LA6571-9", "system": "http://loinc.org", "display": "Nearly every day" } } } ] }, { "linkId": "69735-9", "text": "Being so restless that it is hard to sit still", "type": "choice", "code": [ { "code": "69735-9", "system": "http://loinc.org" } ], "answerOption": [ { "value": { "Coding": { "code": "LA6568-5", "system": "http://loinc.org", "display": "Not at all" } } }, { "value": { "Coding": { "code": "LA6569-3", "system": "http://loinc.org", "display": "Several days" } } }, { "value": { "Coding": { "code": "LA6570-1", "system": "http://loinc.org", "display": "More than half the days" } } }, { "value": { "Coding": { "code": "LA6571-9", "system": "http://loinc.org", "display": "Nearly every day" } } } ] }, { "linkId": "69689-8", "text": "Becoming easily annoyed or irritable", "type": "choice", "code": [ { "code": "69689-8", "system": "http://loinc.org" } ], "answerOption": [ { "value": { "Coding": { "code": "LA6568-5", "system": "http://loinc.org", "display": "Not at all" } } }, { "value": { "Coding": { "code": "LA6569-3", "system": "http://loinc.org", "display": "Several days" } } }, { "value": { "Coding": { "code": "LA6570-1", "system": "http://loinc.org", "display": "More than half the days" } } }, { "value": { "Coding": { "code": "LA6571-9", "system": "http://loinc.org", "display": "Nearly every day" } } } ] }, { "linkId": "69736-7", "text": "Feeling afraid, as if something awful might happen", "type": "choice", "code": [ { "code": "69736-7", "system": "http://loinc.org" } ], "answerOption": [ { "value": { "Coding": { "code": "LA6568-5", "system": "http://loinc.org", "display": "Not at all" } } }, { "value": { "Coding": { "code": "LA6569-3", "system": "http://loinc.org", "display": "Several days" } } }, { "value": { "Coding": { "code": "LA6570-1", "system": "http://loinc.org", "display": "More than half the days" } } }, { "value": { "Coding": { "code": "LA6571-9", "system": "http://loinc.org", "display": "Nearly every day" } } } ] }, { "linkId": "/70274-6", "text": "GAD-7 Anxiety Severity Score", "type": "decimal", "code": [ { "code": "9733-4", "system": "http://loinc.org" } ] } ], "resourceType": "Questionnaire", "title": "GAD-7", "status": "active", "url": "http://base-url.com/fhir/Questionnaire/gad7|1", "code": [ { "code": "44249-1", "system": "https://loinc.org/" } ], "version": "1.0" }
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? |
---|---|---|
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. |