pharmaobservatory 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/BiomarkerAssayEvidenceRow.md +1 -1
- data/docs/BiomarkerAssayProvidersRow.md +8 -2
- data/lib/pharmaobservatory/models/biomarker_assay_evidence_row.rb +1 -1
- data/lib/pharmaobservatory/models/biomarker_assay_providers_row.rb +43 -10
- data/lib/pharmaobservatory/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cb60f4f5f451e27e537257b6d86965701340469a40f7bfa77d3ae745adb57e0a
|
|
4
|
+
data.tar.gz: 98732eeb9ce5e5a62ea64e8d2b4107d9f87b9906fb6af6ac745bdff31737ec83
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 136f34fd85a1bace41b692a0cec2b48540f177f89df1dbfc5f26d147ce5c4a6f0ce26c9c197fc9fa5683064db6e90e1006999e1fe8cc30f1defa91452b31af42
|
|
7
|
+
data.tar.gz: 580857430af54263843e1c2d10b4c713b11b12b4fa0aebcc45cc367af1875b65b2a58e1b02ee8cd6a693a4121bbb5b56a5aa1ffd315bc17c342c846c1b2971b0
|
data/README.md
CHANGED
|
@@ -39,7 +39,7 @@ Read-only REST API over the Pharma Observatory biomedical data platform. Referen
|
|
|
39
39
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
40
40
|
|
|
41
41
|
- API version: 1.0.0
|
|
42
|
-
- Package version: 0.1.
|
|
42
|
+
- Package version: 0.1.10
|
|
43
43
|
- Generator version: 7.13.0
|
|
44
44
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
45
45
|
|
|
@@ -56,16 +56,16 @@ gem build pharmaobservatory.gemspec
|
|
|
56
56
|
Then either install the gem locally:
|
|
57
57
|
|
|
58
58
|
```shell
|
|
59
|
-
gem install ./pharmaobservatory-0.1.
|
|
59
|
+
gem install ./pharmaobservatory-0.1.10.gem
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
(for development, run `gem install --dev ./pharmaobservatory-0.1.
|
|
62
|
+
(for development, run `gem install --dev ./pharmaobservatory-0.1.10.gem` to install the development dependencies)
|
|
63
63
|
|
|
64
64
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
65
65
|
|
|
66
66
|
Finally add this to the Gemfile:
|
|
67
67
|
|
|
68
|
-
gem 'pharmaobservatory', '~> 0.1.
|
|
68
|
+
gem 'pharmaobservatory', '~> 0.1.10'
|
|
69
69
|
|
|
70
70
|
### Install from Git
|
|
71
71
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
| **comparator_method** | **String** | The reference method the performance was measured against, when reported. | [optional] |
|
|
21
21
|
| **reported_performance** | **String** | The performance as the paper states it (sensitivity, specificity, area under the curve), as text and not computed. | [optional] |
|
|
22
22
|
| **validation_type_mentioned** | **String** | What the paper claims about the validation type: a fact about the text, not a tier. | [optional] |
|
|
23
|
-
| **assay_provider_company** | **Array<String>** |
|
|
23
|
+
| **assay_provider_company** | **Array<String>** | The first extraction's flat list of organization names, as extracted, with no role. Not resolved to a company, and it names any company a paper mentions. Who makes or runs an assay for a biomarker, with the role, is the biomarker_assay_providers dataset. | [optional] |
|
|
24
24
|
| **funding_organizations** | **Array<String>** | Organization names as extracted that funded the study. Never merged with the assay provider. | [optional] |
|
|
25
25
|
| **evidence_type** | **String** | Always literature_assay_validation, which tells these rows from the other evidence types. | [optional] |
|
|
26
26
|
| **evidence_quote** | **Array<String>** | The sentences of the paper the facts were read from. Null when the extraction gave none. | [optional] |
|
|
@@ -9,9 +9,12 @@
|
|
|
9
9
|
| **biomarker_id** | **String** | The biomarker's own key; null for a pair whose gene did not resolve. | [optional] |
|
|
10
10
|
| **biomarker_display_name** | **String** | The biomarker's name, as resolved or else as extracted. | [optional] |
|
|
11
11
|
| **gene_resolution_status** | **String** | resolved: the gene resolved. unresolved: a gene symbol was extracted and matched nothing. not_applicable: no gene symbol was extracted. | [optional] |
|
|
12
|
-
| **
|
|
12
|
+
| **provider_key** | **String** | The provider the rows are grouped on. org: followed by the organization key when the company resolves to an organization, otherwise name: followed by the normalised company name. | [optional] |
|
|
13
|
+
| **provider_role** | **String** | What the papers name the provider as. assay_or_test_maker makes the assay or test; testing_service runs it as a service; both when the pair has papers of each kind. | [optional] |
|
|
13
14
|
| **provider_name** | **String** | The provider company name as it appears in the papers. | [optional] |
|
|
14
15
|
| **provider_org_id** | **String** | The provider's legal entity key, where the marketplace match resolves one. | [optional] |
|
|
16
|
+
| **provider_org_match_tier** | **String** | How the provider was resolved to an organization. rx_provider_link: through its marketplace supplier. unresolved: no organization, the provider stays a name. The remaining values are reserved for resolution rungs that have not shipped. | [optional] |
|
|
17
|
+
| **provider_parent_org_id** | **String** | The ultimate parent organization of the provider's organization; null when the provider has no organization. | [optional] |
|
|
15
18
|
| **provider_company_id** | **String** | The provider's company key. | [optional] |
|
|
16
19
|
| **provider_company_name** | **String** | The provider's company name. | [optional] |
|
|
17
20
|
| **provider_group_id** | **String** | The provider's current ultimate parent group key. | [optional] |
|
|
@@ -44,9 +47,12 @@ instance = PharmaObservatory::BiomarkerAssayProvidersRow.new(
|
|
|
44
47
|
biomarker_id: null,
|
|
45
48
|
biomarker_display_name: null,
|
|
46
49
|
gene_resolution_status: null,
|
|
47
|
-
|
|
50
|
+
provider_key: null,
|
|
51
|
+
provider_role: null,
|
|
48
52
|
provider_name: null,
|
|
49
53
|
provider_org_id: null,
|
|
54
|
+
provider_org_match_tier: null,
|
|
55
|
+
provider_parent_org_id: null,
|
|
50
56
|
provider_company_id: null,
|
|
51
57
|
provider_company_name: null,
|
|
52
58
|
provider_group_id: null,
|
|
@@ -64,7 +64,7 @@ module PharmaObservatory
|
|
|
64
64
|
# What the paper claims about the validation type: a fact about the text, not a tier.
|
|
65
65
|
attr_accessor :validation_type_mentioned
|
|
66
66
|
|
|
67
|
-
#
|
|
67
|
+
# The first extraction's flat list of organization names, as extracted, with no role. Not resolved to a company, and it names any company a paper mentions. Who makes or runs an assay for a biomarker, with the role, is the biomarker_assay_providers dataset.
|
|
68
68
|
attr_accessor :assay_provider_company
|
|
69
69
|
|
|
70
70
|
# Organization names as extracted that funded the study. Never merged with the assay provider.
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PharmaObservatory
|
|
17
|
-
# One row of the biomarker_assay_providers dataset: one row per biomarker key and
|
|
17
|
+
# One row of the biomarker_assay_providers dataset: one row per biomarker key and provider key. A grouped request returns the group columns and the measures instead, as additional properties.
|
|
18
18
|
class BiomarkerAssayProvidersRow
|
|
19
19
|
# The route key of the gene the biomarker resolved to, the entry key for the biomarkers object type. Null when the extraction did not resolve a gene.
|
|
20
20
|
attr_accessor :route_key
|
|
@@ -31,8 +31,11 @@ module PharmaObservatory
|
|
|
31
31
|
# resolved: the gene resolved. unresolved: a gene symbol was extracted and matched nothing. not_applicable: no gene symbol was extracted.
|
|
32
32
|
attr_accessor :gene_resolution_status
|
|
33
33
|
|
|
34
|
-
# The
|
|
35
|
-
attr_accessor :
|
|
34
|
+
# The provider the rows are grouped on. org: followed by the organization key when the company resolves to an organization, otherwise name: followed by the normalised company name.
|
|
35
|
+
attr_accessor :provider_key
|
|
36
|
+
|
|
37
|
+
# What the papers name the provider as. assay_or_test_maker makes the assay or test; testing_service runs it as a service; both when the pair has papers of each kind.
|
|
38
|
+
attr_accessor :provider_role
|
|
36
39
|
|
|
37
40
|
# The provider company name as it appears in the papers.
|
|
38
41
|
attr_accessor :provider_name
|
|
@@ -40,6 +43,12 @@ module PharmaObservatory
|
|
|
40
43
|
# The provider's legal entity key, where the marketplace match resolves one.
|
|
41
44
|
attr_accessor :provider_org_id
|
|
42
45
|
|
|
46
|
+
# How the provider was resolved to an organization. rx_provider_link: through its marketplace supplier. unresolved: no organization, the provider stays a name. The remaining values are reserved for resolution rungs that have not shipped.
|
|
47
|
+
attr_accessor :provider_org_match_tier
|
|
48
|
+
|
|
49
|
+
# The ultimate parent organization of the provider's organization; null when the provider has no organization.
|
|
50
|
+
attr_accessor :provider_parent_org_id
|
|
51
|
+
|
|
43
52
|
# The provider's company key.
|
|
44
53
|
attr_accessor :provider_company_id
|
|
45
54
|
|
|
@@ -108,9 +117,12 @@ module PharmaObservatory
|
|
|
108
117
|
:'biomarker_id' => :'biomarker_id',
|
|
109
118
|
:'biomarker_display_name' => :'biomarker_display_name',
|
|
110
119
|
:'gene_resolution_status' => :'gene_resolution_status',
|
|
111
|
-
:'
|
|
120
|
+
:'provider_key' => :'provider_key',
|
|
121
|
+
:'provider_role' => :'provider_role',
|
|
112
122
|
:'provider_name' => :'provider_name',
|
|
113
123
|
:'provider_org_id' => :'provider_org_id',
|
|
124
|
+
:'provider_org_match_tier' => :'provider_org_match_tier',
|
|
125
|
+
:'provider_parent_org_id' => :'provider_parent_org_id',
|
|
114
126
|
:'provider_company_id' => :'provider_company_id',
|
|
115
127
|
:'provider_company_name' => :'provider_company_name',
|
|
116
128
|
:'provider_group_id' => :'provider_group_id',
|
|
@@ -152,9 +164,12 @@ module PharmaObservatory
|
|
|
152
164
|
:'biomarker_id' => :'String',
|
|
153
165
|
:'biomarker_display_name' => :'String',
|
|
154
166
|
:'gene_resolution_status' => :'String',
|
|
155
|
-
:'
|
|
167
|
+
:'provider_key' => :'String',
|
|
168
|
+
:'provider_role' => :'String',
|
|
156
169
|
:'provider_name' => :'String',
|
|
157
170
|
:'provider_org_id' => :'String',
|
|
171
|
+
:'provider_org_match_tier' => :'String',
|
|
172
|
+
:'provider_parent_org_id' => :'String',
|
|
158
173
|
:'provider_company_id' => :'String',
|
|
159
174
|
:'provider_company_name' => :'String',
|
|
160
175
|
:'provider_group_id' => :'String',
|
|
@@ -186,9 +201,12 @@ module PharmaObservatory
|
|
|
186
201
|
:'biomarker_id',
|
|
187
202
|
:'biomarker_display_name',
|
|
188
203
|
:'gene_resolution_status',
|
|
189
|
-
:'
|
|
204
|
+
:'provider_key',
|
|
205
|
+
:'provider_role',
|
|
190
206
|
:'provider_name',
|
|
191
207
|
:'provider_org_id',
|
|
208
|
+
:'provider_org_match_tier',
|
|
209
|
+
:'provider_parent_org_id',
|
|
192
210
|
:'provider_company_id',
|
|
193
211
|
:'provider_company_name',
|
|
194
212
|
:'provider_group_id',
|
|
@@ -248,8 +266,12 @@ module PharmaObservatory
|
|
|
248
266
|
self.gene_resolution_status = attributes[:'gene_resolution_status']
|
|
249
267
|
end
|
|
250
268
|
|
|
251
|
-
if attributes.key?(:'
|
|
252
|
-
self.
|
|
269
|
+
if attributes.key?(:'provider_key')
|
|
270
|
+
self.provider_key = attributes[:'provider_key']
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
if attributes.key?(:'provider_role')
|
|
274
|
+
self.provider_role = attributes[:'provider_role']
|
|
253
275
|
end
|
|
254
276
|
|
|
255
277
|
if attributes.key?(:'provider_name')
|
|
@@ -260,6 +282,14 @@ module PharmaObservatory
|
|
|
260
282
|
self.provider_org_id = attributes[:'provider_org_id']
|
|
261
283
|
end
|
|
262
284
|
|
|
285
|
+
if attributes.key?(:'provider_org_match_tier')
|
|
286
|
+
self.provider_org_match_tier = attributes[:'provider_org_match_tier']
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
if attributes.key?(:'provider_parent_org_id')
|
|
290
|
+
self.provider_parent_org_id = attributes[:'provider_parent_org_id']
|
|
291
|
+
end
|
|
292
|
+
|
|
263
293
|
if attributes.key?(:'provider_company_id')
|
|
264
294
|
self.provider_company_id = attributes[:'provider_company_id']
|
|
265
295
|
end
|
|
@@ -366,9 +396,12 @@ module PharmaObservatory
|
|
|
366
396
|
biomarker_id == o.biomarker_id &&
|
|
367
397
|
biomarker_display_name == o.biomarker_display_name &&
|
|
368
398
|
gene_resolution_status == o.gene_resolution_status &&
|
|
369
|
-
|
|
399
|
+
provider_key == o.provider_key &&
|
|
400
|
+
provider_role == o.provider_role &&
|
|
370
401
|
provider_name == o.provider_name &&
|
|
371
402
|
provider_org_id == o.provider_org_id &&
|
|
403
|
+
provider_org_match_tier == o.provider_org_match_tier &&
|
|
404
|
+
provider_parent_org_id == o.provider_parent_org_id &&
|
|
372
405
|
provider_company_id == o.provider_company_id &&
|
|
373
406
|
provider_company_name == o.provider_company_name &&
|
|
374
407
|
provider_group_id == o.provider_group_id &&
|
|
@@ -400,7 +433,7 @@ module PharmaObservatory
|
|
|
400
433
|
# Calculates hash code according to all attributes.
|
|
401
434
|
# @return [Integer] Hash code
|
|
402
435
|
def hash
|
|
403
|
-
[route_key, biomarker_key, biomarker_id, biomarker_display_name, gene_resolution_status,
|
|
436
|
+
[route_key, biomarker_key, biomarker_id, biomarker_display_name, gene_resolution_status, provider_key, provider_role, provider_name, provider_org_id, provider_org_match_tier, provider_parent_org_id, provider_company_id, provider_company_name, provider_group_id, provider_group_name, rx_matched, rx_provider_id, rx_provider_name, rx_provider_slug, has_clinical_validation, has_analytical_validation, n_papers, n_dated_papers, n_undated_papers, most_recent_published_at, most_recent_pmid, most_recent_title, meets_curated_threshold, assay_provider_class, assay_provider_class_source, assay_provider_class_decided_at].hash
|
|
404
437
|
end
|
|
405
438
|
|
|
406
439
|
# Builds the object from hash
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pharmaobservatory
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scientist.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|