Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

GET /users/:id/erx/prescriptions

Get list of current prescriptions for a patient.

Parameters

Parameter

Type

Description

status

String

Status of prescriptions. Send "Current" by default.

Response

{
  "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

id

String

User ID or dash (-) for current user

Response

Array of Pharmacy object

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.

Parameters

Parameter

Type

Description

address

String

1010 UNIVERSITY AVENUE, SAN DIEGO, CA, 92103

address_more

String

code

String

5555008

name

Date

02855

city

String

Los Angeles

country

String

state

String

CA

zip

String

90027

phone

String

4017707046

fax

String

8663528725

lat

Double

36.800488

long

Double

-116.718750

distance

Double

0.95993211712521

type

String

mdtoolbox

extra

Object

Unmodified data returned by pharmacy search API

Response

    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
}

DELETE /users/:id/erx/pharmacies/:code

Delete the specified pharmacy from the user profile.

Parameters

Parameter

Type

Description

Response

    curl -k -X DELETE -H "X-ApiToken: c1dfcb553b2395a902722387222310a4" -H "X-AccountCode: vclinic" -H "Content-Type: application/json"
    "https://api.vsee.me/api_v3/users/575/erx/pharmacies/12834"

{
    "data": true
}
  • No labels