pharmaobservatory 0.1.24 → 0.1.26

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 (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +45 -4
  3. data/docs/BiomarkerLiteratureAllResponse.md +58 -0
  4. data/docs/BiomarkerLiteratureAllRow.md +36 -0
  5. data/docs/BiomarkerLiteratureOrgsResponse.md +58 -0
  6. data/docs/BiomarkerLiteratureOrgsRow.md +34 -0
  7. data/docs/BiomarkerLiteraturePeopleResponse.md +58 -0
  8. data/docs/BiomarkerLiteraturePeopleRow.md +36 -0
  9. data/docs/BiomarkersApi.md +240 -0
  10. data/docs/CompanyCompetitorsRow.md +1 -1
  11. data/docs/CompanyRareDiseaseDeclarationsRow.md +1 -1
  12. data/docs/ConditionLiteratureOrgsResponse.md +58 -0
  13. data/docs/ConditionLiteratureOrgsRow.md +34 -0
  14. data/docs/ConditionLiteraturePeopleResponse.md +58 -0
  15. data/docs/ConditionLiteraturePeopleRow.md +36 -0
  16. data/docs/ConditionLiteratureResponse.md +58 -0
  17. data/docs/ConditionLiteratureRow.md +36 -0
  18. data/docs/ConditionsApi.md +320 -0
  19. data/docs/ConditionsRecord.md +2 -0
  20. data/docs/InvestigatorsApi.md +320 -0
  21. data/docs/InvestmentGraphNodesRow.md +4 -2
  22. data/docs/LegalEntitiesApi.md +160 -0
  23. data/docs/OrgLiteraturePeopleResponse.md +58 -0
  24. data/docs/OrgLiteraturePeopleRow.md +36 -0
  25. data/docs/OrgLiteratureResponse.md +58 -0
  26. data/docs/OrgLiteratureRow.md +40 -0
  27. data/docs/PatientOrganisationResponse.md +58 -0
  28. data/docs/PatientOrganisationRow.md +74 -0
  29. data/docs/RareDiseaseOrganizationsRow.md +1 -1
  30. data/docs/RareDiseaseTrialSitesRow.md +5 -3
  31. data/docs/RareDiseasesApi.md +80 -0
  32. data/docs/RareDiseasesRecord.md +2 -0
  33. data/docs/TargetLiteratureOrgsResponse.md +58 -0
  34. data/docs/TargetLiteratureOrgsRow.md +34 -0
  35. data/docs/TargetLiteraturePeopleResponse.md +58 -0
  36. data/docs/TargetLiteraturePeopleRow.md +36 -0
  37. data/docs/TargetLiteratureResponse.md +58 -0
  38. data/docs/TargetLiteratureRow.md +36 -0
  39. data/docs/TargetsApi.md +240 -0
  40. data/lib/pharmaobservatory/api/biomarkers_api.rb +252 -0
  41. data/lib/pharmaobservatory/api/conditions_api.rb +336 -0
  42. data/lib/pharmaobservatory/api/investigators_api.rb +336 -0
  43. data/lib/pharmaobservatory/api/legal_entities_api.rb +168 -0
  44. data/lib/pharmaobservatory/api/rare_diseases_api.rb +84 -0
  45. data/lib/pharmaobservatory/api/targets_api.rb +252 -0
  46. data/lib/pharmaobservatory/models/biomarker_literature_all_response.rb +478 -0
  47. data/lib/pharmaobservatory/models/biomarker_literature_all_row.rb +322 -0
  48. data/lib/pharmaobservatory/models/biomarker_literature_orgs_response.rb +478 -0
  49. data/lib/pharmaobservatory/models/biomarker_literature_orgs_row.rb +311 -0
  50. data/lib/pharmaobservatory/models/biomarker_literature_people_response.rb +478 -0
  51. data/lib/pharmaobservatory/models/biomarker_literature_people_row.rb +322 -0
  52. data/lib/pharmaobservatory/models/company_competitors_row.rb +1 -1
  53. data/lib/pharmaobservatory/models/company_rare_disease_declarations_row.rb +1 -1
  54. data/lib/pharmaobservatory/models/condition_literature_orgs_response.rb +478 -0
  55. data/lib/pharmaobservatory/models/condition_literature_orgs_row.rb +311 -0
  56. data/lib/pharmaobservatory/models/condition_literature_people_response.rb +478 -0
  57. data/lib/pharmaobservatory/models/condition_literature_people_row.rb +322 -0
  58. data/lib/pharmaobservatory/models/condition_literature_response.rb +478 -0
  59. data/lib/pharmaobservatory/models/condition_literature_row.rb +322 -0
  60. data/lib/pharmaobservatory/models/conditions_record.rb +13 -1
  61. data/lib/pharmaobservatory/models/investment_graph_nodes_row.rb +19 -6
  62. data/lib/pharmaobservatory/models/org_literature_people_response.rb +478 -0
  63. data/lib/pharmaobservatory/models/org_literature_people_row.rb +322 -0
  64. data/lib/pharmaobservatory/models/org_literature_response.rb +478 -0
  65. data/lib/pharmaobservatory/models/org_literature_row.rb +344 -0
  66. data/lib/pharmaobservatory/models/patient_organisation_response.rb +478 -0
  67. data/lib/pharmaobservatory/models/patient_organisation_row.rb +545 -0
  68. data/lib/pharmaobservatory/models/rare_disease_organizations_row.rb +1 -1
  69. data/lib/pharmaobservatory/models/rare_disease_trial_sites_row.rb +15 -4
  70. data/lib/pharmaobservatory/models/rare_diseases_record.rb +13 -1
  71. data/lib/pharmaobservatory/models/target_literature_orgs_response.rb +478 -0
  72. data/lib/pharmaobservatory/models/target_literature_orgs_row.rb +311 -0
  73. data/lib/pharmaobservatory/models/target_literature_people_response.rb +478 -0
  74. data/lib/pharmaobservatory/models/target_literature_people_row.rb +322 -0
  75. data/lib/pharmaobservatory/models/target_literature_response.rb +478 -0
  76. data/lib/pharmaobservatory/models/target_literature_row.rb +322 -0
  77. data/lib/pharmaobservatory/version.rb +1 -1
  78. data/lib/pharmaobservatory.rb +24 -0
  79. metadata +50 -2
@@ -523,6 +523,258 @@ module PharmaObservatory
523
523
  return data, status_code, headers
524
524
  end
525
525
 
526
+ # Condition literature (MeSH-indexed, 2016 onward)
527
+ # @param id [String]
528
+ # @param [Hash] opts the optional parameters
529
+ # @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.
530
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
531
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
532
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
533
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
534
+ # @return [ConditionLiteratureResponse]
535
+ def conditions_condition_literature(id, opts = {})
536
+ data, _status_code, _headers = conditions_condition_literature_with_http_info(id, opts)
537
+ data
538
+ end
539
+
540
+ # Condition literature (MeSH-indexed, 2016 onward)
541
+ # @param id [String]
542
+ # @param [Hash] opts the optional parameters
543
+ # @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.
544
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
545
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
546
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
547
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
548
+ # @return [Array<(ConditionLiteratureResponse, Integer, Hash)>] ConditionLiteratureResponse data, response status code and response headers
549
+ def conditions_condition_literature_with_http_info(id, opts = {})
550
+ if @api_client.config.debugging
551
+ @api_client.config.logger.debug 'Calling API: ConditionsApi.conditions_condition_literature ...'
552
+ end
553
+ # verify the required parameter 'id' is set
554
+ if @api_client.config.client_side_validation && id.nil?
555
+ fail ArgumentError, "Missing the required parameter 'id' when calling ConditionsApi.conditions_condition_literature"
556
+ end
557
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
558
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling ConditionsApi.conditions_condition_literature, must be smaller than or equal to 500.'
559
+ end
560
+
561
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
562
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling ConditionsApi.conditions_condition_literature, must be greater than or equal to 1.'
563
+ end
564
+
565
+ # resource path
566
+ local_var_path = '/api/v1/conditions/{id}/condition_literature'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
567
+
568
+ # query parameters
569
+ query_params = opts[:query_params] || {}
570
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
571
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
572
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
573
+ query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
574
+ query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
575
+
576
+ # header parameters
577
+ header_params = opts[:header_params] || {}
578
+ # HTTP header 'Accept' (if needed)
579
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
580
+
581
+ # form parameters
582
+ form_params = opts[:form_params] || {}
583
+
584
+ # http body (model)
585
+ post_body = opts[:debug_body]
586
+
587
+ # return_type
588
+ return_type = opts[:debug_return_type] || 'ConditionLiteratureResponse'
589
+
590
+ # auth_names
591
+ auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
592
+
593
+ new_options = opts.merge(
594
+ :operation => :"ConditionsApi.conditions_condition_literature",
595
+ :header_params => header_params,
596
+ :query_params => query_params,
597
+ :form_params => form_params,
598
+ :body => post_body,
599
+ :auth_names => auth_names,
600
+ :return_type => return_type
601
+ )
602
+
603
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
604
+ if @api_client.config.debugging
605
+ @api_client.config.logger.debug "API called: ConditionsApi#conditions_condition_literature\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
606
+ end
607
+ return data, status_code, headers
608
+ end
609
+
610
+ # Condition literature, most active institutions
611
+ # @param id [String]
612
+ # @param [Hash] opts the optional parameters
613
+ # @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.
614
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
615
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
616
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
617
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
618
+ # @return [ConditionLiteratureOrgsResponse]
619
+ def conditions_condition_literature_orgs(id, opts = {})
620
+ data, _status_code, _headers = conditions_condition_literature_orgs_with_http_info(id, opts)
621
+ data
622
+ end
623
+
624
+ # Condition literature, most active institutions
625
+ # @param id [String]
626
+ # @param [Hash] opts the optional parameters
627
+ # @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.
628
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
629
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
630
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
631
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
632
+ # @return [Array<(ConditionLiteratureOrgsResponse, Integer, Hash)>] ConditionLiteratureOrgsResponse data, response status code and response headers
633
+ def conditions_condition_literature_orgs_with_http_info(id, opts = {})
634
+ if @api_client.config.debugging
635
+ @api_client.config.logger.debug 'Calling API: ConditionsApi.conditions_condition_literature_orgs ...'
636
+ end
637
+ # verify the required parameter 'id' is set
638
+ if @api_client.config.client_side_validation && id.nil?
639
+ fail ArgumentError, "Missing the required parameter 'id' when calling ConditionsApi.conditions_condition_literature_orgs"
640
+ end
641
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
642
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling ConditionsApi.conditions_condition_literature_orgs, must be smaller than or equal to 500.'
643
+ end
644
+
645
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
646
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling ConditionsApi.conditions_condition_literature_orgs, must be greater than or equal to 1.'
647
+ end
648
+
649
+ # resource path
650
+ local_var_path = '/api/v1/conditions/{id}/condition_literature_orgs'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
651
+
652
+ # query parameters
653
+ query_params = opts[:query_params] || {}
654
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
655
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
656
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
657
+ query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
658
+ query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
659
+
660
+ # header parameters
661
+ header_params = opts[:header_params] || {}
662
+ # HTTP header 'Accept' (if needed)
663
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
664
+
665
+ # form parameters
666
+ form_params = opts[:form_params] || {}
667
+
668
+ # http body (model)
669
+ post_body = opts[:debug_body]
670
+
671
+ # return_type
672
+ return_type = opts[:debug_return_type] || 'ConditionLiteratureOrgsResponse'
673
+
674
+ # auth_names
675
+ auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
676
+
677
+ new_options = opts.merge(
678
+ :operation => :"ConditionsApi.conditions_condition_literature_orgs",
679
+ :header_params => header_params,
680
+ :query_params => query_params,
681
+ :form_params => form_params,
682
+ :body => post_body,
683
+ :auth_names => auth_names,
684
+ :return_type => return_type
685
+ )
686
+
687
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
688
+ if @api_client.config.debugging
689
+ @api_client.config.logger.debug "API called: ConditionsApi#conditions_condition_literature_orgs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
690
+ end
691
+ return data, status_code, headers
692
+ end
693
+
694
+ # Condition literature, most active authors
695
+ # @param id [String]
696
+ # @param [Hash] opts the optional parameters
697
+ # @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.
698
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
699
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
700
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
701
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
702
+ # @return [ConditionLiteraturePeopleResponse]
703
+ def conditions_condition_literature_people(id, opts = {})
704
+ data, _status_code, _headers = conditions_condition_literature_people_with_http_info(id, opts)
705
+ data
706
+ end
707
+
708
+ # Condition literature, most active authors
709
+ # @param id [String]
710
+ # @param [Hash] opts the optional parameters
711
+ # @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.
712
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
713
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
714
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
715
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
716
+ # @return [Array<(ConditionLiteraturePeopleResponse, Integer, Hash)>] ConditionLiteraturePeopleResponse data, response status code and response headers
717
+ def conditions_condition_literature_people_with_http_info(id, opts = {})
718
+ if @api_client.config.debugging
719
+ @api_client.config.logger.debug 'Calling API: ConditionsApi.conditions_condition_literature_people ...'
720
+ end
721
+ # verify the required parameter 'id' is set
722
+ if @api_client.config.client_side_validation && id.nil?
723
+ fail ArgumentError, "Missing the required parameter 'id' when calling ConditionsApi.conditions_condition_literature_people"
724
+ end
725
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
726
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling ConditionsApi.conditions_condition_literature_people, must be smaller than or equal to 500.'
727
+ end
728
+
729
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
730
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling ConditionsApi.conditions_condition_literature_people, must be greater than or equal to 1.'
731
+ end
732
+
733
+ # resource path
734
+ local_var_path = '/api/v1/conditions/{id}/condition_literature_people'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
735
+
736
+ # query parameters
737
+ query_params = opts[:query_params] || {}
738
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
739
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
740
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
741
+ query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
742
+ query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
743
+
744
+ # header parameters
745
+ header_params = opts[:header_params] || {}
746
+ # HTTP header 'Accept' (if needed)
747
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
748
+
749
+ # form parameters
750
+ form_params = opts[:form_params] || {}
751
+
752
+ # http body (model)
753
+ post_body = opts[:debug_body]
754
+
755
+ # return_type
756
+ return_type = opts[:debug_return_type] || 'ConditionLiteraturePeopleResponse'
757
+
758
+ # auth_names
759
+ auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
760
+
761
+ new_options = opts.merge(
762
+ :operation => :"ConditionsApi.conditions_condition_literature_people",
763
+ :header_params => header_params,
764
+ :query_params => query_params,
765
+ :form_params => form_params,
766
+ :body => post_body,
767
+ :auth_names => auth_names,
768
+ :return_type => return_type
769
+ )
770
+
771
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
772
+ if @api_client.config.debugging
773
+ @api_client.config.logger.debug "API called: ConditionsApi#conditions_condition_literature_people\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
774
+ end
775
+ return data, status_code, headers
776
+ end
777
+
526
778
  # Condition prevalence
527
779
  # @param id [String]
528
780
  # @param [Hash] opts the optional parameters
@@ -1502,6 +1754,90 @@ module PharmaObservatory
1502
1754
  return data, status_code, headers
1503
1755
  end
1504
1756
 
1757
+ # Patient organisations
1758
+ # @param id [String]
1759
+ # @param [Hash] opts the optional parameters
1760
+ # @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.
1761
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
1762
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
1763
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
1764
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1765
+ # @return [PatientOrganisationResponse]
1766
+ def conditions_patient_organisation(id, opts = {})
1767
+ data, _status_code, _headers = conditions_patient_organisation_with_http_info(id, opts)
1768
+ data
1769
+ end
1770
+
1771
+ # Patient organisations
1772
+ # @param id [String]
1773
+ # @param [Hash] opts the optional parameters
1774
+ # @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.
1775
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
1776
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
1777
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
1778
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1779
+ # @return [Array<(PatientOrganisationResponse, Integer, Hash)>] PatientOrganisationResponse data, response status code and response headers
1780
+ def conditions_patient_organisation_with_http_info(id, opts = {})
1781
+ if @api_client.config.debugging
1782
+ @api_client.config.logger.debug 'Calling API: ConditionsApi.conditions_patient_organisation ...'
1783
+ end
1784
+ # verify the required parameter 'id' is set
1785
+ if @api_client.config.client_side_validation && id.nil?
1786
+ fail ArgumentError, "Missing the required parameter 'id' when calling ConditionsApi.conditions_patient_organisation"
1787
+ end
1788
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
1789
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling ConditionsApi.conditions_patient_organisation, must be smaller than or equal to 500.'
1790
+ end
1791
+
1792
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
1793
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling ConditionsApi.conditions_patient_organisation, must be greater than or equal to 1.'
1794
+ end
1795
+
1796
+ # resource path
1797
+ local_var_path = '/api/v1/conditions/{id}/patient_organisation'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1798
+
1799
+ # query parameters
1800
+ query_params = opts[:query_params] || {}
1801
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
1802
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1803
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1804
+ query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
1805
+ query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
1806
+
1807
+ # header parameters
1808
+ header_params = opts[:header_params] || {}
1809
+ # HTTP header 'Accept' (if needed)
1810
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1811
+
1812
+ # form parameters
1813
+ form_params = opts[:form_params] || {}
1814
+
1815
+ # http body (model)
1816
+ post_body = opts[:debug_body]
1817
+
1818
+ # return_type
1819
+ return_type = opts[:debug_return_type] || 'PatientOrganisationResponse'
1820
+
1821
+ # auth_names
1822
+ auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
1823
+
1824
+ new_options = opts.merge(
1825
+ :operation => :"ConditionsApi.conditions_patient_organisation",
1826
+ :header_params => header_params,
1827
+ :query_params => query_params,
1828
+ :form_params => form_params,
1829
+ :body => post_body,
1830
+ :auth_names => auth_names,
1831
+ :return_type => return_type
1832
+ )
1833
+
1834
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1835
+ if @api_client.config.debugging
1836
+ @api_client.config.logger.debug "API called: ConditionsApi#conditions_patient_organisation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1837
+ end
1838
+ return data, status_code, headers
1839
+ end
1840
+
1505
1841
  # FDA decision dates (PDUFA) and catalysts
1506
1842
  # @param id [String]
1507
1843
  # @param [Hash] opts the optional parameters