=== Dauermedikation Rezeptanfrage ===
Contributors: meinrezept
Tags: shortcode, block, embed, iframe, form
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed the MeinRezept practice form on your WordPress site with a shortcode or a block.

== Description ==

Add your practice’s MeinRezept prescription form to WordPress. Configure the practice once in the settings, then place the form with a shortcode or a Gutenberg block.

= Features =

* Settings page: country, practice slug, form style, background, iframe height and width
* Shortcode `[rezeptanfrage]` – no attributes; uses your saved settings
* Gutenberg block “Rezeptanfrage” in the MeinRezept category
* Embed URL is built for you (no free-form iframe URLs)
* Admin connection test (checks whether the form URL responds)

= External service =

This plugin loads the form from **MeinRezept**. The address depends on the country selected in the settings. When someone opens a page with the shortcode or block, their browser connects to that service. The admin connection test may also request the form URL from your WordPress server.

Privacy / legal information: [mein-rezept.at/impressum-datenschutz](https://www.mein-rezept.at/impressum-datenschutz)

The plugin does not store patient form data in WordPress.

= Notes =

Works on normal posts and pages. No page builder required. Some security plugins or themes block iframes; in that case the form may not appear.

== Installation ==

1. Install and activate the plugin (or upload the `dauermedikation-rezeptanfrage` folder to `wp-content/plugins/`).
2. Open **Settings → MeinRezept** and save country and practice slug.
3. Add your WordPress domain under Integration → Allowed domains in the MeinRezept practice dashboard.
4. Add `[rezeptanfrage]` or the Rezeptanfrage block to a page or post.

Requires WordPress 5.8+ and PHP 7.4+.

== Frequently Asked Questions ==

= Do I need a page builder? =

No. The shortcode and the block work in the standard editor.

= Where is the block? =

In the block inserter, category **MeinRezept**, block **Rezeptanfrage** (or search for “Rezeptanfrage” or “MeinRezept”).

= Does the connection test prove my domain is allowed? =

No. It only checks that the form URL is reachable. Domain allowlisting is done in the MeinRezept dashboard (Integration → Allowed domains).

= Does WordPress store patient data? =

No. Only your settings are stored (country, slug, style, background).

== Screenshots ==

1. Settings: country, practice slug, form style, background, height and width
2. Connection test and how to embed the form
3. Rezeptanfrage block in the editor

== Privacy ==

* The form is loaded from MeinRezept when the shortcode or block is used. The address depends on the selected country.
* The connection test may contact the same host from your server.
* No analytics or ads are added by this plugin.
* No patient submissions are stored in WordPress.
* Service privacy details: [mein-rezept.at/impressum-datenschutz](https://www.mein-rezept.at/impressum-datenschutz)

== Changelog ==

= 1.0.0 =
* First release: settings, shortcode, block, style/background options, connection test

== Upgrade Notice ==

= 1.0.0 =
First release.
