Get prescriptions for a specific patient
limit (optional, integer): Maximum number of prescriptions to return per page (default: 20, max: 50).lastKey (optional, string): Opaque cursor for fetching the next page. Use the pagination.lastKey value from the previous response.pagination object:
count: Number of prescriptions returned in this page.hasNext: Whether more prescriptions are available on subsequent pages.limit: Maximum number of prescriptions per page (as requested).offset: Starting position of the current page (zero-based).lastKey: The string to use as the lastKey query parameter for the next request. If null, there are no more results.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Organization secret for authentication - provided by Parchment
Organization ID
User ID
Patient ID
Successfully retrieved prescriptions
Indicates if the request was successful
true
HTTP status code
200
Human-readable success message
"Prescriptions retrieved successfully"
Response payload data Patient prescription data
ISO 8601 timestamp of the response
"2024-01-15T10:30:00.000Z"
Unique identifier for request tracing
"req_1705312200000_abc123"
Pagination information for list operations