pharmaobservatory 0.1.21 → 0.1.23

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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +40 -4
  3. data/docs/BiomarkersApi.md +80 -0
  4. data/docs/InvestigatorsApi.md +80 -0
  5. data/docs/ProviderBiomarkerCapabilityRow.md +9 -9
  6. data/docs/ProviderBiomarkerCapabilitySummaryResponse.md +58 -0
  7. data/docs/ProviderBiomarkerCapabilitySummaryRow.md +70 -0
  8. data/docs/ProviderCliaLicensureRow.md +1 -1
  9. data/docs/ProviderRwdDeliveryResponse.md +58 -0
  10. data/docs/ProviderRwdDeliveryRow.md +76 -0
  11. data/docs/ProviderRwdDeliveryStudyResponse.md +58 -0
  12. data/docs/ProviderRwdDeliveryStudyRow.md +60 -0
  13. data/docs/ProviderRwdFootprintResponse.md +58 -0
  14. data/docs/ProviderRwdFootprintRow.md +74 -0
  15. data/docs/RwdConductorsApi.md +160 -0
  16. data/docs/RwdInstitutionsApi.md +80 -0
  17. data/docs/RwdSourcesRow.md +1 -1
  18. data/docs/RwdStudiesApi.md +80 -0
  19. data/docs/RwdUsNetworkMembershipsResponse.md +58 -0
  20. data/docs/RwdUsNetworkMembershipsRow.md +98 -0
  21. data/docs/RwdUsNetworkProjectsResponse.md +58 -0
  22. data/docs/RwdUsNetworkProjectsRow.md +80 -0
  23. data/docs/RwdUsNetworksApi.md +313 -0
  24. data/docs/RwdUsNetworksRecord.md +38 -0
  25. data/docs/RwdUsNetworksResponse.md +58 -0
  26. data/docs/RwdUsNetworksRow.md +60 -0
  27. data/docs/SupplierRwdDeclarationsResponse.md +58 -0
  28. data/docs/SupplierRwdDeclarationsRow.md +74 -0
  29. data/docs/SuppliersApi.md +480 -0
  30. data/docs/TrialPublicationsResponse.md +58 -0
  31. data/docs/TrialPublicationsRow.md +34 -0
  32. data/docs/TrialsApi.md +80 -0
  33. data/lib/pharmaobservatory/api/biomarkers_api.rb +84 -0
  34. data/lib/pharmaobservatory/api/investigators_api.rb +84 -0
  35. data/lib/pharmaobservatory/api/rwd_conductors_api.rb +168 -0
  36. data/lib/pharmaobservatory/api/rwd_institutions_api.rb +84 -0
  37. data/lib/pharmaobservatory/api/rwd_studies_api.rb +84 -0
  38. data/lib/pharmaobservatory/api/rwd_us_networks_api.rb +329 -0
  39. data/lib/pharmaobservatory/api/suppliers_api.rb +504 -0
  40. data/lib/pharmaobservatory/api/trials_api.rb +84 -0
  41. data/lib/pharmaobservatory/models/provider_biomarker_capability_row.rb +9 -9
  42. data/lib/pharmaobservatory/models/provider_biomarker_capability_summary_response.rb +478 -0
  43. data/lib/pharmaobservatory/models/provider_biomarker_capability_summary_row.rb +509 -0
  44. data/lib/pharmaobservatory/models/provider_clia_licensure_row.rb +1 -1
  45. data/lib/pharmaobservatory/models/provider_rwd_delivery_response.rb +478 -0
  46. data/lib/pharmaobservatory/models/provider_rwd_delivery_row.rb +546 -0
  47. data/lib/pharmaobservatory/models/provider_rwd_delivery_study_response.rb +478 -0
  48. data/lib/pharmaobservatory/models/provider_rwd_delivery_study_row.rb +454 -0
  49. data/lib/pharmaobservatory/models/provider_rwd_footprint_response.rb +478 -0
  50. data/lib/pharmaobservatory/models/provider_rwd_footprint_row.rb +539 -0
  51. data/lib/pharmaobservatory/models/rwd_sources_row.rb +1 -1
  52. data/lib/pharmaobservatory/models/rwd_us_network_memberships_response.rb +478 -0
  53. data/lib/pharmaobservatory/models/rwd_us_network_memberships_row.rb +663 -0
  54. data/lib/pharmaobservatory/models/rwd_us_network_projects_response.rb +478 -0
  55. data/lib/pharmaobservatory/models/rwd_us_network_projects_row.rb +564 -0
  56. data/lib/pharmaobservatory/models/rwd_us_networks_record.rb +385 -0
  57. data/lib/pharmaobservatory/models/rwd_us_networks_response.rb +478 -0
  58. data/lib/pharmaobservatory/models/rwd_us_networks_row.rb +454 -0
  59. data/lib/pharmaobservatory/models/supplier_rwd_declarations_response.rb +478 -0
  60. data/lib/pharmaobservatory/models/supplier_rwd_declarations_row.rb +539 -0
  61. data/lib/pharmaobservatory/models/trial_publications_response.rb +478 -0
  62. data/lib/pharmaobservatory/models/trial_publications_row.rb +313 -0
  63. data/lib/pharmaobservatory/version.rb +1 -1
  64. data/lib/pharmaobservatory.rb +20 -0
  65. metadata +42 -2
