Mazecare Logo
Getting Started

Create Workflow from Template

Comprehensive step-by-step guide to search, select, parameterize, and launch clinical care pipelines from the 10 pre-engineered Mazecare workflow templates.

Workflow Definitions are interactive care pathways that automate, standardize, and monitor clinical and operational care pathways. Rather than architecting care nodes, transition logic, conditional guard rules, and automated actions from scratch, Mazecare provides a library of 10 pre-engineered starter templates.

Deploying a workflow from a template generates a production-ready care pipeline complete with standard medical sequences, automated queue dispatches, electronic medical record SOAP actions, prescription fulfillment hooks, and billing triggers in minutes.


When to Choose Template-Based Creation

Creation ModalityBest ForTypical Time to Deploy
Pre-built Template (Recommended)Standard primary care, ambulatory triage, surgical pathways, telehealth, or automated patient intake questionnaires.2 - 3 minutes
AI-Powered GenerationCustom clinical pipelines or unique departmental flows articulated via natural language prompts.30 - 60 seconds
Create from ScratchComplex multi-department hospital networks requiring custom node topologies and proprietary integrations.15 - 30 minutes

Step-by-Step Template Creation Walkthrough

Step 1: Access the Workflow Definitions Hub

You can navigate to the Workflow Definitions management hub via the top navigation or global search:

  1. Log in to the Mazecare OS Provider Portal .
  2. Open the Global Search interface by clicking the search bar in the top-center header, or by pressing Cmd + K (macOS) / Ctrl + K (Windows/Linux).
  3. Search for workflow and select Workflow Definitions.


Step 2: Open the Creation Wizard

  1. On the Workflow Definitions dashboard, click the + New Workflow Definition button located in the top-right toolbar.
  2. The Create Workflow Definition modal will appear in the center of the viewport.
  3. Locate the secondary actions at the bottom of the modal and click Create from template.


Step 3: Select a Workflow Template (Step 1 of Wizard)

The template creation stepper will open on Step 1: Select Template. Review the catalog of 10 clinical and operational blueprints:

Detailed Catalog of 10 Pre-Engineered Templates

┌──────────────────────────────────────────────────────────────────────────────────┐
│                             MAZECARE TEMPLATE CATALOG                            │
├──────────────────────────────────────────────────────────────────────────────────┤
│ 1. General Practitioner             │ 6. TRUS Care Plan (Prostate Surgery)       │
│ 2. Consultation With Pre-Auth       │ 7. Online Telehealth Payment               │
│ 3. Walk-in Patient Intake           │ 8. Interactive Voice Response (IVR)        │
│ 4. WhatsApp Patient Questionnaire   │ 9. Health Check-Up Screening               │
│ 5. CRS + HIPEC Care Plan (Surgical) │ 10. Pre-Form Intake (Pre-Visit)            │
└──────────────────────────────────────────────────────────────────────────────────┘
  1. General Practitioner:
    • Clinical Scope: Standard outpatient primary care consultations.
    • Pre-Configured Stages: Registration → Check-in → Triage Assessment → Queue Waiting → Doctor Consultation → Dispensary Pharmacy → Invoice & Billing → Discharge.
    • Automated Actions: Queue ticket generation on registration, encounter SOAP note creation upon consultation entry, prescription order dispatch, and electronic receipt delivery.
  2. Consultation With Pre-Auth:
    • Clinical Scope: Insured outpatient visits requiring insurance policy verification and insurer pre-authorization prior to specialist consultation or drug fulfillment.
    • Pre-Configured Stages: Registration → Eligibility Check → Pre-Authorization Submission → Triage → Consultation → Pharmacy Review → Split-Invoice Settlement → Discharged.
    • Automated Actions: Payor coverage scrub, automated Letter of Guarantee (LOG) binding, co-pay split invoice calculation, and claim authorization token generation.
  3. Walk-in Patient Intake:
    • Clinical Scope: High-volume walk-in clinics and urgent care centers managing unscheduled arrivals.
    • Pre-Configured Stages: Front Desk Arrival → Demographic Registration → Clinical Triage → Consultation Line Allocation → Inpatient Bed / Discharge Routing.
    • Automated Actions: Dynamic queue priority scoring based on vitals/acuity level, automatic sub-workflow execution for digital patient communications.
  4. WhatsApp Questionnaire:
    • Clinical Scope: Pre-consultation patient symptom collection and anamnesis via WhatsApp Business messaging.
    • Pre-Configured Stages: Dispatch Questionnaire → Awaiting Patient Response → Response Ingested → Clinician Chart Integration → Completed.
    • Automated Actions: WhatsApp messaging dispatches, dynamic electronic clinical questionnaire link rendering, and real-time response capture into patient medical history.
  5. CRS + HIPEC Care Plan:
    • Clinical Scope: High-complexity oncology surgical care plan for Cytoreductive Surgery (CRS) and Hyperthermic Intraperitoneal Chemotherapy (HIPEC).
    • Pre-Configured Stages: Surgical Pre-Op Workup → Anesthesia Induction → CRS Cytoreduction → HIPEC Perfusion Monitoring → ICU Post-Operative Admission → Surgical Step-Down Ward → Post-Op Clearance.
    • Automated Actions: Surgical schedule coordination, intraoperative drug usage tracking, ICU bed reservation, and multi-disciplinary sign-off gates.
  6. TRUS Care Plan:
    • Clinical Scope: Urological care plan for Transrectal Ultrasound (TRUS) guided prostate biopsy and surgical procedures.
    • Pre-Configured Stages: Pre-Procedure Preparation → TRUS Guided Biopsy → Post-Procedure Recovery Room → General Ward Observation → Discharge & Pathology Follow-up.
    • Automated Actions: Procedure billing code attachment, pathology laboratory order generation, and recovery nursing checklist gates.
  7. Online Telehealth Payment:
    • Clinical Scope: Telehealth visits, remote video appointments, and self-pay booking channels.
    • Pre-Configured Stages: Appointment Booking → Order Generation → Online Checkout Session → Payment Confirmation Gating → Telehealth Consultation Room Launch → Settled.
    • Automated Actions: Payment transaction creation, automated refund processing on appointment cancellation, and secure video consultation room launch.
  8. Interactive Voice Response (IVR):
    • Clinical Scope: Automated telephony triage and phone consultation routing.
    • Pre-Configured Stages: Inbound Call Ingest → IVR Menu Selection → Pre-Authorization Queue → Claims Department Routing → Practitioner Callback → Call Log Archived.
    • Automated Actions: Telephony gateway integration, call recording attachment, and automated follow-up ticket creation.
  9. Health Check-Up:
    • Clinical Scope: Comprehensive executive health screenings and multi-station diagnostic checkups.
    • Pre-Configured Stages: Package Selection → Biometric Vitals & Triage → Phlebotomy / Lab Panel → Diagnostic Imaging (ECG / X-Ray) → Doctor Review & Debrief → Health Report Assembly → Discharge.
    • Automated Actions: Multi-service order bundle fulfillment, diagnostic imaging review trigger, and automated PDF health summary report generation.
  10. Send Pre-Form Intake:
    • Clinical Scope: Automated pre-visit digital intake sent via email/SMS when an appointment is scheduled.
    • Pre-Configured Stages: Appointment Scheduled → Dispatch Pre-Form Intake → Patient Form Submission → Chart Data Merged → Ready for Reception Check-in.
    • Automated Actions: Dynamic electronic form generation, email message dispatch, and patient medical profile pre-population.

