Update
API URL | {{url}}/admin-service/labtest/update |
Method | PATCH |
Description | Lab test update |
Input
Field Name | Type | Mandatory | Example |
id(lab test) | Number | Yes | 98 |
tenantId | Number | Yes | 156 |
name | String | Yes | Potassium |
displayOrder | Number | No | 1 |
id(lab test result id) | Number | Yes | 115 |
id(lab test range id) | Number | Yes | 135 |
minimumValue | Number | Yes | 3.5 |
maximumValue | Number | Yes | 5.0 |
unit | String | Yes | mEq/L |
displayOrder(Range) | Number | Yes | 1 |
displayName | String | Yes | (3.5 - 5.0 mEq/L) |
countryId | Number | Yes | 4 |
active | String | No | true |
Sample Input:
{ "id": 98, "tenantId": 156, "name": "Potassium", "displayOrder": 11, "labTestResults": [ { "id": 115, "tenantId": 156, "name": "Potassium", "labTestId": 98, "labTestResultRanges": [ { "id": 135, "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 } ], "countryId": "4", "active": true }