Docus Lab SAAS Sandbox
  1. Lab Test
Docus Lab SAAS Sandbox
  • Getting Started
  • Initial Biomarkers and Biomarker Groups Setup
  • Flow Between Lab and API
  • Limitations
  • Support
  • Patient
    • Create a patient
      POST
    • Update a patient
      PUT
    • Get patient by ID
      GET
  • Visit
    • Create visit
      POST
    • Create composite visit
      POST
    • Generate AI report
      POST
    • Get AI report by visit ID
      GET
  • Lab Test
    • Create a plain lab test
      POST
    • Create a lab test with biomarkers
      POST
    • Create bulk plain lab tests
      POST
    • Create bulk lab tests with biomarkers
      POST
    • Get lab test by ID
      GET
  • Biomarker Group
    • Create a biomarker group
      POST
    • Update a biomarker group
      PUT
    • Get biomarker group by ID
      GET
  • Biomarker
    • Create a biomarker
      POST
    • Update biomarker by ID
      PUT
    • Get biomarker by ID
      GET
  • Branch
    • Create a branch
      POST
    • Update branch by ID
      PUT
    • Get branch by ID
      GET
  • Webhooks
    • Health reports
    • Notifications
  • Schemas
    • Schemas
      • UpdateBiomarkerDto
      • CreateLabTestPlanDTO
      • UpdateBiomarkerGroupDto
      • LabTestReport
      • CreateCompositeVisitDto
      • MultipleTestIdsDto
      • CreateBulkLabTestsPlainDTO
      • CreateBulkLabTestsDTO
      • CreateBranchDto
      • UpdateBranchDto
      • Biomarker
      • CreateBiomarkerGroupDto
      • CreateBiomarkerDto
      • SingleReport
      • CreatePatientDto
      • UpdatePatientDto
      • CreateVisitDto
      • CreateLabTestDTO
  1. Lab Test

Create a lab test with biomarkers

POST
/test-result/with-biomarkers

Request

Header Params

Body Params application/json

Examples

Responses

🟢201Created
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/test-result/with-biomarkers' \
--header 'x-api-key: {{api-key}}' \
--header 'x-docus-key: {{docus-key}}' \
--header 'x-auth-secret: {{auth-secret}}' \
--header 'x-team-id: {{team-id}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "test_result_id": "test_result_abc123",
    "patient_id": "15026",
    "visit_id": "2542",
    "biomarker_group_id": "58410-2",
    "biomarkers": [
        {
            "biomarker_id": "6690-2",
            "value": "16",
            "lower_referent_value": "14",
            "upper_referent_value": "17",
            "clinical_flag": "normal",
            "referent_value": [
                {
                    "Name": "Normal Range",
                    "Language": "en"
                }
            ]
        },
        {
            "biomarker_id": "718-7",
            "value": "13.7",
            "lower_referent_value": "4.1",
            "upper_referent_value": "12.2",
            "clinical_flag": "high",
            "referent_value": [
                {
                    "Name": "Normal Range",
                    "Language": "en"
                }
            ]
        }
    ]
}'
Response Response Example
{
    "message": "Test Result created successfully."
}
Modified at 2025-08-11 06:36:25
Previous
Create a plain lab test
Next
Create bulk plain lab tests
Built with