openapi: 3.2.0
info:
title: NCI EVS Rest Metadata endpoints API
description: Endpoints to support searching, metadata, and content retrieval for EVS terminologies. To learn more about how to interact with this api, see the Github evsrestapi-client-SDK project.
termsOfService: https://evs.nci.nih.gov/ftp1/NCI_Thesaurus/ThesaurusTermsofUse.htm
contact:
name: NCI EVS
email: NCIAppSupport@nih.gov
version: 2.4.1.RELEASE
servers:
- url: /
tags:
- name: Metadata endpoints
paths:
/api/v1/metadata/{terminology}:
get:
tags:
- Metadata endpoints
summary: Get some metadata (associations, properties, qualifiers, roles, term types…
operationId: getOverviewMetadata
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: object
additionalProperties:
type: array
items:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/{terminology}/welcomeText:
get:
tags:
- Metadata endpoints
summary: Get welcome text for the specified terminology
operationId: getWelcomeText
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
responses:
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
text/html:
schema:
type: string
/api/v1/metadata/{terminology}/termTypes:
get:
tags:
- Metadata endpoints
summary: Get all term types for the specified terminology
operationId: getTermTypes
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
responses:
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ConceptMinimal'
/api/v1/metadata/{terminology}/synonymTypes:
get:
tags:
- Metadata endpoints
summary: Get all synonym types (or those specified by list parameter) for the specified…
operationId: getSynonymTypes
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
- name: include
in: query
description: 'Indicator of how much data to return. Comma-separated list of any of the following values: minimal, summary, full, associations, children, definitions, disjointWith, inverseAssociations, inverseRoles, maps, parents, properties, roles, synonyms. See here for detailed information.'
required: false
schema:
type: string
example: minimal
- name: list
in: query
description: List of codes or labels to return synonym types for (or leave blank for all). If invalid values are passed, the result will simply include no entries for those invalid values.
required: false
schema:
type: string
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/{terminology}/synonymType/{codeOrName}:
get:
tags:
- Metadata endpoints
summary: Get the synonym type for the specified terminology and code/name
operationId: getSynonymType
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
- name: codeOrName
in: path
description: Synonym type code (or name), e.g.
- 'P90' or 'FULL_SYN' for ncit
- 'Preferred_Name' or 'Preferred name' for ncim
required: true
schema:
type: string
- name: include
in: query
description: 'Indicator of how much data to return. Comma-separated list of any of the following values: minimal, summary, full, associations, children, definitions, disjointWith, inverseAssociations, inverseRoles, maps, parents, properties, roles, synonyms. See here for detailed information.'
required: false
schema:
type: string
example: summary
responses:
'417':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/{terminology}/synonymSources:
get:
tags:
- Metadata endpoints
summary: Get all synonym sources for the specified terminology
operationId: getSynonymSources
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
responses:
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ConceptMinimal'
/api/v1/metadata/{terminology}/subsets:
get:
tags:
- Metadata endpoints
summary: Get all subsets (or those specified by list parameter) for the specified…
description: This endpoint will be deprecated in v2 in favor of top level subset endpoints.
operationId: getSubsets_1
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit'. This call is only meaningful for ncit.
required: true
schema:
type: string
example: ncit
- name: include
in: query
description: 'Indicator of how much data to return. Comma-separated list of any of the following values: minimal, summary, full, associations, children, definitions, disjointWith, inverseAssociations, inverseRoles, maps, parents, properties, roles, synonyms. See here for detailed information.'
required: false
schema:
type: string
example: minimal
- name: list
in: query
description: List of codes or labels to return subsets for (or leave blank for all). If invalid values are passed, the result will simply include no entries for those invalid values.
required: false
schema:
type: string
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/{terminology}/subset/{code}:
get:
tags:
- Metadata endpoints
summary: Get the subset for the specified terminology and code
description: This endpoint will be deprecated in v2 in favor of top level subset endpoints.
operationId: getSubset_1
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit'.
required: true
schema:
type: string
example: ncit
- name: code
in: path
description: Subset code, e.g. 'C116978' for ncit. This call is only meaningful for ncit.
required: true
schema:
type: string
- name: include
in: query
description: 'Indicator of how much data tc return. Comma-separated list of any of the following values: minimal, summary, full, associations, children, definitions, disjointWith, inverseAssociations, inverseRoles, maps, parents, properties, roles, synonyms. See here for detailed information.'
required: false
schema:
type: string
example: summary
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/{terminology}/stats/{source}:
get:
tags:
- Metadata endpoints
summary: Get statistics for the source within the specified terminology
description: This endpoint is mostly for NCIm to make source overlap statistics available.
operationId: getSourceStats
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit'.
required: true
schema:
type: string
example: ncim
- name: source
in: path
description: terminology source code, e.g. 'LNC' for ncim.
required: true
schema:
type: string
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: object
additionalProperties:
type: array
items:
$ref: '#/components/schemas/StatisticsEntry'
/api/v1/metadata/{terminology}/roles:
get:
tags:
- Metadata endpoints
summary: Get all roles (or those specified by list parameter) for the specified…
operationId: getRoles
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit'. This call is only meaningful for ncit.
required: true
schema:
type: string
example: ncit
- name: include
in: query
description: 'Indicator of how much data to return. Comma-separated list of any of the following values: minimal, summary, full, associations, children, definitions, disjointWith, inverseAssociations, inverseRoles, maps, parents, properties, roles, synonyms. See here for detailed information.'
required: false
schema:
type: string
example: minimal
- name: list
in: query
description: List of codes or labels to return roles for (or leave blank for all). If invalid values are passed, the result will simply include no entries for those invalid values.
required: false
schema:
type: string
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/{terminology}/role/{codeOrName}:
get:
tags:
- Metadata endpoints
summary: Get the role for the specified terminology and code/name
operationId: getRole
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit'
required: true
schema:
type: string
example: ncit
- name: codeOrName
in: path
description: Role code (or name), e.g. 'R123' or 'Chemotherapy_Regimen_Has_Component' for ncit. This call is only meaningful for ncit.
required: true
schema:
type: string
- name: include
in: query
description: 'Indicator of how much data to return. Comma-separated list of any of the following values: minimal, summary, full, associations, children, definitions, disjointWith, inverseAssociations, inverseRoles, maps, parents, properties, roles, synonyms. See here for detailed information.'
required: false
schema:
type: string
example: summary
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/{terminology}/qualifiers:
get:
tags:
- Metadata endpoints
summary: Get all qualifiers (properties on properties) for the specified terminology
operationId: getQualifiers
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
- name: include
in: query
description: 'Indicator of how much data to return. Comma-separated list of any of the following values: minimal, summary, full, associations, children, definitions, disjointWith, inverseAssociations, inverseRoles, maps, parents, properties, roles, synonyms. See here for detailed information.'
required: false
schema:
type: string
example: minimal
- name: list
in: query
description: List of codes or labels to return qualifiers for (or leave blank for all)
required: false
schema:
type: string
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/{terminology}/qualifier/{codeOrName}:
get:
tags:
- Metadata endpoints
summary: Get the qualifier for the specified terminology and code/name
operationId: getQualifier
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
- name: codeOrName
in: path
description: Qualifier code (or name), e.g.- 'P390' or 'go-source' for ncit
- 'RG' or 'Relationship group' for ncim
required: true
schema:
type: string
- name: include
in: query
description: 'Indicator of how much data to return. Comma-separated list of any of the following values: minimal, summary, full, associations, children, definitions, disjointWith, inverseAssociations, inverseRoles, maps, parents, properties, roles, synonyms. See here for detailed information.'
required: false
schema:
type: string
example: summary
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/{terminology}/qualifier/{codeOrName}/values:
get:
tags:
- Metadata endpoints
summary: Get qualifier values for the specified terminology and code/name
operationId: getQualifierValues
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
- name: codeOrName
in: path
description: Qualifier code (or name), e.g.- 'P390' or 'go-source' for ncit
- 'RG' or 'Relationship group' for ncim
required: true
schema:
type: string
responses:
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: array
items:
type: string
/api/v1/metadata/{terminology}/property/{codeOrName}:
get:
tags:
- Metadata endpoints
summary: Get the property for the specified terminology and code/name
operationId: getProperty
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
- name: codeOrName
in: path
description: Property code (or name), e.g. - 'P216' or 'BioCarta_ID' for ncit
- 'BioCarta_ID' or ''BioCarta ID' for ncim
required: true
schema:
type: string
- name: include
in: query
description: 'Indicator of how much data to return. Comma-separated list of any of the following values: minimal, summary, full, associations, children, definitions, disjointWith, inverseAssociations, inverseRoles, maps, parents, properties, roles, synonyms. See here for detailed information.'
required: false
schema:
type: string
example: summary
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/{terminology}/property/{codeOrName}/values:
get:
tags:
- Metadata endpoints
summary: Get property values for the specified terminology and code/name
operationId: getPropertyValues
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
- name: codeOrName
in: path
description: Property code (or name), e.g.- 'P216' or 'BioCarta_ID' for ncit
- 'Semantic_Type' for ncim
required: true
schema:
type: string
responses:
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: array
items:
type: string
/api/v1/metadata/{terminology}/properties:
get:
tags:
- Metadata endpoints
summary: Get all properties (or those specified by list parameter) for the specified…
operationId: getProperties
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
- name: include
in: query
description: 'Indicator of how much data to return. Comma-separated list of any of the following values: minimal, summary, full, associations, children, definitions, disjointWith, inverseAssociations, inverseRoles, maps, parents, properties, roles, synonyms. See here for detailed information.'
required: false
schema:
type: string
example: minimal
- name: list
in: query
description: List of codes or labels to return properties for (or leave blank for all). If invalid values are passed, the result will simply include no entries for those invalid values.
required: false
schema:
type: string
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/{terminology}/definitionTypes:
get:
tags:
- Metadata endpoints
summary: Get all definition types (or those specified by list parameter) for the…
operationId: getDefinitionTypes
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
- name: include
in: query
description: 'Indicator of how much data to return. Comma-separated list of any of the following values: minimal, summary, full, associations, children, definitions, disjointWith, inverseAssociations, inverseRoles, maps, parents, properties, roles, synonyms. See here for detailed information.'
required: false
schema:
type: string
example: minimal
- name: list
in: query
description: List of codes or labels to return definition types for (or leave blank for all). If invalid values are passed, the result will simply include no entries for those invalid values.
required: false
schema:
type: string
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/{terminology}/definitionType/{codeOrName}:
get:
tags:
- Metadata endpoints
summary: Get the definition type for the specified terminology and code/name
operationId: getDefinitionType
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
- name: codeOrName
in: path
description: Definition type code (or name), e.g.- 'P325' or 'DEFINITION' for ncit
- 'DEFINITION' for ncim
required: true
schema:
type: string
- name: include
in: query
description: 'Indicator of how much data to return. Comma-separated list of any of the following values: minimal, summary, full, associations, children, definitions, disjointWith, inverseAssociations, inverseRoles, maps, parents, properties, roles, synonyms. See here for detailed information.'
required: false
schema:
type: string
example: summary
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/{terminology}/definitionSources:
get:
tags:
- Metadata endpoints
summary: Get all definition sources for the specified terminology
operationId: getDefinitionSources
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
responses:
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ConceptMinimal'
/api/v1/metadata/{terminology}/conceptStatuses:
get:
tags:
- Metadata endpoints
summary: Get all concept status values for the specified terminology
operationId: getConceptStatuses
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit'. This call is only meaningful for ncit.
required: true
schema:
type: string
example: ncit
responses:
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: array
items:
type: string
/api/v1/metadata/{terminology}/associations:
get:
tags:
- Metadata endpoints
summary: Get all associations (or those specified by list parameter) for the specified…
operationId: getAssociations
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
- name: include
in: query
description: 'Indicator of how much data to return. Comma-separated list of any of the following values: minimal, summary, full, associations, children, definitions, disjointWith, inverseAssociations, inverseRoles, maps, parents, properties, roles, synonyms. See here for detailed information.'
required: false
schema:
type: string
example: minimal
- name: list
in: query
description: List of codes or labels to return associations for (or leave blank for all). If invalid values are passed, the result will simply include no entries for those invalid values.
required: false
schema:
type: string
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/{terminology}/association/{codeOrName}:
get:
tags:
- Metadata endpoints
summary: Get the association for the specified terminology and code/name
operationId: getAssociation
parameters:
- name: terminology
in: path
description: Terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: true
schema:
type: string
example: ncit
- name: codeOrName
in: path
description: Association code (or name), e.g. - 'A10' or 'Has_CDRH_Parent' for ncit
- 'RB' or 'has a broader relationship' for ncim
required: true
schema:
type: string
- name: include
in: query
description: 'Indicator of how much data to return. Comma-separated list of any of the following values: minimal, summary, full, associations, children, definitions, disjointWith, inverseAssociations, inverseRoles, maps, parents, properties, roles, synonyms. See here for detailed information.'
required: false
schema:
type: string
example: summary
responses:
'417':
description: Expectation failed
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
$ref: '#/components/schemas/Concept'
/api/v1/metadata/terminologies:
get:
tags:
- Metadata endpoints
summary: Get all available terminologies
operationId: getTerminologies
parameters:
- name: latest
in: query
description: Return terminologies with matching latest value. e.g. true or false
required: false
schema:
type: boolean
example: true
- name: tag
in: query
description: Return terminologies with matching tag. e.g. 'monthly' or 'weekly' for ncit
required: false
schema:
type: string
- name: terminology
in: query
description: Return entries with matching terminology, e.g. 'ncit' or 'ncim' (See here for complete list)
required: false
schema:
type: string
responses:
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/RestException'
'200':
description: Successfully retrieved the requested information
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Terminology'
components:
schemas:
Definition:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
definition:
type: string
description: Text definition value
highlight:
type: string
description: Used by search calls to provide information for highlighting a view of results
code:
type: string
description: Definition code
type:
type: string
description: Definition type
source:
type: string
description: Definition source
qualifiers:
type: array
description: Type/value qualifiers on the definition
items:
$ref: '#/components/schemas/Qualifier'
description: Represents a text definition for a concept
Terminology:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
terminology:
type: string
description: Terminology abbreviation, e.g. 'ncit'
version:
type: string
description: Terminology version, e.g. '23.11d'
date:
type: string
description: Terminology publication/release date
name:
type: string
description: Terminology name
description:
type: string
description: Terminology description
graph:
type: string
description: Name of the RDF triplestore graph if this data is backed by a triplestore
terminologyVersion:
type: string
description: Underscore-separated value for terminology and version used by the API to precisely pinpoint a particular version, e.g. 'ncit_23.11d'
latest:
type: boolean
description: Indicates whether this is the latest version
tags:
type: object
additionalProperties:
type: string
description: Additional terminology tags
description: Additional terminology tags
indexName:
type: string
description: for internal use
objectIndexName:
type: string
description: for internal use
metadata:
$ref: '#/components/schemas/TerminologyMetadata'
sparqlFlag:
type: boolean
description: Indicates whether the terminology can be used with SPARQL
description: Represents a terminology loaded into the API
DisjointWith:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
code:
type: string
description: Relationship code
type:
type: string
description: Relationship type
relatedCode:
type: string
description: Related code (the code on the other side of the relationship)
relatedName:
type: string
description: Preferred name of the related code
source:
type: string
description: Relationship source
group:
type: string
description: Role group number for grouping related roles
highlight:
type: string
description: Used by search calls to provide information for highlighting a view of results
qualifiers:
type: array
description: Type/value qualifiers on the relationship
items:
$ref: '#/components/schemas/Qualifier'
description: Represents an assertion of disjointness between two concepts
Mapping:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
mapsetCode:
type: string
source:
type: string
description: Terminology of the source code, e.g. 'ncit'
sourceName:
type: string
description: Preferred name of the source code
sourceTermType:
type: string
description: Term type of the source code
sourceCode:
type: string
description: Source code of the map (the thing being mapped 'from')
sourceTerminology:
type: string
description: Human-readable label for the terminology of the source code, e.g. 'NCI Thesaurus'
sourceTerminologyVersion:
type: string
description: Terminology version of the source code
sourceLoaded:
type: boolean
description: Indicates whether the source code terminology/version is currently loaded
type:
type: string
rank:
type: string
group:
type: string
rule:
type: string
target:
type: string
description: Terminology of the target code, e.g. 'ncit'
targetName:
type: string
targetTermType:
type: string
targetCode:
type: string
description: Target code of the map (the thing being mapped 'to')
targetTerminology:
type: string
description: Human-readable label for the terminology of the target code, e.g. 'NCI Thesaurus'
targetTerminologyVersion:
type: string
description: Terminology version of the target code
targetLoaded:
type: boolean
description: Indicates whether the target terminology/version is currently loaded
sortKey:
type: string
targetTermGroup:
type: string
writeOnly: true
description: Represents a map from a concept to concepts in other terminologies
Role:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
code:
type: string
description: Relationship code
type:
type: string
description: Relationship type
relatedCode:
type: string
description: Related code (the code on the other side of the relationship)
relatedName:
type: string
description: Preferred name of the related code
source:
type: string
description: Relationship source
group:
type: string
description: Role group number for grouping related roles
highlight:
type: string
description: Used by search calls to provide information for highlighting a view of results
qualifiers:
type: array
description: Type/value qualifiers on the relationship
items:
$ref: '#/components/schemas/Qualifier'
description: Represents a (logically) defining relationship between two concepts
Synonym:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
name:
type: string
description: Name for a concept
highlight:
type: string
description: Used by search calls to provide information for highlighting a view of results
termType:
type: string
description: Synonym term type
type:
type: string
description: Synonym type
typeCode:
type: string
description: Synonym Type code
source:
type: string
description: Synonym source
code:
type: string
description: Code of the synonym, used in particular for Metathesaurus data where the source of the synonym is not the terminology itself
subSource:
type: string
description: Synonym sub-source
qualifiers:
type: array
description: Type/value qualifiers on the synonym
items:
$ref: '#/components/schemas/Qualifier'
active:
type: boolean
description: Indicates whether the synonym is active
description: Represents one of the (potentially many) names for a concept
ConceptMinimal:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
code:
type: string
description: Code (unique identifier) for this meaning
name:
type: string
description: Preferred name for the code
terminology:
type: string
description: Terminology abbreviation, e.g. 'nci'
version:
type: string
description: Terminology version, e.g. '23.11d'
level:
type: integer
description: Level of depth in a hierarchy (when this object is used to represent an element in a path)
format: int32
description: Represents minimal information about a concept in a terminology
TerminologyMetadata:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
uiLabel:
type: string
description: Human-readable name for the terminology to use in a UI label
maxVersions:
type: integer
description: Max number of versions to keep at the same time
format: int32
loader:
type: string
description: Label for the loader used to populate this data
conceptStatuses:
type: array
description: Concept status values used by the terminology
items:
type: string
description: Concept status values used by the terminology
excludedProperties:
uniqueItems: true
type: array
items:
type: string
retiredStatusValue:
type: string
description: Concept status value for retired concepts
detailsColumns:
type: object
additionalProperties:
type: boolean
description: Metadata for displaying concept
description: Metadata for displaying concept
hierarchy:
type: boolean
description: Indicates whether or not the terminology has a hierarchy
hierarchyRoles:
uniqueItems: true
type: array
description: Indicates role codes that are reinterpreted as parent/child
items:
type: string
description: Indicates role codes that are reinterpreted as parent/child
history:
type: boolean
description: Indicates whether or not the terminology has history records
sourceCt:
type: integer
description: Count of included sources
format: int32
subsetLink:
type: string
description: Metadata for downloading a subset
licenseText:
type: string
description: License text for the UI
metaConceptField:
type: string
description: Metadata for concept display
codeLabel:
type: string
description: Metadata for concept display
welcomeText:
type: string
description: Metadata for landing page welcome text
indexRuntime:
type: integer
format: int64
historyVersion:
type: string
synonymTermGroup:
type: string
writeOnly: true
termGroups:
type: object
additionalProperties:
type: string
writeOnly: true
preferredTermGroups:
type: array
writeOnly: true
items:
type: string
description: Represents additional terminology metadata
History:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
code:
type: string
description: Code for this history record
name:
type: string
description: Last known preferred name for the code
action:
type: string
description: Indicates the history action, e.g. 'merge', 'active', 'retire', 'SY', 'RB', etc.
date:
type: string
description: Date of the history record
replacementCode:
type: string
description: Code replacing this code
replacementName:
type: string
description: Preferred name of the code replacing this code
description: Represents a history record, generally for a retired concept
Property:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
code:
type: string
type:
type: string
description: Property type
value:
type: string
description: Property value
highlight:
type: string
description: Used by search calls to provide information for highlighting a view of results
qualifiers:
type: array
description: Type/value qualifiers on the property
items:
$ref: '#/components/schemas/Qualifier'
source:
type: string
description: Property source
description: Represents a type/value property on a concept
StatisticsEntry:
type: object
properties:
code:
type: string
description: Code for what this statistic is measuring
key:
type: string
description: Key defining an additional element to the statistic
value:
type: string
description: Value of the statistic
description: Represents an entry in a statistics table
RestException:
type: object
properties:
timestamp:
type: string
format: date-time
status:
type: integer
format: int32
error:
type: string
message:
type: string
path:
type: string
description: Payload for JSON error responses
Path:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
direction:
type: integer
description: Direction of the map (1 means node-to-root, -1 means root-to-node)
format: int32
concepts:
type: array
description: Concepts on the path
items:
$ref: '#/components/schemas/ConceptMinimal'
description: Represents a path (or partial path) in a hierarchy
Paths:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
paths:
type: array
description: List of paths
items:
$ref: '#/components/schemas/Path'
description: Represents a list of paths
Extensions:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
isDisease:
type: boolean
isDiseaseGrade:
type: boolean
isDiseaseStage:
type: boolean
isMainType:
type: boolean
isSubtype:
type: boolean
isBiomarker:
type: boolean
isReferenceGene:
type: boolean
mainMenuAncestors:
type: array
items:
$ref: '#/components/schemas/Paths'
description: Generally unset, this is used for certain special cases
Qualifier:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
code:
type: string
description: Qualifier code
type:
type: string
description: Qualifier type
value:
type: string
description: Qualifier value
description: Represents a type/value qualifier on a concept element
Association:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
code:
type: string
description: Relationship code
type:
type: string
description: Relationship type
relatedCode:
type: string
description: Related code (the code on the other side of the relationship)
relatedName:
type: string
description: Preferred name of the related code
source:
type: string
description: Relationship source
group:
type: string
description: Role group number for grouping related roles
highlight:
type: string
description: Used by search calls to provide information for highlighting a view of results
qualifiers:
type: array
description: Type/value qualifiers on the relationship
items:
$ref: '#/components/schemas/Qualifier'
description: Represents a non-defining (in a logical sense) relationship between two concepts
Concept:
type: object
properties:
uri:
type: string
description: URI for this element in an rdf-based source file
ct:
type: integer
description: Used to indicate the total amount of data in cases where a limit is being applied
format: int32
code:
type: string
description: Code (unique identifier) for this meaning
name:
type: string
description: Preferred name for the code
terminology:
type: string
description: Terminology abbreviation, e.g. 'nci'
version:
type: string
description: Terminology version, e.g. '23.11d'
level:
type: integer
description: Level of depth in a hierarchy (when this object is used to represent an element in a path)
format: int32
highlight:
type: string
description: Used by search calls to provide information for highlighting a view of results
subsetLink:
type: string
description: Link to download data for a subset, used when the concept represents subset metadata
mapsetLink:
type: string
description: Metadata for downloading a mapset
conceptStatus:
type: string
description: Status value for the concept, e.g. Retired_Concept
source:
type: string
description: Associations from this concept to other ones
leaf:
type: boolean
description: Indicates whether concept is a leaf node
active:
type: boolean
description: Indicates whether the concept is active
defining:
type: boolean
description: Indicates whether the concept is defining
synonyms:
type: array
description: Synonyms, or all of the names for this concept, including the preferred name
items:
$ref: '#/components/schemas/Synonym'
definitions:
type: array
description: Text definitions
items:
$ref: '#/components/schemas/Definition'
properties:
type: array
description: Key/value properties
items:
$ref: '#/components/schemas/Property'
children:
type: array
description: Child concepts in the hierarchy
items:
$ref: '#/components/schemas/Concept'
parents:
type: array
description: Parent concepts in the hierarchy
items:
$ref: '#/components/schemas/Concept'
descendants:
type: array
description: Descendant concepts in the hierarchy
items:
$ref: '#/components/schemas/Concept'
qualifiers:
type: array
description: Qualifiers for use when a concept is used as a parent/child - to indicate RELA for NCIm-derived content
items:
$ref: '#/components/schemas/Qualifier'
associations:
type: array
description: Associations from this concept to other ones
items:
$ref: '#/components/schemas/Association'
inverseAssociations:
type: array
description: Associations to this concept from other ones
items:
$ref: '#/components/schemas/Association'
roles:
type: array
description: Roles from this concept to other ones
items:
$ref: '#/components/schemas/Role'
disjointWith:
type: array
description: Assertions of disjointness with respect to other concepts
items:
$ref: '#/components/schemas/DisjointWith'
inverseRoles:
type: array
description: Roles to this concept from other ones
items:
$ref: '#/components/schemas/Role'
history:
type: array
description: History records
items:
$ref: '#/components/schemas/History'
maps:
type: array
description: Maps from this concept to concepts in other terminologies
items:
$ref: '#/components/schemas/Mapping'
paths:
$ref: '#/components/schemas/Paths'
extensions:
$ref: '#/components/schemas/Extensions'
description: Represents a concept in a terminology