fhir_xpath_expression {fhircrackr}R Documentation

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)

Arguments

expression

A character vector of the XPath expressions

Value

A XPath expression object

Examples

fhir_xpath_expression(c("//Patient", "name/given"))


[Package fhircrackr version 2.2.0 Index]