Update Biomarker
Last updated
Was this helpful?
Was this helpful?
mutation {
updateBiomarker(input: {
id:"QmlvbWFya2VyOjE="
name: "Diabetes Risk Index",
category: "QmlvbWFya2VyQ2F0ZWdvcnk6NDg=",
method: "Method for diabetes risk index",
description: "Diabetes...",
order: 0,
isVisible: true,
range: { max: 100, min: 50},
optimalRange: { max: 80, min: 70 },
borderlineRange: { max: 110, min: 40 },
units: ["QmlvbWFya2VyVW5pdDox"],
aliases: [{ name: "DRI", language: ENGLISH }]
}) {
success
message
errors { field messages }
biomarker {
alert alertText id name category { id name } range { min max } optimalRange { min max }
}
}
}{
"data": {
"addBiomarker": {
"success": true,
"message": "Biomarker saved",
"errors": null,
"biomarker": {
"id": "QmlvbWFya2VyOjE=",
"name": "Diabetes Risk Index",
"category": {
"id": "QmlvbWFya2VyQ2F0ZWdvcnk6NDg=",
"name": "Adrenocortical hormones"
},
"range": {
"min": 0,
"max": 100
},
"optimalRange": {
"min": 0,
"max": 100
}
}
}
}
}