Learn R Programming

fhircrackr (version 0.2.1)

fhir_serialize: Serialize a FHIR Bundle list

Description

Serializes a list of FHIR bundles to allow for saving in .rda or .RData format without losing integrity of pointers

Usage

fhir_serialize(bundles)

Arguments

bundles

A list of xml objects representing FHIR bundles as returned by fhir_search

Value

A list of serialized xml objects

Examples

Run this code
# NOT RUN {
#example bundles are serialized, unserialize like this:
bundles <- fhir_unserialize(medication_bundles)

#Serialize like this:
bundles_for_saving <- fhir_serialize(bundles)
# }

Run the code above in your browser using DataLab