E-Prescription Notification Callback
INFO
Root Fields
Field Name | Type | Notes |
---|---|---|
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. |
ExternalID | string | The Message ID of the e-prescription message |
PharmacyReceivedDate | date | Date/time the pharmacy received the e-prescription message |
PrescriberSentDate | date | Date/time the prescriber sent the e-prescription message |
WrittenDate | date | Written date of the prescription |
Effectivedate | date | Effective date of the prescription |
Notes | string | Notes from the prescriber |
Pharmacy | object | Information about the pharmacy. Please see the Pharmacy section for more info. |
Patient | object | Information about the patient. Please see the Patient section for more info. |
Prescriber | object | Information about the prescriber. Please see the Prescriber section for more info. |
Medication | object | Information about the medication prescribed. Please see the Medication section for more info. |
ERxMessage | string | Base64 encoded string of the raw XML data received for the e-prescription message |
Pharmacy
Field Name | Type | Notes |
---|---|---|
Name | string | Name of the pharmacy |
NPI | string | NPI of the pharmacy |
NCPDP | string | NCPDP of the pharmacy |
DEA | string | DEA of the pharmacy |
Address | object | Address of the pharmacy. Please see the Address section for more info. |
Phone | string | Phone number of the pharmacy (no dashes) |
Fax | string | Fax number of the pharmacy (no dashes) |
Website | string | Website of the pharmacy |
DispenseMethod | string | Dispense method |
Patient
Field Name | Type | Notes |
---|---|---|
FirstName | string | Patient first name |
LastName | string | Patient last name |
MiddleName | string | Patient middle name |
DOB | date | Patient Date of Birth (formatted YYYY-MM-DD) |
Gender | string | Patient Gender (M/F/N) **N=Non-Binary |
CellNumber | string | Patient cell phone number |
Address | object | Address of the patient. Please see the Address section for more info. |
Insurance | array | Insurance info for the patient. Please see the Insurance section for more info. |
Prescriber
Field Name | Type | Notes |
---|---|---|
NPI | string | Prescriber’s NPI number |
DEA | string | Prescriber’s DEA number |
FirstName | string | Prescriber first name |
LastName | string | Prescriber last name |
Address | object | Address of the prescriber. Please see the Address section for more info. |
Specialty | string | Prescriber’s specialty |
OfficePhone | string | Phone Number (no dashes) |
Medication
Field Name | Type | Notes |
---|---|---|
DrugName | string | Name of the medication prescribed |
DrugNDC | string | NDC of the medication prescribed (no dashes). Pharmacy does not have to dispense this exact NDC, they can dispense an equivalent if needed. |
Quantity | decimal | Quantity prescriber per fill |
QuantityUnit | string | Unit of measure for the quantity |
DaysSupply | integer | Days that each fill is intended to last |
Refills | integer | Number of refills authorized for the prescription |
Directions | string | SIG directions on how to take the medication |
DeliveryMethod | string | |
AllowSubstitution | string | “True” or “False” indicating if the brand can be substituted for a generic |
Address
Field Name | Type | Notes |
---|---|---|
Address1 | string | |
Address2 | string | |
City | string | |
State | string | 2 char state abbreviation (ex. IL) |
Zip | string | No dashes |
Insurance
Field Name | Type | Notes |
---|---|---|
MemberID | string | Patient’s Cardholder ID Number |
Group | string | Patient’s Group Number |
BIN | string | Insurance BIN |
PCN | string | Insurance PCN |
SEQNO | string | Number indicating sequence of insurance (ex: “1” or “2”) |
Example
{
"APIKey": "5ce9ec4c8a3d5255d790cc11d6a778ec9e5aa1fb",
"ExternalID": "EMA1f73e89ea90b4bbaa004879ed3639b1e",
"PharmacyReceivedDate": "2020-10-28T14:34:54.000Z",
"PrescriberSentDate": "2020-10-28T14:31:17.000Z",
"WrittenDate": "2020-10-28T00:00:00.000Z",
"Effectivedate": "2020-10-28T00:00:00.000Z",
"Notes": "Suggested Packaging: 100.0 Grams can.",
"Pharmacy": {
"Name": "BestRx Pharmacy",
"NPI": "1234567890",
"NCPDP": "1234567",
"DEA": "BR1234563",
"Address": {
"Address1": "1200 Jorie Blvd",
"Address2": "Suite 310",
"City": "Oak Brook",
"State": "IL",
"ZipCode": "60523"
},
"Phone": "6308939210",
"Fax": "6303393171",
"Website": "www.bestrx.com",
"DispenseMethod": "P,D,S"
},
"Patient": {
"FirstName": "Elizabeth",
"LastName": "Harmon",
"MiddleName": "",
"DOB": "1983-02-07",
"Gender": "F",
"CellNumber": "3125554897",
"Address": {
"Address1": "920 N Dearborn",
"Address2": "Apt 2107",
"City": "Chicago",
"State": "IL",
"ZipCode": "60654"
},
"Insurance": [
{
"MemberID": "888877776666",
"Group": "RX4444444",
"BIN": "123456",
"PCN": "ABC123",
"SEQNO": "1"
},
{
"MemberID": "222233334444",
"Group": "22221111",
"BIN": "610280",
"PCN": "",
"SEQNO": "2"
}
]
},
"Prescriber": {
"NPI": "9876543210",
"DEA": "BB1234563",
"FirstName": "Vasily",
"LastName": "Borgov",
"Address": {
"Address1": "115 Medical Center Ln",
"Address2": "Second Floor",
"City": "Chicago",
"State": "IL",
"ZipCode": "60612"
},
"Specialty": "",
"OfficePhone": "7732229999"
},
"Medication": {
"DrugName": "Clobetasol 0.05 % topical foam",
"DrugNDC": "00378816701",
"Quantity": 1.0,
"QuantityUnit": "Container",
"DaysSupply": 30,
"Refills": 2,
"Directions": "Apply to the aa of the scalp bid x 1 month",
"DeliveryMethod": "",
"AllowSubstitution": "True"
}
"ERxMessage": <base64-encoded-message>
}
Modified at 2024-05-15 23:11:04