Learn R Programming

fhircrackr (version 0.2.1)

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 string containing the path to the folder were the files are stored.

Value

A list of bundles in xml format.

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