Table of Contents | ||||
---|---|---|---|---|
|
GET /users/:id/erx/prescriptions
Get list of current prescriptions for a patient.
...
Code Block |
---|
{ "data": [ { "ID": "101544", "DrugID": "69202", "NDC": "59390003613", "RxNormCode": "1000990", "Drug": "12 Hour Nasal 0.05% nasal spray", "Supply": false, "Compound": false, "Directions": "1 Milliliter(s) 1 to 2 times a day", "Qty": 5, "QtyQual": "Milliliter", "Refills": 0, "DaysSupply": 0, "SubstitutionAllowedFlag": 1, "Schedule": 0, "PharmacyNote": "", "InternalNote": "", "PrescriberId": "403", "LocationId": "Cep tuc ID", "PrescriptionDate": "2016-03-09T00:00:00", "SignDate": "0001-01-01T00:00:00", "Status": "Current", "PharmacyNcpdpId": "0001060", "RouteDetail": "e-Sent:Mar 9 2016 8:38AM Test 000 Pharmacy 10.6MU<br />Sent", "PartnerMedID": "", "PrescriberName": "Dr. Rocky Charlette, N.P." } ] } |
GET /users/:id/erx/pharmacies
Parameters
Parameter | Type | Description |
---|---|---|
|
| User ID or dash (-) for current user |
...
Code Block |
---|
curl -k -X GET -H "X-ApiToken: c1dfcb553b2395a902722387222310a4" -H "X-AccountCode: vclinic" "https://api.vsee.me/api_v3/users/575/erx/pharmacies" { "data": [ { "is_default": true "name": "4700 Sunset Blvd", "address": "4700 Sunset Boulevard", "address_more": "2nd line of address", "code": "0561539", "city": "Los Angeles", "country": "", "state": "CA", "zip": "90027", "phone": "8663528725", "fax": "8663528725", "lat": 36.800488, "long": -116.718750, "distance": 0.95993211712521 } ] } |
POST /users/:id/erx/pharmacies
Save patient’s currently chosen pharmacy.
...
Parameter | Type | Description |
---|---|---|
|
| 1010 UNIVERSITY AVENUE, SAN DIEGO, CA, 92103 |
|
| |
|
| 5555008 |
|
| 02855 |
|
| Los Angeles |
|
| |
|
| CA |
|
| 90027 |
|
| 4017707046 |
|
| 8663528725 |
|
| 36.800488 |
|
| -116.718750 |
|
| 0.95993211712521 |
|
| mdtoolbox |
|
| Unmodified data returned by pharmacy search API |
ResponseSample Request
Code Block |
---|
curl -k -X POST -H "X-ApiToken: c1dfcb553b2395a902722387222310a4" -H "X-AccountCode: vclinic" -H "Content-Type: application/json" -d ' {
"name": "A247PC00-Anesthesia 24/7, PC",
"address": "Freas Avenue, 1200",
"address_more": "",
"code": "1001103",
"city": "Berwick",
"country": "",
"state": "PA",
"zip": "18063",
"phone": "5707525572",
"fax": "6153972423",
"type": "mdtoolbox",
"extra": {
"NCPDPID": "1001103",
"StoreName": "A247PC00-Anesthesia 24/7, PC",
"Addr1": "1200 Freas Avenue",
"Addr2": "",
"City": "Berwick",
"State": "PA",
"Zip": "18063",
"Phone": "5707525572",
"Fax": "6153972423",
"Email": "",
"ServiceLevel": 1
}
}
"https://api.vsee.me/api_v3/users/575/erx/pharmacies"
{
"data": true
}
|
Sample Minimal Request
Code Block |
---|
curl --location --request POST 'https://api.vsee.me/api_v3/users/575/erx/pharmacies' \
--header 'X-ApiToken: c1dfcb553b2395a902722387222310a4' \
--header 'X-AccountCode: vclinic' \
--header 'Content-Type: application/json' \
--data-raw ' {
"name": "MY PHARMACY",
"extra": {
"NCPDPID": "4229919"
}
}'
|
DELETE /users/:id/erx/pharmacies/:code
Delete the specified pharmacy from the user profile.
...