pharmaobservatory 0.1.22 → 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 (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -4
  3. data/docs/InvestigatorsApi.md +80 -0
  4. data/docs/ProviderRwdDeliveryRow.md +2 -0
  5. data/docs/ProviderRwdDeliveryStudyRow.md +2 -0
  6. data/docs/ProviderRwdFootprintRow.md +2 -0
  7. data/docs/RwdConductorsApi.md +160 -0
  8. data/docs/RwdSourcesRow.md +1 -1
  9. data/docs/RwdStudiesApi.md +80 -0
  10. data/docs/RwdUsNetworkMembershipsResponse.md +58 -0
  11. data/docs/RwdUsNetworkMembershipsRow.md +98 -0
  12. data/docs/RwdUsNetworkProjectsResponse.md +58 -0
  13. data/docs/RwdUsNetworkProjectsRow.md +80 -0
  14. data/docs/RwdUsNetworksApi.md +313 -0
  15. data/docs/RwdUsNetworksRecord.md +38 -0
  16. data/docs/RwdUsNetworksResponse.md +58 -0
  17. data/docs/RwdUsNetworksRow.md +60 -0
  18. data/docs/SupplierRwdDeclarationsResponse.md +58 -0
  19. data/docs/SupplierRwdDeclarationsRow.md +74 -0
  20. data/docs/SuppliersApi.md +160 -0
  21. data/docs/TrialPublicationsResponse.md +58 -0
  22. data/docs/TrialPublicationsRow.md +34 -0
  23. data/docs/TrialsApi.md +80 -0
  24. data/lib/pharmaobservatory/api/investigators_api.rb +84 -0
  25. data/lib/pharmaobservatory/api/rwd_conductors_api.rb +168 -0
  26. data/lib/pharmaobservatory/api/rwd_studies_api.rb +84 -0
  27. data/lib/pharmaobservatory/api/rwd_us_networks_api.rb +329 -0
  28. data/lib/pharmaobservatory/api/suppliers_api.rb +168 -0
  29. data/lib/pharmaobservatory/api/trials_api.rb +84 -0
  30. data/lib/pharmaobservatory/models/provider_rwd_delivery_row.rb +12 -1
  31. data/lib/pharmaobservatory/models/provider_rwd_delivery_study_row.rb +12 -1
  32. data/lib/pharmaobservatory/models/provider_rwd_footprint_row.rb +12 -1
  33. data/lib/pharmaobservatory/models/rwd_sources_row.rb +1 -1
  34. data/lib/pharmaobservatory/models/rwd_us_network_memberships_response.rb +478 -0
  35. data/lib/pharmaobservatory/models/rwd_us_network_memberships_row.rb +663 -0
  36. data/lib/pharmaobservatory/models/rwd_us_network_projects_response.rb +478 -0
  37. data/lib/pharmaobservatory/models/rwd_us_network_projects_row.rb +564 -0
  38. data/lib/pharmaobservatory/models/rwd_us_networks_record.rb +385 -0
  39. data/lib/pharmaobservatory/models/rwd_us_networks_response.rb +478 -0
  40. data/lib/pharmaobservatory/models/rwd_us_networks_row.rb +454 -0
  41. data/lib/pharmaobservatory/models/supplier_rwd_declarations_response.rb +478 -0
  42. data/lib/pharmaobservatory/models/supplier_rwd_declarations_row.rb +539 -0
  43. data/lib/pharmaobservatory/models/trial_publications_response.rb +478 -0
  44. data/lib/pharmaobservatory/models/trial_publications_row.rb +313 -0
  45. data/lib/pharmaobservatory/version.rb +1 -1
  46. data/lib/pharmaobservatory.rb +12 -0
  47. metadata +26 -2
@@ -662,6 +662,174 @@ module PharmaObservatory
662
662
  return data, status_code, headers
663
663
  end
664
664
 
665
+ # US real-world data network membership (N3C)
666
+ # @param id [Integer]
667
+ # @param [Hash] opts the optional parameters
668
+ # @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
669
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
670
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
671
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
672
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
673
+ # @return [RwdUsNetworkMembershipsResponse]
674
+ def suppliers_rwd_us_network_memberships(id, opts = {})
675
+ data, _status_code, _headers = suppliers_rwd_us_network_memberships_with_http_info(id, opts)
676
+ data
677
+ end
678
+
679
+ # US real-world data network membership (N3C)
680
+ # @param id [Integer]
681
+ # @param [Hash] opts the optional parameters
682
+ # @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
683
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
684
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
685
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
686
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
687
+ # @return [Array<(RwdUsNetworkMembershipsResponse, Integer, Hash)>] RwdUsNetworkMembershipsResponse data, response status code and response headers
688
+ def suppliers_rwd_us_network_memberships_with_http_info(id, opts = {})
689
+ if @api_client.config.debugging
690
+ @api_client.config.logger.debug 'Calling API: SuppliersApi.suppliers_rwd_us_network_memberships ...'
691
+ end
692
+ # verify the required parameter 'id' is set
693
+ if @api_client.config.client_side_validation && id.nil?
694
+ fail ArgumentError, "Missing the required parameter 'id' when calling SuppliersApi.suppliers_rwd_us_network_memberships"
695
+ end
696
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
697
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_rwd_us_network_memberships, must be smaller than or equal to 500.'
698
+ end
699
+
700
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
701
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_rwd_us_network_memberships, must be greater than or equal to 1.'
702
+ end
703
+
704
+ # resource path
705
+ local_var_path = '/api/v1/suppliers/{id}/rwd_us_network_memberships'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
706
+
707
+ # query parameters
708
+ query_params = opts[:query_params] || {}
709
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
710
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
711
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
712
+ query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
713
+ query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
714
+
715
+ # header parameters
716
+ header_params = opts[:header_params] || {}
717
+ # HTTP header 'Accept' (if needed)
718
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
719
+
720
+ # form parameters
721
+ form_params = opts[:form_params] || {}
722
+
723
+ # http body (model)
724
+ post_body = opts[:debug_body]
725
+
726
+ # return_type
727
+ return_type = opts[:debug_return_type] || 'RwdUsNetworkMembershipsResponse'
728
+
729
+ # auth_names
730
+ auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
731
+
732
+ new_options = opts.merge(
733
+ :operation => :"SuppliersApi.suppliers_rwd_us_network_memberships",
734
+ :header_params => header_params,
735
+ :query_params => query_params,
736
+ :form_params => form_params,
737
+ :body => post_body,
738
+ :auth_names => auth_names,
739
+ :return_type => return_type
740
+ )
741
+
742
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
743
+ if @api_client.config.debugging
744
+ @api_client.config.logger.debug "API called: SuppliersApi#suppliers_rwd_us_network_memberships\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
745
+ end
746
+ return data, status_code, headers
747
+ end
748
+
749
+ # Supplier declared real-world data facts
750
+ # @param id [Integer]
751
+ # @param [Hash] opts the optional parameters
752
+ # @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
753
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
754
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
755
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
756
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
757
+ # @return [SupplierRwdDeclarationsResponse]
758
+ def suppliers_supplier_rwd_declarations(id, opts = {})
759
+ data, _status_code, _headers = suppliers_supplier_rwd_declarations_with_http_info(id, opts)
760
+ data
761
+ end
762
+
763
+ # Supplier declared real-world data facts
764
+ # @param id [Integer]
765
+ # @param [Hash] opts the optional parameters
766
+ # @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
767
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
768
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
769
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
770
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
771
+ # @return [Array<(SupplierRwdDeclarationsResponse, Integer, Hash)>] SupplierRwdDeclarationsResponse data, response status code and response headers
772
+ def suppliers_supplier_rwd_declarations_with_http_info(id, opts = {})
773
+ if @api_client.config.debugging
774
+ @api_client.config.logger.debug 'Calling API: SuppliersApi.suppliers_supplier_rwd_declarations ...'
775
+ end
776
+ # verify the required parameter 'id' is set
777
+ if @api_client.config.client_side_validation && id.nil?
778
+ fail ArgumentError, "Missing the required parameter 'id' when calling SuppliersApi.suppliers_supplier_rwd_declarations"
779
+ end
780
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
781
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_supplier_rwd_declarations, must be smaller than or equal to 500.'
782
+ end
783
+
784
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
785
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SuppliersApi.suppliers_supplier_rwd_declarations, must be greater than or equal to 1.'
786
+ end
787
+
788
+ # resource path
789
+ local_var_path = '/api/v1/suppliers/{id}/supplier_rwd_declarations'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
790
+
791
+ # query parameters
792
+ query_params = opts[:query_params] || {}
793
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
794
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
795
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
796
+ query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
797
+ query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
798
+
799
+ # header parameters
800
+ header_params = opts[:header_params] || {}
801
+ # HTTP header 'Accept' (if needed)
802
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
803
+
804
+ # form parameters
805
+ form_params = opts[:form_params] || {}
806
+
807
+ # http body (model)
808
+ post_body = opts[:debug_body]
809
+
810
+ # return_type
811
+ return_type = opts[:debug_return_type] || 'SupplierRwdDeclarationsResponse'
812
+
813
+ # auth_names
814
+ auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
815
+
816
+ new_options = opts.merge(
817
+ :operation => :"SuppliersApi.suppliers_supplier_rwd_declarations",
818
+ :header_params => header_params,
819
+ :query_params => query_params,
820
+ :form_params => form_params,
821
+ :body => post_body,
822
+ :auth_names => auth_names,
823
+ :return_type => return_type
824
+ )
825
+
826
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
827
+ if @api_client.config.debugging
828
+ @api_client.config.logger.debug "API called: SuppliersApi#suppliers_supplier_rwd_declarations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
829
+ end
830
+ return data, status_code, headers
831
+ end
832
+
665
833
  # Supplier services
666
834
  # @param id [Integer]
667
835
  # @param [Hash] opts the optional parameters
@@ -1250,6 +1250,90 @@ module PharmaObservatory
1250
1250
  return data, status_code, headers
1251
1251
  end
1252
1252
 
1253
+ # Trial publications
1254
+ # @param id [String]
1255
+ # @param [Hash] opts the optional parameters
1256
+ # @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1257
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
1258
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
1259
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
1260
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1261
+ # @return [TrialPublicationsResponse]
1262
+ def trials_trial_publications(id, opts = {})
1263
+ data, _status_code, _headers = trials_trial_publications_with_http_info(id, opts)
1264
+ data
1265
+ end
1266
+
1267
+ # Trial publications
1268
+ # @param id [String]
1269
+ # @param [Hash] opts the optional parameters
1270
+ # @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1271
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
1272
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
1273
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
1274
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1275
+ # @return [Array<(TrialPublicationsResponse, Integer, Hash)>] TrialPublicationsResponse data, response status code and response headers
1276
+ def trials_trial_publications_with_http_info(id, opts = {})
1277
+ if @api_client.config.debugging
1278
+ @api_client.config.logger.debug 'Calling API: TrialsApi.trials_trial_publications ...'
1279
+ end
1280
+ # verify the required parameter 'id' is set
1281
+ if @api_client.config.client_side_validation && id.nil?
1282
+ fail ArgumentError, "Missing the required parameter 'id' when calling TrialsApi.trials_trial_publications"
1283
+ end
1284
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
1285
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TrialsApi.trials_trial_publications, must be smaller than or equal to 500.'
1286
+ end
1287
+
1288
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
1289
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TrialsApi.trials_trial_publications, must be greater than or equal to 1.'
1290
+ end
1291
+
1292
+ # resource path
1293
+ local_var_path = '/api/v1/trials/{id}/trial_publications'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1294
+
1295
+ # query parameters
1296
+ query_params = opts[:query_params] || {}
1297
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
1298
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1299
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1300
+ query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
1301
+ query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
1302
+
1303
+ # header parameters
1304
+ header_params = opts[:header_params] || {}
1305
+ # HTTP header 'Accept' (if needed)
1306
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1307
+
1308
+ # form parameters
1309
+ form_params = opts[:form_params] || {}
1310
+
1311
+ # http body (model)
1312
+ post_body = opts[:debug_body]
1313
+
1314
+ # return_type
1315
+ return_type = opts[:debug_return_type] || 'TrialPublicationsResponse'
1316
+
1317
+ # auth_names
1318
+ auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
1319
+
1320
+ new_options = opts.merge(
1321
+ :operation => :"TrialsApi.trials_trial_publications",
1322
+ :header_params => header_params,
1323
+ :query_params => query_params,
1324
+ :form_params => form_params,
1325
+ :body => post_body,
1326
+ :auth_names => auth_names,
1327
+ :return_type => return_type
1328
+ )
1329
+
1330
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1331
+ if @api_client.config.debugging
1332
+ @api_client.config.logger.debug "API called: TrialsApi#trials_trial_publications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1333
+ end
1334
+ return data, status_code, headers
1335
+ end
1336
+
1253
1337
  # Trial research payments
1254
1338
  # @param id [String]
1255
1339
  # @param [Hash] opts the optional parameters
@@ -43,6 +43,9 @@ module PharmaObservatory
43
43
  # The normalised institution name key the conductor rollup is keyed on; every register institution whose name folds to it is one conductor. Not a vendor family.
44
44
  attr_accessor :conductor_name_key
45
45
 
46
+ # The conductor slug: the conductor name key with spaces as hyphens, the entry key of the rwd_conductors object type (the id in /app/rwd-conductors/<id>).
47
+ attr_accessor :conductor_id
48
+
46
49
  # Every register Institution ID that routes the provider to the conductor name key (more than one when the register lists the name twice or two methods reach it).
47
50
  attr_accessor :matched_institution_ids
48
51
 
@@ -115,6 +118,7 @@ module PharmaObservatory
115
118
  :'match_method' => :'match_method',
116
119
  :'match_confidence' => :'match_confidence',
117
120
  :'conductor_name_key' => :'conductor_name_key',
121
+ :'conductor_id' => :'conductor_id',
118
122
  :'matched_institution_ids' => :'matched_institution_ids',
119
123
  :'match_methods' => :'match_methods',
120
124
  :'conductor_name' => :'conductor_name',
@@ -160,6 +164,7 @@ module PharmaObservatory
160
164
  :'match_method' => :'String',
161
165
  :'match_confidence' => :'Float',
162
166
  :'conductor_name_key' => :'String',
167
+ :'conductor_id' => :'String',
163
168
  :'matched_institution_ids' => :'Array<String>',
164
169
  :'match_methods' => :'Array<String>',
165
170
  :'conductor_name' => :'String',
@@ -195,6 +200,7 @@ module PharmaObservatory
195
200
  :'match_method',
196
201
  :'match_confidence',
197
202
  :'conductor_name_key',
203
+ :'conductor_id',
198
204
  :'matched_institution_ids',
199
205
  :'match_methods',
200
206
  :'conductor_name',
@@ -270,6 +276,10 @@ module PharmaObservatory
270
276
  self.conductor_name_key = attributes[:'conductor_name_key']
271
277
  end
272
278
 
279
+ if attributes.key?(:'conductor_id')
280
+ self.conductor_id = attributes[:'conductor_id']
281
+ end
282
+
273
283
  if attributes.key?(:'matched_institution_ids')
274
284
  if (value = attributes[:'matched_institution_ids']).is_a?(Array)
275
285
  self.matched_institution_ids = value
@@ -384,6 +394,7 @@ module PharmaObservatory
384
394
  match_method == o.match_method &&
385
395
  match_confidence == o.match_confidence &&
386
396
  conductor_name_key == o.conductor_name_key &&
397
+ conductor_id == o.conductor_id &&
387
398
  matched_institution_ids == o.matched_institution_ids &&
388
399
  match_methods == o.match_methods &&
389
400
  conductor_name == o.conductor_name &&
@@ -415,7 +426,7 @@ module PharmaObservatory
415
426
  # Calculates hash code according to all attributes.
416
427
  # @return [Integer] Hash code
417
428
  def hash
418
- [provider_rwd_delivery_id, provider_id, provider_uuid, provider_slug, provider_name, institution_id, match_method, match_confidence, conductor_name_key, matched_institution_ids, match_methods, conductor_name, mandate_stratum, lifetime_studies, final_report_pairs, comparable_pairs, backfilled_pairs, backfilled_share, mandated_share, n_floor, meets_n_floor, median_slip_days, p25_slip_days, p75_slip_days, late_over_30d, snapshot_label, accessed_month, restriction_tier, attribution].hash
429
+ [provider_rwd_delivery_id, provider_id, provider_uuid, provider_slug, provider_name, institution_id, match_method, match_confidence, conductor_name_key, conductor_id, matched_institution_ids, match_methods, conductor_name, mandate_stratum, lifetime_studies, final_report_pairs, comparable_pairs, backfilled_pairs, backfilled_share, mandated_share, n_floor, meets_n_floor, median_slip_days, p25_slip_days, p75_slip_days, late_over_30d, snapshot_label, accessed_month, restriction_tier, attribution].hash
419
430
  end
420
431
 
421
432
  # Builds the object from hash
@@ -43,6 +43,9 @@ module PharmaObservatory
43
43
  # The normalised institution name key the conductor rollup is keyed on; every register institution whose name folds to it is one conductor. Not a vendor family.
44
44
  attr_accessor :conductor_name_key
45
45
 
46
+ # The conductor slug: the conductor name key with spaces as hyphens, the entry key of the rwd_conductors object type (the id in /app/rwd-conductors/<id>).
47
+ attr_accessor :conductor_id
48
+
46
49
  # The register's own Study ID. The entry key of the rwd_studies object type; the EU PAS number is an attribute.
47
50
  attr_accessor :study_id
48
51
 
@@ -91,6 +94,7 @@ module PharmaObservatory
91
94
  :'match_method' => :'match_method',
92
95
  :'match_confidence' => :'match_confidence',
93
96
  :'conductor_name_key' => :'conductor_name_key',
97
+ :'conductor_id' => :'conductor_id',
94
98
  :'study_id' => :'study_id',
95
99
  :'eu_pas_number' => :'eu_pas_number',
96
100
  :'study_mandate_stratum' => :'study_mandate_stratum',
@@ -128,6 +132,7 @@ module PharmaObservatory
128
132
  :'match_method' => :'String',
129
133
  :'match_confidence' => :'Float',
130
134
  :'conductor_name_key' => :'String',
135
+ :'conductor_id' => :'String',
131
136
  :'study_id' => :'String',
132
137
  :'eu_pas_number' => :'String',
133
138
  :'study_mandate_stratum' => :'String',
@@ -155,6 +160,7 @@ module PharmaObservatory
155
160
  :'match_method',
156
161
  :'match_confidence',
157
162
  :'conductor_name_key',
163
+ :'conductor_id',
158
164
  :'study_id',
159
165
  :'eu_pas_number',
160
166
  :'study_mandate_stratum',
@@ -222,6 +228,10 @@ module PharmaObservatory
222
228
  self.conductor_name_key = attributes[:'conductor_name_key']
223
229
  end
224
230
 
231
+ if attributes.key?(:'conductor_id')
232
+ self.conductor_id = attributes[:'conductor_id']
233
+ end
234
+
225
235
  if attributes.key?(:'study_id')
226
236
  self.study_id = attributes[:'study_id']
227
237
  end
@@ -300,6 +310,7 @@ module PharmaObservatory
300
310
  match_method == o.match_method &&
301
311
  match_confidence == o.match_confidence &&
302
312
  conductor_name_key == o.conductor_name_key &&
313
+ conductor_id == o.conductor_id &&
303
314
  study_id == o.study_id &&
304
315
  eu_pas_number == o.eu_pas_number &&
305
316
  study_mandate_stratum == o.study_mandate_stratum &&
@@ -323,7 +334,7 @@ module PharmaObservatory
323
334
  # Calculates hash code according to all attributes.
324
335
  # @return [Integer] Hash code
325
336
  def hash
326
- [provider_rwd_delivery_study_id, provider_id, provider_uuid, provider_slug, provider_name, institution_id, match_method, match_confidence, conductor_name_key, study_id, eu_pas_number, study_mandate_stratum, final_report_planned_on, final_report_actual_on, final_report_slip_days, all_meets_n_floor, stratum_meets_n_floor, snapshot_label, accessed_month, restriction_tier, attribution].hash
337
+ [provider_rwd_delivery_study_id, provider_id, provider_uuid, provider_slug, provider_name, institution_id, match_method, match_confidence, conductor_name_key, conductor_id, study_id, eu_pas_number, study_mandate_stratum, final_report_planned_on, final_report_actual_on, final_report_slip_days, all_meets_n_floor, stratum_meets_n_floor, snapshot_label, accessed_month, restriction_tier, attribution].hash
327
338
  end
328
339
 
329
340
  # Builds the object from hash
@@ -46,6 +46,9 @@ module PharmaObservatory
46
46
  # The register id of the study, data source or network, per evidence_ref_kind. Ids of different kinds can coincide; read it with evidence_ref_kind.
47
47
  attr_accessor :evidence_ref
48
48
 
49
+ # The register Study ID when evidence_ref_kind is rwd_study_id, otherwise null. The entry key of the rwd_studies object type: a study route returns the providers asserted against that study.
50
+ attr_accessor :study_id
51
+
49
52
  # The register's own entity name (study title, data source name or network name), never prose.
50
53
  attr_accessor :evidence_label
51
54
 
@@ -113,6 +116,7 @@ module PharmaObservatory
113
116
  :'role' => :'role',
114
117
  :'evidence_ref_kind' => :'evidence_ref_kind',
115
118
  :'evidence_ref' => :'evidence_ref',
119
+ :'study_id' => :'study_id',
116
120
  :'evidence_label' => :'evidence_label',
117
121
  :'catalogue_url' => :'catalogue_url',
118
122
  :'study_start_actual_on' => :'study_start_actual_on',
@@ -157,6 +161,7 @@ module PharmaObservatory
157
161
  :'role' => :'String',
158
162
  :'evidence_ref_kind' => :'String',
159
163
  :'evidence_ref' => :'String',
164
+ :'study_id' => :'String',
160
165
  :'evidence_label' => :'String',
161
166
  :'catalogue_url' => :'String',
162
167
  :'study_start_actual_on' => :'Date',
@@ -191,6 +196,7 @@ module PharmaObservatory
191
196
  :'role',
192
197
  :'evidence_ref_kind',
193
198
  :'evidence_ref',
199
+ :'study_id',
194
200
  :'evidence_label',
195
201
  :'catalogue_url',
196
202
  :'study_start_actual_on',
@@ -268,6 +274,10 @@ module PharmaObservatory
268
274
  self.evidence_ref = attributes[:'evidence_ref']
269
275
  end
270
276
 
277
+ if attributes.key?(:'study_id')
278
+ self.study_id = attributes[:'study_id']
279
+ end
280
+
271
281
  if attributes.key?(:'evidence_label')
272
282
  self.evidence_label = attributes[:'evidence_label']
273
283
  end
@@ -379,6 +389,7 @@ module PharmaObservatory
379
389
  role == o.role &&
380
390
  evidence_ref_kind == o.evidence_ref_kind &&
381
391
  evidence_ref == o.evidence_ref &&
392
+ study_id == o.study_id &&
382
393
  evidence_label == o.evidence_label &&
383
394
  catalogue_url == o.catalogue_url &&
384
395
  study_start_actual_on == o.study_start_actual_on &&
@@ -408,7 +419,7 @@ module PharmaObservatory
408
419
  # Calculates hash code according to all attributes.
409
420
  # @return [Integer] Hash code
410
421
  def hash
411
- [provider_rwd_footprint_id, provider_id, provider_uuid, provider_slug, provider_name, institution_id, institution_name, role, evidence_ref_kind, evidence_ref, evidence_label, catalogue_url, study_start_actual_on, study_status, mandate_stratum, is_darwin_eu_study, data_source_ids, data_source_names_unmatched, study_country_names, data_source_type, country_names, match_method, also_matched_by_name, match_confidence, snapshot_label, accessed_month, restriction_tier, attribution].hash
422
+ [provider_rwd_footprint_id, provider_id, provider_uuid, provider_slug, provider_name, institution_id, institution_name, role, evidence_ref_kind, evidence_ref, study_id, evidence_label, catalogue_url, study_start_actual_on, study_status, mandate_stratum, is_darwin_eu_study, data_source_ids, data_source_names_unmatched, study_country_names, data_source_type, country_names, match_method, also_matched_by_name, match_confidence, snapshot_label, accessed_month, restriction_tier, attribution].hash
412
423
  end
413
424
 
414
425
  # Builds the object from hash
@@ -382,7 +382,7 @@ module PharmaObservatory
382
382
  # A link to the source's governance details, as the holder registered it.
383
383
  attr_accessor :governance_details_link
384
384
 
385
- # How many of the 35 capability and governance questions the holder answered (a count of answered form fields, not a measure of the data held).
385
+ # How many of the 35 capability and governance questions carry a Yes or No in the register export (a count of non-blank form fields, not a measure of the data held). The export cannot tell a No from an unanswered question, so this sits at or near 35 and does not measure how many questions the holder actually answered.
386
386
  attr_accessor :declared_capability_count
387
387
 
388
388
  # How many such questions the form offers (35); the denominator of declared_capability_count.