Get patient prescription
Get a single prescription by SCID for a specific patient
Description
Retrieves a single prescription by its SCID (Script ID) for a specific patient.Path Parameters
organization_id(required, string): The unique identifier of the organization.user_id(required, string): The unique identifier of the user making the request.patient_id(required, string): The unique identifier of the patient.scid(required, string): The unique Script ID of the prescription.
Response
Returns the prescription details along with patient and prescriber information:Error Status
When a prescription has encountered an error during processing, thestatus field will be "Error" and an error object will be included with a description:
error field is omitted from the prescription.
Error Responses
404 Not Found
Returned when the prescription with the specified SCID does not exist for the patient:401 Unauthorized
Returned when authentication fails or the token is invalid.400 Bad Request
Returned when required parameters are missing or invalid.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Organization secret for authentication - provided by Parchment
Path Parameters
Organization ID
User ID
Patient ID
Script ID (SCID) of the prescription
Response
Successfully retrieved prescription
Indicates if the request was successful
true
HTTP status code
200
Human-readable success message
"Prescriptions retrieved successfully"
Single patient prescription data
ISO 8601 timestamp of the response
"2024-01-15T10:30:00.000Z"
Unique identifier for request tracing
"req_1705312200000_abc123"
Machine-readable operation code
"SUCCESS"
Pagination information for list operations

