curl "https://api.haau3.com/v1/fhir/r4/Basic/FormularyItem-00027002-311354" \
-H "Authorization: Bearer $HAAU3_API_KEY"
Read a drug on a Part D formulary
Read one item of a Medicare Part D formulary by its id, FormularyItem- followed by CMS’s formulary id and the drug’s RxNorm code: FormularyItem-00027002-311354. So a caller holding a formulary and an RxNorm code reads the item with no search. A drug not on the formulary answers 404, saying so with the month of CMS’s file.
curl "https://api.haau3.com/v1/fhir/r4/Basic/FormularyItem-00027002-311354" \
-H "Authorization: Bearer $HAAU3_API_KEY"
Authorizations
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
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.
Path Parameters
Response
The item, as Da Vinci's FormularyItem.
A FHIR R4 Basic.