Skip to content

Commit 9c7a500

Browse files
author
alex-omophub
committed
v1.3.0 release prep
1 parent 0e5ae6b commit 9c7a500

35 files changed

Lines changed: 908 additions & 874 deletions

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: omophub
22
Title: R Client for the 'OMOPHub' Medical Vocabulary API
3-
Version: 1.1.0
3+
Version: 1.3.0
44
Authors@R: c(
55
person("Alex", "Chen", email = "alex@omophub.com", role = c("aut", "cre", "cph")),
66
person("Observational Health Data Science and Informatics", role = c("cph"))

NEWS.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
# omophub 1.3.0
2+
3+
## New Features
4+
5+
* **Hierarchy `get()` method**: New method to retrieve complete concept hierarchy (ancestors and descendants) in a single call with support for "flat" or "graph" visualization formats.
6+
7+
* **Vocabulary `domain_stats()` method**: New method to get statistics for a specific domain within a vocabulary.
8+
9+
* **Vocabulary `concept_classes()` method**: New method to list all available concept classes.
10+
11+
* Added `vocab_release` parameter to concepts, mappings, relationships, and hierarchy methods for explicit vocabulary version pinning.
12+
13+
* Added `include_hierarchy` parameter to `concepts$get()` and `concepts$get_by_code()`.
14+
15+
## Changes
16+
17+
* **API parameter naming**: Updated to match OMOPHub API v1.3.0 specifications:
18+
- `limit``page_size` for pagination
19+
- `vocabulary`, `domain``vocabulary_ids`, `domain_ids` for filtering
20+
- `max_results``page_size` for result limits
21+
- `relationship_type``relationship_ids` for relationship filtering
22+
- `target_vocabularies``target_vocabulary` (singular) in mappings
23+
- `vocabulary_id``vocabulary_ids` (plural) in hierarchy methods
24+
25+
* **API simplifications**: Several methods now have fewer parameters to match the simplified backend API:
26+
- `mappings$get()`: Removed `direction`, `include_indirect`, `standard_only`, `include_mapping_quality`, `include_synonyms`, `include_context`, pagination
27+
- `domains$list()`: Simplified to single `include_stats` parameter
28+
- `vocabularies$get()`: Now takes only `vocabulary_id`
29+
- `vocabularies$domains()`: Now takes no parameters
30+
31+
* **Batch limits**: `concepts$batch()` maximum reduced from 1000 to 100 concepts per request.
32+
33+
* **Default changes**:
34+
- `concepts$batch()` `standard_only` default changed from `FALSE` to `TRUE`
35+
- `relationships$get()` default `page_size` changed from 50 to 100
36+
37+
## Bug Fixes
38+
39+
* Fixed tests to use correct parameter names matching SDK implementation
40+
141
# omophub 1.1.0
242

343
## New Features

0 commit comments

Comments
 (0)