| MappingsResource | R Documentation |
R6 class providing access to mapping operations.
Mappings with summary.
Mapping results with summary.
new()Create a new MappingsResource.
MappingsResource$new(base_req)
base_reqBase httr2 request object.
get()Get mappings for a concept.
MappingsResource$get( concept_id, target_vocabularies = NULL, mapping_types = NULL, direction = "both", include_indirect = FALSE, standard_only = FALSE, include_mapping_quality = FALSE, include_synonyms = FALSE, include_context = FALSE, active_only = TRUE, sort_by = NULL, sort_order = NULL, page = 1, page_size = 50 )
concept_idThe concept ID.
target_vocabulariesFilter by target vocabularies.
mapping_typesFilter by mapping types.
directionMapping direction ("outgoing", "incoming", "both"). Default "both".
include_indirectInclude indirect mappings. Default FALSE.
standard_onlyOnly standard concept mappings. Default FALSE.
include_mapping_qualityInclude quality metrics. Default FALSE.
include_synonymsInclude synonyms. Default FALSE.
include_contextInclude mapping context. Default FALSE.
active_onlyOnly active mappings. Default TRUE.
sort_bySort field.
sort_orderSort order.
pagePage number. Default 1.
page_sizeResults per page. Default 50.
map()Map concepts to a target vocabulary.
MappingsResource$map( source_concepts, target_vocabulary, mapping_type = NULL, include_invalid = FALSE )
source_conceptsVector of OMOP concept IDs to map.
target_vocabularyTarget vocabulary ID (e.g., "ICD10CM", "SNOMED").
mapping_typeMapping type (direct, equivalent, broader, narrower).
include_invalidInclude invalid mappings. Default FALSE.
print()Print resource information.
MappingsResource$print()
clone()The objects of this class are cloneable with this method.
MappingsResource$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.