@photonhealth/elements, with <photon-client> and <photon-prescribe-workflow>). It covers the same prescribing workflow, runs on the Network API, and lets the patient choose their pharmacy by default.
Most migrations change one component. Patients you synced before keep their pat_… ids.
1. Choose how to add Prescribe
2. Replace the client
The iframe takes no client at all. It signs the prescriber in to Photon itself.
3. Replace the workflow
<photon-prescribe-workflow> becomes <PhotonOrder>. In an iframe, it becomes /order/embed.
Events
Prescribe events pass the live object:
order.id and order.state. They don’t pass a raw GraphQL payload. For what happens after sending, use webhooks. They haven’t changed.
4. Replace deep links
⚠️
rx.neutron.health isn’t live yet.
Not in Prescribe yet
These Elements features don’t have a Prescribe equivalent yet. If you rely on one, talk to your Photon contact before you migrate.- Prescriber-chosen pharmacy in the UI:
enable-local-pickup,enable-delivery-pharmaciesandmail-order-ids. Your backend can still set the pharmacy on a draft order. - Catalog limits:
disable-listandallow-off-catalog-search - Coverage checks:
enable-coverage-check. Benefits are coming to Prescribe as pharmacy offers. - Patient context in the workflow:
weight,weight-unit,address, and thesupervisorfor an order additional-notes,hide-templatesandhide-submit- Recent prescriptions:
<photon-med-history>,enable-med-history*andenable-combine-and-duplicate - Opening a patient by your own external id