Learn R Programming

fhircrackr (version 2.3.0)

medication_bundles: Exemplary FHIR bundles

Description

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

All example data sets are fhir_bundle_lists containing fhir_bundle_serialized objects representing FHIR bundles as returned by fhir_search(). They have to be unserialized (once per R session), before you can work with them!

Usage

medication_bundles

patient_bundles

Arguments

Format

An object of class fhir_bundle_list of length 3.

An object of class fhir_bundle_list of length 2.

Details

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

patient_bundles contains 2 bundles with Patient resources.

Examples

Run this code
#unserialize xml objects before doing anything else with them!
fhir_unserialize(bundles = medication_bundles)

#unserialize xml objects before doing anything else with them!
fhir_unserialize(bundles = patient_bundles)

Run the code above in your browser using DataLab