Every call screens the draft and returns its
status and screeningAlerts. See Screening.
Example
Choosing the drug
Identify the treatment by exactly one ofid, rxNormId, ndc, upc or name, or start from a templateId, which fills in the drug, sig and dispense. An id resolves exactly. A name that fits several products comes back as an AMBIGUOUS change whose options are the candidate drugs. Resend with the chosen option’s value (a treatment.id). See Changes and choices.
Syncing without a patient is a safe lookup that never creates anything. Use it to resolve the drug before you draft.
Signing
Signing is the prescriber’s approval of exactly what they reviewed:- Every response includes
signing.contentHash, a hash of the prescription’s current clinical content. - Show the prescriber the prescription and its screening alerts.
- Send that hash back as
signing.signedHash, and send no other changes in the same call.
INVALIDATED_SIGN. Show the prescriber the new content and sign again.
Only a prescriber’s user token can sign. A machine token gets an
UnauthorizedError. Most integrations let Prescribe do the signing.Fields
Full selection set
Full selection set