#unserialize example
bundles <- fhir_unserialize(bundles = example_bundles1)
#crack fhir resources
table_desc <- fhir_table_description(
resource = "Patient",
brackets = c('[', ']'),
sep = " ",
keep_attr=TRUE
)
df <- fhir_crack(bundles = bundles, design = table_desc)
#original df
df
#cast
fhir_cast(df, brackets=c('[', ']'), sep = ' ', verbose = 0)
Run the code above in your browser using DataLab