# NOT RUN {
#unserialize example bundles
bundles <- fhir_unserialize(medication_bundles)
#crack Patient Resources
design <- list(
Patients = list(".//Patient")
)
dfs <- fhir_crack(bundles, design)
#look at automatically generated names
names(dfs$Patients)
#extract all column names beginning with the string "name"
fhir_common_columns(data_frame = dfs$Patients, column_names_prefix = "name")
# }
Run the code above in your browser using DataLab