Skip to main content

Components

Basic components used in Smart Forms to render FHIR Questionnaires.

Questionnaire.item.type is used to determine which component to render. Smart Forms is based on the R4 FHIR Specification.

Refer to https://www.hl7.org/fhir/r4/codesystem-item-type.html for the source of supported item types.

Usage examples guide

The following section showcases usage basic and advanced examples. Some of the advanced examples can be explored further in the SDC section.

Usage examples come with a "Open in Storybook" button, which takes you to the source component defined in Storybook. It provides a live playground to experiment with the component via the "Controls" tab.

tip

The source FHIR Questionnaire can be obtained by clicking on the RAW button to the right.