Healthcare Chatbot Pro
by @ncreighton
Automate patient support with AI-driven chatbot that answers queries, schedules appointments, and integrates with EMR/CRM systems. Use when the user needs 24...
clawhub install healthcare-chatbot-proπ About This Skill
name: Streamline Healthcare Conversations with Google Cloud Dialogflow & Twilio Integration description: "Automate patient support with AI-driven chatbot that answers queries, schedules appointments, and integrates with EMR/CRM systems. Use when the user needs 24/7 healthcare customer support, appointment automation, or patient engagement workflows." version: 1.0.0 homepage: https://github.com/ncreighton/empire-skills metadata: { "openclaw": { "requires": { "env": [ "OPENAI_API_KEY", "TWILIO_ACCOUNT_SID", "TWILIO_AUTH_TOKEN", "EMR_API_KEY", "CRM_API_KEY" ], "bins": ["node", "python3"] }, "os": ["macos", "linux", "win32"], "files": ["SKILL.md"], "emoji": "π₯" } }
Overview
Healthcare Chatbot Pro is a production-ready AI-powered customer support solution designed specifically for healthcare providers, clinics, and wellness businesses. This skill automates routine patient interactions, eliminates scheduling bottlenecks, and provides 24/7 intelligent support without requiring medical staff to be available around the clock.
Why This Matters:
Key Integrations:
Quick Start
Try these prompts immediately to see Healthcare Chatbot Pro in action:
Example 1: Deploy a Patient Query Bot
Deploy a healthcare chatbot for my orthopedic clinic. Configure it to answer:
Office hours and location
Insurance accepted (UnitedHealth, Aetna, Cigna, self-pay)
Common post-operative care questions
Prescription refill requests
Appointment rescheduling Integrate with our Epic EMR and send appointment confirmations via SMS using Twilio.
Example 2: Automate Appointment Scheduling
Create an appointment scheduling workflow that:
1. Greets patients and identifies their reason for visit
2. Checks real-time availability from our Google Calendar
3. Books the appointment (if patient consents)
4. Sends confirmation SMS + email with pre-visit instructions
5. Sends reminder SMS 24 hours before appointment
6. Logs interaction to Salesforce Health CloudProviders available: Dr. Smith (Mon-Fri 9am-5pm), Dr. Chen (Tue, Thu 1pm-6pm)
Example 3: Multi-Language Patient Support
Configure chatbot to handle patient inquiries in English and Spanish.
Route complex medical questions to available providers via Slack.
Log all conversations for compliance and quality assurance.
Generate daily summary report of most common questions.
Example 4: Insurance & Billing Assistance
Train the chatbot to answer:
Which insurance plans we accept
Typical costs for common procedures
Pre-authorization requirements
Payment plan options
Out-of-pocket estimate calculations Flag high-value billing questions for human review.
Capabilities
1. Intelligent Patient Query Response
Usage Example:
Patient: "I've had a cough for 3 weeks, should I come in?"
Chatbot: "I understand you're concerned about a persistent cough.
While I can't diagnose conditions, I recommend scheduling with
Dr. Smith (available tomorrow 2pm or Thursday 10am).
Should I book an appointment?"
2. Appointment Scheduling & Management
Configuration:
// Example: Set up appointment rules
const appointmentConfig = {
defaultDuration: 30, // minutes
bufferTime: 15, // between appointments
reminderTiming: [1440, 180, 60], // minutes before appointment
channels: ["sms", "email"],
allowSelfReschedule: true,
maxAdvanceBooking: 90 // days
};
3. EMR & CRM Integration
Data Flow:
Patient Query β Chatbot AI β EMR (Epic/Cerner) β Response β CRM Log
β
Clinical Context
4. Multi-Channel Communication
5. Analytics & Reporting
Configuration
Environment Variables (Required)
# OpenAI for intelligent responses
OPENAI_API_KEY=sk-proj-xxxxxxxxxxxxx
OPENAI_MODEL=gpt-4-turbo # or gpt-3.5-turbo for cost savingsTwilio for SMS/voice
TWILIO_ACCOUNT_SID=ACxxxxxxxxxxxxxx
TWILIO_AUTH_TOKEN=xxxxxxxxxxxxxxxx
TWILIO_PHONE_NUMBER=+12025551234EMR Systems (choose one or more)
EMR_SYSTEM=epic # or: cerner, nextgen, athena
EMR_API_KEY=xxxxxxxxxxxxxxxx
EMR_BASE_URL=https://api.epic-fhir.com/CRM Integration
CRM_SYSTEM=salesforce_health_cloud # or: hubspot, pipedrive
CRM_API_KEY=xxxxxxxxxxxxxxxxCalendar Integration
GOOGLE_CALENDAR_ID=your-clinic@group.calendar.google.com
GOOGLE_SERVICE_ACCOUNT={"type": "service_account", ...}Security & Compliance
HIPAA_ENCRYPTION_KEY=xxxxxxxxxxxxxxxx
LOG_RETENTION_DAYS=2555 # 7 years for compliance
Chatbot Personality Configuration
# config.py
CHATBOT_PERSONA = {
"name": "HealthAssist",
"tone": "professional_empathetic",
"language": ["english", "spanish"],
"clinical_confidence": "medium", # Avoid over-claiming medical expertise
"escalation_triggers": [
"chest pain",
"difficulty breathing",
"suicidal thoughts",
"severe allergic reaction",
"medication error"
],
"max_response_time": 2 # seconds
}KNOWLEDGE_BASE = {
"office_hours": {
"monday_friday": "9:00 AM - 5:00 PM",
"saturday": "10:00 AM - 2:00 PM",
"sunday": "Closed"
},
"accepted_insurance": [
"UnitedHealth",
"Aetna",
"Cigna",
"Blue Cross",
"Self-pay accepted"
],
"common_procedures": {
"annual_physical": {"cost": 150, "duration_min": 30},
"orthopedic_consult": {"cost": 200, "duration_min": 45}
}
}
Setup Instructions
1. Deploy the skill:
npm install healthcare-chatbot-pro
claw skills deploy healthcare-chatbot-pro
2. Configure EMR connection:
claw config set EMR_API_KEY=your_epic_key
claw skills test healthcare-chatbot-pro --emr-test
3. Add to your website:
Example Outputs
Output 1: Appointment Confirmation
β
APPOINTMENT CONFIRMEDDr. Sarah Smith
Orthopedic Surgery Consultation
π
Tuesday, March 14, 2024
π 2:30 PM - 3:15 PM
π 123 Medical Plaza Dr, Suite 200
π₯ First time? Arrive 15 min early
WHAT TO BRING:
Insurance card
Photo ID
List of current medications REMINDERS:
SMS: Tomorrow at 2:30 PM
SMS: 1 hour before appointment CANCEL/RESCHEDULE:
Reply "change appointment" or call 555-0123
Confirmation Code: APT-2024-89547
Output 2: Patient Query Response
π₯ PATIENT SUPPORTYour Question: "Do you accept my Cigna insurance?"
Our Response:
Yes! We accept Cigna plans including:
β Cigna DHMO
β Cigna POS
β Cigna Indemnity
TYPICAL COSTS (after insurance):
Primary Care Visit: $25-50 copay
Specialist Visit: $50-100 copay
Urgent Care: $100-150 copay NEXT STEPS:
β Schedule appointment (reply: "book appointment")
β Verify coverage (reply: "check benefits")
β Billing questions (reply: "talk to billing team")
Need more help? Our staff can assist 9am-5pm Mon-Fri
Output 3: Daily Analytics Report
π HEALTHCARE CHATBOT PRO - DAILY REPORT
Generated: March 13, 2024CONVERSATIONS:
π Total Conversations: 247
β
Resolved by AI: 198 (80%)
π Escalated to Staff: 49 (20%)
β±οΈ Avg Response Time: 1.2 seconds
APPOINTMENTS:
π
Bookings Created: 34
π
Rescheduled: 12
π
Cancelled: 5
β οΈ No-Shows: 1 (2.8% rate)
TOP PATIENT QUESTIONS:
1. Office hours & location (45 queries)
2. Insurance acceptance (38 queries)
3. Appointment rescheduling (32 queries)
4. Prescription refills (28 queries)
5. Pre-visit instructions (20 queries)
SENTIMENT:
π Positive: 91%
π Neutral: 7%
π Negative: 2%
SYSTEM HEALTH:
β
Uptime: 99.9%
β
EMR Sync: Healthy
β
SMS Delivery: 100%
Tips & Best Practices
1. Train Your Knowledge Base Thoroughly
2. Set Clear Escalation Boundaries
3. Optimize Appointment Availability
4. Personalize Patient Interactions
5. Monitor & Improve Continuously
6. Ensure HIPAA Compliance
Safety & Guardrails
What This Skill WILL NOT Do
β Medical Diagnosis
β Prescribe or Adjust Medications
β Provide Emergency Care
β Guarantee Scheduling
β Share Data Beyond Authorized Systems
β Override Clinical Judgment
Limitations & Boundaries
| Feature | Scope | Limitation | |---------|-------|-----------| | Language Support | English, Spanish, French | Others require manual configuration | | EMR Integration | Epic, Cerner, NextGen, athena | Proprietary EMRs need custom API work | | Appointment Slots | 90 days in advance | Beyond 90
π‘ Examples
Try these prompts immediately to see Healthcare Chatbot Pro in action:
Example 1: Deploy a Patient Query Bot
Deploy a healthcare chatbot for my orthopedic clinic. Configure it to answer:
Office hours and location
Insurance accepted (UnitedHealth, Aetna, Cigna, self-pay)
Common post-operative care questions
Prescription refill requests
Appointment rescheduling Integrate with our Epic EMR and send appointment confirmations via SMS using Twilio.
Example 2: Automate Appointment Scheduling
Create an appointment scheduling workflow that:
1. Greets patients and identifies their reason for visit
2. Checks real-time availability from our Google Calendar
3. Books the appointment (if patient consents)
4. Sends confirmation SMS + email with pre-visit instructions
5. Sends reminder SMS 24 hours before appointment
6. Logs interaction to Salesforce Health CloudProviders available: Dr. Smith (Mon-Fri 9am-5pm), Dr. Chen (Tue, Thu 1pm-6pm)
Example 3: Multi-Language Patient Support
Configure chatbot to handle patient inquiries in English and Spanish.
Route complex medical questions to available providers via Slack.
Log all conversations for compliance and quality assurance.
Generate daily summary report of most common questions.
Example 4: Insurance & Billing Assistance
Train the chatbot to answer:
Which insurance plans we accept
Typical costs for common procedures
Pre-authorization requirements
Payment plan options
Out-of-pocket estimate calculations Flag high-value billing questions for human review.
βοΈ Configuration
Environment Variables (Required)
# OpenAI for intelligent responses
OPENAI_API_KEY=sk-proj-xxxxxxxxxxxxx
OPENAI_MODEL=gpt-4-turbo # or gpt-3.5-turbo for cost savingsTwilio for SMS/voice
TWILIO_ACCOUNT_SID=ACxxxxxxxxxxxxxx
TWILIO_AUTH_TOKEN=xxxxxxxxxxxxxxxx
TWILIO_PHONE_NUMBER=+12025551234EMR Systems (choose one or more)
EMR_SYSTEM=epic # or: cerner, nextgen, athena
EMR_API_KEY=xxxxxxxxxxxxxxxx
EMR_BASE_URL=https://api.epic-fhir.com/CRM Integration
CRM_SYSTEM=salesforce_health_cloud # or: hubspot, pipedrive
CRM_API_KEY=xxxxxxxxxxxxxxxxCalendar Integration
GOOGLE_CALENDAR_ID=your-clinic@group.calendar.google.com
GOOGLE_SERVICE_ACCOUNT={"type": "service_account", ...}Security & Compliance
HIPAA_ENCRYPTION_KEY=xxxxxxxxxxxxxxxx
LOG_RETENTION_DAYS=2555 # 7 years for compliance
Chatbot Personality Configuration
# config.py
CHATBOT_PERSONA = {
"name": "HealthAssist",
"tone": "professional_empathetic",
"language": ["english", "spanish"],
"clinical_confidence": "medium", # Avoid over-claiming medical expertise
"escalation_triggers": [
"chest pain",
"difficulty breathing",
"suicidal thoughts",
"severe allergic reaction",
"medication error"
],
"max_response_time": 2 # seconds
}KNOWLEDGE_BASE = {
"office_hours": {
"monday_friday": "9:00 AM - 5:00 PM",
"saturday": "10:00 AM - 2:00 PM",
"sunday": "Closed"
},
"accepted_insurance": [
"UnitedHealth",
"Aetna",
"Cigna",
"Blue Cross",
"Self-pay accepted"
],
"common_procedures": {
"annual_physical": {"cost": 150, "duration_min": 30},
"orthopedic_consult": {"cost": 200, "duration_min": 45}
}
}
Setup Instructions
1. Deploy the skill:
npm install healthcare-chatbot-pro
claw skills deploy healthcare-chatbot-pro
2. Configure EMR connection:
claw config set EMR_API_KEY=your_epic_key
claw skills test healthcare-chatbot-pro --emr-test
3. Add to your website: