Block Types
A block is a named section within a form. Each block has a type that determines its behavior. When you click Add Section in the form editor, you can choose from four types:
A Payment Methods block has one form-level setting: Require a saved card before the form can be submitted. Turn it on to block submission until the patient enters a card; leave it off to make the card optional. The patient sees card and bank transfer entry — Apple Pay is hidden on save-card flows since Apple Pay tokens can’t be stored for later use.
Reordering Blocks and Questions
Both blocks and questions within a block support drag-and-drop reordering. Grab the drag handle on a block or question and move it to a new position. This lets you arrange your form in the order that makes most sense for your patients.Question Types
Forms support these question types:The Field Palette
The form editor has a left sidebar called the field palette that organizes all available fields into categories. Click any field to add it to the currently selected section.
Fields in the Demographics, Vitals, Measurements, Measurement Groups, Medical History, and Marketing categories are linked to the patient record — when a patient submits the form, their answers update the matching area on the patient chart. Measurement questions show the linked measurement name as a read-only label; rename it in Settings > Measurements.
Measurement fields use the best matching question type. Numeric fields show number inputs, text fields show short text inputs, fields with options show a choice list, and multi-value fields show multiple choices or tags.
Conditional Logic
You can set up questions that only appear when the patient gives a specific answer to another question. This keeps forms short and relevant — patients only see what applies to them. How to set it up: Each condition has three parts:- Dependent Question — The earlier question whose answer controls visibility.
- Operator — How to compare the answer. The form editor shows three operators:
- Equals / Not Equals — The answer matches (or doesn’t match) a specific value.
- Contains — The answer includes a specific value. Useful when the patient can pick multiple options.
- Value — The specific answer to compare against.
Additional operators (Years Ago Minimum, Years Ago Maximum, and Sum) may appear on forms set up by Decoda support or imported from another system. These are used for date-based age checks and calculated score thresholds.
Patient Data Mapping
When building a form, you can link questions to specific fields on the patient’s record. When the patient submits the form, their answers automatically update those fields — no manual data entry required. This means a single intake form can fill in a patient’s demographics, measurements, insurance, medical history, and payment method all at once. Available fields that can auto-update: Demographics:- First name, last name, email, phone number, date of birth, gender
- Full address (street, city, state, ZIP, country)
- Weight, height
- Custom measurement fields added from Measurements
- Fields included through Measurement Groups
- Allergies, medications, family history, medical history, prescriptions
- Surgical history, social history, autoimmune disorders, skin conditions, neurological conditions
- SMS Marketing Opt-In, Email Marketing Opt-In
- AI Scribe Consent — lets a patient opt in or out of AI Scribe recording
- Credit card / payment method
- Pharmacy — saved with the submitted form and sent to DoseSpot when the patient is synced to e-prescribing
