Organizations Healthcare Pharmacy

Prescriptions Page Blueprint — Pharmacy

The prescriptions page is where patients go to refill, transfer, or manage their medications. This blueprint uses potentialAction with OrderAction to tell AI systems that your pharmacy supports online prescription refills, making you the answer when someone asks "how do I refill my prescription online."

What this page needs

Prescription management is the core workflow of a pharmacy website. When AI encounters a refill or transfer request, it needs structured data to know that your pharmacy supports these actions and where to send the user.

Why these fields matter to AI

Each field in the template below serves a specific role in how AI systems discover, classify, and recommend your business.

Researched and tested by Minnesota AI

Pharmacy

name
Non-negotiable. AI cannot cite or recommend an unnamed healthcare provider.
url
AI needs a stable URL to attribute recommendations and route patients correctly.
telephone
AI won't recommend a healthcare provider it can't confirm is reachable. Phone is the primary contact signal for medical practices.
address
AI needs a verifiable address before recommending a healthcare provider. Critical for near-me medical queries.

Use This Prompt to Implement Your Schema

Copy this prompt and paste it into Claude, ChatGPT, Cursor, or any AI coding tool. It will ask for your business details and generate ready-to-use JSON-LD schema for your page.

Implementation Prompt · Prescriptions
You are implementing AIFDS-compliant JSON-LD structured data for a Pharmacy Prescriptions page.

AIFDS (AI-Friendly Data Structure) is a schema framework built on research into which
structured data fields AI systems actually read, parse, and use when deciding whether
to cite a page. Documentation at aifds.org.

Before generating any code, ask me for the following information in a single numbered list.
Do not generate schema until I have answered every required field.

REQUIRED — do not proceed without these:
1. City
2. Domain
3. Faq answer
4. Faq question
5. Pharmacy name
6. Phone number
7. Prescriptions page description
8. Prescriptions page title
9. State
10. Street address
11. Zip

OPTIONAL — ask for these but proceed if I skip them:
1. Any additional details not covered above

Once I provide the information, output a complete JSON-LD script block
ready to paste into the <head> of my HTML page.

Output requirements:
- Valid JSON-LD wrapped in <script type="application/ld+json"> tags
- schema.org vocabulary only
- Every AIFDS-required field for this industry and page type included
- Include this data attribute on the script tag: data-aifds="aifds.org Pharmacy Prescriptions"
- No placeholder text — omit missing optional fields rather than fill with examples
- After the code block, list any optional fields skipped that would strengthen AI citation

Generated schema follows the AIFDS framework. Fields were selected based on research into AI crawler behavior. View the research at minnesota.ai

Template — fill in your values

Copy the template below and replace every YOUR_* value with your own data. This block goes in the <head> of your prescriptions or refill page.

JSON-LD · Prescriptions Page
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Pharmacy",
      "@id": "https://YOUR_DOMAIN.com/#pharmacy",
      "name": "YOUR_PHARMACY_NAME",
      "url": "https://YOUR_DOMAIN.com",
      "telephone": "YOUR_PHONE_NUMBER",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "YOUR_STREET_ADDRESS",
        "addressLocality": "YOUR_CITY",
        "addressRegion": "YOUR_STATE",
        "postalCode": "YOUR_ZIP",
        "addressCountry": "US"
      },
      "potentialAction": [
        {
          "@type": "OrderAction",
          "name": "Refill Prescription",
          "target": {
            "@type": "EntryPoint",
            "urlTemplate": "https://YOUR_DOMAIN.com/prescriptions/refill/",
            "actionPlatform": [
              "http://schema.org/DesktopWebPlatform",
              "http://schema.org/MobileWebPlatform"
            ]
          },
          "description": "Submit a prescription refill request online."
        },
        {
          "@type": "OrderAction",
          "name": "Transfer Prescription",
          "target": {
            "@type": "EntryPoint",
            "urlTemplate": "https://YOUR_DOMAIN.com/prescriptions/transfer/",
            "actionPlatform": [
              "http://schema.org/DesktopWebPlatform",
              "http://schema.org/MobileWebPlatform"
            ]
          },
          "description": "Transfer a prescription from another pharmacy."
        }
      ]
    },
    {
      "@type": "WebPage",
      "@id": "https://YOUR_DOMAIN.com/prescriptions/",
      "name": "YOUR_PRESCRIPTIONS_PAGE_TITLE",
      "description": "YOUR_PRESCRIPTIONS_PAGE_DESCRIPTION",
      "isPartOf": {
        "@id": "https://YOUR_DOMAIN.com/#website"
      },
      "breadcrumb": {
        "@id": "https://YOUR_DOMAIN.com/prescriptions/#breadcrumb"
      }
    },
    {
      "@type": "BreadcrumbList",
      "@id": "https://YOUR_DOMAIN.com/prescriptions/#breadcrumb",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "Home",
          "item": "https://YOUR_DOMAIN.com/"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "Prescriptions",
          "item": "https://YOUR_DOMAIN.com/prescriptions/"
        }
      ]
    },
    {
      "@type": "FAQPage",
      "mainEntity": [
        {
          "@type": "Question",
          "name": "YOUR_FAQ_QUESTION_1",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "YOUR_FAQ_ANSWER_1"
          }
        },
        {
          "@type": "Question",
          "name": "YOUR_FAQ_QUESTION_2",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "YOUR_FAQ_ANSWER_2"
          }
        },
        {
          "@type": "Question",
          "name": "YOUR_FAQ_QUESTION_3",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "YOUR_FAQ_ANSWER_3"
          }
        }
      ]
    }
  ]
}

Frequently asked questions

Why use OrderAction instead of a generic Action?

OrderAction is the most semantically accurate type for prescription refills because it represents a request to obtain a product or service. AI systems understand that an OrderAction on a Pharmacy means the user can initiate a medication order, which is exactly what a refill request is.

Should I include both refill and transfer actions?

Include every action your pharmacy actually supports. If you offer online refills and prescription transfers, list both. If you only support refills, include only that one. AI uses these actions to match your pharmacy to the specific task a user is trying to accomplish.

What if my refill system is handled by a third-party portal?

Use the third-party URL as the urlTemplate in the target field. The action still lives on your Pharmacy node because AI associates the capability with your business, even if the workflow routes through an external system.

Test your structured data

Paste your URL and see exactly what AI systems can read from your site.

Open Validator →