Skip to Content
CraftBot Docs v1 — internal preview
Admin & SettingsHealthcare blocklist

Healthcare content blocklist

The healthcare content blocklist is a list of words, codes, and patterns that cannot appear in outbound campaign template bodies. Validation runs when a template is submitted for approval — entries that contain blocked content are rejected before the template reaches Meta’s review queue.

The blocklist is purpose-built for healthcare TPAs: it stops drug names, diagnosis codes, and lab values from leaking into broadcast messages that may not satisfy PDPL or HIPAA-equivalent constraints.

Entry types

Each entry has one of four kinds:

  • Drug name — case-insensitive whole-word match against the template body.
  • ICD-10 code — case-sensitive match (codes are always upper-case by convention).
  • Lab-value regex — a regular expression applied to the body. Used to catch numeric patterns like \d+\s*mg/dL or value ranges. Always treated as a regex.
  • Keyword — generic case-insensitive whole-word match. Use for anything that isn’t a drug or code.

Adding an entry

  1. Settings → Healthcare blocklist → Add entry.
  2. Type — pick one of the four kinds above.
  3. Pattern — the word, code, or regex.
  4. Note (optional) — short context for the next admin reviewing the list (e.g. Per pharma team request 2026-04).
  5. Click Add.

For keyword and drug entries, the regex flag is set automatically based on the type. ICD-10 codes match literally.

Where validation runs

  • Campaign template authoring — when a template body is submitted (in Settings → Channels → Message Templates), every blocklist entry is evaluated. Matches list as validation errors and block submission.
  • Bot recipe HSM nodes — recipes that reference a blocked template still fail at template-submit time, not at runtime. The blocklist is a pre-flight check, not a runtime gate.

Removing an entry

Click Remove on the row. Removal is immediate and does not retroactively re-allow templates that were already rejected — those need to be re-submitted to pass the now-shorter list.

Best practices

  • Seed the list from a clinical reference. Don’t ad-hoc one drug at a time. Common starting points: WHO essential medicines list (drug names), ICD-10 chapters relevant to your scope, common lab-value units.
  • Use the Note field. A six-month-later review of “why is metformin blocked?” is much easier when there’s Per compliance memo 2026-03-15 next to it.
  • Test the regex entries before trusting them. A lab-value pattern like \d+ mg/dL will match every number followed by mg/dL, including ones in disclaimer text. Tighten with anchors if needed.
  • Don’t put PII patterns here. The blocklist is for clinical content; for PII control, use HSM template categories and per-channel approvals.
Last updated on