Update Biomarker

Use the mutation updateBiomarker to update an existing biomarker using its ID.

Available Arguments

ArgumentTypeDescription

id

ID!

Id of biomarker.

name

String

Name of biomarker.

category

ID

method

String

BIomarker method definition.

description

String

Biomarker Description.

order

Int

Sets view order, ascending. Default = 0.

isVisible

Boolean

Visibility of biomarker for an end-user. Default = True.

range

range

range.max

Float

Highest value to be considered as normal.

range.min

Float

Lowest value to be considered as normal.

optimalRange

optimalRange

optimalRange.max

Float

Highest value to be considered as optimal.

optimalRange.min

Float

Lowest value to be considered as optimal.

borderlineRange

borderlineRange

borderlineRange.max

Float

Highest value to be considered as borderline.

borderlineRange.min

Float

Lowest value to be considered as borderline.

units

[ID!]

aliases

[BiomarkerAliasInput!]

aliases.name

String!

Name of the biomarker alias.

aliases.language

BiomarkerLanguage!

enum: AFRIKAANS ALBANIAN ARABIC CATALAN CHINESE CROATIAN CZECH DANISH DUTCH ENGLISH ESTONIAN FRENCH GERMAN HEBREW HINDI INDONESIAN ITALIAN JAPANESE KOREAN POLISH PORTUGUESE ROMANIAN RUSSIAN SERBIAN SPANISH SWEDISH THAI TURKISH UKRAINIAN VIETNAMESE ZULU

Available Fields

Field NameTypeDescription

success

Boolean!

True if the biomarker has been updated successfully. Otherwise, False

message

String!

Description of the result.

biomarker

Biomarker

A structured version of biomarker information. It contains id and name fields.

Example

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 } 
    }
  }
}

Last updated