action drchrono_lab_tests_list { label: "lab_tests_list" description: "Retrieve or search lab tests" provider: drchrono method: GET path: "/api/lab_tests" encoding: json input: { type: "object" properties: { cursor: { type: "string" description: "The pagination cursor value." } doctor: { type: "integer" } order: { type: "integer" } page_size: { type: "integer" description: "Number of results to return per page." } } additionalProperties: false } output: { type: "object" description: "Paginated Result" properties: { data: { type: "array" description: "result data" items: { type: "object" required: ["lab_order"] properties: { code: { type: "string" } collection_date: { type: "string" description: "The date the specimen were collected" } description: { type: "string" description: "Short description of the ICD-10 code" } id: { type: "integer" } internal_notes: { type: "string" description: "Notes which are meant for, and read by, the labs" } lab_order: { type: "integer" description: "ID of associated lab order" } name: { type: "string" description: "Name for the test" } report_notes: { type: "string" description: "Notes which are not meant for labs, but are copied on the results." } specimen_condition: { type: "string" } specimen_source: { type: "string" } specimen_total_volume: { type: "number" } status: { type: "string" description: "One of `\"preliminary\"`, `\"pending\"`, `\"correction\"`, `\"final\"` or `\"canceled\"`. Defaults to `\"preliminary\"`" enum: ["P", "I", "C", "F", "X"] } } } } next: { type: "string" description: "Next Paginated page" } previous: { type: "string" description: "Previous paginated page" } } } }