Docs
  • LogicLoop Documentation
  • LogicLoop Quickstart
  • Data Sources
    • Connect your data source
      • Deployment options
    • Supported data sources
      • API data (JSON)
      • AWS CloudWatch
      • BigQuery
      • Databricks
      • Google Analytics
      • Google Sheets
      • MongoDB
      • Microsoft SQL Server
      • MySQL
      • Oracle
      • PostgreSQL
      • Snowflake
      • Combine Results
      • LogicLoop Data Source
  • Queries
    • Write a rule
      • More rule options
      • A/B testing rules
      • Version history
      • Query Snippets
    • Visualizations & dashboards
      • Visualizations
      • Dashboards
  • Actions
    • Set up an action
    • Action destinations
      • Email
      • Slack
      • Webhooks & APIs
      • Microsoft Teams
      • Salesforce
      • Zapier
      • PagerDuty
      • Write to Database
      • Chain Rules
      • Google Sheets
      • Bento
    • Templating
  • Case Management
    • Case Management
      • Ticket Generation
      • Case Triage
      • Custom Fields and Attachments
  • AI
    • AI Query Helper
    • Ask AI
  • Teams & Settings
    • Integrations
      • Slack
      • Google Sheets
    • Invite your teammate
    • Groups & Permissions
  • Changelog
  • FAQs
  • Troubleshooting
  • Templates
    • Templates Home
    • Risk & Fraud Rules
    • AML Transaction Monitoring Rules
    • Logistics & Marketplace Ops
    • Customer Success & Growth
    • Systems Observability
    • Data Quality Monitoring
    • Healthcare
    • HTML Email Templates
      • Annual Review
      • Weekly Performance Table
      • Invoice Recap
  • BETA
    • AI SQL API
    • Approving rules
    • Render Data as JSON
    • Case Analytics
    • Python
  • Security & Legal
    • Security
    • AI Security
    • Terms of use
    • Privacy policy
    • Services description
Powered by GitBook
On this page
  • Upcoming prescription refills for patients
  • Collect on unpaid claims
  • Lab results taking too long to process
  • Update vaccination status
  • Alert on poor lab conditions

Was this helpful?

  1. Templates

Healthcare

PreviousData Quality MonitoringNextHTML Email Templates

Last updated 3 years ago

Was this helpful?

Digital heath companies use LogicLoop to manage patient care, increase engagement, and manage system logistics.

Upcoming prescription refills for patients

Select all patients who have an upcoming refill.

View SQL Query
SELECT
  *
FROM
  patients
WHERE
  refill_date < current_date + interval '7 days'

Send them a text reminding them to pick up their meds.

Collect on unpaid claims

Detect claims that still have not been paid for 90 days.

View SQL Query
SELECT
  *
FROM
  claims
WHERE
  status = 'unpaid'
  AND created_at > current_date - interval '90 days'

Send out an email to the insurance provider to collect.

Lab results taking too long to process

Detect lab results that have not been processed in over 30 days.

View SQL Query
SELECT
  *
FROM
  lab_results
WHERE
  status != 'complete'
  and created_at > current_date - interval '30 days'

Alert the team on Slack to investigate.

Update vaccination status

Select all patients that had a COVID vaccine at least 7 days ago.

View SQL Query
SELECT
  *
FROM
  patient
WHERE
  covid_vaccine_taken_at < current_date - interval '7 days'

Alert on poor lab conditions

Alert if humidity levels in the lab room are too high.

View SQL Query
SELECT
  humidity
FROM
  lab_stats
WHERE
  humidity > 75

Send a PagerDuty alert for someone to investigate.

Update the status of those patients to 'Fully Vaccinated' by .

writing to your data source
Page cover image