ICD10
Coming soon.
Preliminary Examples
Search: Full terms search
query examples_icd10_search_full_term {
terminology {
icd10 {
classes(search: {text: "Schmerz", type: TERM_FULL_WORDS}) {
items {
id
icdVersion {
icdVersion
icdAdoption
}
code
kind
preferredName
}
}
}
}
}
Search: Contains search
query examples_icd10_search_term_contains {
terminology {
icd10 {
classes(search: {text: "Schmerz", type: TERM_CONTAINS}) {
items {
id
icdVersion {
icdVersion
icdAdoption
}
code
kind
preferredName
}
}
}
}
}
Search: Autocomplete search
query examples_icd10_search_term_autocomplete {
terminology {
icd10 {
classes(search: {text: "Schmerz", type: TERM_AUTOCOMPLETE}) {
items {
id
icdVersion {
icdVersion
icdAdoption
}
code
kind
preferredName
}
}
}
}
}
Search: Code contains search
query examples_icd10_code_contains {
terminology {
icd10 {
classes(search: {code: "L89.0", type: CODE_CONTAINS}) {
items {
id
icdVersion {
icdVersion
icdAdoption
}
code
kind
preferredName
}
}
}
}
}
Search: Code autocomplete
query examples_icd10_code_autocomplete {
terminology {
icd10 {
classes(search: {code: "L89.0", type: CODE_AUTOCOMPLETE}) {
items {
id
icdVersion {
icdVersion
icdAdoption
}
code
kind
preferredName
}
}
}
}
}
Details: Class (by code)
query examples_icd10_class_by_code {
terminology {
icd10 {
class(icdCode: "R52") {
id
}
}
}
}
Details: Class (by id)
With id from Details of a class (by code)
query examples_icd10_class_by_id {
terminology{
icd10{
class(id:"*id*"){
id
code
preferredName
parent{
id
code
preferredName
}
children{
id
code
preferredName
}
}
}
}
}
Details: Class with specifications
With id retrieved for "L89.0"
query examples_icd10_class_with_spec {
terminology{
icd10{
class(id:"*id*"){
id
code
preferredName
parent{
id
code
preferredName
}
children{
id
code
preferredName
}
specifications{
id
code
specificationClasses{
id
code
preferredName
}
}
}
}
}
}
Mappings: Class to Snomed/MedDRA
With id from J45.9.
query examples_icd10_mappings {
terminology{
icd10{
class(id:*id*){
id
code
preferredName
mappings{
meddraCode
meddra{
id
code
name
}
snomedCode
snomed{
id
preferredTerm
}
}
}
}
}
}