Add FHIR Resolution section to pkgdown documentation#6
Merged
alex-omophub merged 1 commit intomainfrom Apr 14, 2026
Merged
Conversation
- Updated the README to clarify the output structure for bulk lexical and semantic searches, emphasizing the return types and iteration methods. - Added a new section on tibble output for batch resolution, demonstrating how to use `as_tibble = TRUE` for streamlined data manipulation with `dplyr`. - Included standalone wrapper functions for improved usability in pipe-friendly workflows and clarified the distinction between using the client methods and raw FHIR responses.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
as_tibble = TRUEfor streamlined data manipulation withdplyr.Summary by cubic
Adds a FHIR Resolution section and examples to the
pkgdowndocs to make FHIR-to-OMOP workflows clearer and easier in R. Also clarifies response shapes for bulk search and updates error handling guidance.as_tibble = TRUEbatch output, ready fordplyrpipelines; columns and batch summary are documented.fhir_resolve,fhir_resolve_batch,fhir_resolve_codeable_concept.omophub_fhir_url()withhttr2examples (r4,r4b,r5,r6).bulk_basicreturns a flat list;bulk_semanticreturns an object withresults, counts, and duration;hierarchy$descendants()data lives underdata$descendants.httr2condition classes (httr2_http_404,httr2_http_401,httr2_http_429, etc.);omophub_validation_errorremains for client-side checks.inst/examples/fhir_resolver.Randinst/examples/fhir_interop.R.Written for commit 4800128. Summary will update on new commits.