@@ -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,426 @@ 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&#x3D;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&#x3D;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&#x3D;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&#x3D;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&#x3D;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&#x3D;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
+
665
+ # US real-world data network membership (N3C)
666
+ # @param id [Integer]
667
+ # @param [Hash] opts the optional parameters
668
+ # @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.
669
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
670
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
671
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
672
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
673
+ # @return [RwdUsNetworkMembershipsResponse]
674
+ def suppliers_rwd_us_network_memberships(id, opts = {})
675
+ data, _status_code, _headers = suppliers_rwd_us_network_memberships_with_http_info(id, opts)
676
+ data
677
+ end
678
+
679
+ # US real-world data network membership (N3C)
680
+ # @param id [Integer]
681
+ # @param [Hash] opts the optional parameters
682
+ # @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.
683
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
684
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
685
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
686
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
687
+ # @return [Array<(RwdUsNetworkMembershipsResponse, Integer, Hash)>] RwdUsNetworkMembershipsResponse data, response status code and response headers
688
+ def suppliers_rwd_us_network_memberships_with_http_info(id, opts = {})
689
+ if @api_client.config.debugging
690
+ @api_client.config.logger.debug 'Calling API: SuppliersApi.suppliers_rwd_us_network_memberships ...'
691
+ end
692
+ # verify the required parameter 'id' is set
693
+ if @api_client.config.client_side_validation && id.nil?
694
+ fail ArgumentError, "Missing the required parameter 'id' when calling SuppliersApi.suppliers_rwd_us_network_memberships"
695
+ end
696
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
697
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_rwd_us_network_memberships, must be smaller than or equal to 500.'
698
+ end
699
+
700
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
701
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_rwd_us_network_memberships, must be greater than or equal to 1.'
702
+ end
703
+
704
+ # resource path
705
+ local_var_path = '/api/v1/suppliers/{id}/rwd_us_network_memberships'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
706
+
707
+ # query parameters
708
+ query_params = opts[:query_params] || {}
709
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
710
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
711
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
712
+ query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
713
+ query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
714
+
715
+ # header parameters
716
+ header_params = opts[:header_params] || {}
717
+ # HTTP header 'Accept' (if needed)
718
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
719
+
720
+ # form parameters
721
+ form_params = opts[:form_params] || {}
722
+
723
+ # http body (model)
724
+ post_body = opts[:debug_body]
725
+
726
+ # return_type
727
+ return_type = opts[:debug_return_type] || 'RwdUsNetworkMembershipsResponse'
728
+
729
+ # auth_names
730
+ auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
731
+
732
+ new_options = opts.merge(
733
+ :operation => :"SuppliersApi.suppliers_rwd_us_network_memberships",
734
+ :header_params => header_params,
735
+ :query_params => query_params,
736
+ :form_params => form_params,
737
+ :body => post_body,
738
+ :auth_names => auth_names,
739
+ :return_type => return_type
740
+ )
741
+
742
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
743
+ if @api_client.config.debugging
744
+ @api_client.config.logger.debug "API called: SuppliersApi#suppliers_rwd_us_network_memberships\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
745
+ end
746
+ return data, status_code, headers
747
+ end
748
+
749
+ # Supplier declared real-world data facts
750
+ # @param id [Integer]
751
+ # @param [Hash] opts the optional parameters
752
+ # @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.
753
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
754
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
755
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
756
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
757
+ # @return [SupplierRwdDeclarationsResponse]
758
+ def suppliers_supplier_rwd_declarations(id, opts = {})
759
+ data, _status_code, _headers = suppliers_supplier_rwd_declarations_with_http_info(id, opts)
760
+ data
761
+ end
762
+
763
+ # Supplier declared real-world data facts
764
+ # @param id [Integer]
765
+ # @param [Hash] opts the optional parameters
766
+ # @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.
767
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
768
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
769
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
770
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
771
+ # @return [Array<(SupplierRwdDeclarationsResponse, Integer, Hash)>] SupplierRwdDeclarationsResponse data, response status code and response headers
772
+ def suppliers_supplier_rwd_declarations_with_http_info(id, opts = {})
773
+ if @api_client.config.debugging
774
+ @api_client.config.logger.debug 'Calling API: SuppliersApi.suppliers_supplier_rwd_declarations ...'
775
+ end
776
+ # verify the required parameter 'id' is set
777
+ if @api_client.config.client_side_validation && id.nil?
778
+ fail ArgumentError, "Missing the required parameter 'id' when calling SuppliersApi.suppliers_supplier_rwd_declarations"
779
+ end
780
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
781
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_supplier_rwd_declarations, must be smaller than or equal to 500.'
782
+ end
783
+
784
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
785
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_supplier_rwd_declarations, must be greater than or equal to 1.'
786
+ end
787
+
788
+ # resource path
789
+ local_var_path = '/api/v1/suppliers/{id}/supplier_rwd_declarations'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
790
+
791
+ # query parameters
792
+ query_params = opts[:query_params] || {}
793
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
794
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
795
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
796
+ query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
797
+ query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
798
+
799
+ # header parameters
800
+ header_params = opts[:header_params] || {}
801
+ # HTTP header 'Accept' (if needed)
802
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
803
+
804
+ # form parameters
805
+ form_params = opts[:form_params] || {}
806
+
807
+ # http body (model)
808
+ post_body = opts[:debug_body]
809
+
810
+ # return_type
811
+ return_type = opts[:debug_return_type] || 'SupplierRwdDeclarationsResponse'
812
+
813
+ # auth_names
814
+ auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
815
+
816
+ new_options = opts.merge(
817
+ :operation => :"SuppliersApi.suppliers_supplier_rwd_declarations",
818
+ :header_params => header_params,
819
+ :query_params => query_params,
820
+ :form_params => form_params,
821
+ :body => post_body,
822
+ :auth_names => auth_names,
823
+ :return_type => return_type
824
+ )
825
+
826
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
827
+ if @api_client.config.debugging
828
+ @api_client.config.logger.debug "API called: SuppliersApi#suppliers_supplier_rwd_declarations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
829
+ end
830
+ return data, status_code, headers
831
+ end
832
+
329
833
  # Supplier services
