=== TEG-THERAPIST — Practice management for therapy ===
Contributors: theeldestgeek
Tags: therapy, counseling, practice management, clinical notes, telehealth
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.20.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

The whole back office of a therapy practice: the diary and the standing weekly slot, clinical records kept correctly apart from psychotherapy notes, treatment plans, outcome measures, insurance authorizations counted down session by session, claims and superbills, sliding-scale fees, telehealth with the licensure question asked before the session, releases of information with a real accounting of disclosures, and a client portal.

== Description ==

A progress note and a psychotherapy note are two different documents, and the second one is only protected if it is actually stored apart. Here they are two tables, two permissions and two screens. Psychotherapy notes are excluded from every export, every claim, the portal and the API, and they are off until somebody switches them on.

* **The diary** - working hours with the note-writing gap applied after every session, standing weekly or fortnightly slots that generate sessions a few weeks at a time, and a vacancies report for slots left empty.
* **Billing codes from the clock** - the time-based psychotherapy code is chosen from when the session actually started and ended, not from the diary; an override is allowed and recorded with a reason.
* **Clients** - legal and preferred names, pronouns, contact permissions, and caseload boundaries.
* **Clinical records** - progress notes in SOAP, DAP, BIRP or narrative form with structured fields, locking and addenda, and supervisor countersigning for pre-licensed clinicians; psychotherapy notes on their own screen.
* **Treatment plans** - goals with a measure and a baseline, and review dates that are watched.
* **Outcome measures** - PHQ-9, GAD-7, PHQ-2, WHO-5, AUDIT-C and EPDS, with item answers stored rather than only totals; flags must be acknowledged by a person.
* **Risk and safeguarding** - actions, safety plans, follow-up dates, and who was told and when.
* **Consents and releases** - enforced expiry dates, revocation and an accounting of disclosures; extending a release to psychotherapy notes is its own tick, off by default.
* **Insurance** - payers, benefits recorded as at a date, authorization countdowns that warn before the first unfunded session, per-payer timely-filing deadlines, claims and superbills.
* **Money** - fee schedule, sliding-scale fees with the standard fee beside them and a review date, charges split between payer and client, payments, a printable client statement, and the payment methods you accept (Zelle, PayPal, Venmo, credit card, check, cash) shown to clients as Ways to pay.
* **Taking payments** - takes card payments online through your own Square, Stripe or PayPal account, and Square Terminal at the front desk. A client pays their whole statement, or one of their own charges (a self-pay session, a copay, a missed-session fee), from the printed statement, the portal or a pay link you e-mail them. The gateway, the pay page and the receipt see only "Payment to (your practice), statement #(number)" and the amount - never the service, a code, a diagnosis or a clinician. Refunds go back through the gateway; cash, checks, Zelle and the rest are still recorded by hand, and insurer payments (EFT) are recorded by hand as before. With TEG Companion, staff can take a card on the phone (Square Terminal, a Square payment link or the Square app).
* **Groups** - one session record per member.
* **Telehealth** - asks where the client is sitting, checks it against the clinician's licenses on file, warns rather than blocks, and records what was decided.
* **TEG Rover: in-home sessions on the clinician's phone** - the site side is included, switched OFF until the practice turns on "Rover (drivers / field staff)" under Setup > Device pairing. Under TEG-THERAPIST > TEG Rover the practice owner makes an in-home visit from an in-person session in the diary; it goes to that session's own clinician, who pairs their phone under Rover phones (QR code, one revocable key per phone, no passwords). On the phone the clinician gets directions to the client's home, presses on the way and arrived, ticks a short checklist and completes the visit - which marks the session attended in the diary with the real times; a visit finished without signal is sent when the signal returns. The phone carries the MINIMAL detail the visit needs and nothing else: the client's name (the preferred name, as the website shows it), the home address, the session's time and the visit's status. Never progress notes, psychotherapy notes, a diagnosis, a treatment plan, risk, measures or consents - not on the screen and not in a notification - and the summary and office notes of a visit stay in the office. The phone number only for a client who has agreed to be contacted. A clinician never sees another clinician's clients: the open board, where any clinician could take a visit, is off unless the practice turns it on (Settings > Diary), and even then shows only the first name and last initial, the address and the time. The live map and the visit records are for administrators only, and location is shared only while the clinician is on shift. The TEG Rover app (0.2.2 or later) is distributed separately; the site side costs nothing per clinician. TEG Companion and TEG Rover can show their screens in the phone's language - see **Language** (The phone apps).
* **Client portal** - `[teg-therapist-account]`: appointments, measures before a session, shared documents, balance and messages. Booking is off by default.
* **Public page** - `[teg-therapist]`, and `[teg-therapist-contact]` for the inquiry form alone.
* **Reports** - what missed sessions and the sliding scale cost, where clients come from, how treatment ends, aggregate outcomes and how full the practice is.
* **Backup and restore** - under Settings > Backup, in a protected folder on your own server.
* **Language** - under Settings > Language: the language the practice writes to its clients in (English, Spanish, and more as translations are published). Statements, receipts, appointment reminders and confirmations, e-mails to clients, the client portal and the public page use it; each member of staff can pick their own language for their own screens on their profile. What anybody typed is never translated, and codes (CPT, ICD-10, place of service, modifiers) are never changed. **The phone apps.** With the Pro edition and a language pack, TEG Companion and TEG Rover can show their screens in the language each phone is set to (or the one picked in the app), as long as the practice has words for it - this needs the app update that adds languages. Lists and screens follow the phone; whatever is saved or sent for a client (a missed-session fee, a receipt, a payment link) stays in the practice language, whoever uses the phone. Without Pro the apps stay in English.
* **Licenses & permits** - under Setup: the practice's binder of each clinician's professional license (LPC, LCSW, psychologist, LMFT ...), the professional liability (malpractice) insurance and the business license, plus anything else you add with "Other" (an NPI record, CE credits, a supervision agreement). Each shows Current, Expiring (within 60 days), Expired or Missing; renewing keeps the old one as history. Attach the scanned certificate (kept in a private folder, never the media library). Reminder e-mails go 60, 30 and 7 days before anything expires and once more when it has; a box on the dashboard shows while anything required is missing or expired. Binder prints everything for a board inspector or a payer's credentialing check, as a PDF or a ZIP with the documents, or as a link that lasts 7 days. The preset types are examples (Virginia first), not legal advice.

