XML Usage notes:
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 NewCrop. 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
NewCrop, 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 NewCrop - we use this to identify each of our business partners
UserRole - user: identifies
who wrote the prescription - either LicensedPrescriber or Staff, role:
use doctor
Account - accountName:
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