Skip to main content
Questionnaire templates define the structure of data collection forms (CRFs) that can be reused across multiple studies.

What are Questionnaire Templates?

Questionnaire templates are FHIR Questionnaire resources that define:
  • Form structure (groups and fields)
  • Field types and validation
  • Conditional logic
  • Calculated fields
  • Instructions and help text

Creating a Questionnaire Template

1

Navigate to Templates

Go to Organization > Templates > Questionnaires.
2

Create New

Click “Create Questionnaire Template”.
3

Enter Details

Provide template name and description.
4

Open Editor

Access the questionnaire editor.
5

Build Structure

Add groups and items to define the form.
6

Save

Save the template.

Questionnaire Editor

Adding Groups

Groups organize related fields:
1

Add Group

Click “Add Group” in the editor.
2

Name Group

Provide a title (e.g., “Demographics”, “Vital Signs”).
3

Configure

Set group options (repeating, conditional).

Adding Items

Items are individual fields within groups:
1

Add Item

Click “Add Item” within a group.
2

Select Type

Choose the item type (text, number, choice, etc.).
3

Configure

Set label, validation, and options.

Item Types

Text Fields

Configure:
  • Max length
  • Required/optional
  • Placeholder text

Numeric Fields

Configure:
  • Min/max values
  • Decimal places
  • Units

Date/Time Fields

Configure:
  • Date format options
  • Year/month only option

Choice Fields

Configure:
  • Answer options
  • Display style (list or dropdown, available for both single-choice and multiple-choice questions)
  • Default value

Special Fields

Conditional Logic

Make items appear based on conditions:
1

Select Item

Choose the item to make conditional.
2

Add Condition

Click “Add Enable When” condition.
3

Configure Condition

Select source field, operator, and value.

Condition Types

Calculated Fields

Create fields that compute values automatically:
1

Add Calculated Item

Add an item with calculated type.
2

Define Expression

Enter the FHIRPath calculation expression.
3

Test

Test the calculation with sample values.

Example Calculations

Validation Rules

Add validation to ensure data quality:

Scoring

For assessment questionnaires:
  • Assign point values to answer options
  • Configure automatic score calculation
  • Display scores inline or at summary level

Template Settings

Metadata

Using in Studies

1

Import to Study

In study design, import the questionnaire template.
2

Customize if Needed

Modify for study-specific requirements.
3

Add to Pathway

Include in participant pathways.

Best Practices

Group related fields together for easier data entry.
Use clear, unambiguous field labels.
Add validation to catch errors early.
Test templates with realistic data before use.

Questionnaires

How questionnaires work in data collection.

Governance

Template management and versioning.