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.
- checksums.yaml +4 -4
- data/README.md +40 -4
- data/docs/BiomarkersApi.md +80 -0
- data/docs/InvestigatorsApi.md +80 -0
- data/docs/ProviderBiomarkerCapabilityRow.md +9 -9
- data/docs/ProviderBiomarkerCapabilitySummaryResponse.md +58 -0
- data/docs/ProviderBiomarkerCapabilitySummaryRow.md +70 -0
- data/docs/ProviderCliaLicensureRow.md +1 -1
- data/docs/ProviderRwdDeliveryResponse.md +58 -0
- data/docs/ProviderRwdDeliveryRow.md +76 -0
- data/docs/ProviderRwdDeliveryStudyResponse.md +58 -0
- data/docs/ProviderRwdDeliveryStudyRow.md +60 -0
- data/docs/ProviderRwdFootprintResponse.md +58 -0
- data/docs/ProviderRwdFootprintRow.md +74 -0
- data/docs/RwdConductorsApi.md +160 -0
- data/docs/RwdInstitutionsApi.md +80 -0
- data/docs/RwdSourcesRow.md +1 -1
- data/docs/RwdStudiesApi.md +80 -0
- data/docs/RwdUsNetworkMembershipsResponse.md +58 -0
- data/docs/RwdUsNetworkMembershipsRow.md +98 -0
- data/docs/RwdUsNetworkProjectsResponse.md +58 -0
- data/docs/RwdUsNetworkProjectsRow.md +80 -0
- data/docs/RwdUsNetworksApi.md +313 -0
- data/docs/RwdUsNetworksRecord.md +38 -0
- data/docs/RwdUsNetworksResponse.md +58 -0
- data/docs/RwdUsNetworksRow.md +60 -0
- data/docs/SupplierRwdDeclarationsResponse.md +58 -0
- data/docs/SupplierRwdDeclarationsRow.md +74 -0
- data/docs/SuppliersApi.md +480 -0
- data/docs/TrialPublicationsResponse.md +58 -0
- data/docs/TrialPublicationsRow.md +34 -0
- data/docs/TrialsApi.md +80 -0
- data/lib/pharmaobservatory/api/biomarkers_api.rb +84 -0
- data/lib/pharmaobservatory/api/investigators_api.rb +84 -0
- data/lib/pharmaobservatory/api/rwd_conductors_api.rb +168 -0
- data/lib/pharmaobservatory/api/rwd_institutions_api.rb +84 -0
- data/lib/pharmaobservatory/api/rwd_studies_api.rb +84 -0
- data/lib/pharmaobservatory/api/rwd_us_networks_api.rb +329 -0
- data/lib/pharmaobservatory/api/suppliers_api.rb +504 -0
- data/lib/pharmaobservatory/api/trials_api.rb +84 -0
- data/lib/pharmaobservatory/models/provider_biomarker_capability_row.rb +9 -9
- data/lib/pharmaobservatory/models/provider_biomarker_capability_summary_response.rb +478 -0
- data/lib/pharmaobservatory/models/provider_biomarker_capability_summary_row.rb +509 -0
- data/lib/pharmaobservatory/models/provider_clia_licensure_row.rb +1 -1
- data/lib/pharmaobservatory/models/provider_rwd_delivery_response.rb +478 -0
- data/lib/pharmaobservatory/models/provider_rwd_delivery_row.rb +546 -0
- data/lib/pharmaobservatory/models/provider_rwd_delivery_study_response.rb +478 -0
- data/lib/pharmaobservatory/models/provider_rwd_delivery_study_row.rb +454 -0
- data/lib/pharmaobservatory/models/provider_rwd_footprint_response.rb +478 -0
- data/lib/pharmaobservatory/models/provider_rwd_footprint_row.rb +539 -0
- data/lib/pharmaobservatory/models/rwd_sources_row.rb +1 -1
- data/lib/pharmaobservatory/models/rwd_us_network_memberships_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_us_network_memberships_row.rb +663 -0
- data/lib/pharmaobservatory/models/rwd_us_network_projects_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_us_network_projects_row.rb +564 -0
- data/lib/pharmaobservatory/models/rwd_us_networks_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_us_networks_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_us_networks_row.rb +454 -0
- data/lib/pharmaobservatory/models/supplier_rwd_declarations_response.rb +478 -0
- data/lib/pharmaobservatory/models/supplier_rwd_declarations_row.rb +539 -0
- data/lib/pharmaobservatory/models/trial_publications_response.rb +478 -0
- data/lib/pharmaobservatory/models/trial_publications_row.rb +313 -0
- data/lib/pharmaobservatory/version.rb +1 -1
- data/lib/pharmaobservatory.rb +20 -0
- metadata +42 -2
|
@@ -1585,5 +1585,89 @@ module PharmaObservatory
|
|
|
1585
1585
|
end
|
|
1586
1586
|
return data, status_code, headers
|
|
1587
1587
|
end
|
|
1588
|
+
|
|
1589
|
+
# Supplier biomarker capability, summarised
|
|
1590
|
+
# @param id [String]
|
|
1591
|
+
# @param [Hash] opts the optional parameters
|
|
1592
|
+
# @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.
|
|
1593
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1594
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1595
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1596
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1597
|
+
# @return [ProviderBiomarkerCapabilitySummaryResponse]
|
|
1598
|
+
def biomarkers_provider_biomarker_capability_summary(id, opts = {})
|
|
1599
|
+
data, _status_code, _headers = biomarkers_provider_biomarker_capability_summary_with_http_info(id, opts)
|
|
1600
|
+
data
|
|
1601
|
+
end
|
|
1602
|
+
|
|
1603
|
+
# Supplier biomarker capability, summarised
|
|
1604
|
+
# @param id [String]
|
|
1605
|
+
# @param [Hash] opts the optional parameters
|
|
1606
|
+
# @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.
|
|
1607
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1608
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1609
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1610
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1611
|
+
# @return [Array<(ProviderBiomarkerCapabilitySummaryResponse, Integer, Hash)>] ProviderBiomarkerCapabilitySummaryResponse data, response status code and response headers
|
|
1612
|
+
def biomarkers_provider_biomarker_capability_summary_with_http_info(id, opts = {})
|
|
1613
|
+
if @api_client.config.debugging
|
|
1614
|
+
@api_client.config.logger.debug 'Calling API: BiomarkersApi.biomarkers_provider_biomarker_capability_summary ...'
|
|
1615
|
+
end
|
|
1616
|
+
# verify the required parameter 'id' is set
|
|
1617
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1618
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling BiomarkersApi.biomarkers_provider_biomarker_capability_summary"
|
|
1619
|
+
end
|
|
1620
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1621
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling BiomarkersApi.biomarkers_provider_biomarker_capability_summary, must be smaller than or equal to 500.'
|
|
1622
|
+
end
|
|
1623
|
+
|
|
1624
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1625
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling BiomarkersApi.biomarkers_provider_biomarker_capability_summary, must be greater than or equal to 1.'
|
|
1626
|
+
end
|
|
1627
|
+
|
|
1628
|
+
# resource path
|
|
1629
|
+
local_var_path = '/api/v1/biomarkers/{id}/provider_biomarker_capability_summary'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1630
|
+
|
|
1631
|
+
# query parameters
|
|
1632
|
+
query_params = opts[:query_params] || {}
|
|
1633
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1634
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1635
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1636
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
1637
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
1638
|
+
|
|
1639
|
+
# header parameters
|
|
1640
|
+
header_params = opts[:header_params] || {}
|
|
1641
|
+
# HTTP header 'Accept' (if needed)
|
|
1642
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1643
|
+
|
|
1644
|
+
# form parameters
|
|
1645
|
+
form_params = opts[:form_params] || {}
|
|
1646
|
+
|
|
1647
|
+
# http body (model)
|
|
1648
|
+
post_body = opts[:debug_body]
|
|
1649
|
+
|
|
1650
|
+
# return_type
|
|
1651
|
+
return_type = opts[:debug_return_type] || 'ProviderBiomarkerCapabilitySummaryResponse'
|
|
1652
|
+
|
|
1653
|
+
# auth_names
|
|
1654
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1655
|
+
|
|
1656
|
+
new_options = opts.merge(
|
|
1657
|
+
:operation => :"BiomarkersApi.biomarkers_provider_biomarker_capability_summary",
|
|
1658
|
+
:header_params => header_params,
|
|
1659
|
+
:query_params => query_params,
|
|
1660
|
+
:form_params => form_params,
|
|
1661
|
+
:body => post_body,
|
|
1662
|
+
:auth_names => auth_names,
|
|
1663
|
+
:return_type => return_type
|
|
1664
|
+
)
|
|
1665
|
+
|
|
1666
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1667
|
+
if @api_client.config.debugging
|
|
1668
|
+
@api_client.config.logger.debug "API called: BiomarkersApi#biomarkers_provider_biomarker_capability_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1669
|
+
end
|
|
1670
|
+
return data, status_code, headers
|
|
1671
|
+
end
|
|
1588
1672
|
end
|
|
1589
1673
|
end
|
|
@@ -914,6 +914,90 @@ module PharmaObservatory
|
|
|
914
914
|
return data, status_code, headers
|
|
915
915
|
end
|
|
916
916
|
|
|
917
|
+
# US real-world data network projects (N3C)
|
|
918
|
+
# @param id [String]
|
|
919
|
+
# @param [Hash] opts the optional parameters
|
|
920
|
+
# @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.
|
|
921
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
922
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
923
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
924
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
925
|
+
# @return [RwdUsNetworkProjectsResponse]
|
|
926
|
+
def investigators_rwd_us_network_projects(id, opts = {})
|
|
927
|
+
data, _status_code, _headers = investigators_rwd_us_network_projects_with_http_info(id, opts)
|
|
928
|
+
data
|
|
929
|
+
end
|
|
930
|
+
|
|
931
|
+
# US real-world data network projects (N3C)
|
|
932
|
+
# @param id [String]
|
|
933
|
+
# @param [Hash] opts the optional parameters
|
|
934
|
+
# @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.
|
|
935
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
936
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
937
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
938
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
939
|
+
# @return [Array<(RwdUsNetworkProjectsResponse, Integer, Hash)>] RwdUsNetworkProjectsResponse data, response status code and response headers
|
|
940
|
+
def investigators_rwd_us_network_projects_with_http_info(id, opts = {})
|
|
941
|
+
if @api_client.config.debugging
|
|
942
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_rwd_us_network_projects ...'
|
|
943
|
+
end
|
|
944
|
+
# verify the required parameter 'id' is set
|
|
945
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
946
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestigatorsApi.investigators_rwd_us_network_projects"
|
|
947
|
+
end
|
|
948
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
949
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_rwd_us_network_projects, must be smaller than or equal to 500.'
|
|
950
|
+
end
|
|
951
|
+
|
|
952
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
953
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_rwd_us_network_projects, must be greater than or equal to 1.'
|
|
954
|
+
end
|
|
955
|
+
|
|
956
|
+
# resource path
|
|
957
|
+
local_var_path = '/api/v1/investigators/{id}/rwd_us_network_projects'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
958
|
+
|
|
959
|
+
# query parameters
|
|
960
|
+
query_params = opts[:query_params] || {}
|
|
961
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
962
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
963
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
964
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
965
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
966
|
+
|
|
967
|
+
# header parameters
|
|
968
|
+
header_params = opts[:header_params] || {}
|
|
969
|
+
# HTTP header 'Accept' (if needed)
|
|
970
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
971
|
+
|
|
972
|
+
# form parameters
|
|
973
|
+
form_params = opts[:form_params] || {}
|
|
974
|
+
|
|
975
|
+
# http body (model)
|
|
976
|
+
post_body = opts[:debug_body]
|
|
977
|
+
|
|
978
|
+
# return_type
|
|
979
|
+
return_type = opts[:debug_return_type] || 'RwdUsNetworkProjectsResponse'
|
|
980
|
+
|
|
981
|
+
# auth_names
|
|
982
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
983
|
+
|
|
984
|
+
new_options = opts.merge(
|
|
985
|
+
:operation => :"InvestigatorsApi.investigators_rwd_us_network_projects",
|
|
986
|
+
:header_params => header_params,
|
|
987
|
+
:query_params => query_params,
|
|
988
|
+
:form_params => form_params,
|
|
989
|
+
:body => post_body,
|
|
990
|
+
:auth_names => auth_names,
|
|
991
|
+
:return_type => return_type
|
|
992
|
+
)
|
|
993
|
+
|
|
994
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
995
|
+
if @api_client.config.debugging
|
|
996
|
+
@api_client.config.logger.debug "API called: InvestigatorsApi#investigators_rwd_us_network_projects\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
997
|
+
end
|
|
998
|
+
return data, status_code, headers
|
|
999
|
+
end
|
|
1000
|
+
|
|
917
1001
|
# Site investigators
|
|
918
1002
|
# @param id [String]
|
|
919
1003
|
# @param [Hash] opts the optional parameters
|
|
@@ -158,6 +158,174 @@ module PharmaObservatory
|
|
|
158
158
|
return data, status_code, headers
|
|
159
159
|
end
|
|
160
160
|
|
|
161
|
+
# RX provider real-world data study delivery track record (HMA-EMA catalogue)
|
|
162
|
+
# @param id [String]
|
|
163
|
+
# @param [Hash] opts the optional parameters
|
|
164
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
165
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
166
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
167
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
168
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
169
|
+
# @return [ProviderRwdDeliveryResponse]
|
|
170
|
+
def rwd_conductors_provider_rwd_delivery(id, opts = {})
|
|
171
|
+
data, _status_code, _headers = rwd_conductors_provider_rwd_delivery_with_http_info(id, opts)
|
|
172
|
+
data
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# RX provider real-world data study delivery track record (HMA-EMA catalogue)
|
|
176
|
+
# @param id [String]
|
|
177
|
+
# @param [Hash] opts the optional parameters
|
|
178
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
179
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
180
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
181
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
182
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
183
|
+
# @return [Array<(ProviderRwdDeliveryResponse, Integer, Hash)>] ProviderRwdDeliveryResponse data, response status code and response headers
|
|
184
|
+
def rwd_conductors_provider_rwd_delivery_with_http_info(id, opts = {})
|
|
185
|
+
if @api_client.config.debugging
|
|
186
|
+
@api_client.config.logger.debug 'Calling API: RwdConductorsApi.rwd_conductors_provider_rwd_delivery ...'
|
|
187
|
+
end
|
|
188
|
+
# verify the required parameter 'id' is set
|
|
189
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
190
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling RwdConductorsApi.rwd_conductors_provider_rwd_delivery"
|
|
191
|
+
end
|
|
192
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
193
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling RwdConductorsApi.rwd_conductors_provider_rwd_delivery, must be smaller than or equal to 500.'
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
197
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling RwdConductorsApi.rwd_conductors_provider_rwd_delivery, must be greater than or equal to 1.'
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# resource path
|
|
201
|
+
local_var_path = '/api/v1/rwd_conductors/{id}/provider_rwd_delivery'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
202
|
+
|
|
203
|
+
# query parameters
|
|
204
|
+
query_params = opts[:query_params] || {}
|
|
205
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
206
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
207
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
208
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
209
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
210
|
+
|
|
211
|
+
# header parameters
|
|
212
|
+
header_params = opts[:header_params] || {}
|
|
213
|
+
# HTTP header 'Accept' (if needed)
|
|
214
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
215
|
+
|
|
216
|
+
# form parameters
|
|
217
|
+
form_params = opts[:form_params] || {}
|
|
218
|
+
|
|
219
|
+
# http body (model)
|
|
220
|
+
post_body = opts[:debug_body]
|
|
221
|
+
|
|
222
|
+
# return_type
|
|
223
|
+
return_type = opts[:debug_return_type] || 'ProviderRwdDeliveryResponse'
|
|
224
|
+
|
|
225
|
+
# auth_names
|
|
226
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
227
|
+
|
|
228
|
+
new_options = opts.merge(
|
|
229
|
+
:operation => :"RwdConductorsApi.rwd_conductors_provider_rwd_delivery",
|
|
230
|
+
:header_params => header_params,
|
|
231
|
+
:query_params => query_params,
|
|
232
|
+
:form_params => form_params,
|
|
233
|
+
:body => post_body,
|
|
234
|
+
:auth_names => auth_names,
|
|
235
|
+
:return_type => return_type
|
|
236
|
+
)
|
|
237
|
+
|
|
238
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
239
|
+
if @api_client.config.debugging
|
|
240
|
+
@api_client.config.logger.debug "API called: RwdConductorsApi#rwd_conductors_provider_rwd_delivery\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
241
|
+
end
|
|
242
|
+
return data, status_code, headers
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
# RX provider real-world data study final-report dates below the floor (HMA-EMA catalogue)
|
|
246
|
+
# @param id [String]
|
|
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 [ProviderRwdDeliveryStudyResponse]
|
|
254
|
+
def rwd_conductors_provider_rwd_delivery_study(id, opts = {})
|
|
255
|
+
data, _status_code, _headers = rwd_conductors_provider_rwd_delivery_study_with_http_info(id, opts)
|
|
256
|
+
data
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
# RX provider real-world data study final-report dates below the floor (HMA-EMA catalogue)
|
|
260
|
+
# @param id [String]
|
|
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<(ProviderRwdDeliveryStudyResponse, Integer, Hash)>] ProviderRwdDeliveryStudyResponse data, response status code and response headers
|
|
268
|
+
def rwd_conductors_provider_rwd_delivery_study_with_http_info(id, opts = {})
|
|
269
|
+
if @api_client.config.debugging
|
|
270
|
+
@api_client.config.logger.debug 'Calling API: RwdConductorsApi.rwd_conductors_provider_rwd_delivery_study ...'
|
|
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 RwdConductorsApi.rwd_conductors_provider_rwd_delivery_study"
|
|
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 RwdConductorsApi.rwd_conductors_provider_rwd_delivery_study, 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 RwdConductorsApi.rwd_conductors_provider_rwd_delivery_study, must be greater than or equal to 1.'
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
# resource path
|
|
285
|
+
local_var_path = '/api/v1/rwd_conductors/{id}/provider_rwd_delivery_study'.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] || 'ProviderRwdDeliveryStudyResponse'
|
|
308
|
+
|
|
309
|
+
# auth_names
|
|
310
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
311
|
+
|
|
312
|
+
new_options = opts.merge(
|
|
313
|
+
:operation => :"RwdConductorsApi.rwd_conductors_provider_rwd_delivery_study",
|
|
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: RwdConductorsApi#rwd_conductors_provider_rwd_delivery_study\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
325
|
+
end
|
|
326
|
+
return data, status_code, headers
|
|
327
|
+
end
|
|
328
|
+
|
|
161
329
|
# Real-world data study conductor delivery by mandate (HMA-EMA catalogue)
|
|
162
330
|
# @param id [String]
|
|
163
331
|
# @param [Hash] opts the optional parameters
|
|
@@ -157,5 +157,89 @@ module PharmaObservatory
|
|
|
157
157
|
end
|
|
158
158
|
return data, status_code, headers
|
|
159
159
|
end
|
|
160
|
+
|
|
161
|
+
# Supplier real-world data footprint (HMA-EMA catalogue)
|
|
162
|
+
# @param id [Integer]
|
|
163
|
+
# @param [Hash] opts the optional parameters
|
|
164
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
165
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
166
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
167
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
168
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
169
|
+
# @return [ProviderRwdFootprintResponse]
|
|
170
|
+
def rwd_institutions_provider_rwd_footprint(id, opts = {})
|
|
171
|
+
data, _status_code, _headers = rwd_institutions_provider_rwd_footprint_with_http_info(id, opts)
|
|
172
|
+
data
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Supplier real-world data footprint (HMA-EMA catalogue)
|
|
176
|
+
# @param id [Integer]
|
|
177
|
+
# @param [Hash] opts the optional parameters
|
|
178
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
179
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
180
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
181
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
182
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
183
|
+
# @return [Array<(ProviderRwdFootprintResponse, Integer, Hash)>] ProviderRwdFootprintResponse data, response status code and response headers
|
|
184
|
+
def rwd_institutions_provider_rwd_footprint_with_http_info(id, opts = {})
|
|
185
|
+
if @api_client.config.debugging
|
|
186
|
+
@api_client.config.logger.debug 'Calling API: RwdInstitutionsApi.rwd_institutions_provider_rwd_footprint ...'
|
|
187
|
+
end
|
|
188
|
+
# verify the required parameter 'id' is set
|
|
189
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
190
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling RwdInstitutionsApi.rwd_institutions_provider_rwd_footprint"
|
|
191
|
+
end
|
|
192
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
193
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling RwdInstitutionsApi.rwd_institutions_provider_rwd_footprint, must be smaller than or equal to 500.'
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
197
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling RwdInstitutionsApi.rwd_institutions_provider_rwd_footprint, must be greater than or equal to 1.'
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# resource path
|
|
201
|
+
local_var_path = '/api/v1/rwd_institutions/{id}/provider_rwd_footprint'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
202
|
+
|
|
203
|
+
# query parameters
|
|
204
|
+
query_params = opts[:query_params] || {}
|
|
205
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
206
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
207
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
208
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
209
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
210
|
+
|
|
211
|
+
# header parameters
|
|
212
|
+
header_params = opts[:header_params] || {}
|
|
213
|
+
# HTTP header 'Accept' (if needed)
|
|
214
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
215
|
+
|
|
216
|
+
# form parameters
|
|
217
|
+
form_params = opts[:form_params] || {}
|
|
218
|
+
|
|
219
|
+
# http body (model)
|
|
220
|
+
post_body = opts[:debug_body]
|
|
221
|
+
|
|
222
|
+
# return_type
|
|
223
|
+
return_type = opts[:debug_return_type] || 'ProviderRwdFootprintResponse'
|
|
224
|
+
|
|
225
|
+
# auth_names
|
|
226
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
227
|
+
|
|
228
|
+
new_options = opts.merge(
|
|
229
|
+
:operation => :"RwdInstitutionsApi.rwd_institutions_provider_rwd_footprint",
|
|
230
|
+
:header_params => header_params,
|
|
231
|
+
:query_params => query_params,
|
|
232
|
+
:form_params => form_params,
|
|
233
|
+
:body => post_body,
|
|
234
|
+
:auth_names => auth_names,
|
|
235
|
+
:return_type => return_type
|
|
236
|
+
)
|
|
237
|
+
|
|
238
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
239
|
+
if @api_client.config.debugging
|
|
240
|
+
@api_client.config.logger.debug "API called: RwdInstitutionsApi#rwd_institutions_provider_rwd_footprint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
241
|
+
end
|
|
242
|
+
return data, status_code, headers
|
|
243
|
+
end
|
|
160
244
|
end
|
|
161
245
|
end
|
|
@@ -158,6 +158,90 @@ module PharmaObservatory
|
|
|
158
158
|
return data, status_code, headers
|
|
159
159
|
end
|
|
160
160
|
|
|
161
|
+
# Supplier real-world data footprint (HMA-EMA catalogue)
|
|
162
|
+
# @param id [Integer]
|
|
163
|
+
# @param [Hash] opts the optional parameters
|
|
164
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
165
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
166
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
167
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
168
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
169
|
+
# @return [ProviderRwdFootprintResponse]
|
|
170
|
+
def rwd_studies_provider_rwd_footprint(id, opts = {})
|
|
171
|
+
data, _status_code, _headers = rwd_studies_provider_rwd_footprint_with_http_info(id, opts)
|
|
172
|
+
data
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Supplier real-world data footprint (HMA-EMA catalogue)
|
|
176
|
+
# @param id [Integer]
|
|
177
|
+
# @param [Hash] opts the optional parameters
|
|
178
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
179
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
180
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
181
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
182
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
183
|
+
# @return [Array<(ProviderRwdFootprintResponse, Integer, Hash)>] ProviderRwdFootprintResponse data, response status code and response headers
|
|
184
|
+
def rwd_studies_provider_rwd_footprint_with_http_info(id, opts = {})
|
|
185
|
+
if @api_client.config.debugging
|
|
186
|
+
@api_client.config.logger.debug 'Calling API: RwdStudiesApi.rwd_studies_provider_rwd_footprint ...'
|
|
187
|
+
end
|
|
188
|
+
# verify the required parameter 'id' is set
|
|
189
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
190
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling RwdStudiesApi.rwd_studies_provider_rwd_footprint"
|
|
191
|
+
end
|
|
192
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
193
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling RwdStudiesApi.rwd_studies_provider_rwd_footprint, must be smaller than or equal to 500.'
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
197
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling RwdStudiesApi.rwd_studies_provider_rwd_footprint, must be greater than or equal to 1.'
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# resource path
|
|
201
|
+
local_var_path = '/api/v1/rwd_studies/{id}/provider_rwd_footprint'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
202
|
+
|
|
203
|
+
# query parameters
|
|
204
|
+
query_params = opts[:query_params] || {}
|
|
205
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
206
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
207
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
208
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
209
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
210
|
+
|
|
211
|
+
# header parameters
|
|
212
|
+
header_params = opts[:header_params] || {}
|
|
213
|
+
# HTTP header 'Accept' (if needed)
|
|
214
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
215
|
+
|
|
216
|
+
# form parameters
|
|
217
|
+
form_params = opts[:form_params] || {}
|
|
218
|
+
|
|
219
|
+
# http body (model)
|
|
220
|
+
post_body = opts[:debug_body]
|
|
221
|
+
|
|
222
|
+
# return_type
|
|
223
|
+
return_type = opts[:debug_return_type] || 'ProviderRwdFootprintResponse'
|
|
224
|
+
|
|
225
|
+
# auth_names
|
|
226
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
227
|
+
|
|
228
|
+
new_options = opts.merge(
|
|
229
|
+
:operation => :"RwdStudiesApi.rwd_studies_provider_rwd_footprint",
|
|
230
|
+
:header_params => header_params,
|
|
231
|
+
:query_params => query_params,
|
|
232
|
+
:form_params => form_params,
|
|
233
|
+
:body => post_body,
|
|
234
|
+
:auth_names => auth_names,
|
|
235
|
+
:return_type => return_type
|
|
236
|
+
)
|
|
237
|
+
|
|
238
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
239
|
+
if @api_client.config.debugging
|
|
240
|
+
@api_client.config.logger.debug "API called: RwdStudiesApi#rwd_studies_provider_rwd_footprint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
241
|
+
end
|
|
242
|
+
return data, status_code, headers
|
|
243
|
+
end
|
|
244
|
+
|
|
161
245
|
# Real-world data study conductor studies (HMA-EMA catalogue)
|
|
162
246
|
# @param id [Integer]
|
|
163
247
|
# @param [Hash] opts the optional parameters
|