fhir_unserialize {fhircrackr} | R Documentation |
Unserialize a fhir_bundle, fhir_bundle_list or fhir_resource
Description
Unserializes FHIR resources or bundles that have been serialized to allow for saving in .rda or .RData format, i.e. it turns a fhir_bundle_serialized/fhir_resource_serialized object into an fhir_bundle_xml/fhir_resource_xml object.
Usage
fhir_unserialize(bundles)
## S4 method for signature 'fhir_bundle_xml'
fhir_unserialize(bundles)
## S4 method for signature 'fhir_bundle_serialized'
fhir_unserialize(bundles)
## S4 method for signature 'fhir_resource_xml'
fhir_unserialize(bundles)
## S4 method for signature 'fhir_resource_serialized'
fhir_unserialize(bundles)
## S4 method for signature 'fhir_bundle_list'
fhir_unserialize(bundles)
Arguments
bundles |
A fhir_bundle, fhir_bundle_list or fhir_resource object. |
Value
A fhir_bundle_serialized, fhir_bundle_list or fhir_resource_serializedobject.
Examples
#unserialize bundle list
fhir_unserialize(patient_bundles)
#unserialize single bundle
fhir_unserialize(patient_bundles[[1]])
[Package fhircrackr version 2.2.0 Index]