powered by
This function takes a character vector, checks whether it contains valid XPath (1.0) expressions and returns it as an fhir_xpath_expression object. These objects are used in fhir_parameters objects.
fhir_parameters
fhir_xpath_expression(expression)
A XPath expression object
A character vector of the XPath expressions
fhir_xpath_expression(c("//Patient", "name/given"))
Run the code above in your browser using DataLab