Learn R Programming

fhircrackr (version 1.0.0)

fhir_load: Load bundles from xml-files

Description

Reads all bundles stored as xml files from a directory.

Usage

fhir_load(directory)

Arguments

directory

A character vector of length one containing the path to the folder were the files are stored.

Value

A '>fhir_bundle_list.

Examples

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

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

#load from temporary directory
loaded_bundles <- fhir_load(tempdir())
# }

Run the code above in your browser using DataLab