pharmaobservatory 0.1.9 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec60072e6a24fd72f4c13cb34b79a5271e1a3ce862796159f62fb51f023bba93
4
- data.tar.gz: 7979111fa2b941322c3819002ea629891a83409777c25913be0e5dec25efa5f8
3
+ metadata.gz: 1d2fedc545786417fa3b64f5bede25492735f69856a66dbe4cb39f1676ae3787
4
+ data.tar.gz: 633f8ddfa4a594d0a504d4bfd5a27aa6722c079aa2e56a47d03126ca46810cda
5
5
  SHA512:
6
- metadata.gz: cc2a715fdcbea13eac04de390051020c7af6036ffee14680b49f3d8c515267bc8a88275327fc7ed8011c41c0d9804dee65daca60d351d00db4a975b2f0c1038b
7
- data.tar.gz: 954fce301c4e40b7b5ccdf4c792ada9e349e1acf8fe9f02776c86fedb3d524893592d711cbd0109f157565acab56cec008d8e6f191b267e7da523975a05b7f95
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.9
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.9.gem
59
+ gem install ./pharmaobservatory-0.1.11.gem
60
60
  ```
61
61
 
62
- (for development, run `gem install --dev ./pharmaobservatory-0.1.9.gem` to install the development dependencies)
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.9'
68
+ gem 'pharmaobservatory', '~> 0.1.11'
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>** | Organization names as extracted that run or provide the assay. Not resolved to a company. | [optional] |
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
- | **company_name_key** | **String** | The normalised company name the provider rows are grouped on. | [optional] |
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
- | **provider_org_id** | **String** | The provider's legal entity key, where the marketplace match resolves one. | [optional] |
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] |
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] |
@@ -29,9 +32,26 @@
29
32
  | **most_recent_pmid** | **String** | The PubMed id of the most recent dated paper. | [optional] |
30
33
  | **most_recent_title** | **String** | The title of that paper. | [optional] |
31
34
  | **meets_curated_threshold** | **Boolean** | True when the provider matches a marketplace supplier or at least two papers name the pair. | [optional] |
32
- | **assay_provider_class** | **String** | The company-level class. diagnostic_provider makes or supplies the diagnostic assay; reagent_supplier is the vendor whose kit appears in a methods section; context_dependent, pharma_or_other and not_a_company are the other decisions; unclassified means no decision yet. | [optional] |
33
- | **assay_provider_class_source** | **String** | Where the class decision came from; null when unclassified. | [optional] |
34
- | **assay_provider_class_decided_at** | **Time** | When the class was decided, in UTC; null when unclassified. | [optional] |
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] |
35
55
 
36
56
  ## Example
37
57
 
@@ -44,9 +64,12 @@ instance = PharmaObservatory::BiomarkerAssayProvidersRow.new(
44
64
  biomarker_id: null,
45
65
  biomarker_display_name: null,
46
66
  gene_resolution_status: null,
47
- company_name_key: null,
67
+ provider_key: null,
68
+ provider_role: null,
48
69
  provider_name: null,
49
70
  provider_org_id: null,
71
+ provider_org_match_tier: null,
72
+ provider_parent_org_id: null,
50
73
  provider_company_id: null,
51
74
  provider_company_name: null,
52
75
  provider_group_id: null,
@@ -64,9 +87,26 @@ instance = PharmaObservatory::BiomarkerAssayProvidersRow.new(
64
87
  most_recent_pmid: null,
65
88
  most_recent_title: null,
66
89
  meets_curated_threshold: null,
67
- assay_provider_class: null,
68
- assay_provider_class_source: null,
69
- assay_provider_class_decided_at: null
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
70
110
  )
71
111
  ```
72
112
 
@@ -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
- | **n_diagnostic_provider_suppliers** | **Integer** | Of those, diagnostic providers. | [optional] |
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
- n_diagnostic_provider_suppliers: null
67
+ n_fda_evidence_providers: null
68
68
  )
