Choose how
All of them show the same cards and follow the same rules. To start with a complete example, follow Prescribe embed.
The cards
Giving it records
Each card takes its records (patient, prescription, order) the same way, and so do the iframe and deep links. Pass whatever you have:
These are the same get, sync and update calls the API uses, with the same field names. An order can also take prescriptions, either drafts by id (
{ id: "rx_…" }) or new ones from a template ({ templateId }).
Environments
Embedded Prescribe runs againsthttps://rx.neutron.health in the sandbox and https://rx.new in production. ⚠️ The sandbox isn’t live yet. The React components and the JavaScript client choose one with environment. See Environments.
Make it yours
Styling
Make the React components look like the rest of your app.
Migrate from Elements
Using
<photon-prescribe-workflow>? Move to Prescribe.