Testing with XML Examples - After clicking one of the XML example links, be sure that you View Source on the browser pop up window and copy and paste the xml from the View Source (Notepad) where appropriate for testing.
logoutPage - This element in the Destination section allows you to pass a URL where users should be redirected to after finishing activity in Ensora eRx. In some instances, it may be necessary to include a query string in this URL; however, ?, &, and = characters are not allowed in the logoutPage element. You will instead need to substitute the following characters:
    Use # instead of ?
    Use @ instead of =
    Use _ instead of &
Overriding a pharmacy fax number - When passing a NewPrescription, or NewPrescriptionWithImages element to Ensora eRx, prefix the pharmacistMessage element value with FXO: followed immediately by a 10 digit fax number. For example, to override a pharmacy's fax number, pass:
    <pharmacistMessage>FXO:1235551212...message to pharmacist...</pharmacistMessage>
ID is your internal UNIQUE identifer for the given object in your database
Credentials - partnerName/name/password/product/version: assigned by Ensora eRx - we use this to identify each of our business partners
UserRole - user: identifies who wrote the prescription - either LicensedPrescriber or Staff,  role: use doctor
AccountaccountName: your name of the account, siteID: your unique customer ID - we use siteID and accountName to uniquely identify the souce of the prescription
Location - identifies the specific office that wrote the prescription
LicensedPrescriber - identifies the person that has credentials to prescribe medications
Staff - optional - person who wrote the prescription on behalf of a LicensedPrescriber