Select the radio button on your chosen blueprint, then click Continue with template in the bottom-right corner.


Step 4: Configure Template Context Variables (Step 2 of Wizard)

Templates are designed with modular context parameters. Step 2 presents the tailored Template Context form:


Step 5: Initialize and Launch Your Workflow

  1. After completing the required context fields, click the Create button in the bottom-right corner.
  2. The system automatically creates the database record, maps all care pathway stages with calculated layouts, establishes progression transitions with guard conditions, and embeds pre-configured automated actions.
  3. Upon creation, the wizard opens the full-screen Visual Workflow Editor for your new workflow definition.


Post-Creation Customization & Runtime Operations

After launching your workflow from a template, you can customize and manage it across the editor tabs:

1. Visual Canvas Fine-Tuning (Editor Tab)

  • Move & Align Nodes: Drag state nodes to arrange the visual flow. Magnetic alignment helper lines assist with positioning.
  • Add or Remove States: Click Add State to insert custom stages (e.g., Pre-Op Assessment, Financial Counseling).
  • Edit Transition Guard Rules: Click any transition arrow to configure multi-domain conditional criteria across Tickets, Encounters, Invoices, Orders, Tasks, or Policies.
  • Configure Automated Actions: Add custom integrations with structured payloads, dynamic templating, and response mappings.
  • Save Changes: Press Cmd + S / Ctrl + S to persist changes.

2. Context & Taxonomy Adjustments (Detail Tab)

  • Update Context Variables: Modify configuration parameters, queue line references, or product IDs in the Context Variables table.
  • Assign Department Tags: Add key-value tags (e.g., specialty: oncology, branch: central) in the Tags table.
  • Reset to Template: Use the header action dropdown (...) → Reset to Template to re-apply any template schema while preserving the workflow's system identifier.

3. Assigning to Live Episodes of Care

  • When reception or clinical staff create an Episode of Care, select your new Workflow Definition.
  • The Episode displays a live interactive progress graph that advances patients through stages as clinicians click transition buttons and automated criteria are met.
Pro Tip
To make a template-derived workflow the default for all new patient registrations across your facility, navigate to the Workflow Definitions table, click the action menu on the workflow row, and select "Set as Default".
Copyright © 2026