เอกสาร API สำหรับลูกค้า Lab Plus — รองรับการแลกเปลี่ยนผลตรวจทางห้องปฏิบัติการระหว่างระบบ LIS / HIS ผ่าน RESTful API
| Key | Value |
|---|---|
Authorization | Bearer <token> |
Content-Type | application/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"
}
{
"status": "success",
"result_id": "res_a1b2c3",
"forwarded_to": "LIS",
"received_at": "2026-05-17T10:30:05Z"
}
| Key | Value |
|---|---|
Authorization | Bearer <token> |
| Param | Type | คำอธิบาย |
|---|---|---|
hn | string | เลข HN ของคนไข้ |
| Param | Type | คำอธิบาย |
|---|---|---|
status | string | pending / completed / all (default: pending) |
curl -X GET "https://labplus.local/api/labplus/orders/HN20260517001?status=pending" \ -H "Authorization: Bearer YOUR_TOKEN"
{
"status": "success",
"hn": "HN20260517001",
"orders": [
{ "order_id": "ORD-9981",
"test_code": "CBC",
"ordered_at": "2026-05-17T09:00:00Z" }
]
}
ติดต่อทีมงานเพื่อขอ Access Token และเอกสาร API ฉบับเต็มสำหรับลูกค้า Lab Plus
ขอ API Access