Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

A live platform API key (haau3_sk_live_…), sent as Authorization: Bearer <key>. It works for every service outside the Sandbox. Create one on the API keys page at https://platform.haau3.com.

Headers

X-Request-Id
string<uuid>

An id of your own for this request, as a UUID. It comes back in the X-Correlation-Id header and is kept with haau3's record of the request. Any value that is not a UUID is ignored. See https://docs.haau3.com/errors#request-ids.

Query Parameters

formulary
string

The formulary an item is on: InsurancePlan/Formulary-00027002 or Formulary-00027002, several separated by commas, up to 20. A formulary that does not exist is refused by name.

subject
string

The drug: MedicationKnowledge/FormularyDrug-311354 or FormularyDrug-311354, its RxNorm code after FormularyDrug-, several separated by commas, up to 20. A search that names a drug and a formulary and finds no item says so in an OperationOutcome entry, with the month of CMS's file.

drug-tier
string

The Part D tier, 1 to 6, bare or as https://fhir.haau3.com/platform/CodeSystem/part-d-drug-tier|1, several separated by commas, up to 20. Narrows a search; it is not one by itself.

pharmacy-benefit-type
string

A way to fill the drug that every plan on the formulary prices: 1-month-in-retail, 1-month-in-mail, 3-month-in-retail, 3-month-in-mail, bare or with the system of HL7's Da Vinci US Drug Formulary guide, several separated by commas, up to 20. Narrows a search; it is not one by itself.

_id
string

An item's id, FormularyItem-00027002-311354, several separated by commas, up to 20.

_include
enum<string>[]

Basic:formulary adds each item's formulary (an InsurancePlan) and Basic:subject its drug (a MedicationKnowledge). Send both to have both. Included resources do not count toward _count.

Required array length: 1 - 2 elements
Available options:
Basic:formulary,
Basic:subject
_count
integer
default:25

Page size, 1 to 100, 25 by default. A larger value is refused rather than quietly reduced.

Required range: 1 <= x <= 100
page
string

The next page's cursor, from the next link of the page before. It is opaque and belongs to the one search; once a newer month of CMS's file is served, a later page answers 410, so start the search again.

Response

A searchset Bundle with total set: the matching items, then the resources _include asked for, then an OperationOutcome when no item matched.

A FHIR R4 Bundle.

resourceType
string
required
Allowed value: "Bundle"
type
string
entry
object[]