> ## Documentation Index
> Fetch the complete documentation index at: https://photonhealth.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Prescribe

> How prescribing works in Photon, and where prescribers do it: the Prescribe app or your product.

Prescribe is Photon's prescribing UI. It runs the prescriber's whole workflow, and it's the only place a prescription gets signed.

## How prescribing works

Every prescription follows the same steps, however you integrate:

<Steps>
  <Step title="Intake patient">
    Find the patient, or add them. Photon matches what you pass to an existing record before it creates a new one.
  </Step>

  <Step title="Draft prescription">
    Each drug becomes a draft with its sig and quantity. Photon screens it against the patient's allergies, medications and conditions, and checks it against their benefits, as it's written.
  </Step>

  <Step title="Sign prescription">
    The prescriber reviews the draft and signs it. Repeat for each prescription on the order.
  </Step>

  <Step title="Send order">
    The signed prescriptions go out together as one order. Choosing a pharmacy now is optional.
  </Step>

  <Step title="Shop order">
    Compare prices for the whole order across pharmacies. By default, Photon texts the patient a link to shop.
  </Step>

  <Step title="Fulfill order">
    Route the order to the chosen pharmacy. Nothing is routed until a pharmacy is chosen.
  </Step>
</Steps>

Anyone can draft, but only a signed-in prescriber can sign. See [Architecture](/docs/architecture) for the records behind these steps.

## Who drafts

The prescriber always signs and sends in Prescribe. What changes between integrations is who does the drafting:

| Drafting | The prescriber | Guide |
| - | - | - |
| The prescriber, from scratch | Writes, signs and sends | [Prescribe embed](/docs/integrations/prescribe-embed) |
| The prescriber, on a patient your backend keeps current | Writes, signs and sends, with screening that sees the full history | [Sync patients](/docs/integrations/sync-patients) |
| Your backend, from templates and your rules | Reviews, signs and sends | [One-click orders](/docs/integrations/one-click-orders) |
| An agent, over MCP | Reviews, signs and sends | [Agent-drafted orders](/docs/integrations/agent-drafted-orders) |

The more your product drafts, the less the prescriber types. See [Choose an integration](/docs/integrations/overview).

## Where the prescriber works

<CardGroup cols={2}>
  <Card title="App" icon="browser" href="/docs/prescribe/app">
    Photon's own web app. Sign in and prescribe, or follow a deep link from your product, an email or a text.
  </Card>

  <Card title="Embed" icon="code" href="/docs/prescribe/embed">
    Inside your product, with React components, an iframe or the JavaScript client.
  </Card>
</CardGroup>

Both run the same workflow on the same records, so a draft started in one opens in the other. Start with the app to see the workflow, then embed it when you're ready.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.