Learn R Programming

fhircrackr (version 2.3.0)

fhir_xpath_expression: Create fhir_xpath_expression

Description

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.

Usage

fhir_xpath_expression(expression)

Value

A XPath expression object

Arguments

expression

A character vector of the XPath expressions

Examples

Run this code
fhir_xpath_expression(c("//Patient", "name/given"))

Run the code above in your browser using DataLab