fhir_resource_xml-methods: Create fhir_resource_xml object

fhir_resource_xmlR Documentation

Create fhir_resource_xml object

Description

Create fhir_resource_xml object

Usage

fhir_resource_xml(resource)

## S4 method for signature 'xml_document'
fhir_resource_xml(resource)

## S4 method for signature 'xml_node'
fhir_resource_xml(resource)

## S4 method for signature 'character'
fhir_resource_xml(resource)

Arguments

resource

A xml-object representing a FHIR resource

Examples

fhir_resource_xml(resource = xml2::read_xml("<Patient><id value = '1'/></Patient>"))


TPeschel/fhiR documentation built on April 14, 2024, 7:31 a.m.