v1

latestSwagger 2.02026-08-061791731.4 MB
Medications

{{baseUrl}}/persons/:personId/medication-history

Gets a list of medication history records for the specified person id.

get/persons/{personId}/medication-history

Path parameters

personIdstring required

(Required) (Required) The id of the person whose medication history is being retrieved

Headers

Acceptstring required

Response

OK

medicationHistoryIdstring required
personIdstring required
pbmIdstring required
sourcestring required
drugDescriptionstring required
ndcIdstring required
quantitystring required
daysSupplystring required
directionsstring required
refillsstring required
isSubstitutionAllowedstring required
lastFillDatestring required
writtenDatestring required
notestring required
priorAuthorizationStatusstring required
pharmacyNamestring required
pharmacyAddressLine1string required
pharmacyCitystring required
pharmacyStatestring required
pharmacyZipstring required
pharmacyPhoneNumberstring required
prescriberNamestring required
prescriberAddressLine1string required
prescriberCitystring required
prescriberStatestring required
prescriberZipstring required
prescriberPhoneNumberstring required

Example response

{
  "medicationHistoryId": "<string>",
  "personId": "<string>",
  "pbmId": "<string>",
  "source": "<string>",
  "drugDescription": "<string>",
  "ndcId": "<string>",
  "quantity": "<string>",
  "daysSupply": "<string>",
  "directions": "<string>",
  "refills": "<string>",
  "isSubstitutionAllowed": "<string>",
  "lastFillDate": "<string>",
  "writtenDate": "<string>",
  "note": "<string>",
  "priorAuthorizationStatus": "<string>",
  "pharmacyName": "<string>",
  "pharmacyAddressLine1": "<string>",
  "pharmacyCity": "<string>",
  "pharmacyState": "<string>",
  "pharmacyZip": "<string>",
  "pharmacyPhoneNumber": "<string>",
  "prescriberName": "<string>",
  "prescriberAddressLine1": "<string>",
  "prescriberCity": "<string>",
  "prescriberState": "<string>",
  "prescriberZip": "<string>",
  "prescriberPhoneNumber": "<string>",
  "_links": [
    {
      "href": "<string>",
      "method": "<string>",
      "rel": "<string>",
      "description": "<string>",
      "vendorExtensions": "<string>"
    },
    {
      "href": "<string>",
      "method": "<string>",
      "rel": "<string>",
      "description": "<string>",
      "vendorExtensions": "<string>"
    }
  ]
}