tx_designation | R Documentation |
Takes a Coding column as its input. Returns a Column that contains the values of designations (strings) for this coding that match the specified use and language. If the language is not provided, then all designations with the specified type are returned regardless of their language.
tx_designation(coding, use = NULL, language = NULL)
coding |
A Column containing a struct representation of a Coding. |
use |
The code with the use of the designations. |
language |
The language of the designations. |
The Column containing the result of the operation (array of strings with designation values).
Pathling documentation - Retrieving designations
## Not run:
# Get the (first) SNOMED CT "Fully specified name" ('900000000000003001')
# for the first coding of the Condition resource, in the 'en' language.
pc %>% pathling_example_resource('Condition') %>%
sparklyr::mutate(
id,
designation = (!!tx_designation(code[['coding']][[0]],
!!tx_to_snomed_coding('900000000000003001'), language = 'en'))[[0]],
.keep='none')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.