LabTestPropertyUpdateRequest
namestringrequired
Property name
descriptionstring
Property description
enabledboolean
Property enabled status
standardstring
Property standard
revisionstring
Property revision
revisionYearstring
Property revision year
validatityDurationstring
Property validatity duration
conditions object[]required
Array [
idstring
Condition ID
namestringrequired
Condition name
requiredbooleanrequired
is condition required
followUpActions object
provideComment object
databoolean
Default value:
falsepassboolean
Default value:
falsefailboolean
Default value:
falserequiredboolean
Default value:
falseuploadAttachment object
databoolean
Default value:
falsepassboolean
Default value:
falsefailboolean
Default value:
falserequiredboolean
Default value:
falseuploadPictureOrVideo object
databoolean
Default value:
falsepassboolean
Default value:
falsefailboolean
Default value:
falserequiredboolean
Default value:
falserecordFailureCode object
databoolean
Default value:
falsefailboolean
Default value:
falserequiredboolean
Default value:
falsecategory object[]
Array [
idstring
Category ID
namestring
Category name
]
inputMethodstringrequired
Condition input method
Possible values: [TEST_DATA, TEST_RESULT]
customValueGroup object
namestring
Custom value group name
customValues object[]
Array [
valuestring
Custom value
resultstring
Custom value result
]
valueRange object
rangeResultstring[]required
Possible values: [pass, fail]
valueResult object[]required
Array [
valuestringrequired
Value
resultstringrequired
Result
Possible values: [pass, fail, data, n/a]
]
unitstringrequired
Unit
positionintegerrequired
Condition position
]
testCategoryIdstringrequired
custom id of category
testSubcategoryIdstringrequired
custom id of subcategory
productLinesstring[]
custom id of product lines
labTestTypesstring[]
short name of lab test types
viewingPermissionsstring
Possible values: [all_orgs, selected_orgs]
Default value:
all_orgsselectedOrgsstring[]
this field is required used when viewingPermissions is selected_orgs, it's local org id
LabTestPropertyUpdateRequest
{
"name": "string",
"description": "string",
"enabled": true,
"standard": "string",
"revision": "string",
"revisionYear": "string",
"validatityDuration": "string",
"conditions": [
{
"id": "string",
"name": "string",
"required": true,
"followUpActions": {
"provideComment": {
"data": false,
"pass": false,
"fail": false,
"required": false
},
"uploadAttachment": {
"data": false,
"pass": false,
"fail": false,
"required": false
},
"uploadPictureOrVideo": {
"data": false,
"pass": false,
"fail": false,
"required": false
},
"recordFailureCode": {
"data": false,
"fail": false,
"required": false,
"category": [
{
"id": "string",
"name": "string"
}
]
}
},
"inputMethod": "TEST_DATA",
"customValueGroup": {
"name": "string",
"customValues": [
{
"value": "string",
"result": "string"
}
]
},
"valueRange": {
"rangeResult": [
"pass"
],
"valueResult": [
{
"value": "string",
"result": "pass"
}
],
"unit": "string"
},
"position": 0
}
],
"testCategoryId": "string",
"testSubcategoryId": "string",
"productLines": [
"string"
],
"labTestTypes": [
"string"
],
"viewingPermissions": "all_orgs",
"selectedOrgs": [
"string"
]
}