POST/v3/live/healthcare/hcp/{aggkHcpId}/drugs-prescribed

Get HCP drugs prescribed

Returns every drug a healthcare professional prescribed or administered, by RxNorm clinical dose form, from pharmacy and medical claims. Filter by year range, RxNorm concept and minimum volume; results are ordered by dispensed or administered counts summed over the requested years, largest first. Paginated with limit (default 100, max 1000) and an opaque cursor. Consumes 1 credit, billed once per distinct HCP per billing period.

Version
v3
Rate limit
Tier 3 · 10–200 rps by plan
Billing
Healthcare (HCP) · Get HCP drugs prescribed

Path parameters

  • aggkHcpIdstringRequired
    AggK HCP ID

Request body

  • rxcuisstring[]Optional
    Only these RxNorm SCDF concept IDs
  • minDispensedCountinteger (int64)Optional
    Only drugs dispensed at least this many times over the requested years
  • minAdministeredCountinteger (int64)Optional
    Only drugs administered at least this many times over the requested years
  • sortByenum HcpDrugsPrescribedSortOptional
    Measure to order by, largest first (default DISPENSED_COUNT)
  • limitinteger (int32)Optional
    Maximum number of concepts to return (default 100, max 1000)
  • cursorstringOptional
    Opaque cursor returned by a previous page; omit to fetch the first page. Valid only with the same filters that produced it
  • yearsobjectOptional
    Years to include, inclusive at both ends. Totals, ordering and minimum filters are computed over this range; omit for all years
    • maxinteger (int32)Optional
      Maximum value (inclusive)
    • mininteger (int32)Optional
      Minimum value (inclusive)
  • metadataobjectOptional
    Optional metadata to associate with the request. Will be returned in the response.
Headers
x-api-key Required · API key for authentication

Response

  • nextCursorstring
    Cursor for the next page; absent when there are no more results
  • resultsobject[]
    Drugs the HCP prescribed or administered, one entry per RxNorm clinical dose form
  • isSuccessboolean
    true when the request was answered with a result. false means no result was returned: check isRetryable, which is true when a data source failed or timed out and false when the input matched nothing.
  • isRetryableboolean
    When isSuccess is false, whether sending the same input again could succeed. Always true when isSuccess is true.
  • hasProblemsboolean
    Whether we hit a problem answering the request: the profile or company wasn't found, or a data source failed or timed out. Data may be missing or incomplete; problems, where the response has it, says which.
  • metadataobject
    Caller-supplied metadata echoed back from the request.
  • inputParametersobject
    Caller-supplied inputs echoed back in the response

Status codes