Learn R Programming

fhircrackr (version 1.0.0)

fhir_save: Save FHIR bundles as xml-files

Description

Writes a list of FHIR bundles as numbered xml files into a directory.

Usage

fhir_save(bundles, directory = "result")

Arguments

bundles

A list of xml objects representing the FHIR bundles.

directory

A character vector of length one containing the path to the folder to store the data in.

Examples

Run this code
# NOT RUN {
#unserialize example bundle
bundles <- fhir_unserialize(medication_bundles)

#save to temporary directory
fhir_save(bundles, directory = tempdir())
# }

Run the code above in your browser using DataLab