Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel7
minLevel1

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

id

String

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.

...

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.

...