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 [
namestringrequired
Condition name
requiredbooleanrequired
is condition required
followUpActions object
provideComment object
databoolean
Default value:
false
passboolean
Default value:
false
failboolean
Default value:
false
requiredboolean
Default value:
false
uploadAttachment object
databoolean
Default value:
false
passboolean
Default value:
false
failboolean
Default value:
false
requiredboolean
Default value:
false
uploadPictureOrVideo object
databoolean
Default value:
false
passboolean
Default value:
false
failboolean
Default value:
false
requiredboolean
Default value:
false
recordFailureCode object
databoolean
Default value:
false
failboolean
Default value:
false
requiredboolean
Default value:
false
category object[]
Array [
idstring
Category ID
namestring
Category name
]
inputMethodstringrequired
Condition input method
Possible values: [TEST_DATA
, TEST_RESULT
]
customValueGroupinteger
primary key of custom value group
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
]
labTestCategorystringrequired
custom id of category
labTestSubCategorystringrequired
custom id of sub category
productLinesstring[]
custom id of product lines
labTestTypesstring[]
short name of lab test types
viewingPermissionsstring
Possible values: [all_orgs
, selected_orgs
]
Default value:
all_orgs
selectedOrgsstring[]
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": [
{
"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": 0,
"valueRange": {
"rangeResult": [
"pass"
],
"valueResult": [
{
"value": "string",
"result": "pass"
}
],
"unit": "string"
}
}
],
"labTestCategory": "string",
"labTestSubCategory": "string",
"productLines": [
"string"
],
"labTestTypes": [
"string"
],
"viewingPermissions": "all_orgs",
"selectedOrgs": [
"string"
]
}