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


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