Lấy dữ liệu chung của hồ sơ
Endpoint
| Method | URL |
|---|---|
| GET | https://tpa.docbase.ai/api/v1/integrations/organizations/{OrganizationID}/folders/{FolderID}/submissions/{SubmissionID} |
*Sử dụng external_id thay thế cho SubmissionID
| Method | URL |
|---|---|
| GET | https://tpa.docbase.ai/api/v1/integrations/organizations/{OrganizationID}/folders/{FolderID}/requests/{external_id} |
Ví dụ
| Method | URL |
|---|---|
| GET | https://tpa.docbase.ai/api/v1/integrations/organizations/1/folders/2/submissions/3663 |
Mô tả Trả về thông tin chung của bộ hồ sơ.
Response 200
{
"id": 63854,
"created_at": "2025-10-25T04:58:36.732553Z",
"updated_at": "2025-10-25T06:35:39.544564Z",
"deleted_at": null,
"name": "786802.pdf",
"complete_status": "wait_processing",
"status": "for_review",
"claim_type": "outpatient",
"external_id": "74WotwxpKxXNKCyrbg4e4s",
"note": null,
"last_export_time": null,
"verified_at": null,
"verifier_name": null,
"verifier_username": null,
"claim_record_type": null,
"expense_status": null,
"violations": {},
"blurred_documents": [],
"photocopied_documents": [],
"documents_count": 3,
"files_count": 1,
"unclassified_pages_count": 0,
"unclassified_files": [],
"missing_docs": [
"Phiếu khám bệnh có chẩn đoán bác sĩ hoặc Báo cáo y tế hoặc Sổ khám bệnh",
"Bảng kê chi tiết chi phí y tế",
"Giấy yêu cầu trả tiền"
],
"documents": [...],
"files": [...],
"pages_count": 3,
"additional_document_type_ids_required": [...],
"hospital": "BV Nhi Đồng 1",
"hospital_code": "HS1213",
"icd10": ["K21", "M54"],
"customer_name": null,
"insured_person": null,
"date_of_loss": "16/06/2025"
}
Ý nghĩa các trường
| Tên trường | Kiểu dữ liệu | Mô tả |
|---|---|---|
| id | int | ID của bộ hồ sơ |
| created_at | datetime | Thời điểm tạo bộ hồ sơ |
| updated_at | datetime | Thời điểm hồ sơ bị thay đổi |
| deleted_at | datetime | Thời điểm hồ sơ bị xóa |
| name | string | Tên của bộ hồ sơ |
| complete_status | string | Trạng thái hoàn thành của bộ hồ sơ |
| status | string | Trạng thái của hồ sơ |
| claim_type | string | Hình thức điều trị |
| external_id | string | ID người dùng định nghĩa và truyền sang khi tải hồ sơ lên |
| ocr_error_code | string | Mã lỗi của OCR |
| note | string | Ghi chú |
| last_export_time | datetime | Thời điểm hồ sơ được đồng bộ thành công |
| verified_at | datetime | Thời điểm xác nhận GYC thành công |
| verifier_name | string | Tên cán bộ xử lý hồ sơ |
| verifier_username | string | Username của cán bộ xử lý |
| claim_record_type | string | Luồng nhận hồ sơ. Trong đó với giá trị 1 là online và 0 là offline |
| expense_status | string | Trạng thái của màn chi phí |
| violations | dict | Cảnh báo thông tin các trường trong hồ sơ |
Ví dụ cho trường documents:
{
"id": 12063,
"page_set": [15342],
"created_at": "2025-10-25T04:59:06.499954Z",
"updated_at": "2025-10-25T04:59:50.872039Z",
"deleted_at": null,
"name": "Hóa đơn",
"status": "for_review",
"note": null,
"last_validated_at": null,
"last_verified_at": null,
"document_type": {
"name": "Hóa đơn",
"url_key": "invoice"
},
"document_type_detail": "khong_chi_tiet",
"submission": 63854,
"matched_document": null,
"has_blurred_pages": false,
"has_photocopied_pages": false,
"document_child": [...],
"file_id": 2550
}
Ý nghĩa các trường:
| Tên trường | Kiểu dữ liệu | Mô tả |
|---|---|---|
| id | int | ID của document |
| page_set | list | Danh sách trang của document |
| created_at | datetime | Thời điểm tạo document |
| updated_at | datetime | Thời điểm document có sự thay đổi gần nhất |
| deleted_at | datetime | Thời điểm document bị xóa |
| name | string | Tên của document |
| status | string | Trạng thái của document |
| note | string | Ghi chú |
| last_validated_at | string | Thời gian xác thực dữ liệu thành công |
| last_verified_at | string | Thời gian xác nhận document thành công |
| document_type | dict | Thông tin về loại của document |
| document_type_detail | string | Loại chi tiết của document |
| submission | int | ID của hồ sơ chứa document |
| matched_document | int | ID của document khác document này trùng |
| has_blurred_pages | bool | Document có trang bị mờ không |
| has_photocopied_pages | bool | Document có trang là photocopy không |
| document_child | list | Danh sách ID của tài liệu trùng với tài liệu hiện tại |
| file_id | int | ID của file của document |