action drchrono_lab_results_list { label: "lab_results_list" description: "Retrieve or search lab results" provider: drchrono method: GET path: "/api/lab_results" 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: ["document", "lab_test", "test_performed", "status", "value"] properties: { abnormal_status: { type: "string" description: "\nValue | Notes\n----- | -----\n`'L'` | `'low'`\n`'LL'` | `'alert low'`\n`'H'` | `'high'`\n`'HH'` | `'alert high'`\n`'<'` | `'panic low'`\n`'>'` | `'panic high'`\n`'A'` | `'abnormal'`\n`'AA'` | `'very abnormal'`\n`'S'` | `'susceptible'`\n`'R'` | `'resistant'`\n`'I'` | `'intermediate'`\n`'NEG'` | `'negative'`\n`'POS'` | `'positive'`\n`'N'` | `'normal'`\n`''` | `'no comment'`\n" enum: ["L", "LL", "H", "HH", "<", ">", "A", "AA", "S", "R", "I", "NEG", "POS", "N", ""] } comments: { type: "string" } document: { type: "integer" description: "ID of `/lab_documents` object for the result" } group_code: { type: "string" description: "This is the code used for grouping result data." } id: { type: "integer" } is_abnormal: { type: "string" description: "If true, the result will be flagged for the doctor's attention" } lab_order: { type: "string" description: "ID of `/lab_orders` object the result belongs to" } lab_test: { type: "integer" description: "ID of `/lab_tests` object for the result" } normal_range: { type: "string" description: "When ``value_is_numeric`` is True, this parameter must be a string of the form ``\" \", where both lower and upper are numerical``" } observation_code: { type: "string" } observation_description: { type: "string" description: "For example, ``\"Blood Urea Nitrogen (BUN)\"``" } specimen_received: { type: "string" } status: { type: "string" description: "\nValue | Notes\n----- | -----\n`'P'` | `'preliminary'`\n`'I'` | `'pending'`\n`'C'` | `'correction'`\n`'F'` | `'final'`\n`'X'` | `'canceled'`\n" enum: ["P", "I", "C", "F", "X"] } test_performed: { type: "string" } unit: { type: "string" description: "Unit used for the value" } value: { type: "string" } value_is_numeric: { type: "boolean" description: "Default to `False`" } } } } next: { type: "string" description: "Next Paginated page" } previous: { type: "string" description: "Previous paginated page" } } } }