attrConcept | R Documentation |
Returns the portion of the SNOMED CT relationship tables containing relationships where the given concepts are either the source or the destination.
attrConcept(
conceptIds,
SNOMED = getSNOMED(),
tables = c("RELATIONSHIP", "STATEDRELATIONSHIP"),
active_only = TRUE
)
conceptIds |
character or integer64 vector of SNOMED concept IDs |
SNOMED |
environment containing a SNOMED dictionary |
tables |
character vector of relationship tables to use |
active_only |
whether to return only active attributes |
a data.table with the following columns: sourceId (concept ID of source for relationship), destinationId (concept ID of source for relationship), typeId (concept ID of relationship type), typeName (description of relationship type)
SNOMED <- sampleSNOMED()
attrConcept(as.SNOMEDconcept('Heart failure'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.