All pages
Powered by GitBook
1 of 1

Loading...

Get Definition of a Concept

Overview

Each SNOMED CT concept has a concept definition.

A concept definition is a set of one or more axioms that partially or sufficiently specify the meaning of a SNOMED CT concept.

Notes

  • Concept definitions are represented in two ways in SNOMED CT release files: * As a stated view represented by axioms that conform to the OWL Functional Syntax distributed in the OWL Expression Reference Set file. * As an inferred view represented by defining relationships that are distributed in the relationship file. The inferred view is generated by applying description logic classification to the stated view.

Requirements and Options

The table below describes several distinct types of access to concept definitions and the client application functionalities that each of these access types supports.

General purpose terminology services that are able to access subtype relationships relationships can be used to meet a limited set of SNOMED CT use cases. However, SNOMED CT terminology services should also provide access to the inferred view of concept definitions.

Advanced SNOMED CT terminology services require the ability to access and interpret the axioms that represent the stated view of concept definitions. They should also enable description logic classification either as a built in service or via an interface to separate classifier. Services that support classification provide added value for data retrieval and analysis by enabling post-coordinated expressions to be classified and appropriately located in the subtype hierarchy.

The required services listed in the table below omit services that only require access to subtype relationships, as these are described in .

Service Name and Status
Input
Output
Service Name and Status
Input
Output
  • Other Services

Service Name
API Call
Result
Service Name
API Call
Result
Service Name
SQL Query
Result

Access to the complete inferred view of concept definitions, including subtype relationships and attribute relationships

- Concept identifier - Edition and version

- Inferred definition of the specified concept represented as a compositional grammar expression or as a data object representing all active rows in the snapshot view of the relationship file. - Optionally, concept identifiers in the definition may be supplemented with the preferred term or fully specified name in a specified language or dialect.

Access to the complete stated view of concept definitions, as OWL axioms

- Concept identifier - Edition and version

- Stated definition of the concept represented as a set of one or more OWL axioms or as a SNOMED CT compositional grammar expression. - Optionally, concept identifiers in the definition may be supplemented with the preferred term or fully specified name in a specified language or dialect.

