Skip to content

v1.8.0 prep#8

Merged
alex-omophub merged 4 commits into
mainfrom
develop
May 25, 2026
Merged

v1.8.0 prep#8
alex-omophub merged 4 commits into
mainfrom
develop

Conversation

@alex-omophub
Copy link
Copy Markdown
Member

@alex-omophub alex-omophub commented May 25, 2026

Summary by cubic

Release 1.8.0 adds FHIR Value-as-Concept support and a new on_unmapped option, and fixes unmapped labeling in batch results. It also updates GitHub Actions to the latest major versions.

  • New Features

    • resolve_batch(as_tibble = TRUE) now includes value_as_concept_id and value_as_concept_name for composite concepts (FHIR IG “Maps to value”).
    • resolve(), resolve_batch(), and resolve_codeable_concept() accept on_unmapped = "sentinel" to return a concept_id 0 record instead of a 404 (default remains "error").
  • Bug Fixes

    • Batch tibble flags explicit standard_concept_id = 0 as status = "unmapped" with a clear detail, and does not mislabel missing IDs; added tests to cover both cases.

Written for commit 1fc5a7e. Summary will update on new commits. Review in cubic

alex-omophub and others added 4 commits May 25, 2026 12:14
- Updated the package version to 1.8.0.
- Introduced new features in FHIR resolution, including `value_as_concept_id` and `value_as_concept_name` columns in the `resolve_batch()` output for composite concepts.
- Added `on_unmapped` argument to `resolve()`, `resolve_batch()`, and `resolve_codeable_concept()` methods, allowing users to specify behavior for unmapped concepts.
- Updated documentation and examples to reflect these enhancements, ensuring clarity on new functionalities and usage patterns.
…esponding tests

- Updated the logic in fhir_batch_to_tibble to correctly identify unmapped concepts, ensuring that only explicit concept_id 0 is labeled as "unmapped" while NA ids are treated as resolved.
- Added a new test case to verify that a missing standard id does not mislabel the response as "unmapped", maintaining clarity in the output status.
- Enhanced overall test coverage for the resolve_batch function to ensure accurate handling of malformed responses.
Release version 1.8.0 with new FHIR resolution features
- Upgraded actions/checkout from v4 to v6 across all workflows for improved performance and features.
- Updated actions/upload-artifact from v4 to v7 in integration and test coverage workflows to leverage new capabilities.
- Enhanced deployment action in pkgdown workflow by upgrading from JamesIves/github-pages-deploy-action@v4.5.0 to v4.8.0 for better compatibility and functionality.
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 12 files

Re-trigger cubic

@codecov
Copy link
Copy Markdown

codecov Bot commented May 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@alex-omophub alex-omophub merged commit b82b8a1 into main May 25, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant