Form Builder & Dynamic Questionnaires
The Form Builder & Dynamic Questionnaires module empowers clinical leads and practice administrators to create structured, standardized clinical data capture instruments. From digital patient check-in kiosks and pre-consultation intake assessments to specialized clinician rating scales and follow-up surveys, Mazecare also provides an intuitive drag-and-drop form designer.
Architecture & Schema Hierarchy
Mazecare structures clinical data collection across three modular, reusable tiers to maximize reusability across medical specialties:
- Questionnaire Items (Atomic Questions): Individual questions configured with standardized answer data types, clinical codes, validation boundaries, and scoring weights.
- Question Panels (Logical Groupings): Reusable collections of questions organized into structured sections (e.g., Cardiovascular Review, Triage Screening, Consent Acknowledgment).
- Form Templates (Published Documents): Complete, multi-step questionnaires composed of panels and individual items, ready to be dispatched to patients or completed by clinical staff during consultations.
Part 1: Questionnaire Items & Clinical Field Authoring
Questionnaire Items represent the foundational building blocks of clinical questionnaires in Mazecare. Each item encapsulates a specific clinical prompt, data validation constraints, and standardized medical terminology mappings.
Step 1: Manage and Create Questionnaire Items
- Navigate to Settings → Questionnaire Items.
- The central table displays all configured items with their Name, System (Custom or LOINC), Item Type (Question, Panel, Form), Created Date, and Last Modified Date.

- Click New Questionnaire Item in the upper-right toolbar to open the creation menu:
- Question: Create an individual clinical question item.
- Panel: Group existing questions into a cohesive medical panel.
- Form: Create a complete standalone questionnaire document.
- Import from LOINC: Import standardized clinical assessment instruments directly from the LOINC medical terminology database.
- Select Question from the dropdown menu to enter the Question Configuration Editor.
Step 2: Configure Question Item Properties & Medical Coding
The Question Editor allows granular configuration of question semantics, answer data types, and terminology codes:

General Information
- Name: Enter the primary clinical prompt displayed to patients or clinicians (e.g., "Do you have a history of hypertension or high blood pressure?").
- Description: Add contextual guidance or clinical instructions clarifying the question criteria.
- Code (Optional): Assign an internal administrative or billing identifier.
Supported Answer Data Types
| Answer Type | Description | Clinical Use Case |
|---|---|---|
| Boolean | Binary True/False or Yes/No toggle | Pregnancy status, smoking status, consent acknowledgment |
| Choice | Single-select or multi-select options list | Allergy classification, symptom frequency, severity rating |
| Short Text | Single-line text input | Emergency contact name, primary employer |
| Long Text | Multi-line expandable text area | Chief complaint narrative, past surgical history notes |
| Integer | Whole numeric values | Age, number of prior hospitalizations, pain score (0–10) |
| Decimal | Precision decimal numbers | Body temperature (°C/°F), blood glucose levels |
| Quantity | Numeric value paired with measurement units | Weight (kg), Height (cm), Dosage (mg) |
| Date / Date Time | Calendar date and timestamp pickers | Date of symptom onset, last menstrual period (LMP) |
| Time | 24-hour / 12-hour time selector | Time of medication ingestion, event occurrence |
| Email / Phone / Url | Validated communication format inputs | Patient portal registration, telemedicine visit links |
Step 3: Author Choice Options & Standardized Medical Codes
When selecting Choice as the Answer Type, administrators can define structured response options linked to standardized medical terminologies:

- Click Add new answer to insert response rows.
- For each choice option, specify:
- Default: Toggle whether the option is pre-selected by default.
- Display: Enter the patient-facing label (e.g., "Yes, diagnosed by physician").
- System: Specify the coding system terminology (e.g.,
SNOMED-CT,ICD-11, orLOINC). - Code: Assign the corresponding terminology concept code (e.g.,
38341003for Hypertensive disorder).
- Answer Constraint:
- Option Only: Restricts patient selection strictly to predefined options.
- Option And Other: Allows patients to enter free text if their condition does not match listed options.
- Unspecified: Permits open-ended entry without constraint enforcement.
- Answer Cardinality: Toggle to allow single-choice (Radio / Select) or multi-choice (Checkbox array) selections.
Step 4: Assemble Reusable Question Panels
Panels combine related questions into modular sections that can be inserted into multiple form templates across different clinical departments.
- In Settings → Questionnaire Items, click New Questionnaire Item → Panel.
- Provide a Name (e.g., "Cardiovascular & Vitals Assessment Panel") and Description.
- Click Attach Item to open the Question Selection Modal.

- Select one or more questions and click Attach.
- The Panel Items Tree organizes the questions hierarchically. Administrators can reorder items, modify question properties in-place, and click Preview Form to verify layout presentation.

Part 2: Form Template Builder Canvas
The Form Template Builder provides a visual drag-and-drop design workspace to assemble, customize, and publish comprehensive patient questionnaires.
Step 1: Manage Form Templates
- Navigate to Settings → Form Templates.
- Review existing templates, their status, and modification timestamps.

- Click New Form Template or select an existing template to enter the Visual Builder Canvas.
Step 2: Design with the Visual Builder Workspace
The Visual Form Builder features a comprehensive component library and live drag-and-drop drafting surface:

Predefined Clinical Components
Mazecare includes pre-built, standardized clinical widgets that automatically synchronize responses into longitudinal patient health records:
| Component | Category | Behavior & Clinical Specifications |
|---|---|---|
| Header (Personalized) | Layout & Decoration | Displays a dynamic greeting personalized with the patient's name (Welcome, {{ patientName }}) and completion instructions. |
| Section Divider | Layout & Decoration | Inserts a styled horizontal divider with custom section headings to group related clinical questions. |
| Info Notice Box | Layout & Decoration | Renders a styled informational callout with an info icon for patient instructions and confidentiality disclosures. |
| Warning Box | Layout & Decoration | Renders a highlighted warning box for clinical emergency advisories and critical triage disclaimers. |
| Blood Pressure Panel | Healthcare & Vitals | A structured dual-column panel capturing Systolic BP (mmHg) and Diastolic BP (mmHg) with numeric validation. |
| Heart Rate | Healthcare & Vitals | Numeric vital sign input measuring pulse rate in beats per minute (bpm). |
| Body Temperature | Healthcare & Vitals | Dual-column module capturing temperature (°C) alongside a standardized measurement site selector (Ear, Forehead, Oral Cavity, Axillary / Armpit, Finger, Nasal Cavity, Rectum, Tympanic Membrane). |
| Body Height | Healthcare & Vitals | Numeric patient height measurement calibrated in centimeters (cm). |
| Body Weight | Healthcare & Vitals | Numeric body mass measurement calibrated in kilograms (kg). |
| Oxygen Saturation | Healthcare & Vitals | Pulse oximetry percentage measurement (%). |
| Chief Complaint | Healthcare & Vitals | Dedicated multiline text area for patient presenting complaint, duration, and reason for visit. |
| Allergies & Substance | Healthcare & Vitals | Dual-column allergy entry combining Allergy / Substance Name with a clinical severity rating (Mild, Moderate, Severe). |
| Condition & Diagnosis | Healthcare & Vitals | Dual-column health condition module capturing Condition / Diagnosis Name and clinical status (Active, Inactive, Resolved, Recurrence). |
| Date of Birth | Healthcare & Vitals | Standardized date picker configured with yyyy-MM-dd date formatting and validation. |
| Consent Agreement | Healthcare & Vitals | Required legal acknowledgment checkbox with standard clinical data consent statement. |
Standard Component Palette Categories
In addition to predefined clinical components, administrators can build custom questionnaires using foundational building blocks:
- Basic Inputs:
- Text Field: Single-line text input for short answers.
- Text Area: Multiline expandable text box for descriptive entries.
- Number: Formatted numeric values and quantities.
- Checkbox: Single or multiple selection toggles.
- Select: Dropdown menu for selecting from a predefined list.
- Radio: Mutually exclusive radio option buttons.
- Date / Time: Interactive calendar picker for date, time, or timestamp values.
- Advanced Fields:
- Email: Formatted input with automatic email syntax validation.
- Phone Number: Structured phone number input with international dialing support.
- Tags: Multi-value keyword or tag selector.
- Address: Structured physical street address, city, and postal code fields.
- Layout & Containers:
- Columns: Multi-column responsive layout grid for arranging fields side by side.
- Panel: Collapsible section card container with title bar and border.
- Table: Tabular layout for structured repeating records.
- Tabs: Multi-tab navigation for organizing complex multi-step intake flows.
- Content: Rich static HTML or Markdown content blocks for clinical instructions.
- HTML Element: Custom HTML element containers for specialized formatting.
Canvas Control Actions
- Move (
↕): Drag components to reorder position within the form layout. - Edit (
⚙): Open field settings to configure labels, placeholder text, required toggles, and validation rules. - Copy & Paste: Duplicate configured fields or entire sections across the canvas.
- Automated Record Sync: Automatically syncs submitted answers with the patient's medical records upon submission.
Step 3: Configure Template Details & Automated Post-Submission Actions
Switch to the Detail tab in the top header to configure global template behavior:

- General & Settings:
- Template Name: Clinical or administrative identifier (e.g.,
Complete Pre Intake Form). - Template Engine: Form rendering engine identifier.
- Template Description: Scope of use for clinical staff.
- Patient Confirmation Message: Custom confirmation text displayed to patients upon successful submission (e.g., "Thank you for completing your intake assessment. Your physician has received your records.").
- Template Name: Clinical or administrative identifier (e.g.,
- Advanced Template Schema: Direct options for importing or customizing structured form templates.
- Patient & Visit Context: Connects questionnaire fields with patient profiles and encounter details automatically.
- On-Submit Actions: Automated workflows triggered on form completion (e.g., auto-creating clinical encounter notes, triggering triage acuity escalation, or sending confirmation notifications).
Step 4: Validate with Responsive Form Preview
- Switch to the Preview tab in the top header.
- The Form Preview Mode renders an interactive simulation of the form, validating layout responsiveness, input fields, validation constraints, and user interaction flow.

- Click Save Template to publish changes across the clinic network.
Part 3: Sending Forms to Patients & Clinical EMR Integration
Once published, form templates can be sent directly to patients via secure digital links, completed at check-in kiosks, or recorded by clinicians during consultation encounters.
Step 1: Access Patient Medical Form Records
- Navigate to the Patients module and select a patient profile.
- Open the Records → Form Records tab.
- Review the history of all forms dispatched to or completed by the patient, including Form Template Name, Completion Status (Completed, In Progress, or Failed), Last Modified, and Creation Date.

Step 2: Send Form to Patient via Direct Email
- In the Form Records tab, click the Send Form button located above the records table.
- The Send Form to Patient dialog opens:

- Complete the dispatch configuration:
- Form Template*: Select the published form template from the dropdown menu (e.g., Complete Pre Intake Form, Pre Intake Form With Records, or General Adult Intake Form).
- Patient Email*: Enter or verify the recipient email address where the secure digital questionnaire link will be delivered.
- Click Send.
- Mazecare immediately dispatches a secure, encrypted intake form link to the patient.
Clinical Best Practices & Compliance
- Modular Question Design: Author atomic questions in Questionnaire Items before assembling them into panels. Reusing standardized items prevents duplicate entries and ensures consistent data analytics.
- Clear Patient-Facing Prompts: When authoring questions intended for patient self-service kiosks or mobile links, utilize plain, compassionate language while preserving standardized terminology codes in the background.
- Mandatory Field Calibration: Mark essential clinical triage indicators (such as allergies, pregnancy status, and severe pain scales) as required, while keeping detailed narrative questions optional to minimize patient form fatigue.
- Pre-Consultation Workflow Automation: Pair automated email form dispatch with appointment booking confirmations so patients can complete health histories prior to clinic arrival, significantly reducing in-clinic wait times.
Coupon Management
Learn how to configure, manage, and sync checkout discount coupons with your payment providers.
Medical Certificate Templates
Configure standardized medical certificates, sick leave notes, fitness-to-work clearances, digital doctor signatures, and customizable print layouts in Mazecare.