=== FormIQ AI Intake Forms === Contributors: gandatechservices, ashishgurprit Tags: intake forms, allied health, AHPRA, AI forms, patient intake, physiotherapy, psychology, occupational therapy Requires at least: 6.4 Tested up to: 6.9 Requires PHP: 8.1 Stable tag: 1.3.0 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html AHPRA-compliant patient intake forms for allied health, generated by AI in under 60 seconds. Free to start. == Description == **Stop spending hours building intake forms. FormIQ generates a complete, AHPRA-compliant patient intake form for your specialty in under 60 seconds.** Allied health practitioners across Australia spend 3–5 hours a week manually building, updating, and maintaining patient intake forms. FormIQ eliminates that entirely. Tell it your specialty — psychology, physiotherapy, occupational therapy, speech pathology, dietetics, social work — and it returns a complete, ready-to-use intake form that meets Australian privacy and AHPRA documentation standards. = What FormIQ does = FormIQ connects your WordPress site to an AI form-generation engine purpose-built for allied health. You select your specialty, add any custom instructions (e.g. "include a K10 scale" or "add Medicare and DVA number fields"), and the AI builds your form in under 60 seconds. Every generated form includes: * Structured patient demographic sections * Presenting concern and history fields appropriate to your specialty * Consent and privacy notice aligned with Australian Privacy Principles * AHPRA compliance flag — so you know before you publish = Who it's for = * Psychologists and counsellors * Physiotherapists and sports physios * Occupational therapists * Speech pathologists * Dietitians and nutritionists * Social workers * Any allied health practitioner registered under AHPRA = How it works = 1. Install and activate FormIQ 2. Go to **FormIQ → Forms** in your WordPress admin 3. Select your specialty and add any custom instructions 4. Click **Generate My Form** — your form is ready in under 60 seconds 5. Review the AHPRA compliance flag and publish to your site = Forms built for your specialty = FormIQ isn't a generic form builder. It knows the difference between a psychology intake and a physiotherapy intake. Each form is generated from a model that understands the specific information requirements, clinical screening tools, and consent language relevant to each allied health discipline. = Compliance = All generated forms include a compliance check against Australian Privacy Principle 3 (collection of solicited personal information) and AHPRA's patient record guidelines. Forms that pass the check are flagged **AHPRA ✓**. Forms that require review are flagged accordingly, with notes on what to check. **Note**: FormIQ assists with form structure and compliance guidance. It does not replace legal or clinical advice. Always review generated forms before use in your practice. = Privacy = FormIQ sends form generation requests (specialty + custom instructions) to the FormIQ API hosted on Google Cloud (australia-southeast1 region). No patient data is ever sent to the API. Full privacy policy: https://formiq.cchk.info/privacy = Pro Plan = The free plan includes form generation for all allied health specialties. The Pro plan adds: * Unlimited form generation * Priority AI processing * Bulk export (PDF, JSON) * White-label form headers * Dedicated support Upgrade at https://formiq.cchk.info/pricing == Installation == 1. Upload the `formiq-ai-intake-forms` folder to `/wp-content/plugins/` 2. Activate the plugin through the **Plugins** menu in WordPress 3. Navigate to **FormIQ** in your admin sidebar 4. Your first form is free — no API key required to start == Frequently Asked Questions == = Is FormIQ free? = Yes — form generation for all allied health specialties is free to start. The Pro plan adds unlimited generation, bulk export, and priority processing. = Are the forms actually AHPRA-compliant? = FormIQ checks each generated form against AHPRA documentation guidelines and Australian Privacy Principles. Forms that pass are flagged **AHPRA ✓**. Forms that need review are flagged with specific notes. You should always review forms before using them in your practice. = Which specialties are supported? = Psychology, physiotherapy, occupational therapy, speech pathology, dietetics & nutrition, social work, and general allied health. = Can I customise the generated form? = Yes. Use the Custom Instructions field when generating — for example: "include a K10 psychological distress scale", "add Medicare and DVA fields", "use plain-English headings". The AI incorporates your instructions into the form. = Where is my data processed? = Form generation requests are processed by the FormIQ API hosted on Google Cloud in the australia-southeast1 region (Sydney). No patient data is ever sent to the API. = Does it work with page builders? = FormIQ generates form schemas that can be previewed inside WordPress admin. Export and page builder integration (Elementor, Divi, WPForms) is on the Pro roadmap. = I found a bug or have a feature request = Open an issue at https://formiq.cchk.info/support or email support@g-t-s.com.au == Screenshots == 1. Dashboard — see your plan, generated forms, and quick-start callout 2. Generate Form — select specialty and add custom instructions 3. Form Preview — review AHPRA compliance flag and all generated fields 4. AHPRA compliance badge on a completed psychology intake form == Source Code == The compiled JavaScript in `build/formiq.js` is produced from human-readable React/TypeScript source files. All source files are included in this plugin zip: * `src/` — React/TypeScript source components * `vite.config.ts` — Vite build configuration * `tsconfig.json` — TypeScript configuration * `package.json` — npm dependencies and build scripts To build from source: 1. Install Node.js 18+ and npm 2. `pnpm install` 3. `pnpm run build` This produces `build/formiq.js` and `build/formiq.css` using Vite. == Changelog == = 1.3.0 = * Branded form preview with practice name, practitioner, AHPRA registration, and region. * Type-aware rendering for all 9 question types: short text, paragraph, single choice, multiple choice, dropdown, scale, date, consent checkbox, and signature. * Australian Privacy Act 1988 compliance: APP 5 collection notice and APP 7 granular per-statement checkbox consent. * Typed-name signature field as the final question of every generated form. * Fail-safe AHPRA compliance verification: parse failures now flag the form for manual review rather than defaulting to "compliant". * Shared canonical form schema with the FormIQ Wix and self-hosted apps — same UX everywhere. = 1.2.0 = * Security: Upgraded API key storage from AES-256-CBC to AES-256-GCM (authenticated encryption) * Security: Added SSRF protection on admin-configurable API URL (blocks RFC 1918, loopback, metadata IPs) * Security: Disabled HTTP redirect following in API client to prevent redirect-based SSRF * Security: Added per-user rate limiting on form generation (10 requests/minute) * Security: capped customInstructions at 1000 characters with sanitisation * Security: Generic error messages returned to clients (raw upstream errors logged server-side only) = 1.1.4 = * Improved AHPRA compliance detection accuracy * Added DVA and Medicare field support in custom instructions * UI copy improvements = 1.1.0 = * Added job-based async generation with real-time progress * Added AHPRA compliance flag and compliance notes * Added form preview with field-level rendering = 1.0.0 = * Initial release — AI form generation for 7 allied health specialties == Upgrade Notice == = 1.3.0 = Feature update — generated forms now render with branded headers, granular per-statement consent (Privacy Act APP 7), and a typed-name signature field. Compatible with all existing forms. = 1.2.0 = Security update — recommended for all users. Upgrades API key storage to AES-256-GCM and adds SSRF protection and rate limiting. = 1.1.4 = Recommended update — improved compliance detection and Medicare/DVA field support.