Installing this does not make a practice HIPAA compliant; no plugin can. It does not encrypt the database, provide a business associate agreement, control your hosting backups or secure the connection. Uploaded files go to the WordPress media library, which is public. It is not a clearinghouse, does not prescribe or host video, and carries no copy of ICD-10 or CPT. Read Settings > Privacy before deciding it is enough for your practice.

Data lives in the site's own tables, not in posts.

= License =

TEG-THERAPIST is licensed like The Eldest Geek's Doctor tools. A 30-day Pro trial is baked in and starts the first time the plugin runs on the site; there is nothing to sign up for. A purchased code from theeldestgeek.com (annual or lifetime, Standard or Pro, single site or an agency pack) is entered under Settings > License. It is bound to the name and e-mail on the order and verified offline against a public key; a paid code is re-checked with the license server once a day and keeps working when the server cannot be reached. Pro adds the read-only REST API.

Without a valid license - once the trial has ended, or if a license has been revoked - adding and changing records pauses. Nothing is lost: everything already recorded stays readable and can be exported, customers can still book and use their portal, and entering a license carries on exactly where you left off. The license also decides which updates can be installed. A lifetime license installs any version. A current license installs any version. An expired one keeps installing every version released before it expired, forever, and nothing released after.

== Frequently Asked Questions ==

= Can clients pay online? =

Yes, from 1.15.0, through your own Square, Stripe or PayPal account (Settings > Insurance and money). Switch a gateway on, paste its keys and then the webhook URL shown there into that account. Clients then see a Pay online button on their printed statement and in the portal, and you can e-mail them a pay link from their Money tab. Without a gateway nothing changes: clients see your ways to pay, as before.

= What does the card company see? =

Only "Payment to (your practice), statement #(number)" and the amount. The pay page, the receipt e-mail and the gateway are never told the service, a code, a diagnosis, a clinician or a note. A receipt is only e-mailed to a client who has agreed to be contacted by e-mail.

= What can a client pay? =

Their own lines only: a self-pay session, the copay on an insured session, a missed-session or late-cancel fee - one at a time, or the whole statement at once (spread over the oldest lines first). An insurer's share is never payable by the client online; insurer payments (EFT) are recorded by hand on the Money tab as before.

= How do refunds work? =

Each payment on the client's Money tab has a refund box. A card payment goes back through the gateway it came from; a payment taken by hand is written back by hand. A refund can never be more than was paid, and a refund of a whole-statement payment goes back onto the lines it paid.

= Where do I keep my clinicians' licenses and the malpractice insurance certificate? =

On TEG-THERAPIST > Setup > Licenses & permits. Add each one with its number, the board or carrier that issued it and the expiry date, and attach the scan; renewing keeps the old one as history. An NPI, CE credits or anything else you are asked for go in with "Other". The license list on each clinician's own page (used for the telehealth check) stays as it is.

= Will it remind me before a license or the insurance lapses? =

Yes. It e-mails 60, 30 and 7 days before anything expires and once more when it has, and the dashboard shows a box until it is dealt with. Choose who gets the e-mails, and how long an inspector's link lasts, under Licenses & permits > Settings. The register and its scans are in every backup, and they stay when the plugin is deleted unless you tick the box there.

= Which licence do I need? =

Any valid licence (Standard or Pro, and the trial). While the licence is paused no new payment, payment by hand or refund can be made; money already on its way (a webhook) is still recorded, and the payments CSV can always be downloaded.

= Can I run the practice in Spanish, or another language? =

Yes. Open Settings > Language, pick the language under Shop language and save. Client statements, receipts, appointment reminders and confirmations, e-mails to clients, the client portal, the public page and the inquiry form are then written in it. If a language has no words yet, press Check for language updates: translations download in the background, and the picker shows how much of the plugin each one covers (anything not translated yet shows in English). Only this plugin changes; the rest of WordPress keeps its own language.

= Do language packs need Pro? =

Language packs need the Pro edition. Languages already on the site keep working. With no pack installed everything stays in English, exactly as before.

= Can I use a different language on my own screen than my clients see? =

