{
  "id": "balm",
  "name": "Balm",
  "version": "0.2.1",
  "maturity": "first-release-local",
  "category": "clinic",
  "spine": {
    "id": "client-file",
    "record": "Client file: appointments, intake answers, treatment notes, invoices and its access audit"
  },
  "description": "US outpatient physical, occupational or speech therapy clinic software: online booking from real open times, one-use intake links, PT, OT and speech notes signed and locked by their author with addenda and 8-minute-rule CPT units, plans of care certified by referring physician link, approved and numbered invoices, cards, copays, pay links and superbills through your own Stripe, automatic email reminders, secure patient messages, a waitlist, an audited client file and reviewed patient move-in.",
  "capabilities": [
    {
      "id": "note-billing",
      "clauses": [
        "CHART-006"
      ]
    },
    {
      "id": "public-door-abuse-limits",
      "clauses": [
        "SEC-002"
      ]
    },
    {
      "id": "authorization-allowances",
      "clauses": [
        "INS-003"
      ]
    },
    {
      "id": "patient-self-service-scheduling",
      "clauses": [
        "SCHED-006"
      ]
    },
    {
      "id": "reviewed-patient-ledger",
      "clauses": [
        "PAY-004"
      ]
    },
    {
      "id": "record-retention",
      "clauses": [
        "HIPAA-002"
      ]
    },
    {
      "id": "visit-policy",
      "clauses": [
        "SCHED-004"
      ]
    },
    {
      "id": "payment-plans",
      "clauses": [
        "PAY-006"
      ]
    },
    {
      "id": "clinic-operations",
      "clauses": [
        "BALM-001",
        "INTAKE-003",
        "INTAKE-004",
        "US-001",
        "SCHED-003"
      ]
    },
    {
      "id": "patient-communications",
      "clauses": [
        "COMM-001",
        "COMM-002",
        "COMM-003",
        "COMM-004",
        "PORTAL-003"
      ]
    },
    {
      "id": "medicare-therapy-rules",
      "clauses": [
        "INS-009"
      ]
    },
    {
      "id": "documentation-compliance",
      "clauses": [
        "CHART-007",
        "CHART-004"
      ]
    },
    {
      "id": "calendar-subscription",
      "clauses": [
        "SCHED-009"
      ]
    },
    {
      "id": "disclosure-accounting",
      "clauses": [
        "HIPAA-003"
      ]
    },
    {
      "id": "patient-alerts",
      "clauses": [
        "CHART-010"
      ]
    },
    {
      "id": "daily-close",
      "clauses": [
        "REPORT-004"
      ]
    }
  ],
  "nonGoals": [
    "Insurance billing: eligibility, authorizations, claims, ERA posting and denials",
    "Live text messages (built behind the SMS adapter, off until the clinic's A2P registration)",
    "A signed-in patient portal and home exercise programs",
    "Telehealth video",
    "Prescribing",
    "Clinical decision support",
    "A model account held by Balm (the scribe uses the installation's own AI key)"
  ],
  "externals": [
    {
      "id": "cloudflare",
      "required": true,
      "why": "Worker hosting",
      "data": [
        "HTTP requests"
      ],
      "adapters": []
    },
    {
      "id": "mail-provider",
      "required": false,
      "why": "A hosted Balm emails sign-in links, invitations, intake links, waitlist offers, plan-of-care links, reminders, pay links and message notices through the owner's own SendGrid or Resend account; Balm on your own computer sends no email. Optional signed provider callbacks reconcile appointment email delivery states on the patient file.",
      "data": [
        "Recipient email address",
        "Private patient, physician and sign-in links",
        "Appointment time, service and practitioner",
        "Signed delivery events: provider message ID, recipient and delivery state"
      ],
      "adapters": []
    },
    {
      "id": "stripe",
      "required": false,
      "why": "Cards on file, copays at check-in and pay links through the clinic's own Stripe account; card numbers never reach Balm.",
      "data": [
        "Patient name and email",
        "Invoice amounts and references",
        "Card brand, last four and expiry"
      ],
      "adapters": []
    },
    {
      "id": "ai-provider",
      "required": false,
      "why": "The scribe drafts an unsigned note from the practitioner's dictation with the installation's own Anthropic or OpenAI-compatible key; no patient name or birth date is sent.",
      "data": [
        "Dictation or bullet points for one visit",
        "The visit's note template"
      ],
      "adapters": []
    },
    {
      "id": "twilio",
      "required": false,
      "why": "Text reminders and pay links once the clinic's US A2P 10DLC registration is approved and its Twilio settings are deployed; off otherwise.",
      "data": [
        "Patient mobile number",
        "Reminder or pay-link text"
      ],
      "adapters": []
    },
    {
      "id": "nppes",
      "required": false,
      "why": "Owner-enabled referring-provider lookup at the NPPES NPI Registry API v2.1; off by default. With it off or unreachable, a manually entered NPI is labelled as not checked with NPPES.",
      "data": [
        "The typed provider NPI"
      ],
      "adapters": []
    }
  ],
  "env": [],
  "deploy": {
    "healthPath": "/health",
    "publicPaths": [
      "/",
      "/book",
      "/health",
      "/intake/*",
      "/signin",
      "/visit/*",
      "/messages/*",
      "/portal",
      "/portal/*"
    ],
    "notes": "Native sessions guard clinic pages and commands. Patient intake, visit-reply, secure-message, waitlist, physician and pay links authenticate through expiring private tokens. The patient portal uses one-use emailed links and a separate expiring patient session."
  },
  "extensionPoints": {
    "contributions": [],
    "policies": [],
    "events": [],
    "slots": [],
    "adapters": []
  },
  "limits": {
    "status": "unmeasured"
  },
  "accessibility": {
    "level": "WCAG 2.2 AA",
    "status": "target; unaudited"
  },
  "operatingCost": {
    "status": "unmeasured"
  },
  "composition": {
    "base": "base",
    "family": "clinic",
    "edition": "balm",
    "modules": [
      "delivery-producer",
      "job-queue",
      "release",
      "deploy-kit",
      "container",
      "demo-host",
      "demo",
      "integrations",
      "mail",
      "ai",
      "portability",
      "d1-transport",
      "erasure",
      "dependencies",
      "operator-auth",
      "owner-claim"
    ]
  }
}
