Learn R Programming

fhircrackr (version 0.2.1)

medication_bundles: Exemplary FHIR bundles

Description

This data example can be used to explore some of the functions from the fhircrackr package when direct access to a FHIR server is not possible.

Usage

medication_bundles

Arguments

Format

List of length 3 containing serialized "xml_document" objects, each representing one bundle from a FHIR search request. They have to be unserialized before use, see Examples!

Details

medication_bundles is a list of serialized xml objects representing FHIR bundles as returned by fhir_search().

It contains 3 bundles with MedicationStatement resources representing Medications with Snomed CT code 429374003 and the respective Patient resources that are linked to these MedicationStatements.

It corresponds to the example of downloading and flattening FHIR resources from the vignette of the package.

Examples

Run this code
# NOT RUN {
#unserialize xml objects before doing anything else with them!
medication_bundles <- fhir_unserialize(medication_bundles)


# }

Run the code above in your browser using DataLab