> For the complete documentation index, see [llms.txt](https://docs.mdintegrations.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mdintegrations.com/public/how-it-works.md).

# How It Works

MD Integrations connects your storefront to a physician network. Eligible purchases receive clinical oversight without adding clinical work to your team.

## The patient journey

{% stepper %}
{% step %}

### Patient checkout

The patient discovers and purchases a product or plan on your storefront. This can be Shopify, WooCommerce, or a custom site.
{% endstep %}

{% step %}

### Patient completes intake

Before or after checkout, the patient completes an intake form. The form collects health history, symptoms, and treatment goals.
{% endstep %}

{% step %}

### MDI creates the clinical record

MDI creates a patient record and opens an encounter. The encounter contains the case for physician review.
{% endstep %}

{% step %}

### Physician reviews the encounter

A licensed, board-certified physician reviews the encounter and intake information. The physician approves the treatment plan, requests more information, or declines treatment.
{% endstep %}

{% step %}

### Prescription routes to the pharmacy

For approved treatment, the prescription routes to a pharmacy for fulfillment.
{% endstep %}

{% step %}

### Pharmacy fulfills the order

The pharmacy prepares the order and ships it to the patient's address.
{% endstep %}

{% step %}

### Patient receives medication

The patient receives the medication at their address.
{% endstep %}

{% step %}

### Refills and follow-ups continue

Patients return through the same flow for refills or follow-up care. Your brand remains their experience throughout.
{% endstep %}
{% endstepper %}

## Why it matters

From your patient's perspective, this all happens inside your product, under your brand. From your team's perspective, MDI is handling licensing, physician staffing, compliance, and pharmacy logistics behind the scenes. You focus on your product and your customers; MDI focuses on the medicine.

The exact mechanics of intake, physician review, and fulfillment differ slightly depending on which integration path you choose, but the core loop above stays the same across every one of them.

Ready to bring this to your storefront? Head to [Become a Partner](https://docs.mdintegrations.com/public/become-a-partner.md) to begin registering.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mdintegrations.com/public/how-it-works.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
