Skip to contents

Standalone wrapper for client$fhir$resolve_batch(). When as_tibble = TRUE, the result is a flat tibble suitable for dplyr/tidyr pipelines.

Usage

fhir_resolve_batch(client, ...)

Arguments

client

An OMOPHubClient instance.

...

Arguments passed to FhirResource$resolve_batch().

Value

See FhirResource$resolve_batch().

Examples

if (FALSE) { # \dontrun{
client <- OMOPHubClient$new(api_key = Sys.getenv("OMOPHUB_API_KEY"))
tbl <- fhir_resolve_batch(
  client,
  codings = list(
    list(system = "http://snomed.info/sct", code = "44054006"),
    list(system = "http://loinc.org", code = "2339-0")
  ),
  as_tibble = TRUE
)
dplyr::filter(tbl, status == "resolved")
} # }