Yes. On your profile page, under My language in the shop, choose your own. Only what you see changes: whatever goes to a client stays in the practice language. Progress notes, psychotherapy notes, treatment plans, measures, risk, consents and releases, the reports and exports are shown in the language of the person looking at them, and nothing a clinician or a client typed is ever translated.

= Can the phone apps run in Spanish? =

Yes, with the Pro edition and the Spanish pack, once you have the app update that adds languages: TEG Companion and TEG Rover then follow the language the phone is set to (or the one picked in the app). Whatever the phone saves or sends for a client - a missed-session fee, a receipt, a payment link - is written in the practice language, and the phone still carries nothing clinical. Without Pro the apps stay in English. See Language in the description.

= What about the superbill and insurance? =

The superbill and anything meant for an insurer are left as they were: they show in your own screen language, and the CPT and ICD-10 codes, the place of service and any modifier are printed exactly as recorded - a translation never touches them. The appointment reminder stays as discreet as before in every language: the date, the time and who it is from, nothing more.

== Installation ==

1. Plugins > Add New > Upload Plugin, choose the zip, and activate. The tables and the practice roles are created and the trial is already running.
2. Practice > Settings: The practice, then Access. Read the Privacy tab.
3. Add clinicians and their licenses; the telehealth check reads them.
4. Put `[teg-therapist]` on a page for the public page, and `[teg-therapist-account]` on a page with the slug `client-portal` for the client portal. `[teg-therapist-sales]` shows the current public sales (full list: Help Center > Shortcodes).

Later versions arrive through Dashboard > Updates. The download is checked against its published SHA-256 before it is installed, and an update replaces the files in place without touching your data.

== Changelog ==

= 1.20.1 =
* Help: the Help Center now has one Shortcodes section listing every shortcode this plugin adds, with what each does and an example, and a question about it in the FAQ. No other change.

= 1.20.0 =
* Help Center: a new Help & Tutorials page (under Tools in the menu) with the full manual - every screen and every settings tab - and a searchable FAQ, and a "?" on every TEG-THERAPIST screen that opens the help for that screen.
* Get support: a "Get support" button at the top of every screen (and in the WordPress bar) opens two choices, Report a problem or Request a feature. The short form sends the screen you came from (its name only), the practice name and the WordPress and PHP versions with your message, files a ticket with The Eldest Geek support and e-mails a copy; the answer comes to the e-mail address you give. For an administrator a box (ticked to start with, listed in full beside the form) also sends the versions, the server and how many records of each kind the practice has (clients, sessions, charges and the like) - counts only, never a name, a note or anything clinical; untick it to leave them out. At most 5 messages per person and 20 per site an hour. The page is under Tools > Support & feature requests.
* Scheduled off-site backups (Settings > Backup): a backup every night at the time you set (default 02:30), kept in the private backup folder like any other and restorable the same way, and copied off-site if you choose - SFTP, FTP / FTPS, Amazon S3 / Wasabi / S3-compatible, or Dropbox. Keeps the last 14 plus one a week for 8 weeks, here and off-site; backups taken by hand and the safety copy before a restore are never pruned. Passwords and keys are stored encrypted and never shown again. Test connection, Run backup now, a status table, and a notice to administrators when the last scheduled backup failed or the last good one is more than 48 hours old. Off by default. A backup holds every clinical record, psychotherapy notes included: choose an off-site place you would trust with that.
* One-click setup: after activating, a setup page takes you through the practice details, the public pages (Our practice, Client portal) and a menu for them, the staff roles, and - only on a practice with no real records yet - the safe sample data, which Finish removes again unless you keep it. On a practice that is already in use, administrators see a one-line notice offering the setup until they start it or press No thanks; nothing changes until they do. Run it again from Settings > Sample data.
* What's new: when you have skipped updates, the What's new button on the Dashboard lists every release since the one you last opened, each under its version.
* In a live demo a red "Questions? Get help" strip sits at the top of every screen; it opens our contact form on the demo site (a demo shop cannot send e-mail itself).
* Coupons, sales, memberships and Zelle on the client's own charges (Sales & money > Gift Coupons, Sales, Memberships, Incoming payments): gift coupons and campaign batches, fee sales that price a session billed at the standard fee, membership plans whose discount goes on a member's charges by itself, a "To pay by Zelle" line on the statement, the portal and the payment receipt while money is owed, and Zelle payments from the bank's alerts matched to a charge and recorded the same way as Record a payment (no receipt). Never on an insurer's line, never a discount on a copay, never a sale or a one-item coupon on a sliding-scale fee (a whole-charge coupon or a membership discount still applies). The client's Money tab gets a Coupons and discounts box for each open charge of their own, and a line with something taken off shows "discount" and the amount on the Money tab and the statement. Coupons start switched off on a practice updating from an earlier version; the Zelle line uses your Zelle detail under Settings > Insurance and money while you accept Zelle (untick Show Zelle instructions on Gift Coupons to stop it). A client who owes on two or more charges can pay the whole statement in one Zelle payment (the memo gives "Statement #" and the client's number, the number the statement's Zelle line shows when it lists more than four charges): it is spread over the open charges oldest first, each up to what it still owes, and is recorded by itself only when the match is certain; a payment larger than the whole statement owes is not recorded from Incoming payments. While "Keep reminders discreet" is on (the default) no coupon is e-mailed to anyone - print it or hand over the code. Nothing is sent by itself because of any of it.
* When a payment cannot be saved, nothing is changed and you are told so, instead of it showing as recorded: Record a payment on the Money tab says "The payment was NOT recorded and nothing was changed", TEG Companion says the payment could not be recorded, and a Zelle payment goes back to waiting on Incoming payments. Try again, and contact support if it keeps happening.
* The shortcodes are renamed: [teg_therapist] is now [teg-therapist], [teg_therapist_enquiry] is now [teg-therapist-contact] and [teg_therapist_portal] is now [teg-therapist-account]. The old names stop working with this update and are not changed for you: edit each page that uses one (the public page and the client portal made by setup included) and put the new name in its place, or the page shows the old name as plain text.
* Deleting the plugin now always removes the scheduled off-site backup settings (the storage passwords and keys) and their status, whatever "Delete all data if this plugin is deleted" says - like the phone keys and the sign-in links. The backup files themselves stay.

