### Creating, updating and embedding FHIR Questionnaires

Creating, updating and embedding FHIR Questionnaires for both patients and practitioners is a common use-case for Medplum.

- [Medplum app](https://app.medplum.com/Questionnaire) supports creating and updating Questionnaires
- [Questionnaire](https://storybook.medplum.com/?path=/docs/medplum-questionnaireform--basic) react component can be embedded in patient facing or practitioner facing applications
- [QuestionnaireBuilder](https://storybook.medplum.com/?path=/docs/medplum-questionnairebuilder--basic) react component can be embedded in applications as well
- [QuestionnaireResponse](https://app.medplum.com/QuestionnaireResponse) resources can also be viewed in the [Medplum app](/content/docs/app/index.html)
- [Bot for QuestionnaireResponse](/content/docs/bots/bot-for-questionnaire-response/index.html) is one of the most common automations
- [Questionnaire Features and Fixes](https://github.com/medplum/medplum/pulls?q=is%3Apr+label%3Aquestionnaires) on Github

## Key Resources

| **Resource** | **Description** |
| --- | --- |
| [`Questionnaire`](/content/docs/api/fhir/resources/questionnaire/index.html) | Definition of questions/answers. 1 per form. |
| [`QuestionnaireResponse`](/content/docs/api/fhir/resources/questionnaireresponse/index.html) | A patient's responses to each question. 1 per patient, per instance. |
| [`Observation`](/content/docs/api/fhir/resources/observation/index.html) | A structured representation of a point-in-time result measured by an assessment. |
| [`RiskAssessment`](/content/docs/api/fhir/resources/riskassessment/index.html) | A specialized form of an [`Observation`](/content/docs/api/fhir/resources/observation/index.html) tailored to propensity measurements. |
| [`Condition`](/content/docs/api/fhir/resources/condition/index.html) | Records a long-term diagnosis for a [`Patient`](/content/docs/api/fhir/resources/patient/index.html). |

## Key Code Systems

| **Code System** | **Description** |
| --- | --- |
| [LOINC](/content/docs/careplans/loinc/index.html) | Used to tag questions and answers. Also has predefined standard assessments. |
| [ICD-10](https://www.cdc.gov/nchs/icd/icd10cm_browsertool.htm) | Used to annotate [`Condition`](/content/docs/api/fhir/resources/condition/index.html) resources for billing. |

## Other Resources

- [Questionnaire Video](https://youtu.be/mOBC0VYtCLE) on Youtube
- [Questionnaire Core Extensions](http://hl7.org/fhir/R4/questionnaire-profiles.html#extensions) 
- [Structured Data Capture (SDC) Implementation Guide](http://hl7.org/fhir/uv/sdc/) \- A collection of profiles, extensions, and best practices for advanced questionnaire use cases.
  - [Modular Forms](http://hl7.org/fhir/uv/sdc/modular.html) \- Reuse sections and questions between questionnaires
  - [Advanced Rendering](http://hl7.org/fhir/uv/sdc/rendering.html) \- Additional extensions to inform how a questionnaire is displayed.
- [List of SDC implementations](https://confluence.hl7.org/display/FHIRI/SDC+Implementations) \- Wiki page with a number of Form Builders and Form Fillers that implement some part of the SDC guide
