List the classified drugs book
Any signed in user. Returns the dispense log with medicine and authoriser, newest first. Only controlled medicines are read, each with a patient national id and prescriber licence.
GET
/api/v1/compliance/classified-drugs-bookAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Query parameters
from_datestringOnly entries dispensed on or after this date. Empty applies no lower bound.
to_datestringOnly entries dispensed on or before this date. Empty applies no upper bound.
pageintegerOne based page number. Defaults to 1.
page_sizeintegerRows per page, capped at 200. Defaults to 50.
Responses
200
A page of the classified drugs book
totalintegerrequiredmin -9007199254740991 · max 9007199254740991
pageintegerrequiredmin -9007199254740991 · max 9007199254740991
page_sizeintegerrequiredmin -9007199254740991 · max 9007199254740991
itemsobject[]requiredShow propertiesHide properties
Array of
objectdispensed_atstringrequiredmedicine_namestringrequiredquantityintegerrequiredmin -9007199254740991 · max 9007199254740991
patient_national_idstringrequireddoctor_licensestringrequireddispensed_bystring | nullrequiredsale_idstringrequiredretention_notestringrequired401
Not authenticated
detailstringrequired