Professional Documents
Culture Documents
InstallationAndConfigurationGuide 18.4CU2 Eprescribing PDF
InstallationAndConfigurationGuide 18.4CU2 Eprescribing PDF
4 Cumulative Update 2
The Documentation Center of Excellence welcomes your opinion regarding this document. Please email your comments and
suggestions to userdoc@allscripts.com.
Proprietary Notice
© 2019 Allscripts Healthcare, LLC and/or its affiliates. All Rights Reserved.
This document contains confidential and proprietary information protected by trade secret and copyright law. This document, the
information in this document, and all rights thereto are the sole and exclusive property of Allscripts Healthcare, LLC and/or its
affiliates, are intended for use by customers and employees of Allscripts Healthcare, LLC and/or its affiliates and others authorized
in writing by Allscripts Healthcare, LLC and/or its affiliates, and are not to be copied, used, or disclosed to anyone else, in whole
or in part, without the express written permission of Allscripts Healthcare, LLC and/or its affiliates. For authorization from Allscripts
Healthcare, LLC to copy this information, please call Allscripts Global Product Support Services at 888 GET-HELP or 888
438-4357. Notice to U.S. Government Users: This is “Commercial Computer Software Documentation” within the meaning of
FAR Part 12.212 (October 1995), DFARS Part 227.7202 (June 1995) and DFARS 252.227-7014 (a) (June 1995). All use,
modification, reproduction, release, performance, display, and disclosure shall be in strict accordance with the license terms of
Allscripts Healthcare, LLC and/or its affiliates. Manufacturer is Allscripts Healthcare, LLC, and/or its affiliates, 222 Merchandise
Mart Plaza, Suite #2024, Chicago, IL 60654 USA.
Contact us.............................................................................................................................37
Index..........................................................................................................................................39
ePrescribing for Prescription Writer is an optional Prescription Writer feature that enables care
providers to electronically exchange prescription data with pharmacies.
ePrescribing Application Server communicates with TxHub, which function as exposed endpoints
to the Internet, using Windows Communication Foundation (WCF) and a server certificate to
provide SQL authentication.
> To learn more about configuring the ePrescribing options in Prescription Writer, see Prescription
Writer Configuration Guide.
> To learn more about using the ePrescribing feature in Prescription Writer and the Inbox, see
the Help available from within Prescription Writer.
™
> Sunrise Clinical Manager, installed in the environment (but not necessarily the same server
as ePrescribing).
™
> Prescription Writer or Sunrise Ambulatory Care.
ePrescribing requires .NET Framework 4.6.2 on the application server. You can install .NET
®
Framework 4.6.2 using Microsoft Update.
Note:
®
You can also download .NET Framework from the Microsoft web site and
install it manually.
®
To ensure Microsoft Server has the latest operating system, software
®
and hardware updates, run Microsoft Update.
1. From the desktop, click Start > All Programs > Windows Update.
a) If using Windows 10 click Start > Settings > Update and Recovery > Windows Update.
Windows Update opens.
2. Click Check for updates.
®
Microsoft Explorer launches and connects to Microsoft Update.
3. Click Express.
Your operating systems checks for available updates for your server.
4. Click Install Updates.
®
Microsoft Update downloads and installs the updates. After the installation completes, you
are asked to restart your computer.
5. Restart the server.
Follow the steps in this section to install and configure a application server for use in your
environment.
If you have already set up the web.config file and you need to change the settings in the file,
you can edit the web.config file using a text editor such as Notepad.
™
After you install the ePrescribing files on the Sunrise Clinical Manager server, client workstations,
and the ePrescribing Application server, you must customize the web.config file to your specific
environment for the pharmacy download process (SXA.Amb.eRXPharmacy.exe) to download
the pharmacy data to your environment.
®
1. Log on to Windows on the ePrescribing web server using your Pharmacy download process
user account.
2. Go to the folder where you installed the ePrescribing files (by default, the location is
C:\Program Files (x86)\Allscripts Sunrise\AppServer\eRx) and a text editing
program to open the web.config.template file.
3. Within the appSettings element, configure the settings as described.
AggregatorRemoteServer
ConnectionString
The ServerName and DatabaseName are located in the DataStore table of your enterprise
server database.
> For the DataSource setting, enter the Sunrise Clinical Manager Server Data Source name.
If you enabled High Availability in your enterprise, enter the name of the availability group
listener.
> For the DatabaseName setting, enter the Clinical Manager Server Initial Catalog value.
DataSource
The name of the server where the Sunrise™ Clinical Manager database resides. If you enabled
High Availability in your enterprise, DataSource is the name of the availability group listener.
Enter the Clinical Manager Server Data Source name. If you enabled High Availability in
your enterprise, enter the name of the availability group listener.
DatabaseName
The name of the database in the connection string. Enter the Clinical Manager Server Initial
Catalog value.
ZipPharmFileName
The name (rxDirectory.zip) of the pharmacy file that is copied from Surescripts®. Do not
change this value.
PharmFilePath
The full path to where the rxDirectory.zip file is downloaded. To download the
rxDirectory.zip file to the same folder as the SXA.Amb.eRXPharmacy.exe file, enter a
single period (.).
ScheduledTaskExecutable
The program name and full path of the executable that is to be scheduled to run. If you are
setting up the pharmacy download process to run automatically, this value is not required. If
you used the default installation path, enter the following:
C:\ProgramFiles(x86)\AllscriptsSunrise\AppServer\eRx\Bin\SXA.Amb.eRXPharmacy.exe
. Do not change the name of the executable file (SXA.Amb.eRXPharmacy.exe).
ScheduledTaskStartHour
The hour (in military time format) when the process starts. If you set up the pharmacy download
process to run automatically, this value is not required. Enter the one- or two-digit starting hour.
ScheduledTaskStartMinute
The minute when the process starts. If you are set up the Pharmacy Download process to run
automatically, this value is not required. Enter the one- or two-digit starting minute.
Email Notification
Determines whether or not an email notification is sent if a pharmacy import fails. The setting
also determines whether or not a notification will be sent if the formuarly import fails. Three keys
must be added to web.config to enable the notification:
> EmailNotificationFromAddress:The address that notifications will be sent from.
> EmailNotificationToAddress: The address that notifications will be sent to. Multiple
addresses can be used, but must be separated by a comma and a space.
> EmailNotification: If set to True, an email notification will be sent. If set to False, no
notification will be sent.
To enable ePrescribing Application Server to communicate with Prescription Writer and the Inbox,
open Sunrise Configuration Tools, set up the ePrescribing application server name in the
environment profile entry.
TxCommonUIPPTPlusURL
Purpose: This key stores the URL to TxHub for showing Prescription Price Transparency (PPT)
and Real Time Benefit Information (RTBI) details using CommonUI.
Valid URL:
> Production environment: https://connectui.pptxhub.allscriptscloud.com
> Testing environment: https://connectui.pptxhubuat.allscriptscloud.com
TxHubPPTPlusURL
Purpose: This key stores the URL to TxHub for PPT and RTBI transactions.
Valid URL:
> Production environment: https://connect.pptxhub.allscriptscloud.com
> Testing environment: https://connect.pptxhubuat.allscriptscloud.com
TxHubPharmacyDownloadURL
Purpose: This key stores the URL to TxHub for PPT and RTBI Pharmacy Download.
Valid URL:
> Production environment: https://connect.pptxhub.allscriptscloud.com
> Testing environment: https://connect.pptxhubuat.allscriptscloud.com
TxHubProviderEnrollmentUrl
Purpose: This key stores the URL for the provider enrollment server.
Valid URL:
> Production environment: https://stscripts.allscripts.com/ProviderService/Enroll.asmx
> Testing environment:
https://webservices.txhubuat.allscriptscloud.com/ProviderService/Enroll.asmx
TxHubRxConnectorUrl
Purpose: This key stores the URL to TxHub for all prescription flows.
Valid URL:
> Production environment: https://connect.rxhub.allscriptscloud.com/HubConnectorRx
> Testing environment:https://connect.rxhubuat.allscriptscloud.com/HubConnectorRx
TxHubTxConnectorUrl
Purpose: This key stores the URL to TxHub for Eligibility, Medication History, MHA and MHR.
Valid URL:
> Production environment: https://connect.txhub.allscriptscloud.com/HubConnector
> Testing environment:https://connect.txhubuat.allscriptscloud.com/HubConnector
TxHubEpaConnectorUrl
Purpose: This key stores the URL to TxHub for ePa related to transactions.
Valid URL:
> Production environment: https://connect.txhub.allscriptscloud.com/HubConnectorEpa
> Testing environment:https://connect.txhubuat.allscriptscloud.com/HubConnectorEpa
TxHubTransactionHubServiceUrl
Purpose: This key stores the URL to TxHub for IR and old versions of TW and HM for their
prescriptions and ePa.
Valid URL:
> Production environment:
https://connect.txhub.allscriptscloud.com/TransactionHubService/TransactionHubService.svc
> Testing
environment:https://connect.txhub.allscriptscloud.com/TransactionHubService/TransactionHubService.svc
a) To add the values, double-click the name of the key listed in step 7.
Update Environment Setting is displayed.
b) In Value, enter the copied value.
c) Click OK.
d) Repeat step 7.a and 7.b for all the above keys.
8. Exit the application when finished.
ePrescribing requires you to download data files from Surescripts for import into the database.
> The Pharmacy data file provides Prescription Writer with information about the pharmacies
registered with the Surescripts Messaging Service.
> The Formulary and benefit data file provides electronic eligibility and formulary checking.
This content can be configured as an automated download and import into the database.
Pharmacy download
The pharmacy download process (SXA.Amb.eRXPharmacy.exe) updates Prescription Writer
®
automatically with information about the pharmacies registered with the Surescripts Messaging
Service. It uses the configuration in the web.config file to connect to Surescripts through TxHub
and copy the pharmacy data from TxHub to your ePrescribing application server.
The pharmacy data is imported into the Sunrise Clinical Manager master active database. The
first time that pharmacy data is imported, it also fills the database with the pharmacy service levels.
The pharmacy data must be downloaded daily to keep the list of pharmacies in Prescription Writer
in sync with the pharmacy data at Surescripts. If the pharmacy data in Prescription Writer is not
current, the following situations occur:
> New pharmacies are not available for selection in Prescription Writer.
> Selecting a pharmacy that is no longer listed as available at Surescripts causes transmission
errors in the Inbox.
Use one of the following methods to schedule the pharmacy data download process to run
automatically:
> Task Scheduler
> The SXA.Amb.eRXPharmacy.Scheduler.exe file
It is possible to configure Prescription Writer to send an email notification if an error occurs during
pharmacy data download. If the web.config file contains the applicable settings, an email
notification is sent to a specified address when an error occurs.
1. On the ePrescribing application server, click Start > Administrative Tools > Task Scheduler.
a) If using Windows 10, click Start > App List > Windows System > Control Panel >
Administrative Tools > Task Scheduler.
2. In the left pane, select Task Scheduler Library.
The scheduled tasks are displayed in the middle pane.
3. In the right pane, click Create Basic Task.
4. Enter a name and description for the new task and click Next.
Task Trigger is displayed.
5. Select Daily, then click Next.
6. Choose a time and frequency for the task, then click Next.
7. Select Start a Program, then click Next.
8. Click Browse.
9. Go to the installation directory\bin directory and select the
SXA.Amb.eRXPharmacy application.
The SXA.Amb.eRXPharmacy application and path are displayed.
10. In Start in (optional), enter the path, without quotation marks, to the Pharmacy Download
Process file.
By default, the path is C:\Program Files(x86)\Allscripts
Sunrise\AppServer\eRx\bin. Click SXA.Amb.eRXPharmacy.
11. Click Next.
12. Click Finish.
The task is created and is listed in the Task Scheduler Library.
1. On the ePrescribing application server, from the Start menu, select Run and browse to the
folder where you installed the ePrescribing files.
C:\Program Files (x86)\Allscripts Sunrise\AppServer\eRx.
2. Browse to the \bin folder where you installed the ePrescribing files.
3. Double-click SXA.Amb.eRXPharmacy.Scheduler.exe.
Note:
When running an eRxPharmacy download, you must use the same Helios
Security Services account user (or a user with all similar rights) as the
user for the Allscripts eRx Message Monitoring service.
By default, the pharmacy download configuration file has entry to support
sites using SSL. If a site is not using SSL in the pharmacy download, it
needs to be updated under the binding section. The configuration file which
can be found in C:\Program Files (x86)\Allscripts
Sunrise\AppServer\eRx\Bin\SXA.Amb.eRXPharmacy.exe.config.
Note:
Implement one deployment method only. If you configure both methods
for your facility, the download and import process fails.
Download Only
This option downloads the formulary file to the default location only, but it does not import it into
the Vocabulary Manager database. This option does not require a Windows SQL Server account
or password.
Import Only
This option imports an existing formulary file from the default location to the Vocabulary Manager
database; it does not download a new formulary file. It could be used to re-initiate the import
process if the previous import attempt had failed, but the download was successful, or if you
want to perform the download and import at different times. This option requires a Windows
SQL Server account or password.
This option performs the download of the latest formulary file, followed automatically by an
import. It requires a Windows SQL Server account or password
If no parameters are specified, downloads the most recent formulary file to the default location,
then imports it.
Download Only
If the "/download" command-line parameter is specified, downloads the formulary file to the
default location only, but does not import it.
Import Only
If the "/import" command-line parameter is specified, imports an existing formulary file from
the default location to the database, but does not download a new formulary file. This option
could be used to re-initiate the import process if a previous import attempt had failed (provided
that the download was successful) or if you want to perform the download and import at different
times.
Edit web.config
The web.config file contains the settings for configuring the formulary download and import
process.
The following table lists the web.config keys that you must configure for the formulary download
and import process.
Key Purpose Valid entry
EmailNotification Determines if email notification is Enter True to activate email
activated. The key also determines notification. Enter False to
if email notification is activated deactivate email notification.
when an error occurs during
pharmacy download.
EnterpriseSMTPServer Indicates the name of the SMTP Enter the name of the SMTP server.
server to use for email notification
if an error occurs during the
download and import process.
EmailNotificationFromAddress Indicates the email address from Enter the email address from where
where email notifications are sent. email notifications are sent.
The key also determines if email
Complete the following steps to download or import formulary information using the
SqlServerAuthDeployment method.
1. On the ePrescribing application server, browse to the Bin directory of the ePrescribing
installation folder: C:\Program Files (x86)\Allscripts
Sunrise\AppServer\eRx\Bin.
2. Double-click the SXA.Amb.eRXFormulary application.
Manage Formulary Download and Import is displayed.
Note: The user account you use must belong to the sysadmin and
bulkadmin fixed server roles. Only members of these roles can start
the bulk import into the database.
5. Click Start.
The process begins and a status bar is displayed, indicating the progress of the activity.
Complete the following steps to download or import formulary information using the
IntegratedAuthDeployment method.
1. On the ePrescribing application server, browse to the Bin directory of the ePrescribing
installation folder: C:\Program Files (x86)\Allscripts
Sunrise\AppServer\eRx\Bin.
2. Double-click the SXA.Amb.eRXFormulary application.
3. Specify the applicable command-line parameter:
To do the following Enter the Outcome
command-line
parameter
Import Only /import Imports an existing formulary file from the
default location to the database, but does not
download a new formulary file.
1. On the database server, go to the Bin directory of the ePrescribing installation folder:
C:\Program Files (x86)\Allscripts Sunrise\AppServer\eRx\Bin.
2. Double-click SXA.Amb.eRXFormulary application.
Manage Formulary Download and Import is displayed. The download and import process
begins. A status bar displays the progress of the activity.
Complete the following steps to download or import formulary information using a command prompt.
1. From the desktop click Start > All Programs > Accessories > Command Prompt a command
prompt.
2. Enter the name and path of the formulary download and import tool. By default, this is:
C:\Program Files (x86)\Allscripts
Sunrise\AppServer\eRx\Bin\SXA.Amb.eRXFormulary.exe
3. Do one of the following:
> To perform a download and import of the formulary data, press Enter.
> To perform a download only, append "/download" to the command line and press Enter.
> To perform an import only, append "/import" to the command line and press Enter.
1. On the application server, click Start > Administrative Tools > Task Scheduler.
Task Scheduler opens.
2. In the right pane, click Create Basic Task.
Create Basic Task Wizard opens.
3. Enter a name and description for the new task, and then click Next.
Task Trigger opens.
4. Select how often the task must be performed.
The prescription data network is an electronic gateway that acts as a secure intermediary between
prescribers and pharmacies, enabling the electronic exchange of prescription information. For
more information about Surescripts, go to http://www.surescripts.com.
See the Sunrise Reports Configuration and User Guide for more information about configuring
reporting services in Clinical Manager. See the Prescription Writer Installation and Configuration
Guide for information about setting up prescription faxing for Prescription Writer.
Surescripts
Surescripts operates a prescription data network that facilitates the secure exchange of electronic
prescription information between physicians, pharmacists, payers, and PBMs.
Surescripts accepts connections only from known public IP addresses that are assigned to Certified
Solution Providers (CSP). Allscripts acts as the CSP and provides the Allscripts TxHub to facilitate
communication between your ePrescribing server and the Surescripts network.
Participating pharmacies
Pharmacies that are part of the Surescripts prescription data network can electronically:
> Transmit a request for additional renewals to a physician who is registered with Surescripts.
See the Prescription Writer Installation and Configuration Guide for more information about
registering a provider with Surescripts.
> Receive and acknowledge a new prescription from a physician who is registered with Surescripts.
> Receive the approval or denial response from the physician who is registered with Surescripts.
Surescripts maintains a directory of pharmacy data in order to route prescription messages correctly.
Allscripts downloads the pharmacy data from the Surescripts database to TxHub on a daily basis
and provides a Pharmacy Data Download Process for your facility to automatically download the
updated pharmacy data into the Prescription Writer feature.
the applicable book from the list. The topic opens in the context of
that specific publication.
What to do next
You can navigate the Product Documentation portal using multiple methods. From the bottom of
the portal landing page, click Helpful Tips under Getting Started to learn more about using the
portal.
Index
.NET configuration files ePrescribing (continued)
editing 9 automating the Pharmacy Download process
17
A Formulary data for
19
Allscripts network components
accessing product documentation 31
35 Surescripts data
contact information 17
37 ePrescribing server
product documentation feedback installing
37 9
Allscripts Gateway eRxAccountID environment profile 13
configuring TxHub
13 F
installing
5 firewall
Allscripts transaction hub 32 32
formulary data
C deployment methods for downloading
20
command prompts download using a command prompt
using to download formulary data 27
27 download using IntegratedAuthDeployment
components method
of server management 26
6 download using SQLServerAuthDeployment
of Sunrise Clinical Manager 5 method
25
E download using SXA.Amb.eRXFormulary
application
environment profiles 27
eRxAccountID downloading
13 20, 22, 24
HCOID Formulary data
13 19
ePrescribing formulary download and import
about schedule 27
5
installing
Allscripts Gateway
P
5 pharmacies
IntegratedAuthDeployment method participating
26 33
downloading formulary data pharmacy data
21 download using
integrating SXA.Amb.eRXPharmacy.Scheduler.exe
with Prescription Writer 13 19
download using Windows task scheduler
M 18
Pharmacy Download process
messages automating for ePrescribing
exchanged with Surescripts 17
33 setting up
Microsoft .NET Framework 9
installing 7 ports
TCP/UDP 29
N
network components R
32 requirements
at your facility hardware and software 5
31
Clinical Manager database server
32
S
ePrescribing application server server
32 components
ePrescribing user workstations 6
31 SQLserverauthdeployment
firewall downloading formulary data
32 20
messages SQLServerAuthDeployment method
33 25
outside your facility
32