eRx Setup and Configuration
This is a step-by-step guide to complete the eRx (electronic prescribing) configuration within your Welkin environment.
Overview
Two areas must be configured:
Step 1: Designer Portal – set up CDT data types, data views, security policy, layout, and access point
Step 2: Admin Portal – create the API client and enable the notification widget
After configuration is complete, provide the following details to your Welkin implementation manager to enable the eRx integration:
Tenant name
Environment name
API Client ID and Secret
Welkin user ID and Dr First user ID for each user registered with Dr First (Welkin user ID is found in the Users section of the Admin Portal)
Dr First SSO Credentials:
rcopia_portal_system_namercopia_practice_user_namesecret_key
Dr First API Credentials:
vendor_namevendor_passwordpractice_user_name
Step 1: Designer Configuration
1. Add CDT Data Types
Log in to Welkin's Designer Portal
Select the environment for which you want to configure eRx
Go to Data > CDT Builder in the left panel
Create three CDT data types by importing the JSON definitions (see Appendix below):
df_allergiesdf_medicationsdf_diagnoses_problems
2. Create Data Views
Create a Data View for each of the three CDTs above:
Go to Presentation > Data Views in the left panel
Click Create Data View
Under the General Information tab, give the data view a name (e.g., "Allergies")
Set the CDT to the corresponding data type (e.g.,
df_allergies)Under the Columns tab, add the fields you want to display. Exclude system fields from the Available Fields section (like
id,created_by,created_at)You can set labels for fields – for example, a field named
onset_datecan be labeled "Onset Date" to display a human-readable label in the UIUnder the Sort tab, click Add Sort
In the Data Type Field, select the
statusfield. Keep Direction as AscClick Save Changes
Repeat this process for all three CDTs (Allergies, Medications, Problems).
3. Add a Security Policy
Go to Access Control > Security Policies in the left panel
Click Create Security Policy
Under the General Information tab:
Give the security policy a name
Under Data Types, select
df_allergies,df_medications, anddf_diagnoses_problemsCheck the Select All boxes under the Patient and CDT tabs
Click Save Changes
4. Add a Layout
Go to Presentation > Layouts
Click Create Layout
Under the General Information tab, give the layout a name (e.g., "Clinical Summary") – this name will appear in the Care Portal
In the Roles field, set the role created in the previous steps
Under the Layout tab, select the Data Views for Allergies, Medications, and Problems
Click Save Changes
5. Add an Access Point
Go to Presentation > Action Bar
Add the "ePrescription" action button to the Visible Action Buttons section
Click Save Changes
Step 2: Admin Configuration
1. Create an API Client
Log in to Welkin's Admin Portal
Go to API Clients in the left panel
Click Create Client to create an API client and save the credentials
Open the new API client and scroll to the bottom
Select the appropriate environment and click Submit
Click the edit icon for that environment:
Fill in the Role, Primary Role, and Policies fields as created in Designer
Select all applicable Regions and Territories
Click Save
2. Enable the Notification Count Widget
To see the count of pending pharmacy messages and prescriptions, enable eRx from the Admin portal. This step must be performed after the Welkin Engineering team has configured eRx for your practice – the enable button will be disabled until that is complete.
Go to Integrations > eRx
Enable eRx for the same environment configured in Designer
Related Pages
Last updated
Was this helpful?