= 1.19.1 =
* "What's new" no longer opens by itself after an update. The dashboard has a button "What's new in <version>"; press it to read the notes.

= 1.19.0 =
* The TEG Companion and TEG Rover phone apps can show their screens in another language when your practice has the Pro edition and a language pack. This needs the next update of the apps; until then nothing changes. What the phone saves for a client - a missed-session fee when a session is canceled late or not attended - is still written in the practice language, and the phone still shows nothing clinical.
* Menu refresh.

= 1.18.0 =
* New: a Language screen under Settings > Language.
* Each member of staff can choose their own language for their own screens (on their profile, under My language in the shop). It changes only what they see.
* The practice now has a language of its own for what clients receive: statements, receipts, appointment reminders and confirmations, payment links, e-mails and texts to clients, the client portal, the public page and the inquiry form. What a client gets no longer depends on which member of staff clicked.
* Charges made from a session ("Copay", "Did not attend", "Canceled late") and outcome measure results are written in the practice language too, so they read the same for everybody.
* The superbill and anything meant for an insurer are unchanged: the CPT and ICD-10 codes, place of service and modifiers are printed exactly as recorded. The appointment reminder stays as discreet as before in every language.
* Language packs (Spanish first) arrive later and need the Pro edition. With no pack installed everything stays in English, exactly as before.
* Shared pieces brought up to date: language 1.1.0 (new), region 1.3.0, payments 1.5.0 and app payments 1.3.0.

= 1.17.3 =
* New: Licenses & permits (under Setup) - keep each clinician's license, your liability (malpractice) insurance and the business license in one place, with reminders before they expire and a printable binder for an inspector or a payer's credentialing check. Add anything else - an NPI, CE credits, a supervision agreement - with "Other". Your clinicians' own license list under Clinicians stays as it is.
* The register and its scanned documents go into every backup, and stay when the plugin is deleted unless you choose otherwise under Licenses & permits > Settings.
* Shared pieces: the compliance register 1.0.1 (new).

= 1.17.2 =
* TEG Companion reports can show older months too (this month, last month and up to 10 more; set how many in Companion).
* Shared pieces brought up to date: TEG Companion core 2.16.0.

= 1.17.1 =
* Payments: the currency symbol always matches the currency (a US shop never shows £).
* The app payments list in TEG Companion shows the date your region's way.
* Shared pieces brought up to date: payments core 1.4.0 and app payments core 1.2.2.

