---
title: "POST /api/lab_documents"
method: POST
path: "/api/lab_documents"
tags: ["Clinical"]
---

# POST /api/lab_documents

`POST /api/lab_documents`

Create lab order documents. An example lab workflow is as following:

- When you get orders, submit them via `/api/lab_orders`, such that doctors can see them in drchrono.

- When results come in, submit the result document PDF via `/api/lab_documents` and submit the results data via `/api/lab_results`

- Update `/api/lab_orders` status

## Query parameters

- `since` string
- `doctor` integer

## Response `201`

Created

- LabOrderDocument
  - `hl7` string — The HL7 data that the document was generated from
  - `timestamp` string — Time at which the document was uploaded
  - `lab_order` integer, required — ID of the order this document is associated with
  - `document` string, required
  - `type` 'REQ' | 'ABN' | 'R-A' | 'RES', required — Value | Notes ----- | ----- `"REQ"` | requisition form | `"ABN"` | `ABN (Advance Beneficiary Notice)` | `"R-A"` | requisition form and :abbr:`ABN (Advance Beneficiary Notice)` | `"RES"` | lab results |
  - `id` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Permission Denied
- `404` — Not Found
- `405` — Method Not Allowed
- `500` — Internal Server Error

---

[API](https://skmtc.net/drchrono/apis/untitled-api.md) · [All operations](https://skmtc.net/drchrono/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/drchrono/untitled-api/versions/e595797fe800/schema)
