Skip to main content
GET
/
api
/
v1
/
prescriptions
/
quantity_units
Get quantity units
curl --request GET \
  --url https://api.byblend.com/api/v1/prescriptions/quantity_units \
  --header 'Authorization: Bearer <token>'
[
  {
    "code": "C28253",
    "definition": "A metric unit of mass equal to one thousandth of a gram or 1000 micrograms. One milligram equals approximately 0.015 432 grain or 35.274 x 10E-6 ounce.",
    "term": "Milligram",
    "type": "Quantity Unit of Measure",
    "type_code": "C89510"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful response with an array of quantity unit values. The code is the NCPDP standard code for the quantity unit and should be supplied in the units field ofnew electronic prescriptions.

code
string

Code to be supplied in units field.

Example:

"C28253"

definition
string
Example:

"A metric unit of mass equal to one thousandth of a gram or 1000 micrograms. One milligram equals approximately 0.015 432 grain or 35.274 x 10E-6 ounce."

term
string
Example:

"Milligram"

type
string

Type of quantity unit

Example:

"Quantity Unit of Measure"

type_code
string
Example:

"C89510"

I