# Forms/Questionnaires in FHIR (including End Of Life Care) **Category:** [FHIR](https://openhealthhub.org/c/fhir/31) **Created:** 2019-03-29 10:36 UTC **Views:** 1682 **Replies:** 2 **URL:** https://openhealthhub.org/t/forms-questionnaires-in-fhir-including-end-of-life-care/2038 --- ## Post #1 by @mayfield.g.kev I'm not going to town on the why you would use it but some good reasons are here https://fhirblog.com/tag/questionnaire/ David Hay discusses many simple use cases. The example I will use is the End Of Life Care API from NHSEngland/NHSDigital/Yorkshire Ambulance Service. This uses version 1.2 of this specification https://developer.nhs.uk/apis/eol-alpha/index.html The SCCI 1580 has been turned into a FHIR Questionnaire and a set of profiles on FHIR resources. The Questionnaire can be found on this link: https://data.developer.nhs.uk/ccri/term/questionnaire/4 (or by using postman GET https://data.developer.nhs.uk/ccri-fhir/STU3/Questionnaire/4) This Questionnaire defines how the FHIR QuestionnaireResponse should be built. So it doesn't define how the form will look, it just defines how the system returns the information. ![52|690x354](upload://q3xPjOs1FBppo4ZWY5zLw5R5DWf.png) An example QuestionnaireResponse conforming to these rules can be found by running this query GET https://data.developer.nhs.uk/ccri-fhir/STU3/QuestionnaireResponse/6 If you run this query you can also validate it conforms to the questionnaire by using the validation service in the CCRI (https://data.developer.nhs.uk/ccri/term/validate). If you try this you should find one issue (that's a fault in the CCRI) [Note: the Questionnaire to validate against must be on the CCRI, the CCRI supports POST Questionnaire so you can add your own] A rendered version of the EOLC QuestionnaireResponse can be found on the [HIE Portal](https://data.developer.nhs.uk/ccri/camel/cc-portal). First search for Patient 'Kewn' and when the summary record is displayed click on the EOLC button ![31|690x340](upload://o97EaTC1XJ3141SdutrQ7ynah79.png) The EOLC screen is designed to look like a clinical system, the layout matches the Questionnaire. The HIE doesn't use the query mentioned above instead it asks the server for a response for the EOLC Questionniare (url = https://fhir.nhs.uk/STU3/Questionnaire/CareConnect-EOLC-1) and also asks the server to return all resources referenced by the QuestionaireResponse. This results in the following query: https://data.developer.nhs.uk/ccri-fhir/STU3/QuestionnaireResponse?patient=1184&questionnaire=https://fhir.nhs.uk/STU3/Questionnaire/CareConnect-EOLC-1&_include=*&_count=100 The additional parameters select the patient and set the size of the result. ![30|690x346](upload://KC1ZZntFgsKz8Nt5lBxhFvMITb.png) **Other Questionnaires** EOLC is a quite heavy questionnaire, other examples may be easier to digest. Such as the [18 month questionnaire](https://data.developer.nhs.uk/ccri/term/questionnaire/6) or [NEWS2](https://data.developer.nhs.uk/ccri/term/questionnaire/5) --- ## Post #2 by @pacharanero This is great stuff @mayfield.g.kev - you are rocking this forum right at the moment! --- ## Post #3 by @mayfield.g.kev thanks... I would be posting about SMART on FHIR but I can't get the server stable :frowning: --- **Canonical:** https://openhealthhub.org/t/forms-questionnaires-in-fhir-including-end-of-life-care/2038 **Original content:** https://openhealthhub.org/t/forms-questionnaires-in-fhir-including-end-of-life-care/2038