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
data/docs/SuppliersApi.md CHANGED
@@ -7,7 +7,13 @@ All URIs are relative to *https://pharmaobservatory.com*
7
7
  | [**suppliers_get**](SuppliersApi.md#suppliers_get) | **GET** /api/v1/suppliers/{id} | One supplier |
8
8
  | [**suppliers_list**](SuppliersApi.md#suppliers_list) | **GET** /api/v1/suppliers | List suppliers |
9
9
  | [**suppliers_provider_biomarker_capability**](SuppliersApi.md#suppliers_provider_biomarker_capability) | **GET** /api/v1/suppliers/{id}/provider_biomarker_capability | Supplier biomarker capability |
10
+ | [**suppliers_provider_biomarker_capability_summary**](SuppliersApi.md#suppliers_provider_biomarker_capability_summary) | **GET** /api/v1/suppliers/{id}/provider_biomarker_capability_summary | Supplier biomarker capability, summarised |
10
11
  | [**suppliers_provider_clia_licensure**](SuppliersApi.md#suppliers_provider_clia_licensure) | **GET** /api/v1/suppliers/{id}/provider_clia_licensure | Supplier CLIA laboratory licensure |
12
+ | [**suppliers_provider_rwd_delivery**](SuppliersApi.md#suppliers_provider_rwd_delivery) | **GET** /api/v1/suppliers/{id}/provider_rwd_delivery | RX provider real-world data study delivery track record (HMA-EMA catalogue) |
13
+ | [**suppliers_provider_rwd_delivery_study**](SuppliersApi.md#suppliers_provider_rwd_delivery_study) | **GET** /api/v1/suppliers/{id}/provider_rwd_delivery_study | RX provider real-world data study final-report dates below the floor (HMA-EMA catalogue) |
14
+ | [**suppliers_provider_rwd_footprint**](SuppliersApi.md#suppliers_provider_rwd_footprint) | **GET** /api/v1/suppliers/{id}/provider_rwd_footprint | Supplier real-world data footprint (HMA-EMA catalogue) |
15
+ | [**suppliers_rwd_us_network_memberships**](SuppliersApi.md#suppliers_rwd_us_network_memberships) | **GET** /api/v1/suppliers/{id}/rwd_us_network_memberships | US real-world data network membership (N3C) |
16
+ | [**suppliers_supplier_rwd_declarations**](SuppliersApi.md#suppliers_supplier_rwd_declarations) | **GET** /api/v1/suppliers/{id}/supplier_rwd_declarations | Supplier declared real-world data facts |
11
17
  | [**suppliers_supplier_services**](SuppliersApi.md#suppliers_supplier_services) | **GET** /api/v1/suppliers/{id}/supplier_services | Supplier services |
12
18
  | [**suppliers_supplier_sites**](SuppliersApi.md#suppliers_supplier_sites) | **GET** /api/v1/suppliers/{id}/supplier_sites | Supplier sites |
13
19
 
@@ -235,6 +241,85 @@ end
235
241
  - **Accept**: application/json
236
242
 
237
243
 
244
+ ## suppliers_provider_biomarker_capability_summary
245
+
246
+ > <ProviderBiomarkerCapabilitySummaryResponse> suppliers_provider_biomarker_capability_summary(id, opts)
247
+
248
+ Supplier biomarker capability, summarised
249
+
250
+ ### Examples
251
+
252
+ ```ruby
253
+ require 'time'
254
+ require 'pharmaobservatory'
255
+ # setup authorization
256
+ PharmaObservatory.configure do |config|
257
+ # Configure Bearer authorization (JWT): ApiBearerJwt
258
+ config.access_token = 'YOUR_BEARER_TOKEN'
259
+ end
260
+
261
+ api_instance = PharmaObservatory::SuppliersApi.new
262
+ id = 990502 # Integer |
263
+ opts = {
264
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
265
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
266
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
267
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
268
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
269
+ }
270
+
271
+ begin
272
+ # Supplier biomarker capability, summarised
273
+ result = api_instance.suppliers_provider_biomarker_capability_summary(id, opts)
274
+ p result
275
+ rescue PharmaObservatory::ApiError => e
276
+ puts "Error when calling SuppliersApi->suppliers_provider_biomarker_capability_summary: #{e}"
277
+ end
278
+ ```
279
+
280
+ #### Using the suppliers_provider_biomarker_capability_summary_with_http_info variant
281
+
282
+ This returns an Array which contains the response data, status code and headers.
283
+
284
+ > <Array(<ProviderBiomarkerCapabilitySummaryResponse>, Integer, Hash)> suppliers_provider_biomarker_capability_summary_with_http_info(id, opts)
285
+
286
+ ```ruby
287
+ begin
288
+ # Supplier biomarker capability, summarised
289
+ data, status_code, headers = api_instance.suppliers_provider_biomarker_capability_summary_with_http_info(id, opts)
290
+ p status_code # => 2xx
291
+ p headers # => { ... }
292
+ p data # => <ProviderBiomarkerCapabilitySummaryResponse>
293
+ rescue PharmaObservatory::ApiError => e
294
+ puts "Error when calling SuppliersApi->suppliers_provider_biomarker_capability_summary_with_http_info: #{e}"
295
+ end
296
+ ```
297
+
298
+ ### Parameters
299
+
300
+ | Name | Type | Description | Notes |
301
+ | ---- | ---- | ----------- | ----- |
302
+ | **id** | **Integer** | | |
303
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
304
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
305
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
306
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
307
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
308
+
309
+ ### Return type
310
+
311
+ [**ProviderBiomarkerCapabilitySummaryResponse**](ProviderBiomarkerCapabilitySummaryResponse.md)
312
+
313
+ ### Authorization
314
+
315
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
316
+
317
+ ### HTTP request headers
318
+
319
+ - **Content-Type**: Not defined
320
+ - **Accept**: application/json
321
+
322
+
238
323
  ## suppliers_provider_clia_licensure
239
324
 
240
325
  > <ProviderCliaLicensureResponse> suppliers_provider_clia_licensure(id, opts)
@@ -314,6 +399,401 @@ end
314
399
  - **Accept**: application/json
315
400
 
316
401
 
402
+ ## suppliers_provider_rwd_delivery
403
+
404
+ > <ProviderRwdDeliveryResponse> suppliers_provider_rwd_delivery(id, opts)
405
+
406
+ RX provider real-world data study delivery track record (HMA-EMA catalogue)
407
+
408
+ ### Examples
409
+
410
+ ```ruby
411
+ require 'time'
412
+ require 'pharmaobservatory'
413
+ # setup authorization
414
+ PharmaObservatory.configure do |config|
415
+ # Configure Bearer authorization (JWT): ApiBearerJwt
416
+ config.access_token = 'YOUR_BEARER_TOKEN'
417
+ end
418
+
419
+ api_instance = PharmaObservatory::SuppliersApi.new
420
+ id = 990502 # Integer |
421
+ opts = {
422
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
423
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
424
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
425
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
426
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
427
+ }
428
+
429
+ begin
430
+ # RX provider real-world data study delivery track record (HMA-EMA catalogue)
431
+ result = api_instance.suppliers_provider_rwd_delivery(id, opts)
432
+ p result
433
+ rescue PharmaObservatory::ApiError => e
434
+ puts "Error when calling SuppliersApi->suppliers_provider_rwd_delivery: #{e}"
435
+ end
436
+ ```
437
+
438
+ #### Using the suppliers_provider_rwd_delivery_with_http_info variant
439
+
440
+ This returns an Array which contains the response data, status code and headers.
441
+
442
+ > <Array(<ProviderRwdDeliveryResponse>, Integer, Hash)> suppliers_provider_rwd_delivery_with_http_info(id, opts)
443
+
444
+ ```ruby
445
+ begin
446
+ # RX provider real-world data study delivery track record (HMA-EMA catalogue)
447
+ data, status_code, headers = api_instance.suppliers_provider_rwd_delivery_with_http_info(id, opts)
448
+ p status_code # => 2xx
449
+ p headers # => { ... }
450
+ p data # => <ProviderRwdDeliveryResponse>
451
+ rescue PharmaObservatory::ApiError => e
452
+ puts "Error when calling SuppliersApi->suppliers_provider_rwd_delivery_with_http_info: #{e}"
453
+ end
454
+ ```
455
+
456
+ ### Parameters
457
+
458
+ | Name | Type | Description | Notes |
459
+ | ---- | ---- | ----------- | ----- |
460
+ | **id** | **Integer** | | |
461
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
462
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
463
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
464
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
465
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
466
+
467
+ ### Return type
468
+
469
+ [**ProviderRwdDeliveryResponse**](ProviderRwdDeliveryResponse.md)
470
+
471
+ ### Authorization
472
+
473
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
474
+
475
+ ### HTTP request headers
476
+
477
+ - **Content-Type**: Not defined
478
+ - **Accept**: application/json
479
+
480
+
481
+ ## suppliers_provider_rwd_delivery_study
482
+
483
+ > <ProviderRwdDeliveryStudyResponse> suppliers_provider_rwd_delivery_study(id, opts)
484
+
485
+ RX provider real-world data study final-report dates below the floor (HMA-EMA catalogue)
486
+
487
+ ### Examples
488
+
489
+ ```ruby
490
+ require 'time'
491
+ require 'pharmaobservatory'
492
+ # setup authorization
493
+ PharmaObservatory.configure do |config|
494
+ # Configure Bearer authorization (JWT): ApiBearerJwt
495
+ config.access_token = 'YOUR_BEARER_TOKEN'
496
+ end
497
+
498
+ api_instance = PharmaObservatory::SuppliersApi.new
499
+ id = 990502 # Integer |
500
+ opts = {
501
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
502
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
503
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
504
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
505
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
506
+ }
507
+
508
+ begin
509
+ # RX provider real-world data study final-report dates below the floor (HMA-EMA catalogue)
510
+ result = api_instance.suppliers_provider_rwd_delivery_study(id, opts)
511
+ p result
512
+ rescue PharmaObservatory::ApiError => e
513
+ puts "Error when calling SuppliersApi->suppliers_provider_rwd_delivery_study: #{e}"
514
+ end
515
+ ```
516
+
517
+ #### Using the suppliers_provider_rwd_delivery_study_with_http_info variant
518
+
519
+ This returns an Array which contains the response data, status code and headers.
520
+
521
+ > <Array(<ProviderRwdDeliveryStudyResponse>, Integer, Hash)> suppliers_provider_rwd_delivery_study_with_http_info(id, opts)
522
+
523
+ ```ruby
524
+ begin
525
+ # RX provider real-world data study final-report dates below the floor (HMA-EMA catalogue)
526
+ data, status_code, headers = api_instance.suppliers_provider_rwd_delivery_study_with_http_info(id, opts)
527
+ p status_code # => 2xx
528
+ p headers # => { ... }
529
+ p data # => <ProviderRwdDeliveryStudyResponse>
530
+ rescue PharmaObservatory::ApiError => e
531
+ puts "Error when calling SuppliersApi->suppliers_provider_rwd_delivery_study_with_http_info: #{e}"
532
+ end
533
+ ```
534
+
535
+ ### Parameters
536
+
537
+ | Name | Type | Description | Notes |
538
+ | ---- | ---- | ----------- | ----- |
539
+ | **id** | **Integer** | | |
540
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
541
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
542
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
543
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
544
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
545
+
546
+ ### Return type
547
+
548
+ [**ProviderRwdDeliveryStudyResponse**](ProviderRwdDeliveryStudyResponse.md)
549
+
550
+ ### Authorization
551
+
552
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
553
+
554
+ ### HTTP request headers
555
+
556
+ - **Content-Type**: Not defined
557
+ - **Accept**: application/json
558
+
559
+
560
+ ## suppliers_provider_rwd_footprint
561
+
562
+ > <ProviderRwdFootprintResponse> suppliers_provider_rwd_footprint(id, opts)
563
+
564
+ Supplier real-world data footprint (HMA-EMA catalogue)
565
+
566
+ ### Examples
567
+
568
+ ```ruby
569
+ require 'time'
570
+ require 'pharmaobservatory'
571
+ # setup authorization
572
+ PharmaObservatory.configure do |config|
573
+ # Configure Bearer authorization (JWT): ApiBearerJwt
574
+ config.access_token = 'YOUR_BEARER_TOKEN'
575
+ end
576
+
577
+ api_instance = PharmaObservatory::SuppliersApi.new
578
+ id = 990502 # Integer |
579
+ opts = {
580
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
581
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
582
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
583
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
584
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
585
+ }
586
+
587
+ begin
588
+ # Supplier real-world data footprint (HMA-EMA catalogue)
589
+ result = api_instance.suppliers_provider_rwd_footprint(id, opts)
590
+ p result
591
+ rescue PharmaObservatory::ApiError => e
592
+ puts "Error when calling SuppliersApi->suppliers_provider_rwd_footprint: #{e}"
593
+ end
594
+ ```
595
+
596
+ #### Using the suppliers_provider_rwd_footprint_with_http_info variant
597
+
598
+ This returns an Array which contains the response data, status code and headers.
599
+
600
+ > <Array(<ProviderRwdFootprintResponse>, Integer, Hash)> suppliers_provider_rwd_footprint_with_http_info(id, opts)
601
+
602
+ ```ruby
603
+ begin
604
+ # Supplier real-world data footprint (HMA-EMA catalogue)
605
+ data, status_code, headers = api_instance.suppliers_provider_rwd_footprint_with_http_info(id, opts)
606
+ p status_code # => 2xx
607
+ p headers # => { ... }
608
+ p data # => <ProviderRwdFootprintResponse>
609
+ rescue PharmaObservatory::ApiError => e
610
+ puts "Error when calling SuppliersApi->suppliers_provider_rwd_footprint_with_http_info: #{e}"
611
+ end
612
+ ```
613
+
614
+ ### Parameters
615
+
616
+ | Name | Type | Description | Notes |
617
+ | ---- | ---- | ----------- | ----- |
618
+ | **id** | **Integer** | | |
619
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
620
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
621
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
622
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
623
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
624
+
625
+ ### Return type
626
+
627
+ [**ProviderRwdFootprintResponse**](ProviderRwdFootprintResponse.md)
628
+
629
+ ### Authorization
630
+
631
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
632
+
633
+ ### HTTP request headers
634
+
635
+ - **Content-Type**: Not defined
636
+ - **Accept**: application/json
637
+
638
+
639
+ ## suppliers_rwd_us_network_memberships
640
+
641
+ > <RwdUsNetworkMembershipsResponse> suppliers_rwd_us_network_memberships(id, opts)
642
+
643
+ US real-world data network membership (N3C)
644
+
645
+ ### Examples
646
+
647
+ ```ruby
648
+ require 'time'
649
+ require 'pharmaobservatory'
650
+ # setup authorization
651
+ PharmaObservatory.configure do |config|
652
+ # Configure Bearer authorization (JWT): ApiBearerJwt
653
+ config.access_token = 'YOUR_BEARER_TOKEN'
654
+ end
655
+
656
+ api_instance = PharmaObservatory::SuppliersApi.new
657
+ id = 990502 # Integer |
658
+ opts = {
659
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
660
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
661
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
662
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
663
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
664
+ }
665
+
666
+ begin
667
+ # US real-world data network membership (N3C)
668
+ result = api_instance.suppliers_rwd_us_network_memberships(id, opts)
669
+ p result
670
+ rescue PharmaObservatory::ApiError => e
671
+ puts "Error when calling SuppliersApi->suppliers_rwd_us_network_memberships: #{e}"
672
+ end
673
+ ```
674
+
675
+ #### Using the suppliers_rwd_us_network_memberships_with_http_info variant
676
+
677
+ This returns an Array which contains the response data, status code and headers.
678
+
679
+ > <Array(<RwdUsNetworkMembershipsResponse>, Integer, Hash)> suppliers_rwd_us_network_memberships_with_http_info(id, opts)
680
+
681
+ ```ruby
682
+ begin
683
+ # US real-world data network membership (N3C)
684
+ data, status_code, headers = api_instance.suppliers_rwd_us_network_memberships_with_http_info(id, opts)
685
+ p status_code # => 2xx
686
+ p headers # => { ... }
687
+ p data # => <RwdUsNetworkMembershipsResponse>
688
+ rescue PharmaObservatory::ApiError => e
689
+ puts "Error when calling SuppliersApi->suppliers_rwd_us_network_memberships_with_http_info: #{e}"
690
+ end
691
+ ```
692
+
693
+ ### Parameters
694
+
695
+ | Name | Type | Description | Notes |
696
+ | ---- | ---- | ----------- | ----- |
697
+ | **id** | **Integer** | | |
698
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
699
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
700
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
701
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
702
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
703
+
704
+ ### Return type
705
+
706
+ [**RwdUsNetworkMembershipsResponse**](RwdUsNetworkMembershipsResponse.md)
707
+
708
+ ### Authorization
709
+
710
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
711
+
712
+ ### HTTP request headers
713
+
714
+ - **Content-Type**: Not defined
715
+ - **Accept**: application/json
716
+
717
+
718
+ ## suppliers_supplier_rwd_declarations
719
+
720
+ > <SupplierRwdDeclarationsResponse> suppliers_supplier_rwd_declarations(id, opts)
721
+
722
+ Supplier declared real-world data facts
723
+
724
+ ### Examples
725
+
726
+ ```ruby
727
+ require 'time'
728
+ require 'pharmaobservatory'
729
+ # setup authorization
730
+ PharmaObservatory.configure do |config|
731
+ # Configure Bearer authorization (JWT): ApiBearerJwt
732
+ config.access_token = 'YOUR_BEARER_TOKEN'
733
+ end
734
+
735
+ api_instance = PharmaObservatory::SuppliersApi.new
736
+ id = 990502 # Integer |
737
+ opts = {
738
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
739
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
740
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
741
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
742
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
743
+ }
744
+
745
+ begin
746
+ # Supplier declared real-world data facts
747
+ result = api_instance.suppliers_supplier_rwd_declarations(id, opts)
748
+ p result
749
+ rescue PharmaObservatory::ApiError => e
750
+ puts "Error when calling SuppliersApi->suppliers_supplier_rwd_declarations: #{e}"
751
+ end
752
+ ```
753
+
754
+ #### Using the suppliers_supplier_rwd_declarations_with_http_info variant
755
+
756
+ This returns an Array which contains the response data, status code and headers.
757
+
758
+ > <Array(<SupplierRwdDeclarationsResponse>, Integer, Hash)> suppliers_supplier_rwd_declarations_with_http_info(id, opts)
759
+
760
+ ```ruby
761
+ begin
762
+ # Supplier declared real-world data facts
763
+ data, status_code, headers = api_instance.suppliers_supplier_rwd_declarations_with_http_info(id, opts)
764
+ p status_code # => 2xx
765
+ p headers # => { ... }
766
+ p data # => <SupplierRwdDeclarationsResponse>
767
+ rescue PharmaObservatory::ApiError => e
768
+ puts "Error when calling SuppliersApi->suppliers_supplier_rwd_declarations_with_http_info: #{e}"
769
+ end
770
+ ```
771
+
772
+ ### Parameters
773
+
774
+ | Name | Type | Description | Notes |
775
+ | ---- | ---- | ----------- | ----- |
776
+ | **id** | **Integer** | | |
777
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
778
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
779
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
780
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
781
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
782
+
783
+ ### Return type
784
+
785
+ [**SupplierRwdDeclarationsResponse**](SupplierRwdDeclarationsResponse.md)
786
+
787
+ ### Authorization
788
+
789
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
790
+
791
+ ### HTTP request headers
792
+
793
+ - **Content-Type**: Not defined
794
+ - **Accept**: application/json
795
+
796
+
317
797
  ## suppliers_supplier_services
318
798
 
319
799
  > <SupplierServicesResponse> suppliers_supplier_services(id, opts)
@@ -0,0 +1,58 @@
1
+ # PharmaObservatory::TrialPublicationsResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **dataset** | **String** | | |
8
+ | **grain** | **String** | | [optional] |
9
+ | **object_type** | **String** | | [optional] |
10
+ | **id** | **String** | | [optional] |
11
+ | **scope** | [**AnimalWelfareAssurancesResponseScope**](AnimalWelfareAssurancesResponseScope.md) | | [optional] |
12
+ | **columns** | [**Array&lt;DatasetColumn&gt;**](DatasetColumn.md) | | |
13
+ | **rows** | [**Array&lt;TrialPublicationsRow&gt;**](TrialPublicationsRow.md) | | |
14
+ | **total** | **Integer** | The exact count of the filtered rows on an ungrouped read, carried by the cursor; null when grouped. | [optional] |
15
+ | **next_cursor** | **String** | | [optional] |
16
+ | **sort** | **Array&lt;String&gt;** | | [optional] |
17
+ | **filters** | **Array&lt;Hash&lt;String, Object&gt;&gt;** | | [optional] |
18
+ | **group_by** | **Array&lt;String&gt;** | | [optional] |
19
+ | **measures** | **Array&lt;String&gt;** | | [optional] |
20
+ | **attribution** | [**Array&lt;DatasetAttribution&gt;**](DatasetAttribution.md) | | [optional] |
21
+ | **source_credit** | **String** | | [optional] |
22
+ | **withheld_tiers** | **Array&lt;String&gt;** | | [optional] |
23
+ | **withheld_columns** | **Array&lt;String&gt;** | | [optional] |
24
+ | **freshness** | [**AnimalWelfareAssurancesResponseFreshness**](AnimalWelfareAssurancesResponseFreshness.md) | | [optional] |
25
+ | **build** | [**AnimalWelfareAssurancesResponseBuild**](AnimalWelfareAssurancesResponseBuild.md) | | [optional] |
26
+ | **build_state** | [**DatasetBuildState**](DatasetBuildState.md) | | [optional] |
27
+ | **restriction** | **Hash&lt;String, Object&gt;** | | [optional] |
28
+
29
+ ## Example
30
+
31
+ ```ruby
32
+ require 'pharmaobservatory'
33
+
34
+ instance = PharmaObservatory::TrialPublicationsResponse.new(
35
+ dataset: null,
36
+ grain: null,
37
+ object_type: null,
38
+ id: null,
39
+ scope: null,
40
+ columns: null,
41
+ rows: null,
42
+ total: null,
43
+ next_cursor: null,
44
+ sort: null,
45
+ filters: null,
46
+ group_by: null,
47
+ measures: null,
48
+ attribution: null,
49
+ source_credit: null,
50
+ withheld_tiers: null,
51
+ withheld_columns: null,
52
+ freshness: null,
53
+ build: null,
54
+ build_state: null,
55
+ restriction: null
56
+ )
57
+ ```
58
+
@@ -0,0 +1,34 @@
1
+ # PharmaObservatory::TrialPublicationsRow
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **trial_id** | **String** | The trial&#39;s ClinicalTrials.gov registry id (NCT, National Clinical Trial, number). | [optional] |
8
+ | **pmid** | **String** | The PubMed id of the paper. | [optional] |
9
+ | **title** | **String** | The paper&#39;s title. | [optional] |
10
+ | **journal_title** | **String** | The journal&#39;s title (null when the paper&#39;s journal is not in the journal table). | [optional] |
11
+ | **pub_year** | **Integer** | The publication year (null when undated). | [optional] |
12
+ | **evidence_type** | **String** | The paper&#39;s study-design label, one normalized publication type by study-design priority; the page&#39;s design column. | [optional] |
13
+ | **citation** | **String** | The citation for the paper: one citation per paper, the longest among the trials that cite the PubMed id. | [optional] |
14
+ | **reference_types** | **Array&lt;String&gt;** | Every reference kind the registry filed for this paper on this trial, lower-cased (background, result, derived). | [optional] |
15
+ | **results** | **Boolean** | True when any reference kind of the row is a results reference; the page&#39;s Results label. | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'pharmaobservatory'
21
+
22
+ instance = PharmaObservatory::TrialPublicationsRow.new(
23
+ trial_id: null,
24
+ pmid: null,
25
+ title: null,
26
+ journal_title: null,
27
+ pub_year: null,
28
+ evidence_type: null,
29
+ citation: null,
30
+ reference_types: null,
31
+ results: null
32
+ )
33
+ ```
34
+
data/docs/TrialsApi.md CHANGED
@@ -19,6 +19,7 @@ All URIs are relative to *https://pharmaobservatory.com*
19
19
  | [**trials_trial_extracted_endpoints**](TrialsApi.md#trials_trial_extracted_endpoints) | **GET** /api/v1/trials/{id}/trial_extracted_endpoints | Trial extracted endpoints |
20
20
  | [**trials_trial_kols**](TrialsApi.md#trials_trial_kols) | **GET** /api/v1/trials/{id}/trial_kols | Trial investigators |
21
21
  | [**trials_trial_outcome_measures**](TrialsApi.md#trials_trial_outcome_measures) | **GET** /api/v1/trials/{id}/trial_outcome_measures | Trial outcome measures |
22
+ | [**trials_trial_publications**](TrialsApi.md#trials_trial_publications) | **GET** /api/v1/trials/{id}/trial_publications | Trial publications |
22
23
  | [**trials_trial_research_payments**](TrialsApi.md#trials_trial_research_payments) | **GET** /api/v1/trials/{id}/trial_research_payments | Trial research payments |
23
24
  | [**trials_trial_site_history**](TrialsApi.md#trials_trial_site_history) | **GET** /api/v1/trials/{id}/trial_site_history | Trial site history |
24
25
  | [**trials_trial_sites**](TrialsApi.md#trials_trial_sites) | **GET** /api/v1/trials/{id}/trial_sites | Trial sites |
@@ -1195,6 +1196,85 @@ end
1195
1196
  - **Accept**: application/json
1196
1197
 
1197
1198
 
1199
+ ## trials_trial_publications
1200
+
1201
+ > <TrialPublicationsResponse> trials_trial_publications(id, opts)
1202
+
1203
+ Trial publications
1204
+
1205
+ ### Examples
1206
+
1207
+ ```ruby
1208
+ require 'time'
1209
+ require 'pharmaobservatory'
1210
+ # setup authorization
1211
+ PharmaObservatory.configure do |config|
1212
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1213
+ config.access_token = 'YOUR_BEARER_TOKEN'
1214
+ end
1215
+
1216
+ api_instance = PharmaObservatory::TrialsApi.new
1217
+ id = 'NCT00000125' # String |
1218
+ opts = {
1219
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1220
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1221
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1222
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1223
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1224
+ }
1225
+
1226
+ begin
1227
+ # Trial publications
1228
+ result = api_instance.trials_trial_publications(id, opts)
1229
+ p result
1230
+ rescue PharmaObservatory::ApiError => e
1231
+ puts "Error when calling TrialsApi->trials_trial_publications: #{e}"
1232
+ end
1233
+ ```
1234
+
1235
+ #### Using the trials_trial_publications_with_http_info variant
1236
+
1237
+ This returns an Array which contains the response data, status code and headers.
1238
+
1239
+ > <Array(<TrialPublicationsResponse>, Integer, Hash)> trials_trial_publications_with_http_info(id, opts)
1240
+
1241
+ ```ruby
1242
+ begin
1243
+ # Trial publications
1244
+ data, status_code, headers = api_instance.trials_trial_publications_with_http_info(id, opts)
1245
+ p status_code # => 2xx
1246
+ p headers # => { ... }
1247
+ p data # => <TrialPublicationsResponse>
1248
+ rescue PharmaObservatory::ApiError => e
1249
+ puts "Error when calling TrialsApi->trials_trial_publications_with_http_info: #{e}"
1250
+ end
1251
+ ```
1252
+
1253
+ ### Parameters
1254
+
1255
+ | Name | Type | Description | Notes |
1256
+ | ---- | ---- | ----------- | ----- |
1257
+ | **id** | **String** | | |
1258
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1259
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1260
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1261
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1262
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1263
+
1264
+ ### Return type
1265
+
1266
+ [**TrialPublicationsResponse**](TrialPublicationsResponse.md)
1267
+
1268
+ ### Authorization
1269
+
1270
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1271
+
1272
+ ### HTTP request headers
1273
+
1274
+ - **Content-Type**: Not defined
1275
+ - **Accept**: application/json
1276
+
1277
+
1198
1278
  ## trials_trial_research_payments
1199
1279
 
1200
1280
  > <TrialResearchPaymentsResponse> trials_trial_research_payments(id, opts)