pharmaobservatory 0.1.21 → 0.1.22
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 +18 -4
- data/docs/BiomarkersApi.md +80 -0
- data/docs/ProviderBiomarkerCapabilityRow.md +9 -9
- data/docs/ProviderBiomarkerCapabilitySummaryResponse.md +58 -0
- data/docs/ProviderBiomarkerCapabilitySummaryRow.md +70 -0
- data/docs/ProviderCliaLicensureRow.md +1 -1
- data/docs/ProviderRwdDeliveryResponse.md +58 -0
- data/docs/ProviderRwdDeliveryRow.md +74 -0
- data/docs/ProviderRwdDeliveryStudyResponse.md +58 -0
- data/docs/ProviderRwdDeliveryStudyRow.md +58 -0
- data/docs/ProviderRwdFootprintResponse.md +58 -0
- data/docs/ProviderRwdFootprintRow.md +72 -0
- data/docs/RwdInstitutionsApi.md +80 -0
- data/docs/SuppliersApi.md +320 -0
- data/lib/pharmaobservatory/api/biomarkers_api.rb +84 -0
- data/lib/pharmaobservatory/api/rwd_institutions_api.rb +84 -0
- data/lib/pharmaobservatory/api/suppliers_api.rb +336 -0
- data/lib/pharmaobservatory/models/provider_biomarker_capability_row.rb +9 -9
- data/lib/pharmaobservatory/models/provider_biomarker_capability_summary_response.rb +478 -0
- data/lib/pharmaobservatory/models/provider_biomarker_capability_summary_row.rb +509 -0
- data/lib/pharmaobservatory/models/provider_clia_licensure_row.rb +1 -1
- data/lib/pharmaobservatory/models/provider_rwd_delivery_response.rb +478 -0
- data/lib/pharmaobservatory/models/provider_rwd_delivery_row.rb +535 -0
- data/lib/pharmaobservatory/models/provider_rwd_delivery_study_response.rb +478 -0
- data/lib/pharmaobservatory/models/provider_rwd_delivery_study_row.rb +443 -0
- data/lib/pharmaobservatory/models/provider_rwd_footprint_response.rb +478 -0
- data/lib/pharmaobservatory/models/provider_rwd_footprint_row.rb +528 -0
- data/lib/pharmaobservatory/version.rb +1 -1
- data/lib/pharmaobservatory.rb +8 -0
- metadata +18 -2
|
@@ -157,5 +157,89 @@ module PharmaObservatory
|
|
|
157
157
|
end
|
|
158
158
|
return data, status_code, headers
|
|
159
159
|
end
|
|
160
|
+
|
|
161
|
+
# Supplier real-world data footprint (HMA-EMA catalogue)
|
|
162
|
+
# @param id [Integer]
|
|
163
|
+
# @param [Hash] opts the optional parameters
|
|
164
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
165
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
166
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
167
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
168
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
169
|
+
# @return [ProviderRwdFootprintResponse]
|
|
170
|
+
def rwd_institutions_provider_rwd_footprint(id, opts = {})
|
|
171
|
+
data, _status_code, _headers = rwd_institutions_provider_rwd_footprint_with_http_info(id, opts)
|
|
172
|
+
data
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Supplier real-world data footprint (HMA-EMA catalogue)
|
|
176
|
+
# @param id [Integer]
|
|
177
|
+
# @param [Hash] opts the optional parameters
|
|
178
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
179
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
180
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
181
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
182
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
183
|
+
# @return [Array<(ProviderRwdFootprintResponse, Integer, Hash)>] ProviderRwdFootprintResponse data, response status code and response headers
|
|
184
|
+
def rwd_institutions_provider_rwd_footprint_with_http_info(id, opts = {})
|
|
185
|
+
if @api_client.config.debugging
|
|
186
|
+
@api_client.config.logger.debug 'Calling API: RwdInstitutionsApi.rwd_institutions_provider_rwd_footprint ...'
|
|
187
|
+
end
|
|
188
|
+
# verify the required parameter 'id' is set
|
|
189
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
190
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling RwdInstitutionsApi.rwd_institutions_provider_rwd_footprint"
|
|
191
|
+
end
|
|
192
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
193
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling RwdInstitutionsApi.rwd_institutions_provider_rwd_footprint, must be smaller than or equal to 500.'
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
197
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling RwdInstitutionsApi.rwd_institutions_provider_rwd_footprint, must be greater than or equal to 1.'
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# resource path
|
|
201
|
+
local_var_path = '/api/v1/rwd_institutions/{id}/provider_rwd_footprint'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
202
|
+
|
|
203
|
+
# query parameters
|
|
204
|
+
query_params = opts[:query_params] || {}
|
|
205
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
206
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
207
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
208
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
209
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
210
|
+
|
|
211
|
+
# header parameters
|
|
212
|
+
header_params = opts[:header_params] || {}
|
|
213
|
+
# HTTP header 'Accept' (if needed)
|
|
214
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
215
|
+
|
|
216
|
+
# form parameters
|
|
217
|
+
form_params = opts[:form_params] || {}
|
|
218
|
+
|
|
219
|
+
# http body (model)
|
|
220
|
+
post_body = opts[:debug_body]
|
|
221
|
+
|
|
222
|
+
# return_type
|
|
223
|
+
return_type = opts[:debug_return_type] || 'ProviderRwdFootprintResponse'
|
|
224
|
+
|
|
225
|
+
# auth_names
|
|
226
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
227
|
+
|
|
228
|
+
new_options = opts.merge(
|
|
229
|
+
:operation => :"RwdInstitutionsApi.rwd_institutions_provider_rwd_footprint",
|
|
230
|
+
:header_params => header_params,
|
|
231
|
+
:query_params => query_params,
|
|
232
|
+
:form_params => form_params,
|
|
233
|
+
:body => post_body,
|
|
234
|
+
:auth_names => auth_names,
|
|
235
|
+
:return_type => return_type
|
|
236
|
+
)
|
|
237
|
+
|
|
238
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
239
|
+
if @api_client.config.debugging
|
|
240
|
+
@api_client.config.logger.debug "API called: RwdInstitutionsApi#rwd_institutions_provider_rwd_footprint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
241
|
+
end
|
|
242
|
+
return data, status_code, headers
|
|
243
|
+
end
|
|
160
244
|
end
|
|
161
245
|
end
|
|
@@ -242,6 +242,90 @@ module PharmaObservatory
|
|
|
242
242
|
return data, status_code, headers
|
|
243
243
|
end
|
|
244
244
|
|
|
245
|
+
# Supplier biomarker capability, summarised
|
|
246
|
+
# @param id [Integer]
|
|
247
|
+
# @param [Hash] opts the optional parameters
|
|
248
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
249
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
250
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
251
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
252
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
253
|
+
# @return [ProviderBiomarkerCapabilitySummaryResponse]
|
|
254
|
+
def suppliers_provider_biomarker_capability_summary(id, opts = {})
|
|
255
|
+
data, _status_code, _headers = suppliers_provider_biomarker_capability_summary_with_http_info(id, opts)
|
|
256
|
+
data
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
# Supplier biomarker capability, summarised
|
|
260
|
+
# @param id [Integer]
|
|
261
|
+
# @param [Hash] opts the optional parameters
|
|
262
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
263
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
264
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
265
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
266
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
267
|
+
# @return [Array<(ProviderBiomarkerCapabilitySummaryResponse, Integer, Hash)>] ProviderBiomarkerCapabilitySummaryResponse data, response status code and response headers
|
|
268
|
+
def suppliers_provider_biomarker_capability_summary_with_http_info(id, opts = {})
|
|
269
|
+
if @api_client.config.debugging
|
|
270
|
+
@api_client.config.logger.debug 'Calling API: SuppliersApi.suppliers_provider_biomarker_capability_summary ...'
|
|
271
|
+
end
|
|
272
|
+
# verify the required parameter 'id' is set
|
|
273
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
274
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling SuppliersApi.suppliers_provider_biomarker_capability_summary"
|
|
275
|
+
end
|
|
276
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
277
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_provider_biomarker_capability_summary, must be smaller than or equal to 500.'
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
281
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_provider_biomarker_capability_summary, must be greater than or equal to 1.'
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
# resource path
|
|
285
|
+
local_var_path = '/api/v1/suppliers/{id}/provider_biomarker_capability_summary'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
286
|
+
|
|
287
|
+
# query parameters
|
|
288
|
+
query_params = opts[:query_params] || {}
|
|
289
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
290
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
291
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
292
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
293
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
294
|
+
|
|
295
|
+
# header parameters
|
|
296
|
+
header_params = opts[:header_params] || {}
|
|
297
|
+
# HTTP header 'Accept' (if needed)
|
|
298
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
299
|
+
|
|
300
|
+
# form parameters
|
|
301
|
+
form_params = opts[:form_params] || {}
|
|
302
|
+
|
|
303
|
+
# http body (model)
|
|
304
|
+
post_body = opts[:debug_body]
|
|
305
|
+
|
|
306
|
+
# return_type
|
|
307
|
+
return_type = opts[:debug_return_type] || 'ProviderBiomarkerCapabilitySummaryResponse'
|
|
308
|
+
|
|
309
|
+
# auth_names
|
|
310
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
311
|
+
|
|
312
|
+
new_options = opts.merge(
|
|
313
|
+
:operation => :"SuppliersApi.suppliers_provider_biomarker_capability_summary",
|
|
314
|
+
:header_params => header_params,
|
|
315
|
+
:query_params => query_params,
|
|
316
|
+
:form_params => form_params,
|
|
317
|
+
:body => post_body,
|
|
318
|
+
:auth_names => auth_names,
|
|
319
|
+
:return_type => return_type
|
|
320
|
+
)
|
|
321
|
+
|
|
322
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
323
|
+
if @api_client.config.debugging
|
|
324
|
+
@api_client.config.logger.debug "API called: SuppliersApi#suppliers_provider_biomarker_capability_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
325
|
+
end
|
|
326
|
+
return data, status_code, headers
|
|
327
|
+
end
|
|
328
|
+
|
|
245
329
|
# Supplier CLIA laboratory licensure
|
|
246
330
|
# @param id [Integer]
|
|
247
331
|
# @param [Hash] opts the optional parameters
|
|
@@ -326,6 +410,258 @@ module PharmaObservatory
|
|
|
326
410
|
return data, status_code, headers
|
|
327
411
|
end
|
|
328
412
|
|
|
413
|
+
# RX provider real-world data study delivery track record (HMA-EMA catalogue)
|
|
414
|
+
# @param id [Integer]
|
|
415
|
+
# @param [Hash] opts the optional parameters
|
|
416
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
417
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
418
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
419
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
420
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
421
|
+
# @return [ProviderRwdDeliveryResponse]
|
|
422
|
+
def suppliers_provider_rwd_delivery(id, opts = {})
|
|
423
|
+
data, _status_code, _headers = suppliers_provider_rwd_delivery_with_http_info(id, opts)
|
|
424
|
+
data
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
# RX provider real-world data study delivery track record (HMA-EMA catalogue)
|
|
428
|
+
# @param id [Integer]
|
|
429
|
+
# @param [Hash] opts the optional parameters
|
|
430
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
431
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
432
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
433
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
434
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
435
|
+
# @return [Array<(ProviderRwdDeliveryResponse, Integer, Hash)>] ProviderRwdDeliveryResponse data, response status code and response headers
|
|
436
|
+
def suppliers_provider_rwd_delivery_with_http_info(id, opts = {})
|
|
437
|
+
if @api_client.config.debugging
|
|
438
|
+
@api_client.config.logger.debug 'Calling API: SuppliersApi.suppliers_provider_rwd_delivery ...'
|
|
439
|
+
end
|
|
440
|
+
# verify the required parameter 'id' is set
|
|
441
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
442
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling SuppliersApi.suppliers_provider_rwd_delivery"
|
|
443
|
+
end
|
|
444
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
445
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_provider_rwd_delivery, must be smaller than or equal to 500.'
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
449
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_provider_rwd_delivery, must be greater than or equal to 1.'
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
# resource path
|
|
453
|
+
local_var_path = '/api/v1/suppliers/{id}/provider_rwd_delivery'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
454
|
+
|
|
455
|
+
# query parameters
|
|
456
|
+
query_params = opts[:query_params] || {}
|
|
457
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
458
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
459
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
460
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
461
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
462
|
+
|
|
463
|
+
# header parameters
|
|
464
|
+
header_params = opts[:header_params] || {}
|
|
465
|
+
# HTTP header 'Accept' (if needed)
|
|
466
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
467
|
+
|
|
468
|
+
# form parameters
|
|
469
|
+
form_params = opts[:form_params] || {}
|
|
470
|
+
|
|
471
|
+
# http body (model)
|
|
472
|
+
post_body = opts[:debug_body]
|
|
473
|
+
|
|
474
|
+
# return_type
|
|
475
|
+
return_type = opts[:debug_return_type] || 'ProviderRwdDeliveryResponse'
|
|
476
|
+
|
|
477
|
+
# auth_names
|
|
478
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
479
|
+
|
|
480
|
+
new_options = opts.merge(
|
|
481
|
+
:operation => :"SuppliersApi.suppliers_provider_rwd_delivery",
|
|
482
|
+
:header_params => header_params,
|
|
483
|
+
:query_params => query_params,
|
|
484
|
+
:form_params => form_params,
|
|
485
|
+
:body => post_body,
|
|
486
|
+
:auth_names => auth_names,
|
|
487
|
+
:return_type => return_type
|
|
488
|
+
)
|
|
489
|
+
|
|
490
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
491
|
+
if @api_client.config.debugging
|
|
492
|
+
@api_client.config.logger.debug "API called: SuppliersApi#suppliers_provider_rwd_delivery\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
493
|
+
end
|
|
494
|
+
return data, status_code, headers
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
# RX provider real-world data study final-report dates below the floor (HMA-EMA catalogue)
|
|
498
|
+
# @param id [Integer]
|
|
499
|
+
# @param [Hash] opts the optional parameters
|
|
500
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
501
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
502
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
503
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
504
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
505
|
+
# @return [ProviderRwdDeliveryStudyResponse]
|
|
506
|
+
def suppliers_provider_rwd_delivery_study(id, opts = {})
|
|
507
|
+
data, _status_code, _headers = suppliers_provider_rwd_delivery_study_with_http_info(id, opts)
|
|
508
|
+
data
|
|
509
|
+
end
|
|
510
|
+
|
|
511
|
+
# RX provider real-world data study final-report dates below the floor (HMA-EMA catalogue)
|
|
512
|
+
# @param id [Integer]
|
|
513
|
+
# @param [Hash] opts the optional parameters
|
|
514
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
515
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
516
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
517
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
518
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
519
|
+
# @return [Array<(ProviderRwdDeliveryStudyResponse, Integer, Hash)>] ProviderRwdDeliveryStudyResponse data, response status code and response headers
|
|
520
|
+
def suppliers_provider_rwd_delivery_study_with_http_info(id, opts = {})
|
|
521
|
+
if @api_client.config.debugging
|
|
522
|
+
@api_client.config.logger.debug 'Calling API: SuppliersApi.suppliers_provider_rwd_delivery_study ...'
|
|
523
|
+
end
|
|
524
|
+
# verify the required parameter 'id' is set
|
|
525
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
526
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling SuppliersApi.suppliers_provider_rwd_delivery_study"
|
|
527
|
+
end
|
|
528
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
529
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_provider_rwd_delivery_study, must be smaller than or equal to 500.'
|
|
530
|
+
end
|
|
531
|
+
|
|
532
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
533
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_provider_rwd_delivery_study, must be greater than or equal to 1.'
|
|
534
|
+
end
|
|
535
|
+
|
|
536
|
+
# resource path
|
|
537
|
+
local_var_path = '/api/v1/suppliers/{id}/provider_rwd_delivery_study'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
538
|
+
|
|
539
|
+
# query parameters
|
|
540
|
+
query_params = opts[:query_params] || {}
|
|
541
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
542
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
543
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
544
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
545
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
546
|
+
|
|
547
|
+
# header parameters
|
|
548
|
+
header_params = opts[:header_params] || {}
|
|
549
|
+
# HTTP header 'Accept' (if needed)
|
|
550
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
551
|
+
|
|
552
|
+
# form parameters
|
|
553
|
+
form_params = opts[:form_params] || {}
|
|
554
|
+
|
|
555
|
+
# http body (model)
|
|
556
|
+
post_body = opts[:debug_body]
|
|
557
|
+
|
|
558
|
+
# return_type
|
|
559
|
+
return_type = opts[:debug_return_type] || 'ProviderRwdDeliveryStudyResponse'
|
|
560
|
+
|
|
561
|
+
# auth_names
|
|
562
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
563
|
+
|
|
564
|
+
new_options = opts.merge(
|
|
565
|
+
:operation => :"SuppliersApi.suppliers_provider_rwd_delivery_study",
|
|
566
|
+
:header_params => header_params,
|
|
567
|
+
:query_params => query_params,
|
|
568
|
+
:form_params => form_params,
|
|
569
|
+
:body => post_body,
|
|
570
|
+
:auth_names => auth_names,
|
|
571
|
+
:return_type => return_type
|
|
572
|
+
)
|
|
573
|
+
|
|
574
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
575
|
+
if @api_client.config.debugging
|
|
576
|
+
@api_client.config.logger.debug "API called: SuppliersApi#suppliers_provider_rwd_delivery_study\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
577
|
+
end
|
|
578
|
+
return data, status_code, headers
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
# Supplier real-world data footprint (HMA-EMA catalogue)
|
|
582
|
+
# @param id [Integer]
|
|
583
|
+
# @param [Hash] opts the optional parameters
|
|
584
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
585
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
586
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
587
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
588
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
589
|
+
# @return [ProviderRwdFootprintResponse]
|
|
590
|
+
def suppliers_provider_rwd_footprint(id, opts = {})
|
|
591
|
+
data, _status_code, _headers = suppliers_provider_rwd_footprint_with_http_info(id, opts)
|
|
592
|
+
data
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
# Supplier real-world data footprint (HMA-EMA catalogue)
|
|
596
|
+
# @param id [Integer]
|
|
597
|
+
# @param [Hash] opts the optional parameters
|
|
598
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
599
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
600
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
601
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
602
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
603
|
+
# @return [Array<(ProviderRwdFootprintResponse, Integer, Hash)>] ProviderRwdFootprintResponse data, response status code and response headers
|
|
604
|
+
def suppliers_provider_rwd_footprint_with_http_info(id, opts = {})
|
|
605
|
+
if @api_client.config.debugging
|
|
606
|
+
@api_client.config.logger.debug 'Calling API: SuppliersApi.suppliers_provider_rwd_footprint ...'
|
|
607
|
+
end
|
|
608
|
+
# verify the required parameter 'id' is set
|
|
609
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
610
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling SuppliersApi.suppliers_provider_rwd_footprint"
|
|
611
|
+
end
|
|
612
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
613
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_provider_rwd_footprint, must be smaller than or equal to 500.'
|
|
614
|
+
end
|
|
615
|
+
|
|
616
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
617
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_provider_rwd_footprint, must be greater than or equal to 1.'
|
|
618
|
+
end
|
|
619
|
+
|
|
620
|
+
# resource path
|
|
621
|
+
local_var_path = '/api/v1/suppliers/{id}/provider_rwd_footprint'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
622
|
+
|
|
623
|
+
# query parameters
|
|
624
|
+
query_params = opts[:query_params] || {}
|
|
625
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
626
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
627
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
628
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
629
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
630
|
+
|
|
631
|
+
# header parameters
|
|
632
|
+
header_params = opts[:header_params] || {}
|
|
633
|
+
# HTTP header 'Accept' (if needed)
|
|
634
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
635
|
+
|
|
636
|
+
# form parameters
|
|
637
|
+
form_params = opts[:form_params] || {}
|
|
638
|
+
|
|
639
|
+
# http body (model)
|
|
640
|
+
post_body = opts[:debug_body]
|
|
641
|
+
|
|
642
|
+
# return_type
|
|
643
|
+
return_type = opts[:debug_return_type] || 'ProviderRwdFootprintResponse'
|
|
644
|
+
|
|
645
|
+
# auth_names
|
|
646
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
647
|
+
|
|
648
|
+
new_options = opts.merge(
|
|
649
|
+
:operation => :"SuppliersApi.suppliers_provider_rwd_footprint",
|
|
650
|
+
:header_params => header_params,
|
|
651
|
+
:query_params => query_params,
|
|
652
|
+
:form_params => form_params,
|
|
653
|
+
:body => post_body,
|
|
654
|
+
:auth_names => auth_names,
|
|
655
|
+
:return_type => return_type
|
|
656
|
+
)
|
|
657
|
+
|
|
658
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
659
|
+
if @api_client.config.debugging
|
|
660
|
+
@api_client.config.logger.debug "API called: SuppliersApi#suppliers_provider_rwd_footprint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
661
|
+
end
|
|
662
|
+
return data, status_code, headers
|
|
663
|
+
end
|
|
664
|
+
|
|
329
665
|
# Supplier services
|
|
330
666
|
# @param id [Integer]
|
|
331
667
|
# @param [Hash] opts the optional parameters
|
|
@@ -43,19 +43,19 @@ module PharmaObservatory
|
|
|
43
43
|
# The biomarker's display name.
|
|
44
44
|
attr_accessor :biomarker_display_name
|
|
45
45
|
|
|
46
|
-
# The source path of the row: ladder_trial and ladder_clinvar (the evidence ladder), fda_cdx (FDA companion diagnostic list), fda_bqp (FDA Biomarker Qualification Program), literature_assay (assay providers named in PubMed full text)
|
|
46
|
+
# The source path of the row: ladder_trial and ladder_clinvar (the evidence ladder), fda_cdx (FDA companion diagnostic list), fda_bqp (FDA Biomarker Qualification Program), literature_assay (assay providers named in PubMed full text), supplier_survey (the supplier's own declaration) clinvar_submission (ClinVar clinical-testing submissions by a laboratory the supplier carries by name, one row per ClinVar record, tier null) and supplier_service_listing (a Scientist.com marketplace catalogue service the supplier listed, whose name names the gene; tier null, no evidence sense). Nothing is merged across lanes.
|
|
47
47
|
attr_accessor :evidence_lane
|
|
48
48
|
|
|
49
|
-
# The source's own evidence vocabulary: the ladder evidence_type on a ladder lane, literature_assay_provider on the literature lane, supplier_survey_declaration on the survey lane.
|
|
49
|
+
# The source's own evidence vocabulary: the ladder evidence_type on a ladder lane, literature_assay_provider on the literature lane, supplier_survey_declaration on the survey lane, rx_service_listing on the service listing lane.
|
|
50
50
|
attr_accessor :evidence_type
|
|
51
51
|
|
|
52
|
-
# The supplier's role on the evidence: the ladder role on a ladder lane, the ledger provider role on the literature lane,
|
|
52
|
+
# The supplier's role on the evidence: the ladder role on a ladder lane, the ledger provider role on the literature lane, respondent on the survey lane, or marketplace_listing on the service listing lane.
|
|
53
53
|
attr_accessor :org_role
|
|
54
54
|
|
|
55
55
|
# Sense 1, literature_assay lane only: the source's own label for how the assay is evidenced, never a number. literature_reported is a paper naming the assay, never validation.
|
|
56
56
|
attr_accessor :analytical_validation_evidence
|
|
57
57
|
|
|
58
|
-
# Sense 2: the ladder rung's name on a ladder lane, literature_reported on the literature lane (a literature mention, never validation).
|
|
58
|
+
# Sense 2: the ladder rung's name on a ladder lane, literature_reported on the literature lane (a literature mention, never validation), and ClinVar's own review status verbatim on the clinvar_submission lane.
|
|
59
59
|
attr_accessor :clinical_use_evidence
|
|
60
60
|
|
|
61
61
|
# Sense 3, fda_bqp lane only: fda_qualified, the FDA Biomarker Qualification Program qualified the biomarker.
|
|
@@ -64,10 +64,10 @@ module PharmaObservatory
|
|
|
64
64
|
# Sense 4, fda_cdx lane only: fda_authorized_companion_diagnostic, the FDA companion diagnostic list names the supplier's device for the biomarker.
|
|
65
65
|
attr_accessor :companion_diagnostic
|
|
66
66
|
|
|
67
|
-
#
|
|
67
|
+
# The supplier's own declaration, never mapped into the four evidence kinds: the survey's assay status verbatim on the supplier_survey lane, supplier_declared_service_listed on the supplier_service_listing lane (the supplier listed a catalogue service naming the gene).
|
|
68
68
|
attr_accessor :supplier_declared_status
|
|
69
69
|
|
|
70
|
-
# The ladder rung of this row, 1 to 4, a kind of evidence and never a score; set on the ladder_trial, ladder_clinvar, fda_cdx and fda_bqp lanes, null on literature_assay and
|
|
70
|
+
# The ladder rung of this row, 1 to 4, a kind of evidence and never a score; set on the ladder_trial, ladder_clinvar, fda_cdx and fda_bqp lanes, null on literature_assay, supplier_survey, clinvar_submission and supplier_service_listing. Not rolled up: see the example query for the maximum within the ladder lanes.
|
|
71
71
|
attr_accessor :tier
|
|
72
72
|
|
|
73
73
|
# The ladder rule that set the tier of this row; null where tier is null.
|
|
@@ -94,16 +94,16 @@ module PharmaObservatory
|
|
|
94
94
|
# The source URL the evidence row carries, where it has one.
|
|
95
95
|
attr_accessor :source_url
|
|
96
96
|
|
|
97
|
-
# A resolvable citation: the trial page, the ClinVar variation page, the FDA device page or list, or the
|
|
97
|
+
# A resolvable citation: the trial page, the ClinVar variation page, the FDA device page or list, the PubMed page, or the supplier's marketplace page on a service listing. Null where the source offers none.
|
|
98
98
|
attr_accessor :citation_url
|
|
99
99
|
|
|
100
|
-
# A short evidence text (at most 500 characters)
|
|
100
|
+
# A short evidence text (at most 500 characters), the paper title, or the catalogue service name on a service listing row, where the source has one.
|
|
101
101
|
attr_accessor :evidence_snippet
|
|
102
102
|
|
|
103
103
|
# literature_assay lane only: the publication date of the most recent cited paper.
|
|
104
104
|
attr_accessor :most_recent_evidence_date
|
|
105
105
|
|
|
106
|
-
# How the evidence reached the supplier: org_member_exact (the organization record of a member of the supplier)
|
|
106
|
+
# How the evidence reached the supplier: org_member_exact (the organization record of a member of the supplier), rx_name_key_exact (an exact name-key match of a source name to the supplier) or rx_provider_direct (the supplier's own marketplace listing, no name matched). A name match is not a verified identity.
|
|
107
107
|
attr_accessor :match_method
|
|
108
108
|
|
|
109
109
|
# The confidence of the upstream match rung where that rung defines one; null otherwise, never invented.
|