330
834
  # @param id [Integer]
331
835
  # @param [Hash] opts the optional parameters
@@ -1250,6 +1250,90 @@ module PharmaObservatory
1250
1250
  return data, status_code, headers
1251
1251
  end
1252
1252
 
1253
+ # Trial publications
1254
+ # @param id [String]
1255
+ # @param [Hash] opts the optional parameters
1256
+ # @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.
1257
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
1258
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
1259
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
1260
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1261
+ # @return [TrialPublicationsResponse]
1262
+ def trials_trial_publications(id, opts = {})
1263
+ data, _status_code, _headers = trials_trial_publications_with_http_info(id, opts)
1264
+ data
1265
+ end
1266
+
1267
+ # Trial publications
1268
+ # @param id [String]
1269
+ # @param [Hash] opts the optional parameters
1270
+ # @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.
1271
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
1272
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
1273
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
1274
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1275
+ # @return [Array<(TrialPublicationsResponse, Integer, Hash)>] TrialPublicationsResponse data, response status code and response headers
1276
+ def trials_trial_publications_with_http_info(id, opts = {})
1277
+ if @api_client.config.debugging
1278
+ @api_client.config.logger.debug 'Calling API: TrialsApi.trials_trial_publications ...'
1279
+ end
1280
+ # verify the required parameter 'id' is set
1281
+ if @api_client.config.client_side_validation && id.nil?
1282
+ fail ArgumentError, "Missing the required parameter 'id' when calling TrialsApi.trials_trial_publications"
1283
+ end
1284
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
1285
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TrialsApi.trials_trial_publications, must be smaller than or equal to 500.'
1286
+ end
1287
+
1288
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
1289
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TrialsApi.trials_trial_publications, must be greater than or equal to 1.'
1290
+ end
1291
+
1292
+ # resource path
1293
+ local_var_path = '/api/v1/trials/{id}/trial_publications'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1294
+
1295
+ # query parameters
1296
+ query_params = opts[:query_params] || {}
1297
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
1298
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1299
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1300
+ query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
1301
+ query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
1302
+
1303
+ # header parameters
1304
+ header_params = opts[:header_params] || {}
1305
+ # HTTP header 'Accept' (if needed)
1306
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1307
+
1308
+ # form parameters
1309
+ form_params = opts[:form_params] || {}
1310
+
1311
+ # http body (model)
1312
+ post_body = opts[:debug_body]
1313
+
1314
+ # return_type
1315
+ return_type = opts[:debug_return_type] || 'TrialPublicationsResponse'
1316
+
1317
+ # auth_names
1318
+ auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
1319
+
1320
+ new_options = opts.merge(
1321
+ :operation => :"TrialsApi.trials_trial_publications",
1322
+ :header_params => header_params,
1323
+ :query_params => query_params,
1324
+ :form_params => form_params,
1325
+ :body => post_body,
1326
+ :auth_names => auth_names,
1327
+ :return_type => return_type
1328
+ )
1329
+
1330
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1331
+ if @api_client.config.debugging
1332
+ @api_client.config.logger.debug "API called: TrialsApi#trials_trial_publications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1333
+ end
1334
+ return data, status_code, headers
1335
+ end
1336
+
1253
1337
  # Trial research payments
1254
1338
  # @param id [String]
1255
1339
  # @param [Hash] opts the optional parameters