action drchrono_lab_orders_read { label: "lab_orders_read" description: "Retrieve an existing lab order" provider: drchrono method: GET path: "/api/lab_orders/{id}" encoding: json input: { type: "object" properties: { doctor: { type: "integer" } id: { type: "string" } since: { type: "string" } } required: ["id"] additionalProperties: false } output: { type: "object" required: ["doctor", "patient", "sublab"] properties: { accession_number: { type: "string" description: "For external use only" } doctor: { type: "integer" } documents: { type: "array" description: "Associated `/lab_documents` objects" items: { type: "string" description: "ID of an associated lab document" } } icd10_codes: { type: "array" description: "ICD-10 codes of the conditions which the tests concerns." items: { type: "object" properties: { code: { type: "string" description: "The numeric ICD-10 code" } description: { type: "string" description: "Short description of the ICD-10 code" } } } } id: { type: "integer" } notes: { type: "string" } patient: { type: "integer" } priority: { type: "string" description: "`\"Normal\"` or `\"STAT\"`. Default `\"Normal\"`" enum: ["N", "S"] } requisition_id: { type: "string" description: "The ID printed on the requisition PDF. Generally the same as id." } status: { type: "string" description: "Equivalent to HL7's ORC.5. Defaults to `\"N\"`.\nValue | Notes\n----- | -----\n`\"N\"` | not sent |\n`\"Q\"` | queued for processing |\n`\"A\"` | `ABN (Advance Beneficiary Notice)` required |\n`\"S\"` | send |\n`\"R\"` | results received |\n`\"E\"` | error |\n" } sublab: { type: "integer" } timestamp: { type: "string" description: "Time at which the order was submitted. Defaults to now" } } } }