Click-through For Various Roles
As a Doctor Used to access Ensora eRx as a Doctor
As a Staff Used to access Ensora eRx as a nurse (licensed prescriber will be selected in Ensora eRx)
As a Supervising Doctor Used to access Ensora eRx as the supervising doctor for mid level users (nurse practitioners and physician assistants)
As a Mid Level Used to access Ensora eRx as a mid level user (nurse practitioners and physician assistants that require supervision to prescribe. The supervising doctor will be selected in Ensora eRx.)
As a Doctor with Staff Used to access Ensora eRx as a licensed prescriber with a nurse
As a Staff with Doctor Used to access Ensora eRx as a nurse (RN, LVN) with a doctor
As a Mid Level with Supervising Doctor Used to access Ensora eRx as a mid level user with the supervising doctor.
As a Manager Used to access Ensora eRx as an office manager.
As an Admin Used to access Ensora eRx as an Admin (Front Office Staff-No prescribing privileges). Admins are sent either to the Ensora eRx MedEntry page (used for entering meds the patient is already on), or the Admin page (used for configuring practice features; MedEntry page can be accessed from the Admin page).
Click-through Standard
Compose Rx Used to get to the Ensora eRx ComposeRx page for Rx writing
Status no patient Used to get to the Ensora eRx Status page to perform a variety of functions. Since there is no patient in this click through XML, users will only be able to view pending meds, pending e-renewals, and retransmit failed Rxs.
Status with patient Used to get to the Ensora eRx Status page to perform a variety of functions. Since there is a patient in this click through XML, users will be able to process pending meds, and pending e-renewals for the given patient, and retransmit failed Rxs for any patient.
Rx Detail Used to get to the Ensora eRx RxDetail page (allows checking of SIG history, Rx transmission status, and retransmission of failed faxes or failed eRxs)
Patient Detail Used to get to the Ensora eRx PatientDetail page where users can select health plans to drive formulary checking, and setup the patient's pharmacy favorites.
Process Renewal Request - No Interactions Checking Used to go to Ensora eRx and process an e-renewal request. No patient allergies, medications, or diseases are sent, thus the renewal request drug is not checked for interactions.
Process Renewal Request - Interactions Checking Used to go to Ensora eRx and process an e-renewal request. Patient allergies, medications, and diseases are sent, thus the renewal request drug is checked for interactions.
Process Renewal Request - Nurse Role Used to go to Ensora eRx and process an e-renewal request as a Nurse (doctor's info is required). No patient allergies, medications, or diseases are sent, thus the renewal request drug is not checked for interactions.
Dose Checking Used to get to the Ensora eRx dose checking page (allows checking of dosage based on patient age and weight)
EPCS Used to get to the Ensora eRx ComposeRx page for writing and transmitting a controlled substance prescription electronically
Click-through Standard with Optional Elements
Load Patient's Current Medications (Codified) Used to upload a patient's codified (i.e. FirstDataBank, RxNorm, Multum, etc.) current medications to Ensora eRx. This is an example of the first time 3 medications are uploaded to Ensora eRx. Refer to your implementation manager for examples of subsequent uploads of the same 3 current medications.
Load Patient's Current Medications (Codified and Unmapped) Used to upload a patient's codified (i.e. FirstDataBank, RxNorm, Multum, etc.) and uncodified (free text entered medications that may have a codified equivalent) current medications to Ensora eRx.
Load Patient's Pending or Current Medications (Codified) Used to upload a patient's codified (i.e. FirstDataBank, RxNorm, Multum, etc.) current and/or pending medications to Ensora eRx.
Loading an Order - Medical Supply or Experimental Drug Used to upload orders (free text entered medications, medical supplies, and experimental drugs that do not have codified equivalents in FirstDataBank, RxNorm, Multum, etc.) into the patient's current medications list.
Load Patient's Unmapped Medications Used to upload uncodified meds (free text entered medications that may have a codified equivalent in FirstDataBank, RxNorm, Multum, etc.) to the Ensora eRx Imported Rx/"Penalty Box" so that they can be mapped to a codified index by a user and checked for interactions.
Clear\Discontinue All Current Medications For a Patient Used to clear the current medications list for the patient.
Patient Diagnosis Used to upload patient diagnoses to Ensora eRx
Codified Allergies Used to upload patient codified allergies to Ensora eRx.
Free-form Allergies Used to upload free-form codified allergies to Ensora eRx.
Non-Drug\Non-Codified Allergies Used to upload free-form allergies to Ensora eRx.
Codified Health Plans Used to upload codified health plans to Ensora eRx.
Freeform Health Plans Used to upload free-form health plans to Ensora eRx.
Codified SIG Used to upload a script with a codified SIG to Ensora eRx.
DrugSet with Codified SIG Use to upload a drug set with a codified SIG along with a patient that references the drug set.
DrugSet with free-form SIG Use to upload a drug set with a free-form SIG along with a patient that references the drug set.
Subscription Renewal Use to renew Ensora eRx e-Prescribing services after your trial period has ended.
Patient Pharmacies Use to upload up to 5 most commonly used pharmacies for a patient for prescribing purposes.
Surescripts Drug History Use to view Pharmacy Benefit Management drug history for a test patient.
Click-through to EPCS
Using FirstDataBank drug(s) Use to send prescriptions to Ensora eRx, including scheduled drugs for electronic transmission.
Using Multum drug(s) Use to send prescriptions to Ensora eRx, including scheduled drugs for electronic transmission.
EPCS Administration Use to set-up users to EPCS, view audit logs, generate prescriber reports, and setup location pharmacy favorites
Click-through to Route Rx
Using FirstDataBank drug(s)
Using FirstDataBank Schedule Drug
Using RxNorm drug(s)
Using Unmapped Drug(s) Option 1
Using Unmapped Drug(s) Option 2
Using Unmapped Drug(s) Option 3
With a Pharmacy
With Multiple Pharmacies
Using Unmapped Drug(s) Option 1 (CDATA Section)
XML Samples For Use With Web Services
Register Licensed Prescriber
Register MidLevel Prescriber
Inactivate Registered Licensed Prescriber
Create Renewal Request With FirstDataBank Drug
Create Renewal Request With No NDC
New Rx With FirstDataBank Drug
New Rx With RxNorm Drug
New Rx With Unmapped Drug Option 1
New Rx With Unmapped Drug Option 2
New Rx With Unmapped Drug Option 3
Renewal Response (Accept)
Renewal Response (Deny)
Renewal Response (Unable to process)