Details

API URL

{{url}}/admin-service/labtest/details

Method

POST

Description

Lab test details

Sample Input:

{ "id": 98, "tenantId": 156 }

Output

Field Name

Type

Comments

id

Number

Lab test id

tenantId

Number

Country id

name

String

Lab test name

id

Number

Lab test result id

name

String

Lab test result name

labTestId

Number

Lab test result id

id

Number

Lab test range id

labTestResultId

Number

Lab test result id

minimumValue

Number

Lab test range minimum value

maximumValue

Number

Lab test range maximum value

displayOrder

Number

Lab test range display order

displayName

String

Lab test range display name

active

String

Lab test status

Sample Output:

{
    "message": "Got LabTest.",
    "entity": {
        "id": 98,
        "createdBy": 1,
        "updatedBy": 1,
        "createdAt": "2022-05-20T14:43:21+05:30",
        "updatedAt": "2023-03-01T10:31:52+05:30",
        "tenantId": 156,
        "name": "Potassium",
        "displayOrder": 11,
        "labTestResults": [
            {
                "id": 115,
                "createdBy": 1,
                "updatedBy": 6486,
                "createdAt": "2022-05-20T14:44:13+05:30",
                "updatedAt": "2023-03-01T10:31:52+05:30",
                "tenantId": 156,
                "name": "Potassium",
                "labTestId": 98,
                "labTestResultRanges": [
                    {
                        "id": 135,
                        "createdBy": 3025,
                        "updatedBy": 6486,
                        "createdAt": "2022-10-19T00:17:29+05:30",
                        "updatedAt": "2023-03-01T10:31:52+05:30",
                        "tenantId": 156,
                        "labTestId": 98,
                        "labTestResultId": 115,
                        "minimumValue": 4,
                        "maximumValue": 5,
                        "unit": "mEq/L",
                        "unitId": 15,
                        "displayOrder": 1,
                        "displayName": "(3.5 - 5.0 mEq/L)",
                        "active": true,
                        "deleted": false
                    }
                ],
                "displayOrder": 11,
                "active": true,
                "deleted": false
            }
        ],
        "countryId": 4,
        "resultTemplate": true,
        "active": true,
        "deleted": false
    },
    "status": true,
    "entityList": null,
    "responseCode": 200,
    "totalCount": null
}

@2024 Medtronic LABS