Package: BiocFHIR 1.15.0

Vincent Carey

BiocFHIR: Illustration of FHIR ingestion and transformation using R

FHIR R4 bundles in JSON format are derived from https://synthea.mitre.org/downloads. Transformation inspired by a kaggle notebook published by Dr Alexander Scarlat, https://www.kaggle.com/code/drscarlat/fhir-starter-parse-healthcare-bundles-into-tables. This is a very limited illustration of some basic parsing and reorganization processes. Additional tooling will be required to move beyond the Synthea data illustrations.

Authors:Vincent Carey [aut, cre]

BiocFHIR_1.15.0.tar.gz
BiocFHIR_1.15.0.zip(r-4.7)BiocFHIR_1.15.0.zip(r-4.6)BiocFHIR_1.15.0.zip(r-4.5)
BiocFHIR_1.15.0.tgz(r-4.6-any)BiocFHIR_1.15.0.tgz(r-4.5-any)
BiocFHIR_1.15.0.tar.gz(r-4.7-any)BiocFHIR_1.15.0.tar.gz(r-4.6-any)
BiocFHIR_1.15.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
BiocFHIR/json (API)
NEWS

# Install 'BiocFHIR' in R:
install.packages('BiocFHIR', repos = c('https://bioc.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/vjcitn/biocfhir/issues

Datasets:
  • allin - Collection of synthea FHIR documents ingested

On BioConductor:BiocFHIR-1.15.0(bioc 3.24)BiocFHIR-1.14.0(bioc 3.23)

infrastructuredataimportdatarepresentationfhir

5.86 score 4 stars 18 scripts 308 downloads 25 exports 58 dependencies

Last updated from:406f003b6d. Checks:1 NOTE, 9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
bioc-checksNOTE178
linux-devel-x86_64OK220
source / vignettesOK204
linux-release-x86_64OK193
macos-release-arm64OK140
macos-oldrel-arm64OK139
windows-develOK129
windows-releaseOK131
windows-oldrelOK129
wasm-releaseOK140

Exports:add_proceduresavailable_retention_schemasbuild_proccond_igraphdisplay_proccond_igraphFHIR_ResourceTypesFHIR_retention_schemasFHIRtabsfreq_appgetHumanNamemake_condition_graphmake_test_json_setprocess_AllergyIntoleranceprocess_CarePlanprocess_Claimprocess_Conditionprocess_Encounterprocess_fhir_bundleprocess_Immunizationprocess_MedicationRequestprocess_Observationprocess_Patientprocess_Procedurestack_fhirsummarise_bundlessummary_selections

Dependencies:base64encBiocBaseUtilsBiocGenericsbslibcachemclicommonmarkcpp11crosstalkdigestdplyrDTevaluatefastmapfontawesomefsgenericsgluegraphhighrhtmltoolshtmlwidgetshttpuvjquerylibjsonliteknitrlaterlazyevallifecyclemagrittrmemoisemimeotelpillarpkgconfigpromisespurrrR6rappdirsRcpprlangrmarkdownsassshinysourcetoolsstringistringrtibbletidyrtidyselecttinytexutf8vctrsvisNetworkwithrxfunxtableyaml

BiocFHIR -- infrastructure for parsing and analyzing FHIR data

Rendered fromBiocFHIR.Rmdusingknitr::rmarkdownon May 18 2026.

Last update: 2022-10-14
Started: 2022-10-02

Handling FHIR documents with BiocFHIR

Rendered fromB_handling.Rmdusingknitr::rmarkdownon May 18 2026.

Last update: 2022-10-15
Started: 2022-10-05

Linking information between FHIR resources

Rendered fromD_linking.Rmdusingknitr::rmarkdownon May 18 2026.

Last update: 2022-11-14
Started: 2022-10-06

Transforming FHIR documents to tables with BiocFHIR

Rendered fromC_tables.Rmdusingknitr::rmarkdownon May 18 2026.

Last update: 2022-10-13
Started: 2022-10-06

Upper level FHIR concepts

Rendered fromA_upper.Rmdusingknitr::rmarkdownon May 18 2026.

Last update: 2022-10-13
Started: 2022-10-05

Readme and manuals

Help Manual

Help pageTopics
update a fhir graph on patients and conditions with proceduresadd_procedures
collection of synthea FHIR documents ingestedallin
list available 'retention schemas'available_retention_schemas
build graph with patients, conditions and proceduresbuild_proccond_igraph
make network visualizationdisplay_proccond_igraph
FHIR Resource types recognized in packageFHIR_ResourceTypes
collection of FHIR Resource components to be retainedFHIR_retention_schemas
table appFHIRtabs
produce interactive tables with FHIR resources from a list of ingested bundlesfreq_app
get human name from a BiocFHIR.Patient instancegetHumanName
create graph with links from patients to conditionsmake_condition_graph
produce 50 json FHIR files in a foldermake_test_json_set
show a combination of graph and patient attributesprint.BiocFHIR.FHIRgraph
print methodprint.FHIR.bundle
extract information from retained fields in AllergyIntolerance component of FHIR Bundle, produce simple data.frameprocess_AllergyIntolerance
extract information from retained fields in CarePlan component of FHIR Bundle, produce simple data.frameprocess_CarePlan
extract information from retained fields in Claim component of FHIR Bundle, produce simple data.frameprocess_Claim
extract information from retained fields in Condition component of FHIR Bundle, produce simple data.frameprocess_Condition
extract information from retained fields in Encounter component of FHIR Bundle, produce simple data.frameprocess_Encounter
process a bundle of FHIR R4 JSONprocess_fhir_bundle
extract information from retained fields in Immunization component of FHIR Bundle, produce simple data.frameprocess_Immunization
extract information from retained fields in MedicationRequest component of FHIR Bundle, produce simple data.frameprocess_MedicationRequest
extract information from retained fields in Observation component of FHIR Bundle, produce simple data.frameprocess_Observation
flatten information in Patient component of a bundle to a one-line data.frameprocess_Patient
extract information from retained fields in Procedure component of FHIR Bundle, produce simple data.frameprocess_Procedure
convert data of a given FHIR type in a list of bundles to a data.framestack_fhir
produce tables summarizing FHIR datasummarise_bundles
vector of fields to be selected for summarizationsummary_selections