69
69
  ```
70
70
 
@@ -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
- # Organization names as extracted that run or provide the assay. Not resolved to a company.
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 assay-provider company name key. A grouped request returns the group columns and the measures instead, as additional properties.
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,15 +31,24 @@ 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 normalised company name the provider rows are grouped on.
35
- attr_accessor :company_name_key
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
39
42
 
40
- # The provider's legal entity key, where the marketplace match resolves one.
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.
41
44
  attr_accessor :provider_org_id
42
45
 
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
+ attr_accessor :provider_org_match_tier
48
+
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
+ attr_accessor :provider_parent_org_id
51
+
43
52
  # The provider's company key.
44
53
  attr_accessor :provider_company_id
45
54
 
@@ -91,14 +100,65 @@ module PharmaObservatory
91
100
  # True when the provider matches a marketplace supplier or at least two papers name the pair.
92
101
  attr_accessor :meets_curated_threshold
93
102
 
94
- # The company-level class. diagnostic_provider makes or supplies the diagnostic assay; reagent_supplier is the vendor whose kit appears in a methods section; context_dependent, pharma_or_other and not_a_company are the other decisions; unclassified means no decision yet.
95
- attr_accessor :assay_provider_class
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
+
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
+
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
96
144
 
97
- # Where the class decision came from; null when unclassified.
98
- attr_accessor :assay_provider_class_source
145
+ # The FDA database page of the matched device.
146
+ attr_accessor :specific_assay_fda_url
99
147
 
100
- # When the class was decided, in UTC; null when unclassified.
101
- attr_accessor :assay_provider_class_decided_at
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
102
162
 
103
163
  # Attribute mapping from ruby-style variable name to JSON key.
104
164
  def self.attribute_map
@@ -108,9 +168,12 @@ module PharmaObservatory
108
168
  :'biomarker_id' => :'biomarker_id',
109
169
  :'biomarker_display_name' => :'biomarker_display_name',
110
170
  :'gene_resolution_status' => :'gene_resolution_status',
111
- :'company_name_key' => :'company_name_key',
171
+ :'provider_key' => :'provider_key',
172
+ :'provider_role' => :'provider_role',
112
173
  :'provider_name' => :'provider_name',
113
174
  :'provider_org_id' => :'provider_org_id',
175
+ :'provider_org_match_tier' => :'provider_org_match_tier',
176
+ :'provider_parent_org_id' => :'provider_parent_org_id',
114
177
  :'provider_company_id' => :'provider_company_id',
115
178
  :'provider_company_name' => :'provider_company_name',
116
179
  :'provider_group_id' => :'provider_group_id',
@@ -128,9 +191,26 @@ module PharmaObservatory
128
191
  :'most_recent_pmid' => :'most_recent_pmid',
129
192
  :'most_recent_title' => :'most_recent_title',
130
193
  :'meets_curated_threshold' => :'meets_curated_threshold',
131
- :'assay_provider_class' => :'assay_provider_class',
132
- :'assay_provider_class_source' => :'assay_provider_class_source',
133
- :'assay_provider_class_decided_at' => :'assay_provider_class_decided_at'
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'
134
214
  }
135
215
  end
136
216
 
@@ -152,9 +232,12 @@ module PharmaObservatory
152
232
  :'biomarker_id' => :'String',
153
233
  :'biomarker_display_name' => :'String',
154
234
  :'gene_resolution_status' => :'String',
155
- :'company_name_key' => :'String',
235
+ :'provider_key' => :'String',
236
+ :'provider_role' => :'String',
156
237
  :'provider_name' => :'String',
157
238
  :'provider_org_id' => :'String',
239
+ :'provider_org_match_tier' => :'String',
240
+ :'provider_parent_org_id' => :'String',
158
241
  :'provider_company_id' => :'String',
159
242
  :'provider_company_name' => :'String',
160
243
  :'provider_group_id' => :'String',
@@ -172,9 +255,26 @@ module PharmaObservatory
172
255
  :'most_recent_pmid' => :'String',
173
256
  :'most_recent_title' => :'String',
174
257
  :'meets_curated_threshold' => :'Boolean',
175
- :'assay_provider_class' => :'String',
176
- :'assay_provider_class_source' => :'String',
177
- :'assay_provider_class_decided_at' => :'Time'
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'
178
278
  }
179
279
  end
180
280
 
@@ -186,9 +286,12 @@ module PharmaObservatory
186
286
  :'biomarker_id',
187
287
  :'biomarker_display_name',
188
288
  :'gene_resolution_status',
189
- :'company_name_key',
289
+ :'provider_key',
290
+ :'provider_role',
190
291
  :'provider_name',
191
292
  :'provider_org_id',
293
+ :'provider_org_match_tier',
294
+ :'provider_parent_org_id',
192
295
  :'provider_company_id',
193
296
  :'provider_company_name',
194
297
  :'provider_group_id',
@@ -206,9 +309,26 @@ module PharmaObservatory
206
309
  :'most_recent_pmid',
207
310
  :'most_recent_title',
208
311
  :'meets_curated_threshold',
209
- :'assay_provider_class',
210
- :'assay_provider_class_source',
211
- :'assay_provider_class_decided_at'
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'
212
332
  ])
213
333
  end
214
334
 
@@ -248,8 +368,12 @@ module PharmaObservatory
248
368
  self.gene_resolution_status = attributes[:'gene_resolution_status']
249
369
  end
250
370
 
251
- if attributes.key?(:'company_name_key')
252
- self.company_name_key = attributes[:'company_name_key']
371
+ if attributes.key?(:'provider_key')
372
+ self.provider_key = attributes[:'provider_key']
373
+ end
374
+
375
+ if attributes.key?(:'provider_role')
376
+ self.provider_role = attributes[:'provider_role']
253
377
  end
254
378
 
255
379
  if attributes.key?(:'provider_name')
@@ -260,6 +384,14 @@ module PharmaObservatory
260
384
  self.provider_org_id = attributes[:'provider_org_id']
261
385
  end
262
386
 
387
+ if attributes.key?(:'provider_org_match_tier')
388
+ self.provider_org_match_tier = attributes[:'provider_org_match_tier']
389
+ end
390
+
391
+ if attributes.key?(:'provider_parent_org_id')
392
+ self.provider_parent_org_id = attributes[:'provider_parent_org_id']
393
+ end
394
+
263
395
  if attributes.key?(:'provider_company_id')
264
396
  self.provider_company_id = attributes[:'provider_company_id']
265
397
  end
@@ -328,16 +460,90 @@ module PharmaObservatory
328
460
  self.meets_curated_threshold = attributes[:'meets_curated_threshold']
329
461
  end
330
462
 
331
- if attributes.key?(:'assay_provider_class')
332
- self.assay_provider_class = attributes[:'assay_provider_class']
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
333
539
  end
334
540
 
335
- if attributes.key?(:'assay_provider_class_source')
336
- self.assay_provider_class_source = attributes[:'assay_provider_class_source']
541
+ if attributes.key?(:'n_clia_certificates')
542
+ self.n_clia_certificates = attributes[:'n_clia_certificates']
337
543
  end
338
544
 
339
- if attributes.key?(:'assay_provider_class_decided_at')
340
- self.assay_provider_class_decided_at = attributes[:'assay_provider_class_decided_at']
545
+ if attributes.key?(:'clia_match_rung')
546
+ self.clia_match_rung = attributes[:'clia_match_rung']
341
547
  end
342
548
  end
343
549
 
@@ -366,9 +572,12 @@ module PharmaObservatory
366
572
  biomarker_id == o.biomarker_id &&
367
573
  biomarker_display_name == o.biomarker_display_name &&
368
574
  gene_resolution_status == o.gene_resolution_status &&
369
- company_name_key == o.company_name_key &&
575
+ provider_key == o.provider_key &&
576
+ provider_role == o.provider_role &&
370
577
  provider_name == o.provider_name &&
371
578
  provider_org_id == o.provider_org_id &&
579
+ provider_org_match_tier == o.provider_org_match_tier &&
580
+ provider_parent_org_id == o.provider_parent_org_id &&
372
581
  provider_company_id == o.provider_company_id &&
373
582
  provider_company_name == o.provider_company_name &&
374
583
  provider_group_id == o.provider_group_id &&
@@ -386,9 +595,26 @@ module PharmaObservatory
386
595
  most_recent_pmid == o.most_recent_pmid &&
387
596
  most_recent_title == o.most_recent_title &&
388
597
  meets_curated_threshold == o.meets_curated_threshold &&
389
- assay_provider_class == o.assay_provider_class &&
390
- assay_provider_class_source == o.assay_provider_class_source &&
391
- assay_provider_class_decided_at == o.assay_provider_class_decided_at
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
392
618
  end
393
619
 
394
620
  # @see the `==` method
@@ -400,7 +626,7 @@ module PharmaObservatory
400
626
  # Calculates hash code according to all attributes.
401
627
  # @return [Integer] Hash code
402
628
  def hash
403
- [route_key, biomarker_key, biomarker_id, biomarker_display_name, gene_resolution_status, company_name_key, provider_name, provider_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
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
404
630
  end
405
631
 
406
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 providers.
98
- attr_accessor :n_diagnostic_provider_suppliers
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
- :'n_diagnostic_provider_suppliers' => :'n_diagnostic_provider_suppliers'
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
- :'n_diagnostic_provider_suppliers' => :'Integer'
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
- :'n_diagnostic_provider_suppliers'
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?(:'n_diagnostic_provider_suppliers')
330
- self.n_diagnostic_provider_suppliers = attributes[:'n_diagnostic_provider_suppliers']
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
- n_diagnostic_provider_suppliers == o.n_diagnostic_provider_suppliers
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, n_diagnostic_provider_suppliers].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, n_fda_evidence_providers].hash
393
393
  end
394
394
 
395
395
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.13.0
11
11
  =end
12
12
 
13
13
  module PharmaObservatory
14
- VERSION = '0.1.9'
14
+ VERSION = '0.1.11'
15
15
  end
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.9
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-24 00:00:00.000000000 Z
11
+ date: 2026-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday