Custom Field Types
Overview
Custom Field Types (CFTs) are reusable field templates that help streamline the creation of Custom Data Types (CDTs) when you need to use the same field configuration across multiple CDTs. Instead of manually recreating the same field setup repeatedly, you can define a Custom Field Type once and then apply it to as many CDTs as needed.
Custom Field Types are particularly useful for maintaining consistency across your data model and reducing configuration time.
Key Benefits
Reusability – Define once, use in many CDTs
Consistency – Ensure the same field types and options across your environment
Efficiency – Eliminate duplicate data entry
Maintenance – Update field definitions in one place
Examples:
A "Yes/No" field type with consistent options used in 10 different assessments
A "Pain Scale" list (0-10) used in multiple clinical CDTs
A medication dosage formula used across medication-related CDTs
A "Priority Level" list with colors and values
When to Use Custom Field Types
Use Custom Field Types when you have:
List fields with the same predefined options (e.g., "Yes/No", "Low/Medium/High", "Never/Rarely/Sometimes/Always")
Formula fields with the same calculation (e.g., BMI calculation, age from DOB)
URL fields with the same validation or format
Select fields with the same set of choices that appear in multiple assessments
Scoring scales (e.g., Likert scales) that appear in multiple assessment tools
Creating a Custom Field Type
Step 1: Access Custom Field Types in Designer
Sign into Designer
Click Create Draft to start a new configuration draft
Navigate to Custom Data > Custom Field Types from the left sidebar
Click + New in the upper right corner
Step 2: Name Your Custom Field Type
Enter the following information:
Title – User-friendly name
Example: "Pain Severity Scale", "Yes/No Response"
This appears in dropdown lists when creating CDTs
Name – Internal system name (lowercase, numbers, underscores, hyphens)
Auto-populates from Title but can be customized
Example:
pain-severity-scale
Description (optional) – What this field type is for
Example: "0-10 pain rating scale used in chronic pain assessments"
Step 3: Select the Field Type and Configure Options
Choose the type of field this Custom Field Type represents:
List Field Type
Use for: Single-select dropdown options
Configuration:
Set Type = "List"
Set Value Type = (choose option):
String – for text-based options
Integer – for numeric values (useful for scoring)
Float – for decimal values
Boolean – for true/false
Add Options – Enter each option as a separate line
Example: "Yes/No with Integer Values"
Example: "Likert Scale"
Example: "Pain Level"
Multi-Select List Field Type
Use for: Multiple-select options where users can choose more than one
Configuration:
Set Type = "Multi-Select List"
Set Value Type = String or Integer
Add Options – Enter each option as a separate line
Example: "Symptoms Checklist"
Formula Field Type
Use for: Calculated values based on mathematical expressions
Configuration:
Set Type = "Formula"
Enter the Formula Expression
Use placeholder syntax like
{{field1}}and{{field2}}Example:
({{weight}}/{{height}}) * 703for BMI
Set Return Type = Integer or Float
Example: "Age Calculation from DOB"
Text Field Types
Use for: Standard text, long text, email, phone, or URL formats
Configuration:
Set Type = "Text", "Long Text", "Email", "Phone Number", or "URL"
Set any additional validation rules if available
Add placeholder or example text if desired
Example: "Email Address"
Step 4: Set Additional Properties
Configure any additional field properties:
Required – Check if this field must always be filled when used
PHI (Protected Health Information) – Check if this field contains sensitive data
Help Text (optional) – Guidance for users completing this field
Placeholder Text (optional) – Example text shown in empty field
Step 5: Save and Publish
Click Save to save your Custom Field Type
Click Publish to make it available for use when creating CDTs
Using Custom Field Types in CDTs
When Creating a CDT
In Designer, create or edit a Custom Data Type
Click + Data Field
Look for a dropdown or selector that shows "Custom Field Types"
Select your newly created Custom Field Type
The field automatically inherits:
All options/values
Data type configuration
Required/PHI status (if set)
Help text and placeholders
You can optionally override specific properties if needed
Click Save to add the field
Example Workflow:
Using "Pain Severity Scale" Custom Field Type:
Create CDT "pain_assessment"
Click + Data Field
Select Type = "Custom Field Type" → "Pain Severity Scale"
Name the field "pain_rating"
Field automatically gets 0-4 scale with "None/Mild/Moderate/Severe/Unbearable"
Save
Repeat in another CDT "migraine_tracking" → also gets the same scale
Benefits in Practice
Before Custom Field Types
Creating assessment with 5 questions on a Likert scale:
Manually enter "Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree" five times
Each field takes 2-3 minutes
Total: 10-15 minutes, prone to typos
After Custom Field Types
Creating assessment with 5 questions on a Likert scale:
Select "Likert Scale" Custom Field Type five times
Field auto-populates all options
Total: 1-2 minutes, perfect consistency
Best Practices
Clear Naming – Use names that describe what the field represents
✓ Good: "Yes/No Response", "Pain Severity Scale", "Likert Scale 5-Point"
✗ Poor: "List1", "Field Type A", "cft_misc"
Document Purpose – Include descriptions explaining when to use
"Use for consent/agreement questions"
"Depression screening severity (PHQ-9 compatible)"
Consistent Options – Ensure option values match across uses
If "Likert Scale" always uses 1-5, don't create variants
Create separate types for different scales
Value Assignment – Always assign numeric values to scored lists
Makes scoring and calculations easier
Ensures consistency in automations
Regular Review – Periodically audit Custom Field Types
Remove unused types
Consolidate similar types
Update if standards change (e.g., new assessment scales)
Naming Convention – Follow your organization's naming standards consistently
Version Control – Document which assessment versions use which CFTs
Limitations
Custom Field Types cannot be modified after use in a CDT without affecting existing data
If you need to change a CFT, you may need to create a new version
Not all field types can be made into Custom Field Types (some require CDT-specific configuration)
Examples of Commonly Used Custom Field Types
Healthcare Examples
Likert Scales – 5-point agreement scales used in many assessments
Yes/No Fields – Binary responses in screening tools
Pain Rating Scale – 0-10 or 0-4 numeric scales
Risk Level – Low/Medium/High for risk assessments
Frequency Scales – Never/Rarely/Sometimes/Often/Always
Outcome Measures – Standardized scales like PHQ-9, GAD-7 response options
Operational Examples
Priority Levels – Critical/High/Medium/Low for task management
Status Options – Active/Inactive/Pending/Completed
Department Names – Reference to standard departments
Location/Facility List – Standard clinic or facility names
Related Topics
Custom Data Types (CDT): Designer – Creating CDTs that use CFTs
Create Formulaic Custom Data Type Fields – Formula field types
How to Create an Assessment or Form Template – Using CDTs with CFTs in forms
Designer: How to Configure Scored Assessments – Scoring with list options
Welkin Naming Conventions Dictionary – Naming standards
Last updated
Was this helpful?