= 1.17.0 =
* Dates now follow your region: a US practice sees 03/14/2026 and 2:00 pm, a UK practice 14/03/2026 and 14:00, an EU practice its own country's way - on every screen, print, e-mail and the portal, whatever WordPress's own date setting says. Leave the date and time format blank in Settings (Money tab) to use your region's, or type your own.
* TEG Companion is told the practice's date format, so the phone shows and asks for dates the same way. Session pickers for TEG Rover show the day and month in your region's order.
* Shared pieces brought up to date: region 1.2.0 (region dates), TEG Companion core 2.15.0 (the date format in the phone's hello) and TEG Rover core 1.10.0.

= 1.16.1 =
* Square Terminal: a payment cancelled from TEG Companion is only shown as cancelled once Square confirms it; unconfirmed cancels are retried automatically and a forgotten checkout is cancelled after 15 minutes.
* Shared pieces brought up to date: payments 1.3.0 (ready for saving a customer's card for later charges; off unless switched on), TEG Companion core 2.14.0 and TEG Rover core 1.9.1 (work done on a phone while offline keeps the time it was really done; pairing a phone with Rover switched off just works).

= 1.16.0 =
* TEG Back Office lists the practice's people for payroll: every active clinician on the Clinicians screen who has a WordPress login, under the name the practice uses there, plus anyone else who can open the back office (a practice manager, the front desk) - never a clinician marked inactive. Names only: no licence, caseload or client detail leaves the plugin.
* Shared pieces brought up to date: payments 1.2.0 ('transfer' is the one key for a bank transfer, 'wire' reads as it), TEG Companion core 2.13.0 (report card dates follow the practice's date format), TEG Rover core 1.8.0 (device pairing masks IP addresses), the licence check (TEG-MARKETER's new name, the Back Office bank feed add-on) and Get my licence.

= 1.15.0 =
* New: takes card payments online through your own Square, Stripe or PayPal account, and Square Terminal at the front desk (the shared TEG payments module). A client pays their whole statement or one of their own charges - a self-pay session, a copay, a missed-session fee - on a pay page linked from the printed statement, the portal and a pay link you e-mail from the Money tab.
* Privacy: the gateway, the pay page and the receipt see only "Payment to (your practice), statement #(number)" and the amount - never the service, a code, a diagnosis, a clinician or a note. Receipts go only to clients who have agreed to e-mail. Pay links use their own key, never the portal link.
* A whole-statement payment is spread over the client's open lines, oldest first; a refund of it goes back onto those lines, newest first.
* Refunds from the Money tab: a card payment back through its gateway, a hand payment written back by hand - never more than was paid. Gateway webhooks are signed and recorded once; a payment for a line already paid is kept "unapplied" and the office is alerted.
* Payments recorded before this version are kept exactly as they were and count as before. Insurer payments (EFT) are still recorded by hand on the Money tab.
* Settings > Insurance and money: Square, PayPal and Stripe (secrets are never shown again and never go into a backup), pay-by-QR codes, card terminals, and a payments CSV.
* TEG Companion: take a card on the phone for a client's line - Square Terminal, a Square payment link or the Square app - and Zelle, Venmo or PayPal recorded on the phone wait for the office to confirm them.

= 1.14.9 =
* A release or a license whose end date has passed now shows as EXPIRED - on the client's consents (Status: expired) and on the practice page, in its own list - instead of sitting under "expiring". A treatment plan past its review date says OVERDUE by how many days. Licenses on the practice page read "(license in VA)".
* New on the practice page: sessions that have ended and are still marked Scheduled or Confirmed, so nobody forgets to say whether the client came.
* "Who looked" shows visitors' addresses with the last part hidden (203.0.113.0) to everyone but site administrators. The full address is still kept in the log. A site can mask them for everybody with the constant TTP_MASK_ACCESS_IP or the filter ttp_mask_access_ip.
* TEG Companion: a phone user with practice-wide access (See clients other than their own) who is not a clinician now sees the practice's clients and sessions, and the manifest names that permission. A clinician's phone still shows only their own caseload. The practice page's Today follows the same rule for a login with no caseload.
* Reports: missed-session fees count when they are on the session as a charge line, a written-off fee counts as nothing, and each missed session is valued at the standard fee for its own kind of session. The sentence reads "1 session" for one, and says so when no fee was charged.
* The sample practice: its e-mail addresses are invented (not the site administrator's), Zelle is among the accepted ways to pay, licence dates count from today, and it now has a year and a half of sessions with notes, charges and payments (insurers by EFT, a Medicaid authorization, two sliding scales, missed-session fees). Every client's "last seen" is their latest session. On the family demo site the sample is wiped and reloaded nightly (TTP_Sample::reset).
* Settings: the Accent color, Date format and Time format boxes are wide enough to read.

= 1.14.8 =
* Licence check knows the new TEG Total Auction Management (TAM) product.

= 1.14.7 =
* Back Office shows as Back Office in Setup; the pairing page is called Device pairing everywhere.

= 1.14.6 =
* The admin menu is grouped the same way as the other TEG shops: the phone pairing page is now "Device pairing" and Settings is the last row of Setup. (This practice has no separate Help page, so that change does not apply here.)

= 1.14.5 =
* The licence check and the updater now share one tested core: a slow licence server can no longer slow the practice down, and the update check no longer waits on the network.

= 1.14.4 =
* Money in another currency is always written with its own symbol.
* Product names in the licence screen use the new spelling (TEG-DELI, TEG-FOODTRUCK, TEG-BUTCHER, TEG-BAKERY).

= 1.14.3 =
* Money in another currency is written with its own symbol on the TEG Rover cards.

= 1.14.2 =
* Customer links (invoices, quotes, bookings and the like) only open with their exact key; a link with a blank or altered key opens nothing.

= 1.14.1 =
* TEG Rover collects on an invoice in the currency it was issued in, and its cards count one currency at a time.
* TEG Rover's money (its cards, errand spending and amounts the office types on a visit) now follows the practice's region currency instead of always being dollars.

= 1.14.0 =
* Region setting: one tick switches the shop between the United States, the United Kingdom and the European Union - currency, dates, tax, address wording, spelling and the ways customers can pay. Invoices already issued never change. The sample data now reads as a US business.
* Settings > Region: where the practice works, the EU country, what the region sets (currency, date and time formats, tax label, the ways clients may pay) and a checklist for the region: HIPAA in the US; professional registration, the ICO and UK GDPR health data in the UK; GDPR Article 9 in the EU. Superbills are marked as a US insurance document outside the US.
* Therapy is not taxed: the tax rate stays 0 in every region, and a UK or EU statement says why (exempt from VAT as medical care).
* Every charge and payment remembers the money it was made in: a charge made in dollars still shows dollars on the client's money tab, the statement, the superbill, the portal and the receipt after the practice moves to the UK. Totals are added up per currency. Charges made before this version show as they always did.
* An updating practice becomes US, with its own settings kept; one that typed £ or € as its currency symbol becomes UK or EU.
* Payment methods follow the region: ACH bank transfer and Cash App / Apple Pay / Google Pay in the US, bank transfer and cheque in the UK, SEPA transfer in the EU (Zelle and Venmo are US only, PayPal everywhere). A payment already recorded with a method the region no longer offers still shows as it was.
* The Insurance and money tab gains the currency code and the date and time formats. The address labels (ZIP code / Postcode / Postal code, State / County / Region) follow the region, and the CSV exports guard every cell and carry each charge's currency.
* Totals and reports now count one currency at a time: after a region switch, money in the old currency is listed apart instead of being added in. The TEG Companion app shows every invoice in the currency it was issued in.

= 1.13.1 =
* Each tab on a client's record now checks who may open it. Reception (who may see client records but not progress notes) no longer sees the Notes, Treatment plan, Measures and Risk tabs: those need "Read and write progress notes" (or, for plan, measures and risk, that area's own tick). The Money and Insurance tabs need the billing or insurers ticks. Summary, Sessions, Consents, Documents, Contacts and Edit stay open to anyone who may see client records.
* A tab you may not open is no longer shown at all, and opening it from an old link shows "You do not have access to this tab." and nothing else.
* On the Consents tab, the list of where the client's information has gone (disclosures) is now shown only to people who may read progress notes or release records. The consents themselves are still shown.
* The rule that a clinician sees only their own caseload is unchanged and still comes first.
* The clinical parts of a client's record are now for people who may read progress notes only. Anyone else (reception, billing) no longer sees the primary diagnosis or "What they came about" on the Summary tab, the diagnosis, "What they came about" and current-risk fields on the Edit form, or the "Risk recorded as ..." line and the warnings about missing progress notes and treatment plans above the tabs and in the client list's "needs attention" count. The Dashboard's panels for sessions with no note, flagged measures, risk follow-ups and plans due for review are shown to them no longer either.
* When reception or billing save the Edit form, the diagnosis, "What they came about" and the risk level stay exactly as they were: they are kept, not emptied.

= 1.13.0 =
* Every client now has one Client notes box, on the client's Summary tab on the desktop: the general notes first (the alert, what to be careful about when contacting them, consent and guardianship, and general notes written in the box), then the notes from their sessions, progress notes and standing slots, with who wrote each one and which came from a Clinician.
* Privacy: progress notes are listed only for people who may read progress notes, and are marked private (never on the phone). Psychotherapy notes are never listed; they stay on their own tab. The Companion app still shows no notes of any kind for a therapy practice.
* "Add a note" in the box is for general, non-clinical notes about the client, and only for clients on your caseload. Progress notes are still written, signed and corrected on the Notes tab.
* Deleting the plugin with "drop tables on delete" switched on now also removes the client notes written in the box.

= 1.12.2 =
* The small print under the figures on the report cards now uses the practice's words too: "4 sessions charged" instead of "4 sales" (this month against last month, and the average charge), "of 4 clients" instead of "of 4 customers" (returning clients), "of 3 sessions" instead of "of 3 visits" (next session booked the same day) and "1 reduced fee" instead of "1 discount" (reduced fees). This month against last month now says "Charged before tax" instead of "Sales before tax".
* No lines were left out: every line a practice's cards show means something even when it is 0. The figures themselves are unchanged.
* TEG Companion: the phone app is updated to match.

= 1.12.1 =
* Report cards on the phone now open the matching desktop report: the money cards open Reports > Money, money received by how it was paid opens that table, missed sessions open "What the missed sessions cost", where new clients came from opens that table, and the days ahead open the Diary. The other cards still open the Reports cards page.
* The cards now speak a practice's language: clients instead of customers, "Clients who stopped coming" instead of "Regulars to call", "Reduced fees" instead of discounts, "Refunds" instead of refunds and voids, "Average charge per session", "Charged today" and "Received today", "Did not attend" and "Canceled late", and "Next session booked the same day".
* Clearer dates on the cards: one day reads "October 1" and a few days read "Jan 5-10", instead of "October 1-1" or "Jan 5, 2031 to Jan 10, 2031".
* TEG Companion: the phone app is updated to match.

= 1.12.0 =
* New: report cards on the phone. In the TEG Companion app's Reports tab, each person picks the cards they want to see, laid out in sections (every day, money, clients, bookings). Only "this month against last month" is on at first; add the others with one tap. The cards use the same figures as the Reports screen, show counts and money only, and never carry anything clinical.
* New: Reports cards page on the desktop (TEG-THERAPIST > Reports cards, administrators only). See every card at once and compare with last period, the same time last year or dates you choose. Set goals for the month, download the figures as a CSV file, or print the page.
* New cards for the practice: money charged this month, the average charge per session, this year against last year, today so far (charged, sessions attended and received today), money received by how it was paid (card, cash, check and so on), what reduced fees gave away, refunds and who recorded them, missed sessions and what they cost, how full the diary is over the next 7 and 30 days, how many clients had their next session booked before the day was out, the busiest days and hours, repeat clients, and where new clients came from.
* New: "Lost clients after, in days" (Settings > The diary, 30 to 730 days, 90 to start with). The lost-clients card lists regular clients still in treatment who have not been seen for that long and have nothing booked. It only names clients who agreed to be contacted; the others are counted but not named.
* New: an optional monthly summary e-mail of the cards. It stays off until you switch it on, choose who gets it and save.
* Reports > Money now shows for every practice, not only for practices that bill insurance, and adds the number of sessions charged and a table of money received by how it was paid.
* If you use TEG Rover, its figures (time out on home visits, errand spending, money collected at the door) can be added as cards too once Rover is switched on.
* Turning the plugin off now also stops its scheduled e-mails and its clean-up of old client sign-in links. Removing the plugin also removes the report settings and goals.
* TEG Companion: the phone app is updated to match.

= 1.11.0 =
* New: TEG Rover is now included, for clinicians who see clients at home. It is switched off until you turn it on (Phones page); while it is off nothing changes. Once on, a clinician's phone shows the day's home visits on a map, checks in and out at the door, and keeps a short visit record - with as little client detail on the phone as possible.
* New: errands in TEG Rover. Send someone on a practice errand - office supplies, the bank deposit, the post office, the print shop, groceries for the office - with a shopping list, where to go, how it is paid and a photo of the receipt. Errands are business only; nothing clinical goes on them.
* New: Import from CSV. Bring your clients, services and fees over from a spreadsheet or your old system: upload the file, match its columns to the practice's fields, do a test run that shows exactly what would be added or changed without saving anything, then import for real. Every import can be undone in one click.
* New: richer sample data (Settings > Sample data). One click adds a realistic practice to try things on - two dozen clients, three months of sessions, notes, charges and payments - and one click takes it all away again without touching your own records.
* Paused or unlicensed practices: Import from CSV now pauses with the other changes (exports still work).
* TEG Companion: the phone app is updated to match.

= 1.10.0 =
* New: E-mail test mode (Settings > E-mail test mode). Turn it on before going live and every e-mail the site sends - invoices, receipts, reminders, status notes, staff alerts - goes to one address you choose and to nobody else. The subject starts with [TEST to ...] so you can see who it was meant for; the message is exactly what the customer would get. Administrators can switch it from the TEG Companion app too (Settings > E-mail test mode), and a red notice shows on every admin page while it is on. Text messages are not e-mail and still go out.
* TEG Companion: shared Companion core 2.4.0.

= 1.9.0 =
* Client and session references (CL-YYYY-NNNN, SES-YYYY-NNNN) are locked unique (checked on activation and every upgrade; repeats are listed for the administrator).
* Refunds keep the insurer status: an insurer line refunded back to nothing paid returns to submitted (or ready), never to client to pay.
* Updates: an update whose manifest publishes no SHA-256 checksum is never offered or installed. DB 1.4.0.

= 1.8.0 =
* TEG Companion: the store chooses what the phone's home screen shows (owner 2026-10-28: too cluttered). Phones (TEG Companion) has a new section, **Companion home screen defaults**: one checkbox per button, card, list and bottom-bar tab the app's home has at this shop (Buttons / Cards / Lists / Bottom bar) and "Reset to starter set". Ticked = shown by default; each person can still change it on their own phone. app/hello's module rows carry `home` {v: 1, items: [{id, label, group, on}]} - only what that person can see. Never saved = the starter set: every button the app has here on (four or fewer: New <job>, New <customer> and the shop's own extras), every list and tab on. Shared Companion core 2.1.0 (generated; tools/test-companion-home.php).
* TEG Rover is part of the plugin, switched OFF by default (owner 2026-10-28: Companion and Rover in every shop): the Phones page has the setting **Rover (drivers / field staff)**. Off: no Rover phone can be paired, the Rover phone routes answer 404 and the Companion app shows no Rover module. On: in-home sessions from the diary go to the clinician's own phone (the caseload: never another clinician's client) with the minimal-detail profile - the client's name, the address, the time and the status; never a note, a diagnosis or any clinical text. TEG Companion pairs on the same Phones page; phones paired before keep working (keys moved onto the one key store on update). Shared Rover core 1.5.0 (generated).

