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.
Path parameters
- aggkHcpIdstringRequiredAggK HCP ID
Request body
- rxcuisstring[]OptionalOnly these RxNorm SCDF concept IDs
- minDispensedCountinteger (int64)OptionalOnly drugs dispensed at least this many times over the requested years
- minAdministeredCountinteger (int64)OptionalOnly drugs administered at least this many times over the requested years
- Measure to order by, largest first (default DISPENSED_COUNT)
- limitinteger (int32)OptionalMaximum number of concepts to return (default 100, max 1000)
- cursorstringOptionalOpaque cursor returned by a previous page; omit to fetch the first page. Valid only with the same filters that produced it
- yearsobjectOptionalYears to include, inclusive at both ends. Totals, ordering and minimum filters are computed over this range; omit for all years
- maxinteger (int32)OptionalMaximum value (inclusive)
- mininteger (int32)OptionalMinimum value (inclusive)
- metadataobjectOptionalOptional metadata to associate with the request. Will be returned in the response.
- Headers
x-api-keyRequired · API key for authentication
Response
- nextCursorstringCursor 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
truewhen the request was answered with a result.falsemeans no result was returned: checkisRetryable, which istruewhen a data source failed or timed out andfalsewhen the input matched nothing. - isRetryablebooleanWhen
isSuccessisfalse, whether sending the same input again could succeed. AlwaystruewhenisSuccessistrue. - hasProblemsbooleanWhether 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. - metadataobjectCaller-supplied metadata echoed back from the request.
- inputParametersobjectCaller-supplied inputs echoed back in the response