APIKey | string | Optional field that can be used for authentication purposes. It’s up to the receiving partner whether this field will be required or not. |
PharmacyNumber | string | Number to help identify the pharmacy the data is coming from. By default BestRx will send the NPI number, but that can be changed if requested by the receiving partner. |
transaction_action | string | When a patient is created or updated, a value of “updated” will be sent. When a patient is deleted, a value of “deleted” will be sent. |
transaction_date | string | Date transaction is sent in YYYY-MM-DD format. This value is sent as the UTC date. |
transaction_time | string | Time transaction is sent in HH:MM:SS (24 hour) format. This value is sent as the UTC time. |
unique_patient_id | integer | Unique identifier of the patient in the BestRx system. |
last_name | string | Patient’s last name |
middle_name | string | Patient’s middle name |
first_name | string | Patient’s first name |
name_prefix | string | Prefix to patient’s name (ie Mr. Mrs., etc) |
name_suffix | string | Suffix to patient’s name (ie Jr, III, etc) |
dob | string | Patient date of birth in YYYY-MM-DD format |
gender | string | Patient’s gender (M/F/N) **N=Non-Binary |
address1 | string | Patient street address line 1 |
address2 | string | Patient street address line 2 ( ie Unit Number or other identifying info) |
city | string | Patient’s city portion of address |
state | string | Patient’s state portion of address |
zipcode | string | Patient’s zip code |
home_phone | string | Patient’s home phone number |
work_phone | string | Patient’s work phone number |
cell_phone | string | Patient’s cell phone number |
patient_email | string | Patient’s email address |
family_email | string | Family’s shared email address |
social_security_number | string | Patient’s social security number |
is_active | string | Indicates whether this is an active patient within BestRx (true/false) |
is_deceased | string | Indicates whether the patient is deceased or not (true/false) |
is_pet | string | Indicates whether the patient is an animal (true/false) |
language | string | Indicates the preferred language for the patient (English, Spanish, Russian, Chinese, etc) |
nursing_home_unique_id | integer | Unique ID in BestRx for Nursing home or LTC facility the patient is linked to |
nursing_home | string | Nursing home or LTC facility the patient is linked to |
nursing_home_facility_code | string | Nursing home or LTC facility’s code |
nursing_home_facility_id | string | Nursing home or LTC facility’s ID |
nursing_home_contact_name | string | Nursing home or LTC facility’s contact person |
nursing_home_address1 | string | Nursing home or LTC facility’s street address line 1 |
nursing_home_address2 | string | Nursing home or LTC facility’s street address line 2 |
nursing_home_city | string | Nursing home or LTC facility’s city |
nursing_home_state | string | Nursing home or LTC facility’s state |
nursing_home_zip | string | Nursing home or LTC facility’s zip code |
nursing_home_phone | string | Nursing home or LTC facility’s phone number |
nursing_home_fax | string | Nursing home or LTC facility’s fax number |
nursing_home_alt_phone1 | string | Nursing home or LTC facility’s alternate phone number |
nursing_home_alt_phone2 | string | Nursing home or LTC facility’s alternate phone number |
insurance_plans | array | Array of insurance plans linked to this patient. This is a repeating field. Please refer to the Insurance Plans section of this document for more info. |
patient_group | array | Array of groups that the patient is linked to. This is a repeating field. Please refer to the Groups section of this document for more info. |
patient_short_remark | string | Short remark relating to the patient |
patient_remark | string | Long remark relating to the patient |
family_remark | string | Shared remark relating to entire family |
allergies | array | Array of allergies linked to this patient. This is a repeating field. Please refer to the Allergies section of this document for more info. |