= 1.7.3 =
* Licences for the new shops: TEG-EVENTCENTER, TEG-LASTDJ and TEG-FARM are known to the licence code, in lockstep with the rest of the family. A bundle licence that includes them is read correctly and names them on the License screen; nothing else changes.

= 1.7.2 =
* Get my license: Settings > License - enter the order number and e-mail to install your license; Check license; Release this website.

= 1.7.1 =
* Sample practice: loading the sample again is now safe - it replaces only the rows it loaded itself and never touches anything you have added. Client references and the authorisation number use the current year instead of a fixed one, and sample telephone numbers are in the reserved 555-01xx range.

= 1.7.0 =
* Companion phone app: pair TEG Companion from Setup > Phones (QR or code) to work the practice from your phone - the day's sessions (time, clinician, attendance, status), booking, cancelling and completing sessions, and recording payments. Built to the minimal-detail privacy profile: clients appear by name and reference only, contact details only when it is safe to contact them, and progress notes, psychotherapy notes, consents and everything clinical never reach the phone.

= 1.6.0 =
* Clients sign in to the portal with a one-time link instead of a private link that never expires: they type the e-mail address the practice holds for them, and a link that works once, for 15 minutes, signs them in. There is no password. The page gives the same answer whether or not the address is a client's, so it cannot be used to find out who is being seen here.
* Where two clients share an address, each gets a separate link that opens only their own page, and the e-mails name nobody. A client marked "not safe to contact" is never sent a link.
* "Sign out" and "Sign out on every device" in the portal; a sign-in lasts 12 hours (both times are settings).
* New screen: TEG-THERAPIST > Portal sign-in. Old private links keep working for now (on for existing practices); switch them off there with one click - an old link then shows the sign-in form. Also: sign everybody out, and the recent sign-in activity from the audit trail. E-mail addresses are never written to the log.

