POST /api/labplus/results
ส่งผลตรวจ Lab
ส่งผลตรวจทางห้องปฏิบัติการจากเครื่องมือแพทย์เข้าสู่ระบบ Gateway เพื่อส่งต่อไปยัง LIS / HIS
Headers
KeyValue
AuthorizationBearer <token>
Content-Typeapplication/json
Body (JSON)
{
  "hn": "HN20260517001",
  "order_id": "ORD-9981",
  "test_code": "CBC",
  "device_id": "BC-3000-A1",
  "results": [
    { "item": "WBC",
      "value": 7.8,
      "unit": "10^3/uL" },
    { "item": "RBC",
      "value": 4.5,
      "unit": "10^6/uL" }
  ],
  "reported_at": "2026-05-17T10:30:00Z"
}
Response 200
{
  "status": "success",
  "result_id": "res_a1b2c3",
  "forwarded_to": "LIS",
  "received_at": "2026-05-17T10:30:05Z"
}
GET /api/labplus/orders/{hn}
ดึงรายการคำสั่งตรวจของคนไข้
ดึงรายการ Test Order ที่รอตรวจของคนไข้แต่ละราย โดยอ้างอิงจากเลข HN
Headers
KeyValue
AuthorizationBearer <token>
Path Parameters
ParamTypeคำอธิบาย
hnstringเลข HN ของคนไข้
Query Parameters (optional)
ParamTypeคำอธิบาย
statusstringpending / completed / all (default: pending)
Example (cURL)
curl -X GET "https://labplus.local/api/labplus/orders/HN20260517001?status=pending" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response 200
{
  "status": "success",
  "hn": "HN20260517001",
  "orders": [
    { "order_id": "ORD-9981",
      "test_code": "CBC",
      "ordered_at": "2026-05-17T09:00:00Z" }
  ]
}

ต้องการ API Token หรือ?

ติดต่อทีมงานเพื่อขอ Access Token และเอกสาร API ฉบับเต็มสำหรับลูกค้า Lab Plus

ขอ API Access