Docus Lab SAAS Sandbox
  1. Patient
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. Patient

Create a patient

POST
/patient

Request

Header Params

Body Params application/json

Examples

Responses

🟢201Created
application/json
Patient created successfully
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/patient' \
--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 '{
    "patient_id": "patient_id",
    "sex": "male",
    "date_of_birth": "1990-01-01",
    "note": "Patient has a history of allergies",
    "email": "email@example.com"
}'
Response Response Example
{
    "message": "Patient created successfully"
}
Modified at 2025-10-02 19:54:07
Previous
Support
Next
Update a patient
Built with