fhir_xpath_expression: Create fhir_xpath_expression

View source: R/fhir_xpath_expression.R

fhir_xpath_expressionR 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"))


POLAR-fhiR/fhircrackr documentation built on Dec. 24, 2024, 3:06 a.m.