Converts a SNOMED CT ECL expression into a FHIR ValueSet URI. It can be used with the `tx_member_of function.

tx_to_ecl_value_set(ecl)

Arguments

ecl

The ECL expression.

Value

The ValueSet URI.

Examples

# Example usage of tx_to_ecl_value_set function
tx_to_ecl_value_set('<<373265006 |Analgesic (substance)|')
#> [1] "http://snomed.info/sct?fhir_vs=ecl/%3C%3C373265006%20%7CAnalgesic%20%28substance%29%7C"