Validate and Apply Expression Constraints
  • Find Concepts

  • https://github.com/SNOMED-Documents/snomed-terminology-services-guide/blob/main/4%20terminology-service-types/broken-reference/README.md

  • Test Expression Subsumption

  • Use Cases

    • Explore and Review SNOMED CT

    • Support Terminology Authoring and Review

  • -- Get inferred defining relationshipsSELECT typeId,destinationId,groupFROM snap_relationship WHERE AND active=1 AND sourceId=[conceptId] AND characteristicType=900000000000011006;

    -- Get inferred defining relationshipsSELECT typeId,destinationId,groupFROM snap_relationship WHERE active=1 AND characteristicType=900000000000011006 AND sourceId=6025007;

    -- Get inferred defining relationships with termsSELECT CONCAT(typeId,"|",typeTerm,"|=", destinationId,"|",destinationTerm,"|") 'value', relationshipGroup 'group'FROM snap_rel_def_fsn WHERE sourceId=6025007;

    -- Get inferred defining relationshipsSELECT typeId,destinationId,groupFROM snap_relationship WHERE AND active=1 AND sourceId=[conceptId] AND characteristicType=900000000000011006;

    -- Get inferred defining relationshipsSELECT typeId,destinationId,groupFROM snap_relationship WHERE active=1 AND characteristicType=900000000000011006 AND sourceId=6025007;

    -- Get inferred defining relationships with termsSELECT CONCAT(typeId,"|",typeTerm,"|=", destinationId,"|",destinationTerm,"|") 'value', relationshipGroup 'group'FROM snap_rel_def_fsn WHERE sourceId=6025007;

    Get the stated definition of a concept

    for example

    or as example of a concept defined by more than one axiom

    Returns the set of rows each containing one OWL axiom.

    The sort order used in this query ensures that class axioms appear before any GCI axioms

    -- Get stated defining axiomsSELECT owlExpressionFROM snap_refset_owlexpression WHERE active=1 AND refsetId=733073007 AND referencedComponentId=[conceptId] ORDER BY owlExpression;

    -- Get stated defining axiomsSELECT owlExpressionFROM snap_refset_owlexpression WHERE active=1 AND refsetId=733073007 AND referencedComponentId=6025007 ORDER BY owlExpression;

    -- Get stated defining axiomsSELECT owlExpressionFROM snap_refset_owlexpression WHERE active=1 AND refsetId=733073007 AND referencedComponentId=473011001 ORDER BY owlExpression;

    -- Get stated defining axiomsSELECT owlExpressionFROM snap_refset_owlexpression WHERE active=1 AND refsetId=733073007 AND referencedComponentId=[conceptId] ORDER BY owlExpression;

    -- Get stated defining axiomsSELECT owlExpressionFROM snap_refset_owlexpression WHERE active=1 AND refsetId=733073007 AND referencedComponentId=6025007 ORDER BY owlExpression;

    -- Get stated defining axiomsSELECT owlExpressionFROM snap_refset_owlexpression WHERE active=1 AND refsetId=733073007 AND referencedComponentId=473011001 ORDER BY owlExpression;

    Concept definitions include two distinct elements
    • Axioms that assert that a concept is a subtype of one or more other concepts. In the inferred view these are represented as subtype relationships.

    • Axioms that assert characteristics of a concept that distinguish it from its supertypes. In the inferred view these are represented as attribute relationships.

    Access to subtype relationships

    - Concept identifier - Edition and version

    - Set of conceptIds of all concepts with a direct subtype relationship to or from the specified concept. - Optionally, additional information such as the fully specified name or preferred term of each concept in the set.

    Access to the transitive closure of subtype relationships

    - Concept identifier - Edition and version

    - Set of conceptIds of all concepts with a direct or transitive subtype relationship to or from the specified concept. - Optionally, additional information such as the fully specified name or preferred term of each concept in the set.

    Get inferred necessary normal form definition of a concept REQUIRED

    - Edition and version - Concept identifier - Language/dialect (optional)

    - Inferred definition of the specified concept as a SNOMED CT compositional grammar expression or as a data object representing all active rows in the snapshot view of the relationship file. - Optionally, concept identifiers in the definition may be supplemented with the preferred term or fully specified name in a specified language or dialect.

    Get stated definition of a concept ADVANCED

    - Edition and version - Concept identifier - Language/dialect (optional)

    - Stated definition of the concept as a set of one or more OWL axioms or as a SNOMED CT compositional grammar expression. - Optionally, concept identifiers in the definition may be supplemented with the preferred term or fully specified name in a specified language or dialect.

    Get the inferred necessary normal form definition of a concept

    for example


    Encoded URL

    or without including the terms


    Encoded URL

    Returns a JSON data object containing a compositional grammar expression representing the inferred definition of the concept.

    If the optional includeTerms parameter is set to true the expression includes the fully specified names of each concept referenced in the expression. Otherwise only the expression only includes the concept identifiers.

    Get the stated definition of a concept

    for example


    Encoded URL

    or as example of a concept defined by more than one axiom


    Encoded URL

    This service returns a JSON representation of one or more members of in the OWL expression reference set that together represent the stated definition of the identified concept. Each of these reference set members contains an axiom, represented using OWL Functional Syntax, in the additionalFields.owlExpression property string.

    Get the inferred necessary normal form definition of a concept

    for example

    Returns a JSON representation of information containing the definition of the concept.

    The data returned includes the necessary inferred, normal form definition of the concept represented as a compositional grammar expression.

    Get the stated definition of a concept

    N/A

    This service is not supported by the FHIR terminology services API

    Get the inferred necessary normal form definition of a concept

    for example

    or including terms

    Returns the set of rows each containing one defining relationship with its associated relationship group number.

    -- Get stated defining axiomsSELECT owlExpressionFROM snap_refset_owlexpression WHERE active=1 AND refsetId=733073007 AND referencedComponentId=473011001 ORDER BY owlExpression;

    -- Get stated defining axiomsSELECT owlExpressionFROM snap_refset_owlexpression WHERE active=1 AND refsetId=733073007 AND referencedComponentId=6025007 ORDER BY owlExpression;

    -- Get stated defining axiomsSELECT owlExpressionFROM snap_refset_owlexpression WHERE active=1 AND refsetId=733073007 AND referencedComponentId=[conceptId] ORDER BY owlExpression;

    -- Get inferred defining relationships with termsSELECT CONCAT(typeId,"|",typeTerm,"|=", destinationId,"|",destinationTerm,"|") 'value', relationshipGroup 'group'FROM snap_rel_def_fsn WHERE sourceId=6025007;

    -- Get inferred defining relationshipsSELECT typeId,destinationId,groupFROM snap_relationship WHERE active=1 AND characteristicType=900000000000011006 AND sourceId=6025007;

    -- Get inferred defining relationshipsSELECT typeId,destinationId,groupFROM snap_relationship WHERE AND active=1 AND sourceId=[conceptId] AND characteristicType=900000000000011006;

    Practical Requirements for Access to Concept Definitions

    Services Required

    Interdependencies

    Required By

    Depends On

    Service Examples

    The Snowstorm and FHIR examples are presented in plain text and URL encoded versions. Always use the "Encoded URL" when testing the example service requests. The plain text version is included to aid readability but using this version in a service request may result in errors. These errors result from characters that have to be encoded as they are not permitted in a URL (see IETF RFC1738).

    Snowstorm API

    FHIR API

    MySQL Example Database

    Get and Test Concept Subtypes and Supertypes
    Get and Test Concept Subtypes and Supertypes
    Get and Test Reference Set Membership
    Select Edition and Version
    Get a Concept, Description or Relationship
    Provide Feedback
    GET [snowstorm]/[branch]/concepts/[conceptId]/normal-form?includeTerms=[true|false]
    GET [snowstorm]/MAIN/2020-01-31/concepts/6025007/normal-form?includeTerms=true
    GET [snowstorm]/MAIN%2F2020-01-31/concepts/6025007/normal-form?includeTerms=true
    GET [snowstorm]/MAIN/2020-01-31/concepts/6025007/normal-form
    GET [snowstorm]/MAIN%2F2020-01-31/concepts/6025007/normal-form
    GET [snowstorm]/MAIN%2F2020-01-31/members?referenceSet=733073007&referencedComponentId=[conceptId]
    GET [snowstorm]/MAIN%2F2020-01-31/members?referenceSet=733073007&referencedComponentId=6025007
    GET [snowstorm]/MAIN%2F2020-01-31/members?referenceSet=733073007&referencedComponentId=6025007
    GET [snowstorm]/MAIN%2F2020-01-31/members?referenceSet=733073007&referencedComponentId=473011001
    GET [snowstorm]/MAIN%2F2020-01-31/members?referenceSet=733073007&referencedComponentId=473011001
    [fhir]/CodeSystem/$lookup?system=http://snomed.info/sct&code=[conceptId]&property=normalForm&_format=json
    GET [fhir]/CodeSystem/$lookup?system=http://snomed.info/sct&code=6025007&property=normalForm&_format=json