pharmaobservatory 0.1.10 → 0.1.11
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/BiomarkerAssayProvidersRow.md +43 -9
- data/docs/BiomarkersRow.md +2 -2
- data/lib/pharmaobservatory/models/biomarker_assay_providers_row.rb +221 -28
- data/lib/pharmaobservatory/models/biomarkers_row.rb +9 -9
- 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: 1d2fedc545786417fa3b64f5bede25492735f69856a66dbe4cb39f1676ae3787
|
|
4
|
+
data.tar.gz: 633f8ddfa4a594d0a504d4bfd5a27aa6722c079aa2e56a47d03126ca46810cda
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dead207574db5d949dc1a08e2cc7262502cab0f09ea3e6e877ca626c4886adcb9317803c86e526c0afb07951c8322da873f7ae03cb1aca63760597598676a661
|
|
7
|
+
data.tar.gz: 4f1324c45f48da365153f1c28990dd7b7a80aff4d342bd2ccbfe2ea43c13c4dde0b922cb3c9907770b59e6aa2b95af3e29b5c2a93ec5941a180042e6dee835f9
|
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.11
|
|
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.11.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.11.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.11'
|
|
69
69
|
|
|
70
70
|
### Install from Git
|
|
71
71
|
|
|
@@ -12,9 +12,9 @@
|
|
|
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
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] |
|
|
14
14
|
| **provider_name** | **String** | The provider company name as it appears in the papers. | [optional] |
|
|
15
|
-
| **provider_org_id** | **String** | The provider's
|
|
16
|
-
| **provider_org_match_tier** | **String** | How the provider was resolved to an organization. rx_provider_link: through its marketplace supplier.
|
|
17
|
-
| **provider_parent_org_id** | **String** | The
|
|
15
|
+
| **provider_org_id** | **String** | The organization the provider's company name resolved to (the member organization, not its parent); null when the provider is ambiguous or unresolved. Reached by the rung named in provider_org_match_tier. | [optional] |
|
|
16
|
+
| **provider_org_match_tier** | **String** | How the provider was resolved to an organization, first rung that yields one organization wins. alias_exact: a reviewed brand alias, then exactly one organization carries the name. name_exact: exactly one organization carries the name. parent_unanimous: several organizations carry the name and all roll up to one parent, which is the organization. sponsor_key: the name is a trial-sponsor key. rx_provider_link: through its marketplace supplier. ambiguous: organizations under more than one parent carry the name, so none is chosen. unresolved: no organization, the provider stays a name. | [optional] |
|
|
17
|
+
| **provider_parent_org_id** | **String** | The resolved parent of provider_org_id in the organization hierarchy (the organization itself when it has none); null when the provider has no organization. The hierarchy is not guaranteed correct for every company, so read it with provider_org_match_tier. | [optional] |
|
|
18
18
|
| **provider_company_id** | **String** | The provider's company key. | [optional] |
|
|
19
19
|
| **provider_company_name** | **String** | The provider's company name. | [optional] |
|
|
20
20
|
| **provider_group_id** | **String** | The provider's current ultimate parent group key. | [optional] |
|
|
@@ -32,9 +32,26 @@
|
|
|
32
32
|
| **most_recent_pmid** | **String** | The PubMed id of the most recent dated paper. | [optional] |
|
|
33
33
|
| **most_recent_title** | **String** | The title of that paper. | [optional] |
|
|
34
34
|
| **meets_curated_threshold** | **Boolean** | True when the provider matches a marketplace supplier or at least two papers name the pair. | [optional] |
|
|
35
|
-
| **
|
|
36
|
-
| **
|
|
37
|
-
| **
|
|
35
|
+
| **regulatory_evidence_kind** | **String** | The strongest US FDA or CMS record found for the pair. companion_diagnostic: the provider holds an FDA companion diagnostic for the biomarker. fda_cleared_specific_assay: a cleared or approved device of the provider that the paper names and that measures the biomarker. fda_cleared_for_biomarker: the provider holds a cleared or approved IVD under a product code for the biomarker. clia_testing_service: the provider is named as a testing service and its own organization holds a CLIA certificate. fda_ivd_company_only: the provider holds some cleared or approved IVD, none matched to the biomarker. none: no FDA record found. | [optional] |
|
|
36
|
+
| **has_fda_record_for_biomarker** | **Boolean** | True when regulatory_evidence_kind is one of the first four kinds, a record that concerns the biomarker rather than only the company. | [optional] |
|
|
37
|
+
| **regulatory_evidence_reasons** | **Array<String>** | Every level that held for the pair, strongest first; empty when none did. | [optional] |
|
|
38
|
+
| **n_fda_ivd_510k** | **Integer** | The 510(k) clearances in the in-vitro diagnostic review panels held by the provider's organization (or, when it holds none, by organizations under its parent; fda_company_match_rung says which). Null for a provider that did not resolve to an organization. | [optional] |
|
|
39
|
+
| **n_fda_ivd_pma** | **Integer** | The PMA approvals (distinct approval numbers) in the in-vitro diagnostic review panels held by the provider's organization or its parent family, on the same rung as n_fda_ivd_510k. Null for a provider that did not resolve to an organization. | [optional] |
|
|
40
|
+
| **fda_company_match_rung** | **String** | org: the counted records are held by the provider's own organization. parent: by organizations under the same resolved parent. Null when the provider holds none. | [optional] |
|
|
41
|
+
| **n_fda_analyte_510k** | **Integer** | The provider's 510(k) clearances under a product code mapped to this biomarker. Null when the provider or the biomarker did not resolve. | [optional] |
|
|
42
|
+
| **n_fda_analyte_pma** | **Integer** | The provider's PMA approvals under a product code mapped to this biomarker. Null when the provider or the biomarker did not resolve. | [optional] |
|
|
43
|
+
| **fda_analyte_product_codes** | **Array<String>** | The FDA product codes behind n_fda_analyte_510k and n_fda_analyte_pma. | [optional] |
|
|
44
|
+
| **fda_analyte_fda_url** | **String** | The FDA database page of the provider's most recent record under a product code for this biomarker. | [optional] |
|
|
45
|
+
| **specific_assay_matched** | **Boolean** | True when a paper names a cleared or approved device of this provider that measures this biomarker. The device name matches the paper's assay name, or the company's own quote, and the device's analyte agrees with the biomarker. | [optional] |
|
|
46
|
+
| **specific_assay_device_name** | **String** | The 510(k) device name or PMA trade name of the matched device; the best match when several matched. Null when no device matched. | [optional] |
|
|
47
|
+
| **specific_assay_k_number** | **String** | The 510(k) number of the matched device; null when the match is a PMA or there is none. | [optional] |
|
|
48
|
+
| **specific_assay_pma_number** | **String** | The PMA number of the matched device; null when the match is a 510(k) or there is none. | [optional] |
|
|
49
|
+
| **specific_assay_fda_url** | **String** | The FDA database page of the matched device. | [optional] |
|
|
50
|
+
| **specific_assay_similarity** | **Float** | The trigram text similarity (0 to 1) of the larger of the two text clauses that matched the device, the paper's assay name or the company's quote against the device name. | [optional] |
|
|
51
|
+
| **n_cdx_entries** | **Integer** | The FDA companion diagnostic list entries for this biomarker from this provider's organization (or its parent family). Null when the provider or the biomarker did not resolve. | [optional] |
|
|
52
|
+
| **cdx_diagnostic_names** | **Array<String>** | The names of those companion diagnostics. | [optional] |
|
|
53
|
+
| **n_clia_certificates** | **Integer** | The CLIA (US clinical laboratory) certificates held by the provider's organization, or by organizations under its parent when it holds none (clia_match_rung says which). A certificate licenses a lab; it is not evidence that any named assay is run. Null for a provider that did not resolve to an organization. | [optional] |
|
|
54
|
+
| **clia_match_rung** | **String** | org: the counted certificates are held by the provider's own organization. parent: by organizations under the same resolved parent. Null when the provider holds none. | [optional] |
|
|
38
55
|
|
|
39
56
|
## Example
|
|
40
57
|
|
|
@@ -70,9 +87,26 @@ instance = PharmaObservatory::BiomarkerAssayProvidersRow.new(
|
|
|
70
87
|
most_recent_pmid: null,
|
|
71
88
|
most_recent_title: null,
|
|
72
89
|
meets_curated_threshold: null,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
90
|
+
regulatory_evidence_kind: null,
|
|
91
|
+
has_fda_record_for_biomarker: null,
|
|
92
|
+
regulatory_evidence_reasons: null,
|
|
93
|
+
n_fda_ivd_510k: null,
|
|
94
|
+
n_fda_ivd_pma: null,
|
|
95
|
+
fda_company_match_rung: null,
|
|
96
|
+
n_fda_analyte_510k: null,
|
|
97
|
+
n_fda_analyte_pma: null,
|
|
98
|
+
fda_analyte_product_codes: null,
|
|
99
|
+
fda_analyte_fda_url: null,
|
|
100
|
+
specific_assay_matched: null,
|
|
101
|
+
specific_assay_device_name: null,
|
|
102
|
+
specific_assay_k_number: null,
|
|
103
|
+
specific_assay_pma_number: null,
|
|
104
|
+
specific_assay_fda_url: null,
|
|
105
|
+
specific_assay_similarity: null,
|
|
106
|
+
n_cdx_entries: null,
|
|
107
|
+
cdx_diagnostic_names: null,
|
|
108
|
+
n_clia_certificates: null,
|
|
109
|
+
clia_match_rung: null
|
|
76
110
|
)
|
|
77
111
|
```
|
|
78
112
|
|
data/docs/BiomarkersRow.md
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
| **has_analytical_validation_evidence** | **Boolean** | Whether analytical validation evidence exists. | [optional] |
|
|
31
31
|
| **n_assay_provider_papers** | **Integer** | Papers naming an assay provider for the biomarker. | [optional] |
|
|
32
32
|
| **n_assay_provider_suppliers** | **Integer** | Assay-provider suppliers named. | [optional] |
|
|
33
|
-
| **
|
|
33
|
+
| **n_fda_evidence_providers** | **Integer** | Of those, providers with an FDA record found for the biomarker (a companion diagnostic, a cleared or approved device the paper names, a cleared or approved IVD under the analyte's product code, or a CLIA-certified lab that ran the test). US only; no record found is not a statement about validation. Null when no assay provider is named for the biomarker. | [optional] |
|
|
34
34
|
|
|
35
35
|
## Example
|
|
36
36
|
|
|
@@ -64,7 +64,7 @@ instance = PharmaObservatory::BiomarkersRow.new(
|
|
|
64
64
|
has_analytical_validation_evidence: null,
|
|
65
65
|
n_assay_provider_papers: null,
|
|
66
66
|
n_assay_provider_suppliers: null,
|
|
67
|
-
|
|
67
|
+
n_fda_evidence_providers: null
|
|
68
68
|
)
|
|
69
69
|
```
|
|
70
70
|
|
|
@@ -40,13 +40,13 @@ module PharmaObservatory
|
|
|
40
40
|
# The provider company name as it appears in the papers.
|
|
41
41
|
attr_accessor :provider_name
|
|
42
42
|
|
|
43
|
-
# The provider's
|
|
43
|
+
# The organization the provider's company name resolved to (the member organization, not its parent); null when the provider is ambiguous or unresolved. Reached by the rung named in provider_org_match_tier.
|
|
44
44
|
attr_accessor :provider_org_id
|
|
45
45
|
|
|
46
|
-
# How the provider was resolved to an organization. rx_provider_link: through its marketplace supplier.
|
|
46
|
+
# How the provider was resolved to an organization, first rung that yields one organization wins. alias_exact: a reviewed brand alias, then exactly one organization carries the name. name_exact: exactly one organization carries the name. parent_unanimous: several organizations carry the name and all roll up to one parent, which is the organization. sponsor_key: the name is a trial-sponsor key. rx_provider_link: through its marketplace supplier. ambiguous: organizations under more than one parent carry the name, so none is chosen. unresolved: no organization, the provider stays a name.
|
|
47
47
|
attr_accessor :provider_org_match_tier
|
|
48
48
|
|
|
49
|
-
# The
|
|
49
|
+
# The resolved parent of provider_org_id in the organization hierarchy (the organization itself when it has none); null when the provider has no organization. The hierarchy is not guaranteed correct for every company, so read it with provider_org_match_tier.
|
|
50
50
|
attr_accessor :provider_parent_org_id
|
|
51
51
|
|
|
52
52
|
# The provider's company key.
|
|
@@ -100,14 +100,65 @@ module PharmaObservatory
|
|
|
100
100
|
# True when the provider matches a marketplace supplier or at least two papers name the pair.
|
|
101
101
|
attr_accessor :meets_curated_threshold
|
|
102
102
|
|
|
103
|
-
# The
|
|
104
|
-
attr_accessor :
|
|
103
|
+
# The strongest US FDA or CMS record found for the pair. companion_diagnostic: the provider holds an FDA companion diagnostic for the biomarker. fda_cleared_specific_assay: a cleared or approved device of the provider that the paper names and that measures the biomarker. fda_cleared_for_biomarker: the provider holds a cleared or approved IVD under a product code for the biomarker. clia_testing_service: the provider is named as a testing service and its own organization holds a CLIA certificate. fda_ivd_company_only: the provider holds some cleared or approved IVD, none matched to the biomarker. none: no FDA record found.
|
|
104
|
+
attr_accessor :regulatory_evidence_kind
|
|
105
105
|
|
|
106
|
-
#
|
|
107
|
-
attr_accessor :
|
|
106
|
+
# True when regulatory_evidence_kind is one of the first four kinds, a record that concerns the biomarker rather than only the company.
|
|
107
|
+
attr_accessor :has_fda_record_for_biomarker
|
|
108
108
|
|
|
109
|
-
#
|
|
110
|
-
attr_accessor :
|
|
109
|
+
# Every level that held for the pair, strongest first; empty when none did.
|
|
110
|
+
attr_accessor :regulatory_evidence_reasons
|
|
111
|
+
|
|
112
|
+
# The 510(k) clearances in the in-vitro diagnostic review panels held by the provider's organization (or, when it holds none, by organizations under its parent; fda_company_match_rung says which). Null for a provider that did not resolve to an organization.
|
|
113
|
+
attr_accessor :n_fda_ivd_510k
|
|
114
|
+
|
|
115
|
+
# The PMA approvals (distinct approval numbers) in the in-vitro diagnostic review panels held by the provider's organization or its parent family, on the same rung as n_fda_ivd_510k. Null for a provider that did not resolve to an organization.
|
|
116
|
+
attr_accessor :n_fda_ivd_pma
|
|
117
|
+
|
|
118
|
+
# org: the counted records are held by the provider's own organization. parent: by organizations under the same resolved parent. Null when the provider holds none.
|
|
119
|
+
attr_accessor :fda_company_match_rung
|
|
120
|
+
|
|
121
|
+
# The provider's 510(k) clearances under a product code mapped to this biomarker. Null when the provider or the biomarker did not resolve.
|
|
122
|
+
attr_accessor :n_fda_analyte_510k
|
|
123
|
+
|
|
124
|
+
# The provider's PMA approvals under a product code mapped to this biomarker. Null when the provider or the biomarker did not resolve.
|
|
125
|
+
attr_accessor :n_fda_analyte_pma
|
|
126
|
+
|
|
127
|
+
# The FDA product codes behind n_fda_analyte_510k and n_fda_analyte_pma.
|
|
128
|
+
attr_accessor :fda_analyte_product_codes
|
|
129
|
+
|
|
130
|
+
# The FDA database page of the provider's most recent record under a product code for this biomarker.
|
|
131
|
+
attr_accessor :fda_analyte_fda_url
|
|
132
|
+
|
|
133
|
+
# True when a paper names a cleared or approved device of this provider that measures this biomarker. The device name matches the paper's assay name, or the company's own quote, and the device's analyte agrees with the biomarker.
|
|
134
|
+
attr_accessor :specific_assay_matched
|
|
135
|
+
|
|
136
|
+
# The 510(k) device name or PMA trade name of the matched device; the best match when several matched. Null when no device matched.
|
|
137
|
+
attr_accessor :specific_assay_device_name
|
|
138
|
+
|
|
139
|
+
# The 510(k) number of the matched device; null when the match is a PMA or there is none.
|
|
140
|
+
attr_accessor :specific_assay_k_number
|
|
141
|
+
|
|
142
|
+
# The PMA number of the matched device; null when the match is a 510(k) or there is none.
|
|
143
|
+
attr_accessor :specific_assay_pma_number
|
|
144
|
+
|
|
145
|
+
# The FDA database page of the matched device.
|
|
146
|
+
attr_accessor :specific_assay_fda_url
|
|
147
|
+
|
|
148
|
+
# The trigram text similarity (0 to 1) of the larger of the two text clauses that matched the device, the paper's assay name or the company's quote against the device name.
|
|
149
|
+
attr_accessor :specific_assay_similarity
|
|
150
|
+
|
|
151
|
+
# The FDA companion diagnostic list entries for this biomarker from this provider's organization (or its parent family). Null when the provider or the biomarker did not resolve.
|
|
152
|
+
attr_accessor :n_cdx_entries
|
|
153
|
+
|
|
154
|
+
# The names of those companion diagnostics.
|
|
155
|
+
attr_accessor :cdx_diagnostic_names
|
|
156
|
+
|
|
157
|
+
# The CLIA (US clinical laboratory) certificates held by the provider's organization, or by organizations under its parent when it holds none (clia_match_rung says which). A certificate licenses a lab; it is not evidence that any named assay is run. Null for a provider that did not resolve to an organization.
|
|
158
|
+
attr_accessor :n_clia_certificates
|
|
159
|
+
|
|
160
|
+
# org: the counted certificates are held by the provider's own organization. parent: by organizations under the same resolved parent. Null when the provider holds none.
|
|
161
|
+
attr_accessor :clia_match_rung
|
|
111
162
|
|
|
112
163
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
113
164
|
def self.attribute_map
|
|
@@ -140,9 +191,26 @@ module PharmaObservatory
|
|
|
140
191
|
:'most_recent_pmid' => :'most_recent_pmid',
|
|
141
192
|
:'most_recent_title' => :'most_recent_title',
|
|
142
193
|
:'meets_curated_threshold' => :'meets_curated_threshold',
|
|
143
|
-
:'
|
|
144
|
-
:'
|
|
145
|
-
:'
|
|
194
|
+
:'regulatory_evidence_kind' => :'regulatory_evidence_kind',
|
|
195
|
+
:'has_fda_record_for_biomarker' => :'has_fda_record_for_biomarker',
|
|
196
|
+
:'regulatory_evidence_reasons' => :'regulatory_evidence_reasons',
|
|
197
|
+
:'n_fda_ivd_510k' => :'n_fda_ivd_510k',
|
|
198
|
+
:'n_fda_ivd_pma' => :'n_fda_ivd_pma',
|
|
199
|
+
:'fda_company_match_rung' => :'fda_company_match_rung',
|
|
200
|
+
:'n_fda_analyte_510k' => :'n_fda_analyte_510k',
|
|
201
|
+
:'n_fda_analyte_pma' => :'n_fda_analyte_pma',
|
|
202
|
+
:'fda_analyte_product_codes' => :'fda_analyte_product_codes',
|
|
203
|
+
:'fda_analyte_fda_url' => :'fda_analyte_fda_url',
|
|
204
|
+
:'specific_assay_matched' => :'specific_assay_matched',
|
|
205
|
+
:'specific_assay_device_name' => :'specific_assay_device_name',
|
|
206
|
+
:'specific_assay_k_number' => :'specific_assay_k_number',
|
|
207
|
+
:'specific_assay_pma_number' => :'specific_assay_pma_number',
|
|
208
|
+
:'specific_assay_fda_url' => :'specific_assay_fda_url',
|
|
209
|
+
:'specific_assay_similarity' => :'specific_assay_similarity',
|
|
210
|
+
:'n_cdx_entries' => :'n_cdx_entries',
|
|
211
|
+
:'cdx_diagnostic_names' => :'cdx_diagnostic_names',
|
|
212
|
+
:'n_clia_certificates' => :'n_clia_certificates',
|
|
213
|
+
:'clia_match_rung' => :'clia_match_rung'
|
|
146
214
|
}
|
|
147
215
|
end
|
|
148
216
|
|
|
@@ -187,9 +255,26 @@ module PharmaObservatory
|
|
|
187
255
|
:'most_recent_pmid' => :'String',
|
|
188
256
|
:'most_recent_title' => :'String',
|
|
189
257
|
:'meets_curated_threshold' => :'Boolean',
|
|
190
|
-
:'
|
|
191
|
-
:'
|
|
192
|
-
:'
|
|
258
|
+
:'regulatory_evidence_kind' => :'String',
|
|
259
|
+
:'has_fda_record_for_biomarker' => :'Boolean',
|
|
260
|
+
:'regulatory_evidence_reasons' => :'Array<String>',
|
|
261
|
+
:'n_fda_ivd_510k' => :'Integer',
|
|
262
|
+
:'n_fda_ivd_pma' => :'Integer',
|
|
263
|
+
:'fda_company_match_rung' => :'String',
|
|
264
|
+
:'n_fda_analyte_510k' => :'Integer',
|
|
265
|
+
:'n_fda_analyte_pma' => :'Integer',
|
|
266
|
+
:'fda_analyte_product_codes' => :'Array<String>',
|
|
267
|
+
:'fda_analyte_fda_url' => :'String',
|
|
268
|
+
:'specific_assay_matched' => :'Boolean',
|
|
269
|
+
:'specific_assay_device_name' => :'String',
|
|
270
|
+
:'specific_assay_k_number' => :'String',
|
|
271
|
+
:'specific_assay_pma_number' => :'String',
|
|
272
|
+
:'specific_assay_fda_url' => :'String',
|
|
273
|
+
:'specific_assay_similarity' => :'Float',
|
|
274
|
+
:'n_cdx_entries' => :'Integer',
|
|
275
|
+
:'cdx_diagnostic_names' => :'Array<String>',
|
|
276
|
+
:'n_clia_certificates' => :'Integer',
|
|
277
|
+
:'clia_match_rung' => :'String'
|
|
193
278
|
}
|
|
194
279
|
end
|
|
195
280
|
|
|
@@ -224,9 +309,26 @@ module PharmaObservatory
|
|
|
224
309
|
:'most_recent_pmid',
|
|
225
310
|
:'most_recent_title',
|
|
226
311
|
:'meets_curated_threshold',
|
|
227
|
-
:'
|
|
228
|
-
:'
|
|
229
|
-
:'
|
|
312
|
+
:'regulatory_evidence_kind',
|
|
313
|
+
:'has_fda_record_for_biomarker',
|
|
314
|
+
:'regulatory_evidence_reasons',
|
|
315
|
+
:'n_fda_ivd_510k',
|
|
316
|
+
:'n_fda_ivd_pma',
|
|
317
|
+
:'fda_company_match_rung',
|
|
318
|
+
:'n_fda_analyte_510k',
|
|
319
|
+
:'n_fda_analyte_pma',
|
|
320
|
+
:'fda_analyte_product_codes',
|
|
321
|
+
:'fda_analyte_fda_url',
|
|
322
|
+
:'specific_assay_matched',
|
|
323
|
+
:'specific_assay_device_name',
|
|
324
|
+
:'specific_assay_k_number',
|
|
325
|
+
:'specific_assay_pma_number',
|
|
326
|
+
:'specific_assay_fda_url',
|
|
327
|
+
:'specific_assay_similarity',
|
|
328
|
+
:'n_cdx_entries',
|
|
329
|
+
:'cdx_diagnostic_names',
|
|
330
|
+
:'n_clia_certificates',
|
|
331
|
+
:'clia_match_rung'
|
|
230
332
|
])
|
|
231
333
|
end
|
|
232
334
|
|
|
@@ -358,16 +460,90 @@ module PharmaObservatory
|
|
|
358
460
|
self.meets_curated_threshold = attributes[:'meets_curated_threshold']
|
|
359
461
|
end
|
|
360
462
|
|
|
361
|
-
if attributes.key?(:'
|
|
362
|
-
self.
|
|
463
|
+
if attributes.key?(:'regulatory_evidence_kind')
|
|
464
|
+
self.regulatory_evidence_kind = attributes[:'regulatory_evidence_kind']
|
|
465
|
+
end
|
|
466
|
+
|
|
467
|
+
if attributes.key?(:'has_fda_record_for_biomarker')
|
|
468
|
+
self.has_fda_record_for_biomarker = attributes[:'has_fda_record_for_biomarker']
|
|
469
|
+
end
|
|
470
|
+
|
|
471
|
+
if attributes.key?(:'regulatory_evidence_reasons')
|
|
472
|
+
if (value = attributes[:'regulatory_evidence_reasons']).is_a?(Array)
|
|
473
|
+
self.regulatory_evidence_reasons = value
|
|
474
|
+
end
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
if attributes.key?(:'n_fda_ivd_510k')
|
|
478
|
+
self.n_fda_ivd_510k = attributes[:'n_fda_ivd_510k']
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
if attributes.key?(:'n_fda_ivd_pma')
|
|
482
|
+
self.n_fda_ivd_pma = attributes[:'n_fda_ivd_pma']
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
if attributes.key?(:'fda_company_match_rung')
|
|
486
|
+
self.fda_company_match_rung = attributes[:'fda_company_match_rung']
|
|
487
|
+
end
|
|
488
|
+
|
|
489
|
+
if attributes.key?(:'n_fda_analyte_510k')
|
|
490
|
+
self.n_fda_analyte_510k = attributes[:'n_fda_analyte_510k']
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
if attributes.key?(:'n_fda_analyte_pma')
|
|
494
|
+
self.n_fda_analyte_pma = attributes[:'n_fda_analyte_pma']
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
if attributes.key?(:'fda_analyte_product_codes')
|
|
498
|
+
if (value = attributes[:'fda_analyte_product_codes']).is_a?(Array)
|
|
499
|
+
self.fda_analyte_product_codes = value
|
|
500
|
+
end
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
if attributes.key?(:'fda_analyte_fda_url')
|
|
504
|
+
self.fda_analyte_fda_url = attributes[:'fda_analyte_fda_url']
|
|
505
|
+
end
|
|
506
|
+
|
|
507
|
+
if attributes.key?(:'specific_assay_matched')
|
|
508
|
+
self.specific_assay_matched = attributes[:'specific_assay_matched']
|
|
509
|
+
end
|
|
510
|
+
|
|
511
|
+
if attributes.key?(:'specific_assay_device_name')
|
|
512
|
+
self.specific_assay_device_name = attributes[:'specific_assay_device_name']
|
|
513
|
+
end
|
|
514
|
+
|
|
515
|
+
if attributes.key?(:'specific_assay_k_number')
|
|
516
|
+
self.specific_assay_k_number = attributes[:'specific_assay_k_number']
|
|
517
|
+
end
|
|
518
|
+
|
|
519
|
+
if attributes.key?(:'specific_assay_pma_number')
|
|
520
|
+
self.specific_assay_pma_number = attributes[:'specific_assay_pma_number']
|
|
521
|
+
end
|
|
522
|
+
|
|
523
|
+
if attributes.key?(:'specific_assay_fda_url')
|
|
524
|
+
self.specific_assay_fda_url = attributes[:'specific_assay_fda_url']
|
|
525
|
+
end
|
|
526
|
+
|
|
527
|
+
if attributes.key?(:'specific_assay_similarity')
|
|
528
|
+
self.specific_assay_similarity = attributes[:'specific_assay_similarity']
|
|
529
|
+
end
|
|
530
|
+
|
|
531
|
+
if attributes.key?(:'n_cdx_entries')
|
|
532
|
+
self.n_cdx_entries = attributes[:'n_cdx_entries']
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
if attributes.key?(:'cdx_diagnostic_names')
|
|
536
|
+
if (value = attributes[:'cdx_diagnostic_names']).is_a?(Array)
|
|
537
|
+
self.cdx_diagnostic_names = value
|
|
538
|
+
end
|
|
363
539
|
end
|
|
364
540
|
|
|
365
|
-
if attributes.key?(:'
|
|
366
|
-
self.
|
|
541
|
+
if attributes.key?(:'n_clia_certificates')
|
|
542
|
+
self.n_clia_certificates = attributes[:'n_clia_certificates']
|
|
367
543
|
end
|
|
368
544
|
|
|
369
|
-
if attributes.key?(:'
|
|
370
|
-
self.
|
|
545
|
+
if attributes.key?(:'clia_match_rung')
|
|
546
|
+
self.clia_match_rung = attributes[:'clia_match_rung']
|
|
371
547
|
end
|
|
372
548
|
end
|
|
373
549
|
|
|
@@ -419,9 +595,26 @@ module PharmaObservatory
|
|
|
419
595
|
most_recent_pmid == o.most_recent_pmid &&
|
|
420
596
|
most_recent_title == o.most_recent_title &&
|
|
421
597
|
meets_curated_threshold == o.meets_curated_threshold &&
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
598
|
+
regulatory_evidence_kind == o.regulatory_evidence_kind &&
|
|
599
|
+
has_fda_record_for_biomarker == o.has_fda_record_for_biomarker &&
|
|
600
|
+
regulatory_evidence_reasons == o.regulatory_evidence_reasons &&
|
|
601
|
+
n_fda_ivd_510k == o.n_fda_ivd_510k &&
|
|
602
|
+
n_fda_ivd_pma == o.n_fda_ivd_pma &&
|
|
603
|
+
fda_company_match_rung == o.fda_company_match_rung &&
|
|
604
|
+
n_fda_analyte_510k == o.n_fda_analyte_510k &&
|
|
605
|
+
n_fda_analyte_pma == o.n_fda_analyte_pma &&
|
|
606
|
+
fda_analyte_product_codes == o.fda_analyte_product_codes &&
|
|
607
|
+
fda_analyte_fda_url == o.fda_analyte_fda_url &&
|
|
608
|
+
specific_assay_matched == o.specific_assay_matched &&
|
|
609
|
+
specific_assay_device_name == o.specific_assay_device_name &&
|
|
610
|
+
specific_assay_k_number == o.specific_assay_k_number &&
|
|
611
|
+
specific_assay_pma_number == o.specific_assay_pma_number &&
|
|
612
|
+
specific_assay_fda_url == o.specific_assay_fda_url &&
|
|
613
|
+
specific_assay_similarity == o.specific_assay_similarity &&
|
|
614
|
+
n_cdx_entries == o.n_cdx_entries &&
|
|
615
|
+
cdx_diagnostic_names == o.cdx_diagnostic_names &&
|
|
616
|
+
n_clia_certificates == o.n_clia_certificates &&
|
|
617
|
+
clia_match_rung == o.clia_match_rung
|
|
425
618
|
end
|
|
426
619
|
|
|
427
620
|
# @see the `==` method
|
|
@@ -433,7 +626,7 @@ module PharmaObservatory
|
|
|
433
626
|
# Calculates hash code according to all attributes.
|
|
434
627
|
# @return [Integer] Hash code
|
|
435
628
|
def hash
|
|
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,
|
|
629
|
+
[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, regulatory_evidence_kind, has_fda_record_for_biomarker, regulatory_evidence_reasons, n_fda_ivd_510k, n_fda_ivd_pma, fda_company_match_rung, n_fda_analyte_510k, n_fda_analyte_pma, fda_analyte_product_codes, fda_analyte_fda_url, specific_assay_matched, specific_assay_device_name, specific_assay_k_number, specific_assay_pma_number, specific_assay_fda_url, specific_assay_similarity, n_cdx_entries, cdx_diagnostic_names, n_clia_certificates, clia_match_rung].hash
|
|
437
630
|
end
|
|
438
631
|
|
|
439
632
|
# Builds the object from hash
|
|
@@ -94,8 +94,8 @@ module PharmaObservatory
|
|
|
94
94
|
# Assay-provider suppliers named.
|
|
95
95
|
attr_accessor :n_assay_provider_suppliers
|
|
96
96
|
|
|
97
|
-
# Of those, diagnostic
|
|
98
|
-
attr_accessor :
|
|
97
|
+
# Of those, providers with an FDA record found for the biomarker (a companion diagnostic, a cleared or approved device the paper names, a cleared or approved IVD under the analyte's product code, or a CLIA-certified lab that ran the test). US only; no record found is not a statement about validation. Null when no assay provider is named for the biomarker.
|
|
98
|
+
attr_accessor :n_fda_evidence_providers
|
|
99
99
|
|
|
100
100
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
101
101
|
def self.attribute_map
|
|
@@ -126,7 +126,7 @@ module PharmaObservatory
|
|
|
126
126
|
:'has_analytical_validation_evidence' => :'has_analytical_validation_evidence',
|
|
127
127
|
:'n_assay_provider_papers' => :'n_assay_provider_papers',
|
|
128
128
|
:'n_assay_provider_suppliers' => :'n_assay_provider_suppliers',
|
|
129
|
-
:'
|
|
129
|
+
:'n_fda_evidence_providers' => :'n_fda_evidence_providers'
|
|
130
130
|
}
|
|
131
131
|
end
|
|
132
132
|
|
|
@@ -169,7 +169,7 @@ module PharmaObservatory
|
|
|
169
169
|
:'has_analytical_validation_evidence' => :'Boolean',
|
|
170
170
|
:'n_assay_provider_papers' => :'Integer',
|
|
171
171
|
:'n_assay_provider_suppliers' => :'Integer',
|
|
172
|
-
:'
|
|
172
|
+
:'n_fda_evidence_providers' => :'Integer'
|
|
173
173
|
}
|
|
174
174
|
end
|
|
175
175
|
|
|
@@ -202,7 +202,7 @@ module PharmaObservatory
|
|
|
202
202
|
:'has_analytical_validation_evidence',
|
|
203
203
|
:'n_assay_provider_papers',
|
|
204
204
|
:'n_assay_provider_suppliers',
|
|
205
|
-
:'
|
|
205
|
+
:'n_fda_evidence_providers'
|
|
206
206
|
])
|
|
207
207
|
end
|
|
208
208
|
|
|
@@ -326,8 +326,8 @@ module PharmaObservatory
|
|
|
326
326
|
self.n_assay_provider_suppliers = attributes[:'n_assay_provider_suppliers']
|
|
327
327
|
end
|
|
328
328
|
|
|
329
|
-
if attributes.key?(:'
|
|
330
|
-
self.
|
|
329
|
+
if attributes.key?(:'n_fda_evidence_providers')
|
|
330
|
+
self.n_fda_evidence_providers = attributes[:'n_fda_evidence_providers']
|
|
331
331
|
end
|
|
332
332
|
end
|
|
333
333
|
|
|
@@ -377,7 +377,7 @@ module PharmaObservatory
|
|
|
377
377
|
has_analytical_validation_evidence == o.has_analytical_validation_evidence &&
|
|
378
378
|
n_assay_provider_papers == o.n_assay_provider_papers &&
|
|
379
379
|
n_assay_provider_suppliers == o.n_assay_provider_suppliers &&
|
|
380
|
-
|
|
380
|
+
n_fda_evidence_providers == o.n_fda_evidence_providers
|
|
381
381
|
end
|
|
382
382
|
|
|
383
383
|
# @see the `==` method
|
|
@@ -389,7 +389,7 @@ module PharmaObservatory
|
|
|
389
389
|
# Calculates hash code according to all attributes.
|
|
390
390
|
# @return [Integer] Hash code
|
|
391
391
|
def hash
|
|
392
|
-
[biomarker_id, route_key, biomarker_kind, identity_status, display_name, parent_biomarker_id, gene_symbol, amino_acid_change, target_id, hgnc_id, uniprot_accession, target_protein_name, feature_code, feature_type, evidence_tier, evidence_tier_label, n_fda_cdx_assertions, n_fda_bqp_assertions, n_cancer_actionable_cgi, n_ot_association, n_trial_mention, n_publication_variant_mentions, has_clinical_validation_evidence, has_analytical_validation_evidence, n_assay_provider_papers, n_assay_provider_suppliers,
|
|
392
|
+
[biomarker_id, route_key, biomarker_kind, identity_status, display_name, parent_biomarker_id, gene_symbol, amino_acid_change, target_id, hgnc_id, uniprot_accession, target_protein_name, feature_code, feature_type, evidence_tier, evidence_tier_label, n_fda_cdx_assertions, n_fda_bqp_assertions, n_cancer_actionable_cgi, n_ot_association, n_trial_mention, n_publication_variant_mentions, has_clinical_validation_evidence, has_analytical_validation_evidence, n_assay_provider_papers, n_assay_provider_suppliers, n_fda_evidence_providers].hash
|
|
393
393
|
end
|
|
394
394
|
|
|
395
395
|
# 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.11
|
|
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-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|