= 1.5.0 =
* Admin menu grouped by job with bold headings.

= 1.4.3 =
* The license server moved to wildwebwizards.com (licenses, trials and site checks now go to https://wildwebwizards.com/cgi-bin/postlicense.py). Nothing changes for your license.

= 1.4.2 =
* The admin menu now reads TEG-THERAPIST, like the other TEG shops.

= 1.4.1 =
* Fixed: a client's insurance coverage list was never saved. The client_payers table could not be created on MySQL or MariaDB because one of its columns ("rank", the priority order of primary/secondary/tertiary coverage) is a reserved word; the update creates it. Reload the sample clients or add coverage under a client's Insurance tab.

= 1.4.0 =
* "What's new": the practice screens show what changed once per staff member per version, then a small "What's new" button on the Dashboard reopens the same notes in a dialog. (This shop has no shared demo login, so unlike some of the other Eldest Geek shops there is nothing per-browser to track here.)

= 1.3.2 =
* License check-in is more patient with a slow or blocked connection: a failed check is remembered for a few minutes instead of trying again on every page, and the License panel now shows the actual connection error instead of guessing it is your internet. A license still awaiting its first check-in is now labeled AWAITING VALIDATION rather than REVOKED. Entering a license code checks in right away and says how it went.

= 1.3.1 =
* American English throughout: every screen, e-mail, printout and help text now uses American spelling (labor, color, license, canceled, catalog, authorize and the rest). Nothing you have saved changes - settings, records and translations carry over as they are.

= 1.3.0 =
* Licenses are now tied to your site. When you enter a paid code it checks in with the license server once and binds to this site's address; after that it keeps working normally even if the server is unreachable. Your data is never locked away - everything stays readable at all times.
* A brand-new install (or a copy placed on a different web address) that has a paid code but has never checked in stays in read-only mode for the paid features until it can reach the license server once. The License panel says so and "Re-check" completes it. Practices that were already licensed and running are carried over automatically on update - nothing to do.
* The trial is unchanged: it still works fully offline for 30 days from the first run.
* The value features now pause together when a license is not active: business/CSV report exports and taking a new backup. Reading, viewing and exporting your own data for portability - and the public inquiry form - are always allowed.
* The License panel shows when a license is in use on more sites than it was sold for.

= 1.2.0 =
* Choose the payment methods you accept - Zelle, PayPal, Venmo, credit card, check and cash - under Settings > Insurance and money, each with a line of details (your Zelle address, who checks are payable to). Card, check and cash are ticked to start with, so nothing changes until you choose more.
* Clients now see "Ways to pay" - each method with your details - on their statement and in the portal while they owe something. Every charge keeps the methods it offered, and staff can untick one on any charge.
* A new printable client statement: what the client owes, the payments received and the ways to pay, with no codes, diagnosis or notes on it.
* Recording a payment now has a Note field for the practice and an "E-mail the client a receipt" box, unticked by default. The receipt is short and discreet, and it is only sent to a client who has agreed to be e-mailed.
* Each client's Money tab lists the payments received with who recorded each one and when; the statement and the portal show the date, method and amount only.
* HSA / FSA card, insurance payments and bank transfers can still be recorded, and are never offered to a client.
* Restoring a backup works again. Every backup's header was misread (the settings saved inside it confused the reader), so every restore was refused as "never finished"; the backups themselves were complete and restore normally now.

= 1.1.0 =
* The license now counts: once the 30-day trial has ended without a license, or if a license is revoked, adding and changing records pauses. Everything already recorded stays readable and can be exported, customers can still book and use their portal, and entering a license carries on where you left off. A banner on every screen says so before anybody fills in a form.
* The 30-day trial now ships inside the plugin, so it starts the first time the plugin runs with nothing to sign up for.

= 1.0.2 =
* A license that has been revoked (after a refund, for example) no longer receives updates, lifetime licenses included. If the license server cannot be reached, updates carry on as before.
* CSV imports and exports no longer write a deprecation warning to the debug log on PHP 8.4.

= 1.0.1 =
* Translations now load at the point WordPress 6.7 expects, which removes the "translation loading was triggered too early" notice that filled the debug log on every request.
* Updates now follow the license: a license buys every version published while it was valid. Lifetime installs anything, a current license installs anything, and an expired one keeps every version released before its expiry date. The plugin keeps working either way.

= 1.0.0 =
* First release: the diary and standing slots, clients, progress notes kept apart from psychotherapy notes, treatment plans, outcome measures, risk records, consents and releases, insurance and claims, sliding-scale fees, groups, telehealth licensure checks, the client portal and reports.
* Self-hosted updates through Dashboard > Updates with checksum verification, and backup and restore under Settings > Backup.
