View source: R/download_resources.R
fhir_save | R Documentation |
Writes a list of FHIR bundles as numbered xml files into a directory.
fhir_save(bundles, directory)
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. |
#unserialize example bundle
bundles <- fhir_unserialize(medication_bundles)
#save all bundles to temporary directory
fhir_save(bundles, directory = tempdir())
#save only two bundles (the second and the third) to temporary directory
fhir_save(bundles[c(2,3)], directory = tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.