pharmaobservatory 0.1.8 → 0.1.9
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 +84 -9
- data/docs/AnimalWelfareAssurancesResponse.md +58 -0
- data/docs/{BiomarkerAssayEvidenceResponseBuild.md → AnimalWelfareAssurancesResponseBuild.md} +2 -2
- data/docs/{BiomarkerAssayEvidenceResponseFreshness.md → AnimalWelfareAssurancesResponseFreshness.md} +2 -2
- data/docs/{BiomarkerAssayEvidenceResponseScope.md → AnimalWelfareAssurancesResponseScope.md} +2 -2
- data/docs/AnimalWelfareAssurancesRow.md +48 -0
- data/docs/BiomarkerAlleleFrequenciesResponse.md +3 -3
- data/docs/BiomarkerAssayEvidenceResponse.md +3 -3
- data/docs/BiomarkerAssayProvidersResponse.md +3 -3
- data/docs/BiomarkerAssayWhitespaceResponse.md +3 -3
- data/docs/BiomarkerBqpAssertionsResponse.md +3 -3
- data/docs/BiomarkerCdxAssertionsResponse.md +3 -3
- data/docs/BiomarkerEvidenceByYearResponse.md +3 -3
- data/docs/BiomarkerEvidenceResponse.md +3 -3
- data/docs/BiomarkerLiteratureResponse.md +3 -3
- data/docs/BiomarkerPublishingCompaniesResponse.md +3 -3
- data/docs/BiomarkerRelationsResponse.md +3 -3
- data/docs/BiomarkerSampleCoverageResponse.md +3 -3
- data/docs/BiomarkerSamplePrevalenceResponse.md +3 -3
- data/docs/BiomarkerTraversalStatusResponse.md +3 -3
- data/docs/BiomarkerValidationResponse.md +3 -3
- data/docs/BiomarkerVariantMentionsResponse.md +3 -3
- data/docs/BiomarkersRecord.md +2 -2
- data/docs/BiomarkersResponse.md +3 -3
- data/docs/BrandCompaniesResponse.md +3 -3
- data/docs/BrandRevenueResponse.md +3 -3
- data/docs/CatalystsResponse.md +3 -3
- data/docs/CellLinesRecord.md +2 -2
- data/docs/CellLinesResponse.md +3 -3
- data/docs/CliaCertificatesResponse.md +3 -3
- data/docs/CompaniesApi.md +928 -108
- data/docs/CompaniesRecord.md +2 -2
- data/docs/CompaniesRecordAttributes.md +2 -0
- data/docs/CompaniesResponse.md +3 -3
- data/docs/CompanyAssetsResponse.md +3 -3
- data/docs/CompanyAssetsRow.md +1 -5
- data/docs/CompanyBiomarkerCapabilityResponse.md +3 -3
- data/docs/CompanyCollaboratorsResponse.md +58 -0
- data/docs/CompanyCollaboratorsRow.md +42 -0
- data/docs/CompanyCompetitorActivityResponse.md +58 -0
- data/docs/CompanyCompetitorActivityRow.md +42 -0
- data/docs/CompanyCompetitorsResponse.md +58 -0
- data/docs/CompanyCompetitorsRow.md +66 -0
- data/docs/CompanyFinancialsResponse.md +58 -0
- data/docs/CompanyFinancialsRow.md +108 -0
- data/docs/CompanyFirmographicsResponse.md +58 -0
- data/docs/CompanyFirmographicsRow.md +80 -0
- data/docs/CompanyFundingEventsResponse.md +3 -3
- data/docs/CompanyFundingSummaryResponse.md +3 -3
- data/docs/CompanyMembersResponse.md +3 -3
- data/docs/CompanyProgramsResponse.md +3 -3
- data/docs/CompanyProgramsRow.md +1 -5
- data/docs/CompanyRareDiseaseDeclarationsResponse.md +3 -3
- data/docs/CompanyTargetsResponse.md +3 -3
- data/docs/CompanyTimelineResponse.md +58 -0
- data/docs/CompanyTimelineRow.md +68 -0
- data/docs/CompanyTrialGeographyResponse.md +3 -3
- data/docs/CompanyTrialSitesResponse.md +3 -3
- data/docs/CompanyUsPatentsResponse.md +58 -0
- data/docs/CompanyUsPatentsRow.md +34 -0
- data/docs/ConditionAdverseEventsResponse.md +3 -3
- data/docs/ConditionBurdenResponse.md +3 -3
- data/docs/ConditionDeliveryResponse.md +3 -3
- data/docs/ConditionDrugsResponse.md +3 -3
- data/docs/ConditionInvestigatorOrganizationsResponse.md +58 -0
- data/docs/ConditionInvestigatorOrganizationsRow.md +44 -0
- data/docs/ConditionPrevalenceResponse.md +3 -3
- data/docs/ConditionPublicationsResponse.md +3 -3
- data/docs/ConditionRecruitmentByPhaseResponse.md +3 -3
- data/docs/ConditionRecruitmentDurationResponse.md +3 -3
- data/docs/ConditionSitesResponse.md +3 -3
- data/docs/ConditionTrialStartForecastResponse.md +3 -3
- data/docs/ConditionTrialsResponse.md +3 -3
- data/docs/ConditionsApi.md +160 -0
- data/docs/ConditionsRecord.md +2 -2
- data/docs/ConditionsResponse.md +3 -3
- data/docs/CroFootprintResponse.md +3 -3
- data/docs/CroTrialsResponse.md +3 -3
- data/docs/DebarmentsResponse.md +3 -3
- data/docs/DrugApprovalsResponse.md +3 -3
- data/docs/DrugAspCodesResponse.md +3 -3
- data/docs/DrugBrandsResponse.md +3 -3
- data/docs/DrugCombinationsResponse.md +3 -3
- data/docs/DrugDeclaredPatentsResponse.md +3 -3
- data/docs/DrugInvestigatorsResponse.md +58 -0
- data/docs/DrugInvestigatorsRow.md +32 -0
- data/docs/DrugLabelSafetyResponse.md +3 -3
- data/docs/DrugMedicareSpendResponse.md +3 -3
- data/docs/DrugPatentCliffResponse.md +3 -3
- data/docs/DrugPatentMentionsResponse.md +3 -3
- data/docs/DrugPatentOwnersResponse.md +3 -3
- data/docs/DrugPricingResponse.md +3 -3
- data/docs/DrugRecallsResponse.md +3 -3
- data/docs/DrugRegulatoryResponse.md +3 -3
- data/docs/DrugSitesResponse.md +3 -3
- data/docs/DrugTargetsResponse.md +3 -3
- data/docs/DrugTrialConditionsResponse.md +3 -3
- data/docs/DrugTrialsResponse.md +3 -3
- data/docs/DrugVariantsResponse.md +3 -3
- data/docs/DrugsApi.md +80 -0
- data/docs/DrugsRecord.md +2 -2
- data/docs/DrugsResponse.md +3 -3
- data/docs/EnforcementEventsResponse.md +3 -3
- data/docs/EnforcementEventsRow.md +22 -4
- data/docs/GxpFacilitiesResponse.md +3 -3
- data/docs/GxpFacilitiesRow.md +27 -1
- data/docs/HospitalBedsYearlyResponse.md +3 -3
- data/docs/HospitalFacilityChangesResponse.md +3 -3
- data/docs/HospitalsApi.md +80 -0
- data/docs/HospitalsRecord.md +2 -2
- data/docs/HospitalsResponse.md +3 -3
- data/docs/ImportRefusalsResponse.md +3 -3
- data/docs/InspectionFindingsResponse.md +3 -3
- data/docs/InspectionsResponse.md +3 -3
- data/docs/InstitutionalHoldingsResponse.md +3 -3
- data/docs/InstitutionalQuarterTotalsResponse.md +3 -3
- data/docs/InvestigatorConditionsResponse.md +58 -0
- data/docs/InvestigatorConditionsRow.md +28 -0
- data/docs/InvestigatorDebarmentsResponse.md +58 -0
- data/docs/InvestigatorDebarmentsRow.md +32 -0
- data/docs/InvestigatorHospitalsResponse.md +58 -0
- data/docs/InvestigatorHospitalsRow.md +28 -0
- data/docs/InvestigatorInspectionsResponse.md +58 -0
- data/docs/InvestigatorInspectionsRow.md +46 -0
- data/docs/InvestigatorPublicationsResponse.md +58 -0
- data/docs/InvestigatorPublicationsRow.md +34 -0
- data/docs/InvestigatorTopicsResponse.md +58 -0
- data/docs/InvestigatorTopicsRow.md +34 -0
- data/docs/InvestigatorTrialsResponse.md +58 -0
- data/docs/InvestigatorTrialsRow.md +64 -0
- data/docs/InvestigatorsApi.md +1113 -0
- data/docs/InvestigatorsRecord.md +38 -0
- data/docs/InvestigatorsResponse.md +58 -0
- data/docs/InvestigatorsRow.md +70 -0
- data/docs/InvestorFundsResponse.md +3 -3
- data/docs/InvestorPortfolioResponse.md +3 -3
- data/docs/InvestorPrivateFundsResponse.md +3 -3
- data/docs/InvestorsRecord.md +2 -2
- data/docs/InvestorsResponse.md +3 -3
- data/docs/InvestorsRow.md +6 -0
- data/docs/LegalEntitiesApi.md +244 -4
- data/docs/LegalEntitiesRecord.md +2 -2
- data/docs/LegalEntitiesResponse.md +3 -3
- data/docs/LegalEntitySecFilingsResponse.md +3 -3
- data/docs/ManagersRecord.md +2 -2
- data/docs/ManagersResponse.md +3 -3
- data/docs/OrgDisclosureTrendResponse.md +3 -3
- data/docs/OrgDisclosuresResponse.md +3 -3
- data/docs/OrgRelationshipsResponse.md +3 -3
- data/docs/OwnershipObservationsResponse.md +58 -0
- data/docs/OwnershipObservationsRow.md +168 -0
- data/docs/OwnershipPercentagesResponse.md +3 -3
- data/docs/OwnershipPositionsResponse.md +3 -3
- data/docs/OwnershipSourceCoverageResponse.md +3 -3
- data/docs/PdufaDatesResponse.md +3 -3
- data/docs/ProgramLicensingCandidatesResponse.md +3 -3
- data/docs/ProgramLicensingCandidatesRow.md +1 -5
- data/docs/ProgramsResponse.md +3 -3
- data/docs/ProgramsRow.md +1 -1
- data/docs/RareDiseaseGenesResponse.md +3 -3
- data/docs/RareDiseaseHierarchyResponse.md +3 -3
- data/docs/RareDiseaseInvestigatorCoverageResponse.md +3 -3
- data/docs/RareDiseaseInvestigatorsResponse.md +3 -3
- data/docs/RareDiseaseMappingsResponse.md +3 -3
- data/docs/RareDiseaseOrganizationsResponse.md +3 -3
- data/docs/RareDiseasePrevalenceResponse.md +3 -3
- data/docs/RareDiseaseRarityEvidenceResponse.md +3 -3
- data/docs/RareDiseaseRarityResponse.md +3 -3
- data/docs/RareDiseaseReplacementsResponse.md +3 -3
- data/docs/RareDiseaseSiteCoverageResponse.md +3 -3
- data/docs/RareDiseaseSponsorsResponse.md +3 -3
- data/docs/RareDiseaseTrialCoverageResponse.md +3 -3
- data/docs/RareDiseaseTrialSitesResponse.md +3 -3
- data/docs/RareDiseaseTrialsResponse.md +3 -3
- data/docs/RareDiseasesRecord.md +2 -2
- data/docs/RareDiseasesResponse.md +3 -3
- data/docs/RecallsResponse.md +3 -3
- data/docs/RwdConductorDeliveryResponse.md +3 -3
- data/docs/RwdConductorFootprintResponse.md +3 -3
- data/docs/RwdConductorStudiesResponse.md +3 -3
- data/docs/RwdConductorsRecord.md +2 -2
- data/docs/RwdConductorsResponse.md +3 -3
- data/docs/RwdCoverageResponse.md +3 -3
- data/docs/RwdInstitutionsRecord.md +2 -2
- data/docs/RwdInstitutionsResponse.md +3 -3
- data/docs/RwdNetworksRecord.md +2 -2
- data/docs/RwdNetworksResponse.md +3 -3
- data/docs/RwdRegisterProvenanceResponse.md +3 -3
- data/docs/RwdRegistersRecord.md +2 -2
- data/docs/RwdSourceAgeBandsResponse.md +3 -3
- data/docs/RwdSourceConditionsResponse.md +3 -3
- data/docs/RwdSourceEtlMappingsResponse.md +3 -3
- data/docs/RwdSourceLinkagesResponse.md +3 -3
- data/docs/RwdSourceTypesResponse.md +3 -3
- data/docs/RwdSourceVocabulariesResponse.md +3 -3
- data/docs/RwdSourcesRecord.md +2 -2
- data/docs/RwdSourcesResponse.md +3 -3
- data/docs/RwdStudiesRecord.md +2 -2
- data/docs/RwdStudiesResponse.md +3 -3
- data/docs/RwdStudyConditionsResponse.md +3 -3
- data/docs/RwdStudyDataSourcesResponse.md +3 -3
- data/docs/RwdStudyDrugsResponse.md +3 -3
- data/docs/RwdStudyMilestonesResponse.md +3 -3
- data/docs/RwdWithheldFieldsResponse.md +3 -3
- data/docs/SbtiCrosscheckResponse.md +3 -3
- data/docs/SecPdufaDatesResponse.md +3 -3
- data/docs/SiteBedsYearlyResponse.md +3 -3
- data/docs/SiteCroTrialsResponse.md +3 -3
- data/docs/SiteHospitalsResponse.md +3 -3
- data/docs/SiteInvestigatorsResponse.md +3 -3
- data/docs/SiteTrialConditionsResponse.md +3 -3
- data/docs/SiteTrialDrugsResponse.md +3 -3
- data/docs/SiteTrialsResponse.md +3 -3
- data/docs/SitesRecord.md +2 -2
- data/docs/SitesResponse.md +3 -3
- data/docs/SponsorDeliveryResponse.md +3 -3
- data/docs/SponsorPatentMentionsResponse.md +3 -3
- data/docs/SponsorPublicationsResponse.md +58 -0
- data/docs/SponsorPublicationsRow.md +42 -0
- data/docs/SponsorRecruitmentByPhaseResponse.md +3 -3
- data/docs/SponsorRecruitmentDurationResponse.md +3 -3
- data/docs/SponsorTrialConditionsResponse.md +3 -3
- data/docs/SponsorTrialDrugsResponse.md +3 -3
- data/docs/SponsorTrialStartForecastResponse.md +3 -3
- data/docs/SponsorTrialsResponse.md +3 -3
- data/docs/SupplierCapabilityEsgResponse.md +3 -3
- data/docs/SupplierServicesResponse.md +3 -3
- data/docs/SupplierSitesResponse.md +3 -3
- data/docs/SuppliersRecord.md +2 -2
- data/docs/SuppliersResponse.md +3 -3
- data/docs/SuppliersRow.md +2 -0
- data/docs/TargetAssociationsResponse.md +3 -3
- data/docs/TargetCrowdingResponse.md +3 -3
- data/docs/TargetDrugsResponse.md +3 -3
- data/docs/TargetEvidenceResponse.md +3 -3
- data/docs/TargetInvestigatorsResponse.md +58 -0
- data/docs/TargetInvestigatorsRow.md +30 -0
- data/docs/TargetPatentMentionsResponse.md +3 -3
- data/docs/TargetProgramsResponse.md +3 -3
- data/docs/TargetPublicationsResponse.md +3 -3
- data/docs/TargetRegulatoryPrecedentResponse.md +3 -3
- data/docs/TargetTrialsResponse.md +3 -3
- data/docs/TargetsApi.md +80 -0
- data/docs/TargetsRecord.md +2 -2
- data/docs/TargetsResponse.md +3 -3
- data/docs/TrialAdverseEventsResponse.md +3 -3
- data/docs/TrialChangesResponse.md +3 -3
- data/docs/TrialDeliveryResponse.md +3 -3
- data/docs/TrialDemographicsResponse.md +3 -3
- data/docs/TrialDrugClassesResponse.md +3 -3
- data/docs/TrialDrugsResponse.md +3 -3
- data/docs/TrialEnrollmentHistoryResponse.md +3 -3
- data/docs/TrialEnrollmentRateResponse.md +3 -3
- data/docs/TrialExtractedEndpointsResponse.md +3 -3
- data/docs/TrialKolsResponse.md +3 -3
- data/docs/TrialOutcomeMeasuresResponse.md +3 -3
- data/docs/TrialResearchPaymentsResponse.md +3 -3
- data/docs/TrialSiteHistoryResponse.md +3 -3
- data/docs/TrialSitesResponse.md +3 -3
- data/docs/TrialsRecord.md +2 -2
- data/docs/TrialsResponse.md +3 -3
- data/docs/UnmatchedProductRevenueResponse.md +3 -3
- data/docs/UntitledLettersResponse.md +3 -3
- data/docs/WarningLettersResponse.md +3 -3
- data/lib/pharmaobservatory/api/companies_api.rb +1032 -122
- data/lib/pharmaobservatory/api/conditions_api.rb +168 -0
- data/lib/pharmaobservatory/api/drugs_api.rb +84 -0
- data/lib/pharmaobservatory/api/hospitals_api.rb +84 -0
- data/lib/pharmaobservatory/api/investigators_api.rb +1169 -0
- data/lib/pharmaobservatory/api/legal_entities_api.rb +254 -2
- data/lib/pharmaobservatory/api/targets_api.rb +84 -0
- data/lib/pharmaobservatory/models/animal_welfare_assurances_response.rb +478 -0
- data/lib/pharmaobservatory/models/{biomarker_assay_evidence_response_build.rb → animal_welfare_assurances_response_build.rb} +3 -3
- data/lib/pharmaobservatory/models/{biomarker_assay_evidence_response_freshness.rb → animal_welfare_assurances_response_freshness.rb} +3 -3
- data/lib/pharmaobservatory/models/{biomarker_assay_evidence_response_scope.rb → animal_welfare_assurances_response_scope.rb} +3 -3
- data/lib/pharmaobservatory/models/animal_welfare_assurances_row.rb +392 -0
- data/lib/pharmaobservatory/models/biomarker_allele_frequencies_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_assay_evidence_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_assay_providers_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_assay_whitespace_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_bqp_assertions_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_cdx_assertions_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_evidence_by_year_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_evidence_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_literature_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_publishing_companies_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_relations_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_sample_coverage_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_sample_prevalence_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_traversal_status_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_validation_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_variant_mentions_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarkers_record.rb +2 -2
- data/lib/pharmaobservatory/models/biomarkers_response.rb +3 -3
- data/lib/pharmaobservatory/models/brand_companies_response.rb +3 -3
- data/lib/pharmaobservatory/models/brand_revenue_response.rb +3 -3
- data/lib/pharmaobservatory/models/catalysts_response.rb +3 -3
- data/lib/pharmaobservatory/models/cell_lines_record.rb +2 -2
- data/lib/pharmaobservatory/models/cell_lines_response.rb +3 -3
- data/lib/pharmaobservatory/models/clia_certificates_response.rb +3 -3
- data/lib/pharmaobservatory/models/companies_record.rb +2 -2
- data/lib/pharmaobservatory/models/companies_record_attributes.rb +10 -1
- data/lib/pharmaobservatory/models/companies_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_assets_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_assets_row.rb +2 -24
- data/lib/pharmaobservatory/models/company_biomarker_capability_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_collaborators_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_collaborators_row.rb +355 -0
- data/lib/pharmaobservatory/models/company_competitor_activity_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_competitor_activity_row.rb +355 -0
- data/lib/pharmaobservatory/models/company_competitors_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_competitors_row.rb +493 -0
- data/lib/pharmaobservatory/models/company_financials_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_financials_row.rb +718 -0
- data/lib/pharmaobservatory/models/company_firmographics_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_firmographics_row.rb +566 -0
- data/lib/pharmaobservatory/models/company_funding_events_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_funding_summary_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_members_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_programs_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_programs_row.rb +2 -24
- data/lib/pharmaobservatory/models/company_rare_disease_declarations_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_targets_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_timeline_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_timeline_row.rb +498 -0
- data/lib/pharmaobservatory/models/company_trial_geography_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_trial_sites_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_us_patents_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_us_patents_row.rb +311 -0
- data/lib/pharmaobservatory/models/condition_adverse_events_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_burden_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_delivery_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_drugs_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_investigator_organizations_response.rb +478 -0
- data/lib/pharmaobservatory/models/condition_investigator_organizations_row.rb +366 -0
- data/lib/pharmaobservatory/models/condition_prevalence_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_publications_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_recruitment_by_phase_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_recruitment_duration_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_sites_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_trial_start_forecast_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/conditions_record.rb +2 -2
- data/lib/pharmaobservatory/models/conditions_response.rb +3 -3
- data/lib/pharmaobservatory/models/cro_footprint_response.rb +3 -3
- data/lib/pharmaobservatory/models/cro_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/debarments_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_approvals_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_asp_codes_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_brands_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_combinations_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_declared_patents_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_investigators_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_investigators_row.rb +302 -0
- data/lib/pharmaobservatory/models/drug_label_safety_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_medicare_spend_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_patent_cliff_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_patent_mentions_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_patent_owners_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_pricing_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_recalls_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_regulatory_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_sites_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_targets_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_trial_conditions_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_variants_response.rb +3 -3
- data/lib/pharmaobservatory/models/drugs_record.rb +2 -2
- data/lib/pharmaobservatory/models/drugs_response.rb +3 -3
- data/lib/pharmaobservatory/models/enforcement_events_response.rb +3 -3
- data/lib/pharmaobservatory/models/enforcement_events_row.rb +104 -5
- data/lib/pharmaobservatory/models/gxp_facilities_response.rb +3 -3
- data/lib/pharmaobservatory/models/gxp_facilities_row.rb +145 -2
- data/lib/pharmaobservatory/models/hospital_beds_yearly_response.rb +3 -3
- data/lib/pharmaobservatory/models/hospital_facility_changes_response.rb +3 -3
- data/lib/pharmaobservatory/models/hospitals_record.rb +2 -2
- data/lib/pharmaobservatory/models/hospitals_response.rb +3 -3
- data/lib/pharmaobservatory/models/import_refusals_response.rb +3 -3
- data/lib/pharmaobservatory/models/inspection_findings_response.rb +3 -3
- data/lib/pharmaobservatory/models/inspections_response.rb +3 -3
- data/lib/pharmaobservatory/models/institutional_holdings_response.rb +3 -3
- data/lib/pharmaobservatory/models/institutional_quarter_totals_response.rb +3 -3
- data/lib/pharmaobservatory/models/investigator_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/investigator_conditions_row.rb +278 -0
- data/lib/pharmaobservatory/models/investigator_debarments_response.rb +478 -0
- data/lib/pharmaobservatory/models/investigator_debarments_row.rb +300 -0
- data/lib/pharmaobservatory/models/investigator_hospitals_response.rb +478 -0
- data/lib/pharmaobservatory/models/investigator_hospitals_row.rb +280 -0
- data/lib/pharmaobservatory/models/investigator_inspections_response.rb +478 -0
- data/lib/pharmaobservatory/models/investigator_inspections_row.rb +377 -0
- data/lib/pharmaobservatory/models/investigator_publications_response.rb +478 -0
- data/lib/pharmaobservatory/models/investigator_publications_row.rb +311 -0
- data/lib/pharmaobservatory/models/investigator_topics_response.rb +478 -0
- data/lib/pharmaobservatory/models/investigator_topics_row.rb +311 -0
- data/lib/pharmaobservatory/models/investigator_trials_response.rb +478 -0
- data/lib/pharmaobservatory/models/investigator_trials_row.rb +478 -0
- data/lib/pharmaobservatory/models/investigators_record.rb +385 -0
- data/lib/pharmaobservatory/models/investigators_response.rb +478 -0
- data/lib/pharmaobservatory/models/investigators_row.rb +511 -0
- data/lib/pharmaobservatory/models/investor_funds_response.rb +3 -3
- data/lib/pharmaobservatory/models/investor_portfolio_response.rb +3 -3
- data/lib/pharmaobservatory/models/investor_private_funds_response.rb +3 -3
- data/lib/pharmaobservatory/models/investors_record.rb +2 -2
- data/lib/pharmaobservatory/models/investors_response.rb +3 -3
- data/lib/pharmaobservatory/models/investors_row.rb +34 -1
- data/lib/pharmaobservatory/models/legal_entities_record.rb +2 -2
- data/lib/pharmaobservatory/models/legal_entities_response.rb +3 -3
- data/lib/pharmaobservatory/models/legal_entity_sec_filings_response.rb +3 -3
- data/lib/pharmaobservatory/models/managers_record.rb +2 -2
- data/lib/pharmaobservatory/models/managers_response.rb +3 -3
- data/lib/pharmaobservatory/models/org_disclosure_trend_response.rb +3 -3
- data/lib/pharmaobservatory/models/org_disclosures_response.rb +3 -3
- data/lib/pharmaobservatory/models/org_relationships_response.rb +3 -3
- data/lib/pharmaobservatory/models/ownership_observations_response.rb +478 -0
- data/lib/pharmaobservatory/models/ownership_observations_row.rb +1048 -0
- data/lib/pharmaobservatory/models/ownership_percentages_response.rb +3 -3
- data/lib/pharmaobservatory/models/ownership_positions_response.rb +3 -3
- data/lib/pharmaobservatory/models/ownership_source_coverage_response.rb +3 -3
- data/lib/pharmaobservatory/models/pdufa_dates_response.rb +3 -3
- data/lib/pharmaobservatory/models/program_licensing_candidates_response.rb +3 -3
- data/lib/pharmaobservatory/models/program_licensing_candidates_row.rb +2 -24
- data/lib/pharmaobservatory/models/programs_response.rb +3 -3
- data/lib/pharmaobservatory/models/programs_row.rb +1 -1
- data/lib/pharmaobservatory/models/rare_disease_genes_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_disease_hierarchy_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_disease_investigator_coverage_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_disease_investigators_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_disease_mappings_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_disease_organizations_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_disease_prevalence_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_disease_rarity_evidence_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_disease_rarity_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_disease_replacements_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_disease_site_coverage_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_disease_sponsors_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_disease_trial_coverage_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_disease_trial_sites_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_disease_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/rare_diseases_record.rb +2 -2
- data/lib/pharmaobservatory/models/rare_diseases_response.rb +3 -3
- data/lib/pharmaobservatory/models/recalls_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_conductor_delivery_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_conductor_footprint_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_conductor_studies_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_conductors_record.rb +2 -2
- data/lib/pharmaobservatory/models/rwd_conductors_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_coverage_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_institutions_record.rb +2 -2
- data/lib/pharmaobservatory/models/rwd_institutions_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_networks_record.rb +2 -2
- data/lib/pharmaobservatory/models/rwd_networks_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_register_provenance_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_registers_record.rb +2 -2
- data/lib/pharmaobservatory/models/rwd_source_age_bands_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_source_conditions_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_source_etl_mappings_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_source_linkages_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_source_types_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_source_vocabularies_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_sources_record.rb +2 -2
- data/lib/pharmaobservatory/models/rwd_sources_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_studies_record.rb +2 -2
- data/lib/pharmaobservatory/models/rwd_studies_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_study_conditions_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_study_data_sources_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_study_drugs_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_study_milestones_response.rb +3 -3
- data/lib/pharmaobservatory/models/rwd_withheld_fields_response.rb +3 -3
- data/lib/pharmaobservatory/models/sbti_crosscheck_response.rb +3 -3
- data/lib/pharmaobservatory/models/sec_pdufa_dates_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_beds_yearly_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_cro_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_hospitals_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_investigators_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_trial_conditions_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_trial_drugs_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/sites_record.rb +2 -2
- data/lib/pharmaobservatory/models/sites_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_delivery_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_patent_mentions_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_publications_response.rb +478 -0
- data/lib/pharmaobservatory/models/sponsor_publications_row.rb +355 -0
- data/lib/pharmaobservatory/models/sponsor_recruitment_by_phase_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_recruitment_duration_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_trial_conditions_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_trial_drugs_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_trial_start_forecast_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/supplier_capability_esg_response.rb +3 -3
- data/lib/pharmaobservatory/models/supplier_services_response.rb +3 -3
- data/lib/pharmaobservatory/models/supplier_sites_response.rb +3 -3
- data/lib/pharmaobservatory/models/suppliers_record.rb +2 -2
- data/lib/pharmaobservatory/models/suppliers_response.rb +3 -3
- data/lib/pharmaobservatory/models/suppliers_row.rb +12 -1
- data/lib/pharmaobservatory/models/target_associations_response.rb +3 -3
- data/lib/pharmaobservatory/models/target_crowding_response.rb +3 -3
- data/lib/pharmaobservatory/models/target_drugs_response.rb +3 -3
- data/lib/pharmaobservatory/models/target_evidence_response.rb +3 -3
- data/lib/pharmaobservatory/models/target_investigators_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_investigators_row.rb +291 -0
- data/lib/pharmaobservatory/models/target_patent_mentions_response.rb +3 -3
- data/lib/pharmaobservatory/models/target_programs_response.rb +3 -3
- data/lib/pharmaobservatory/models/target_publications_response.rb +3 -3
- data/lib/pharmaobservatory/models/target_regulatory_precedent_response.rb +3 -3
- data/lib/pharmaobservatory/models/target_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/targets_record.rb +2 -2
- data/lib/pharmaobservatory/models/targets_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_adverse_events_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_changes_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_delivery_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_demographics_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_drug_classes_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_drugs_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_enrollment_history_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_enrollment_rate_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_extracted_endpoints_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_kols_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_outcome_measures_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_research_payments_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_site_history_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_sites_response.rb +3 -3
- data/lib/pharmaobservatory/models/trials_record.rb +2 -2
- data/lib/pharmaobservatory/models/trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/unmatched_product_revenue_response.rb +3 -3
- data/lib/pharmaobservatory/models/untitled_letters_response.rb +3 -3
- data/lib/pharmaobservatory/models/warning_letters_response.rb +3 -3
- data/lib/pharmaobservatory/version.rb +1 -1
- data/lib/pharmaobservatory.rb +47 -3
- metadata +96 -8
|
@@ -0,0 +1,1169 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pharma Observatory Public REST API
|
|
3
|
+
|
|
4
|
+
#Read-only REST API over the Pharma Observatory biomedical data platform. Reference: https://pharmaobservatory.com/api-reference
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.13.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module PharmaObservatory
|
|
16
|
+
class InvestigatorsApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Investigators on a drug's trials
|
|
23
|
+
# @param id [String]
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @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.
|
|
26
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
27
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
28
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
29
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
30
|
+
# @return [DrugInvestigatorsResponse]
|
|
31
|
+
def investigators_drug_investigators(id, opts = {})
|
|
32
|
+
data, _status_code, _headers = investigators_drug_investigators_with_http_info(id, opts)
|
|
33
|
+
data
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Investigators on a drug's trials
|
|
37
|
+
# @param id [String]
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @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.
|
|
40
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
41
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
42
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
43
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
44
|
+
# @return [Array<(DrugInvestigatorsResponse, Integer, Hash)>] DrugInvestigatorsResponse data, response status code and response headers
|
|
45
|
+
def investigators_drug_investigators_with_http_info(id, opts = {})
|
|
46
|
+
if @api_client.config.debugging
|
|
47
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_drug_investigators ...'
|
|
48
|
+
end
|
|
49
|
+
# verify the required parameter 'id' is set
|
|
50
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
51
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestigatorsApi.investigators_drug_investigators"
|
|
52
|
+
end
|
|
53
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
54
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_drug_investigators, must be smaller than or equal to 500.'
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
58
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_drug_investigators, must be greater than or equal to 1.'
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# resource path
|
|
62
|
+
local_var_path = '/api/v1/investigators/{id}/drug_investigators'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
63
|
+
|
|
64
|
+
# query parameters
|
|
65
|
+
query_params = opts[:query_params] || {}
|
|
66
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
67
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
68
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
69
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
70
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
71
|
+
|
|
72
|
+
# header parameters
|
|
73
|
+
header_params = opts[:header_params] || {}
|
|
74
|
+
# HTTP header 'Accept' (if needed)
|
|
75
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
76
|
+
|
|
77
|
+
# form parameters
|
|
78
|
+
form_params = opts[:form_params] || {}
|
|
79
|
+
|
|
80
|
+
# http body (model)
|
|
81
|
+
post_body = opts[:debug_body]
|
|
82
|
+
|
|
83
|
+
# return_type
|
|
84
|
+
return_type = opts[:debug_return_type] || 'DrugInvestigatorsResponse'
|
|
85
|
+
|
|
86
|
+
# auth_names
|
|
87
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
88
|
+
|
|
89
|
+
new_options = opts.merge(
|
|
90
|
+
:operation => :"InvestigatorsApi.investigators_drug_investigators",
|
|
91
|
+
:header_params => header_params,
|
|
92
|
+
:query_params => query_params,
|
|
93
|
+
:form_params => form_params,
|
|
94
|
+
:body => post_body,
|
|
95
|
+
:auth_names => auth_names,
|
|
96
|
+
:return_type => return_type
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
100
|
+
if @api_client.config.debugging
|
|
101
|
+
@api_client.config.logger.debug "API called: InvestigatorsApi#investigators_drug_investigators\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
102
|
+
end
|
|
103
|
+
return data, status_code, headers
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# One investigator
|
|
107
|
+
# @param id [String]
|
|
108
|
+
# @param [Hash] opts the optional parameters
|
|
109
|
+
# @return [InvestigatorsRecord]
|
|
110
|
+
def investigators_get(id, opts = {})
|
|
111
|
+
data, _status_code, _headers = investigators_get_with_http_info(id, opts)
|
|
112
|
+
data
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# One investigator
|
|
116
|
+
# @param id [String]
|
|
117
|
+
# @param [Hash] opts the optional parameters
|
|
118
|
+
# @return [Array<(InvestigatorsRecord, Integer, Hash)>] InvestigatorsRecord data, response status code and response headers
|
|
119
|
+
def investigators_get_with_http_info(id, opts = {})
|
|
120
|
+
if @api_client.config.debugging
|
|
121
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_get ...'
|
|
122
|
+
end
|
|
123
|
+
# verify the required parameter 'id' is set
|
|
124
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
125
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestigatorsApi.investigators_get"
|
|
126
|
+
end
|
|
127
|
+
# resource path
|
|
128
|
+
local_var_path = '/api/v1/investigators/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
129
|
+
|
|
130
|
+
# query parameters
|
|
131
|
+
query_params = opts[:query_params] || {}
|
|
132
|
+
|
|
133
|
+
# header parameters
|
|
134
|
+
header_params = opts[:header_params] || {}
|
|
135
|
+
# HTTP header 'Accept' (if needed)
|
|
136
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
137
|
+
|
|
138
|
+
# form parameters
|
|
139
|
+
form_params = opts[:form_params] || {}
|
|
140
|
+
|
|
141
|
+
# http body (model)
|
|
142
|
+
post_body = opts[:debug_body]
|
|
143
|
+
|
|
144
|
+
# return_type
|
|
145
|
+
return_type = opts[:debug_return_type] || 'InvestigatorsRecord'
|
|
146
|
+
|
|
147
|
+
# auth_names
|
|
148
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
149
|
+
|
|
150
|
+
new_options = opts.merge(
|
|
151
|
+
:operation => :"InvestigatorsApi.investigators_get",
|
|
152
|
+
:header_params => header_params,
|
|
153
|
+
:query_params => query_params,
|
|
154
|
+
:form_params => form_params,
|
|
155
|
+
:body => post_body,
|
|
156
|
+
:auth_names => auth_names,
|
|
157
|
+
:return_type => return_type
|
|
158
|
+
)
|
|
159
|
+
|
|
160
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
161
|
+
if @api_client.config.debugging
|
|
162
|
+
@api_client.config.logger.debug "API called: InvestigatorsApi#investigators_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
163
|
+
end
|
|
164
|
+
return data, status_code, headers
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
# Investigator conditions
|
|
168
|
+
# @param id [String]
|
|
169
|
+
# @param [Hash] opts the optional parameters
|
|
170
|
+
# @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.
|
|
171
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
172
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
173
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
174
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
175
|
+
# @return [InvestigatorConditionsResponse]
|
|
176
|
+
def investigators_investigator_conditions(id, opts = {})
|
|
177
|
+
data, _status_code, _headers = investigators_investigator_conditions_with_http_info(id, opts)
|
|
178
|
+
data
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
# Investigator conditions
|
|
182
|
+
# @param id [String]
|
|
183
|
+
# @param [Hash] opts the optional parameters
|
|
184
|
+
# @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.
|
|
185
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
186
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
187
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
188
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
189
|
+
# @return [Array<(InvestigatorConditionsResponse, Integer, Hash)>] InvestigatorConditionsResponse data, response status code and response headers
|
|
190
|
+
def investigators_investigator_conditions_with_http_info(id, opts = {})
|
|
191
|
+
if @api_client.config.debugging
|
|
192
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_investigator_conditions ...'
|
|
193
|
+
end
|
|
194
|
+
# verify the required parameter 'id' is set
|
|
195
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
196
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestigatorsApi.investigators_investigator_conditions"
|
|
197
|
+
end
|
|
198
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
199
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_investigator_conditions, must be smaller than or equal to 500.'
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
203
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_investigator_conditions, must be greater than or equal to 1.'
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
# resource path
|
|
207
|
+
local_var_path = '/api/v1/investigators/{id}/investigator_conditions'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
208
|
+
|
|
209
|
+
# query parameters
|
|
210
|
+
query_params = opts[:query_params] || {}
|
|
211
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
212
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
213
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
214
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
215
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
216
|
+
|
|
217
|
+
# header parameters
|
|
218
|
+
header_params = opts[:header_params] || {}
|
|
219
|
+
# HTTP header 'Accept' (if needed)
|
|
220
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
221
|
+
|
|
222
|
+
# form parameters
|
|
223
|
+
form_params = opts[:form_params] || {}
|
|
224
|
+
|
|
225
|
+
# http body (model)
|
|
226
|
+
post_body = opts[:debug_body]
|
|
227
|
+
|
|
228
|
+
# return_type
|
|
229
|
+
return_type = opts[:debug_return_type] || 'InvestigatorConditionsResponse'
|
|
230
|
+
|
|
231
|
+
# auth_names
|
|
232
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
233
|
+
|
|
234
|
+
new_options = opts.merge(
|
|
235
|
+
:operation => :"InvestigatorsApi.investigators_investigator_conditions",
|
|
236
|
+
:header_params => header_params,
|
|
237
|
+
:query_params => query_params,
|
|
238
|
+
:form_params => form_params,
|
|
239
|
+
:body => post_body,
|
|
240
|
+
:auth_names => auth_names,
|
|
241
|
+
:return_type => return_type
|
|
242
|
+
)
|
|
243
|
+
|
|
244
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
245
|
+
if @api_client.config.debugging
|
|
246
|
+
@api_client.config.logger.debug "API called: InvestigatorsApi#investigators_investigator_conditions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
247
|
+
end
|
|
248
|
+
return data, status_code, headers
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# Investigator FDA debarments
|
|
252
|
+
# @param id [String]
|
|
253
|
+
# @param [Hash] opts the optional parameters
|
|
254
|
+
# @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.
|
|
255
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
256
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
257
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
258
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
259
|
+
# @return [InvestigatorDebarmentsResponse]
|
|
260
|
+
def investigators_investigator_debarments(id, opts = {})
|
|
261
|
+
data, _status_code, _headers = investigators_investigator_debarments_with_http_info(id, opts)
|
|
262
|
+
data
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
# Investigator FDA debarments
|
|
266
|
+
# @param id [String]
|
|
267
|
+
# @param [Hash] opts the optional parameters
|
|
268
|
+
# @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.
|
|
269
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
270
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
271
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
272
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
273
|
+
# @return [Array<(InvestigatorDebarmentsResponse, Integer, Hash)>] InvestigatorDebarmentsResponse data, response status code and response headers
|
|
274
|
+
def investigators_investigator_debarments_with_http_info(id, opts = {})
|
|
275
|
+
if @api_client.config.debugging
|
|
276
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_investigator_debarments ...'
|
|
277
|
+
end
|
|
278
|
+
# verify the required parameter 'id' is set
|
|
279
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
280
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestigatorsApi.investigators_investigator_debarments"
|
|
281
|
+
end
|
|
282
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
283
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_investigator_debarments, must be smaller than or equal to 500.'
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
287
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_investigator_debarments, must be greater than or equal to 1.'
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
# resource path
|
|
291
|
+
local_var_path = '/api/v1/investigators/{id}/investigator_debarments'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
292
|
+
|
|
293
|
+
# query parameters
|
|
294
|
+
query_params = opts[:query_params] || {}
|
|
295
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
296
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
297
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
298
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
299
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
300
|
+
|
|
301
|
+
# header parameters
|
|
302
|
+
header_params = opts[:header_params] || {}
|
|
303
|
+
# HTTP header 'Accept' (if needed)
|
|
304
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
305
|
+
|
|
306
|
+
# form parameters
|
|
307
|
+
form_params = opts[:form_params] || {}
|
|
308
|
+
|
|
309
|
+
# http body (model)
|
|
310
|
+
post_body = opts[:debug_body]
|
|
311
|
+
|
|
312
|
+
# return_type
|
|
313
|
+
return_type = opts[:debug_return_type] || 'InvestigatorDebarmentsResponse'
|
|
314
|
+
|
|
315
|
+
# auth_names
|
|
316
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
317
|
+
|
|
318
|
+
new_options = opts.merge(
|
|
319
|
+
:operation => :"InvestigatorsApi.investigators_investigator_debarments",
|
|
320
|
+
:header_params => header_params,
|
|
321
|
+
:query_params => query_params,
|
|
322
|
+
:form_params => form_params,
|
|
323
|
+
:body => post_body,
|
|
324
|
+
:auth_names => auth_names,
|
|
325
|
+
:return_type => return_type
|
|
326
|
+
)
|
|
327
|
+
|
|
328
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
329
|
+
if @api_client.config.debugging
|
|
330
|
+
@api_client.config.logger.debug "API called: InvestigatorsApi#investigators_investigator_debarments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
331
|
+
end
|
|
332
|
+
return data, status_code, headers
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
# Investigator hospital affiliations
|
|
336
|
+
# @param id [String]
|
|
337
|
+
# @param [Hash] opts the optional parameters
|
|
338
|
+
# @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.
|
|
339
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
340
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
341
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
342
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
343
|
+
# @return [InvestigatorHospitalsResponse]
|
|
344
|
+
def investigators_investigator_hospitals(id, opts = {})
|
|
345
|
+
data, _status_code, _headers = investigators_investigator_hospitals_with_http_info(id, opts)
|
|
346
|
+
data
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
# Investigator hospital affiliations
|
|
350
|
+
# @param id [String]
|
|
351
|
+
# @param [Hash] opts the optional parameters
|
|
352
|
+
# @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.
|
|
353
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
354
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
355
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
356
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
357
|
+
# @return [Array<(InvestigatorHospitalsResponse, Integer, Hash)>] InvestigatorHospitalsResponse data, response status code and response headers
|
|
358
|
+
def investigators_investigator_hospitals_with_http_info(id, opts = {})
|
|
359
|
+
if @api_client.config.debugging
|
|
360
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_investigator_hospitals ...'
|
|
361
|
+
end
|
|
362
|
+
# verify the required parameter 'id' is set
|
|
363
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
364
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestigatorsApi.investigators_investigator_hospitals"
|
|
365
|
+
end
|
|
366
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
367
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_investigator_hospitals, must be smaller than or equal to 500.'
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
371
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_investigator_hospitals, must be greater than or equal to 1.'
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
# resource path
|
|
375
|
+
local_var_path = '/api/v1/investigators/{id}/investigator_hospitals'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
376
|
+
|
|
377
|
+
# query parameters
|
|
378
|
+
query_params = opts[:query_params] || {}
|
|
379
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
380
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
381
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
382
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
383
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
384
|
+
|
|
385
|
+
# header parameters
|
|
386
|
+
header_params = opts[:header_params] || {}
|
|
387
|
+
# HTTP header 'Accept' (if needed)
|
|
388
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
389
|
+
|
|
390
|
+
# form parameters
|
|
391
|
+
form_params = opts[:form_params] || {}
|
|
392
|
+
|
|
393
|
+
# http body (model)
|
|
394
|
+
post_body = opts[:debug_body]
|
|
395
|
+
|
|
396
|
+
# return_type
|
|
397
|
+
return_type = opts[:debug_return_type] || 'InvestigatorHospitalsResponse'
|
|
398
|
+
|
|
399
|
+
# auth_names
|
|
400
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
401
|
+
|
|
402
|
+
new_options = opts.merge(
|
|
403
|
+
:operation => :"InvestigatorsApi.investigators_investigator_hospitals",
|
|
404
|
+
:header_params => header_params,
|
|
405
|
+
:query_params => query_params,
|
|
406
|
+
:form_params => form_params,
|
|
407
|
+
:body => post_body,
|
|
408
|
+
:auth_names => auth_names,
|
|
409
|
+
:return_type => return_type
|
|
410
|
+
)
|
|
411
|
+
|
|
412
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
413
|
+
if @api_client.config.debugging
|
|
414
|
+
@api_client.config.logger.debug "API called: InvestigatorsApi#investigators_investigator_hospitals\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
415
|
+
end
|
|
416
|
+
return data, status_code, headers
|
|
417
|
+
end
|
|
418
|
+
|
|
419
|
+
# Investigator FDA BIMO inspections
|
|
420
|
+
# @param id [String]
|
|
421
|
+
# @param [Hash] opts the optional parameters
|
|
422
|
+
# @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.
|
|
423
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
424
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
425
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
426
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
427
|
+
# @return [InvestigatorInspectionsResponse]
|
|
428
|
+
def investigators_investigator_inspections(id, opts = {})
|
|
429
|
+
data, _status_code, _headers = investigators_investigator_inspections_with_http_info(id, opts)
|
|
430
|
+
data
|
|
431
|
+
end
|
|
432
|
+
|
|
433
|
+
# Investigator FDA BIMO inspections
|
|
434
|
+
# @param id [String]
|
|
435
|
+
# @param [Hash] opts the optional parameters
|
|
436
|
+
# @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.
|
|
437
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
438
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
439
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
440
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
441
|
+
# @return [Array<(InvestigatorInspectionsResponse, Integer, Hash)>] InvestigatorInspectionsResponse data, response status code and response headers
|
|
442
|
+
def investigators_investigator_inspections_with_http_info(id, opts = {})
|
|
443
|
+
if @api_client.config.debugging
|
|
444
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_investigator_inspections ...'
|
|
445
|
+
end
|
|
446
|
+
# verify the required parameter 'id' is set
|
|
447
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
448
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestigatorsApi.investigators_investigator_inspections"
|
|
449
|
+
end
|
|
450
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
451
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_investigator_inspections, must be smaller than or equal to 500.'
|
|
452
|
+
end
|
|
453
|
+
|
|
454
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
455
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_investigator_inspections, must be greater than or equal to 1.'
|
|
456
|
+
end
|
|
457
|
+
|
|
458
|
+
# resource path
|
|
459
|
+
local_var_path = '/api/v1/investigators/{id}/investigator_inspections'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
460
|
+
|
|
461
|
+
# query parameters
|
|
462
|
+
query_params = opts[:query_params] || {}
|
|
463
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
464
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
465
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
466
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
467
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
468
|
+
|
|
469
|
+
# header parameters
|
|
470
|
+
header_params = opts[:header_params] || {}
|
|
471
|
+
# HTTP header 'Accept' (if needed)
|
|
472
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
473
|
+
|
|
474
|
+
# form parameters
|
|
475
|
+
form_params = opts[:form_params] || {}
|
|
476
|
+
|
|
477
|
+
# http body (model)
|
|
478
|
+
post_body = opts[:debug_body]
|
|
479
|
+
|
|
480
|
+
# return_type
|
|
481
|
+
return_type = opts[:debug_return_type] || 'InvestigatorInspectionsResponse'
|
|
482
|
+
|
|
483
|
+
# auth_names
|
|
484
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
485
|
+
|
|
486
|
+
new_options = opts.merge(
|
|
487
|
+
:operation => :"InvestigatorsApi.investigators_investigator_inspections",
|
|
488
|
+
:header_params => header_params,
|
|
489
|
+
:query_params => query_params,
|
|
490
|
+
:form_params => form_params,
|
|
491
|
+
:body => post_body,
|
|
492
|
+
:auth_names => auth_names,
|
|
493
|
+
:return_type => return_type
|
|
494
|
+
)
|
|
495
|
+
|
|
496
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
497
|
+
if @api_client.config.debugging
|
|
498
|
+
@api_client.config.logger.debug "API called: InvestigatorsApi#investigators_investigator_inspections\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
499
|
+
end
|
|
500
|
+
return data, status_code, headers
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
# Investigator publications
|
|
504
|
+
# @param id [String]
|
|
505
|
+
# @param [Hash] opts the optional parameters
|
|
506
|
+
# @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.
|
|
507
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
508
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
509
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
510
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
511
|
+
# @return [InvestigatorPublicationsResponse]
|
|
512
|
+
def investigators_investigator_publications(id, opts = {})
|
|
513
|
+
data, _status_code, _headers = investigators_investigator_publications_with_http_info(id, opts)
|
|
514
|
+
data
|
|
515
|
+
end
|
|
516
|
+
|
|
517
|
+
# Investigator publications
|
|
518
|
+
# @param id [String]
|
|
519
|
+
# @param [Hash] opts the optional parameters
|
|
520
|
+
# @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.
|
|
521
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
522
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
523
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
524
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
525
|
+
# @return [Array<(InvestigatorPublicationsResponse, Integer, Hash)>] InvestigatorPublicationsResponse data, response status code and response headers
|
|
526
|
+
def investigators_investigator_publications_with_http_info(id, opts = {})
|
|
527
|
+
if @api_client.config.debugging
|
|
528
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_investigator_publications ...'
|
|
529
|
+
end
|
|
530
|
+
# verify the required parameter 'id' is set
|
|
531
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
532
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestigatorsApi.investigators_investigator_publications"
|
|
533
|
+
end
|
|
534
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
535
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_investigator_publications, must be smaller than or equal to 500.'
|
|
536
|
+
end
|
|
537
|
+
|
|
538
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
539
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_investigator_publications, must be greater than or equal to 1.'
|
|
540
|
+
end
|
|
541
|
+
|
|
542
|
+
# resource path
|
|
543
|
+
local_var_path = '/api/v1/investigators/{id}/investigator_publications'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
544
|
+
|
|
545
|
+
# query parameters
|
|
546
|
+
query_params = opts[:query_params] || {}
|
|
547
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
548
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
549
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
550
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
551
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
552
|
+
|
|
553
|
+
# header parameters
|
|
554
|
+
header_params = opts[:header_params] || {}
|
|
555
|
+
# HTTP header 'Accept' (if needed)
|
|
556
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
557
|
+
|
|
558
|
+
# form parameters
|
|
559
|
+
form_params = opts[:form_params] || {}
|
|
560
|
+
|
|
561
|
+
# http body (model)
|
|
562
|
+
post_body = opts[:debug_body]
|
|
563
|
+
|
|
564
|
+
# return_type
|
|
565
|
+
return_type = opts[:debug_return_type] || 'InvestigatorPublicationsResponse'
|
|
566
|
+
|
|
567
|
+
# auth_names
|
|
568
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
569
|
+
|
|
570
|
+
new_options = opts.merge(
|
|
571
|
+
:operation => :"InvestigatorsApi.investigators_investigator_publications",
|
|
572
|
+
:header_params => header_params,
|
|
573
|
+
:query_params => query_params,
|
|
574
|
+
:form_params => form_params,
|
|
575
|
+
:body => post_body,
|
|
576
|
+
:auth_names => auth_names,
|
|
577
|
+
:return_type => return_type
|
|
578
|
+
)
|
|
579
|
+
|
|
580
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
581
|
+
if @api_client.config.debugging
|
|
582
|
+
@api_client.config.logger.debug "API called: InvestigatorsApi#investigators_investigator_publications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
583
|
+
end
|
|
584
|
+
return data, status_code, headers
|
|
585
|
+
end
|
|
586
|
+
|
|
587
|
+
# Investigator expertise topics
|
|
588
|
+
# @param id [String]
|
|
589
|
+
# @param [Hash] opts the optional parameters
|
|
590
|
+
# @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.
|
|
591
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
592
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
593
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
594
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
595
|
+
# @return [InvestigatorTopicsResponse]
|
|
596
|
+
def investigators_investigator_topics(id, opts = {})
|
|
597
|
+
data, _status_code, _headers = investigators_investigator_topics_with_http_info(id, opts)
|
|
598
|
+
data
|
|
599
|
+
end
|
|
600
|
+
|
|
601
|
+
# Investigator expertise topics
|
|
602
|
+
# @param id [String]
|
|
603
|
+
# @param [Hash] opts the optional parameters
|
|
604
|
+
# @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.
|
|
605
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
606
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
607
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
608
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
609
|
+
# @return [Array<(InvestigatorTopicsResponse, Integer, Hash)>] InvestigatorTopicsResponse data, response status code and response headers
|
|
610
|
+
def investigators_investigator_topics_with_http_info(id, opts = {})
|
|
611
|
+
if @api_client.config.debugging
|
|
612
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_investigator_topics ...'
|
|
613
|
+
end
|
|
614
|
+
# verify the required parameter 'id' is set
|
|
615
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
616
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestigatorsApi.investigators_investigator_topics"
|
|
617
|
+
end
|
|
618
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
619
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_investigator_topics, must be smaller than or equal to 500.'
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
623
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_investigator_topics, must be greater than or equal to 1.'
|
|
624
|
+
end
|
|
625
|
+
|
|
626
|
+
# resource path
|
|
627
|
+
local_var_path = '/api/v1/investigators/{id}/investigator_topics'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
628
|
+
|
|
629
|
+
# query parameters
|
|
630
|
+
query_params = opts[:query_params] || {}
|
|
631
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
632
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
633
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
634
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
635
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
636
|
+
|
|
637
|
+
# header parameters
|
|
638
|
+
header_params = opts[:header_params] || {}
|
|
639
|
+
# HTTP header 'Accept' (if needed)
|
|
640
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
641
|
+
|
|
642
|
+
# form parameters
|
|
643
|
+
form_params = opts[:form_params] || {}
|
|
644
|
+
|
|
645
|
+
# http body (model)
|
|
646
|
+
post_body = opts[:debug_body]
|
|
647
|
+
|
|
648
|
+
# return_type
|
|
649
|
+
return_type = opts[:debug_return_type] || 'InvestigatorTopicsResponse'
|
|
650
|
+
|
|
651
|
+
# auth_names
|
|
652
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
653
|
+
|
|
654
|
+
new_options = opts.merge(
|
|
655
|
+
:operation => :"InvestigatorsApi.investigators_investigator_topics",
|
|
656
|
+
:header_params => header_params,
|
|
657
|
+
:query_params => query_params,
|
|
658
|
+
:form_params => form_params,
|
|
659
|
+
:body => post_body,
|
|
660
|
+
:auth_names => auth_names,
|
|
661
|
+
:return_type => return_type
|
|
662
|
+
)
|
|
663
|
+
|
|
664
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
665
|
+
if @api_client.config.debugging
|
|
666
|
+
@api_client.config.logger.debug "API called: InvestigatorsApi#investigators_investigator_topics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
667
|
+
end
|
|
668
|
+
return data, status_code, headers
|
|
669
|
+
end
|
|
670
|
+
|
|
671
|
+
# Investigator trials
|
|
672
|
+
# @param id [String]
|
|
673
|
+
# @param [Hash] opts the optional parameters
|
|
674
|
+
# @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.
|
|
675
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
676
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
677
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
678
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
679
|
+
# @return [InvestigatorTrialsResponse]
|
|
680
|
+
def investigators_investigator_trials(id, opts = {})
|
|
681
|
+
data, _status_code, _headers = investigators_investigator_trials_with_http_info(id, opts)
|
|
682
|
+
data
|
|
683
|
+
end
|
|
684
|
+
|
|
685
|
+
# Investigator trials
|
|
686
|
+
# @param id [String]
|
|
687
|
+
# @param [Hash] opts the optional parameters
|
|
688
|
+
# @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.
|
|
689
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
690
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
691
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
692
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
693
|
+
# @return [Array<(InvestigatorTrialsResponse, Integer, Hash)>] InvestigatorTrialsResponse data, response status code and response headers
|
|
694
|
+
def investigators_investigator_trials_with_http_info(id, opts = {})
|
|
695
|
+
if @api_client.config.debugging
|
|
696
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_investigator_trials ...'
|
|
697
|
+
end
|
|
698
|
+
# verify the required parameter 'id' is set
|
|
699
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
700
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestigatorsApi.investigators_investigator_trials"
|
|
701
|
+
end
|
|
702
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
703
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_investigator_trials, must be smaller than or equal to 500.'
|
|
704
|
+
end
|
|
705
|
+
|
|
706
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
707
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_investigator_trials, must be greater than or equal to 1.'
|
|
708
|
+
end
|
|
709
|
+
|
|
710
|
+
# resource path
|
|
711
|
+
local_var_path = '/api/v1/investigators/{id}/investigator_trials'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
712
|
+
|
|
713
|
+
# query parameters
|
|
714
|
+
query_params = opts[:query_params] || {}
|
|
715
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
716
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
717
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
718
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
719
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
720
|
+
|
|
721
|
+
# header parameters
|
|
722
|
+
header_params = opts[:header_params] || {}
|
|
723
|
+
# HTTP header 'Accept' (if needed)
|
|
724
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
725
|
+
|
|
726
|
+
# form parameters
|
|
727
|
+
form_params = opts[:form_params] || {}
|
|
728
|
+
|
|
729
|
+
# http body (model)
|
|
730
|
+
post_body = opts[:debug_body]
|
|
731
|
+
|
|
732
|
+
# return_type
|
|
733
|
+
return_type = opts[:debug_return_type] || 'InvestigatorTrialsResponse'
|
|
734
|
+
|
|
735
|
+
# auth_names
|
|
736
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
737
|
+
|
|
738
|
+
new_options = opts.merge(
|
|
739
|
+
:operation => :"InvestigatorsApi.investigators_investigator_trials",
|
|
740
|
+
:header_params => header_params,
|
|
741
|
+
:query_params => query_params,
|
|
742
|
+
:form_params => form_params,
|
|
743
|
+
:body => post_body,
|
|
744
|
+
:auth_names => auth_names,
|
|
745
|
+
:return_type => return_type
|
|
746
|
+
)
|
|
747
|
+
|
|
748
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
749
|
+
if @api_client.config.debugging
|
|
750
|
+
@api_client.config.logger.debug "API called: InvestigatorsApi#investigators_investigator_trials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
751
|
+
end
|
|
752
|
+
return data, status_code, headers
|
|
753
|
+
end
|
|
754
|
+
|
|
755
|
+
# List investigators
|
|
756
|
+
# @param [Hash] opts the optional parameters
|
|
757
|
+
# @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.
|
|
758
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
759
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
760
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
761
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
762
|
+
# @return [InvestigatorsResponse]
|
|
763
|
+
def investigators_list(opts = {})
|
|
764
|
+
data, _status_code, _headers = investigators_list_with_http_info(opts)
|
|
765
|
+
data
|
|
766
|
+
end
|
|
767
|
+
|
|
768
|
+
# List investigators
|
|
769
|
+
# @param [Hash] opts the optional parameters
|
|
770
|
+
# @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.
|
|
771
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
772
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
773
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
774
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
775
|
+
# @return [Array<(InvestigatorsResponse, Integer, Hash)>] InvestigatorsResponse data, response status code and response headers
|
|
776
|
+
def investigators_list_with_http_info(opts = {})
|
|
777
|
+
if @api_client.config.debugging
|
|
778
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_list ...'
|
|
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 InvestigatorsApi.investigators_list, 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 InvestigatorsApi.investigators_list, must be greater than or equal to 1.'
|
|
786
|
+
end
|
|
787
|
+
|
|
788
|
+
# resource path
|
|
789
|
+
local_var_path = '/api/v1/investigators'
|
|
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] || 'InvestigatorsResponse'
|
|
812
|
+
|
|
813
|
+
# auth_names
|
|
814
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
815
|
+
|
|
816
|
+
new_options = opts.merge(
|
|
817
|
+
:operation => :"InvestigatorsApi.investigators_list",
|
|
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: InvestigatorsApi#investigators_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
829
|
+
end
|
|
830
|
+
return data, status_code, headers
|
|
831
|
+
end
|
|
832
|
+
|
|
833
|
+
# Rare disease investigators
|
|
834
|
+
# @param id [String]
|
|
835
|
+
# @param [Hash] opts the optional parameters
|
|
836
|
+
# @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.
|
|
837
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
838
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
839
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
840
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
841
|
+
# @return [RareDiseaseInvestigatorsResponse]
|
|
842
|
+
def investigators_rare_disease_investigators(id, opts = {})
|
|
843
|
+
data, _status_code, _headers = investigators_rare_disease_investigators_with_http_info(id, opts)
|
|
844
|
+
data
|
|
845
|
+
end
|
|
846
|
+
|
|
847
|
+
# Rare disease investigators
|
|
848
|
+
# @param id [String]
|
|
849
|
+
# @param [Hash] opts the optional parameters
|
|
850
|
+
# @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.
|
|
851
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
852
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
853
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
854
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
855
|
+
# @return [Array<(RareDiseaseInvestigatorsResponse, Integer, Hash)>] RareDiseaseInvestigatorsResponse data, response status code and response headers
|
|
856
|
+
def investigators_rare_disease_investigators_with_http_info(id, opts = {})
|
|
857
|
+
if @api_client.config.debugging
|
|
858
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_rare_disease_investigators ...'
|
|
859
|
+
end
|
|
860
|
+
# verify the required parameter 'id' is set
|
|
861
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
862
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestigatorsApi.investigators_rare_disease_investigators"
|
|
863
|
+
end
|
|
864
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
865
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_rare_disease_investigators, must be smaller than or equal to 500.'
|
|
866
|
+
end
|
|
867
|
+
|
|
868
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
869
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_rare_disease_investigators, must be greater than or equal to 1.'
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
# resource path
|
|
873
|
+
local_var_path = '/api/v1/investigators/{id}/rare_disease_investigators'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
874
|
+
|
|
875
|
+
# query parameters
|
|
876
|
+
query_params = opts[:query_params] || {}
|
|
877
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
878
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
879
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
880
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
881
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
882
|
+
|
|
883
|
+
# header parameters
|
|
884
|
+
header_params = opts[:header_params] || {}
|
|
885
|
+
# HTTP header 'Accept' (if needed)
|
|
886
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
887
|
+
|
|
888
|
+
# form parameters
|
|
889
|
+
form_params = opts[:form_params] || {}
|
|
890
|
+
|
|
891
|
+
# http body (model)
|
|
892
|
+
post_body = opts[:debug_body]
|
|
893
|
+
|
|
894
|
+
# return_type
|
|
895
|
+
return_type = opts[:debug_return_type] || 'RareDiseaseInvestigatorsResponse'
|
|
896
|
+
|
|
897
|
+
# auth_names
|
|
898
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
899
|
+
|
|
900
|
+
new_options = opts.merge(
|
|
901
|
+
:operation => :"InvestigatorsApi.investigators_rare_disease_investigators",
|
|
902
|
+
:header_params => header_params,
|
|
903
|
+
:query_params => query_params,
|
|
904
|
+
:form_params => form_params,
|
|
905
|
+
:body => post_body,
|
|
906
|
+
:auth_names => auth_names,
|
|
907
|
+
:return_type => return_type
|
|
908
|
+
)
|
|
909
|
+
|
|
910
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
911
|
+
if @api_client.config.debugging
|
|
912
|
+
@api_client.config.logger.debug "API called: InvestigatorsApi#investigators_rare_disease_investigators\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
913
|
+
end
|
|
914
|
+
return data, status_code, headers
|
|
915
|
+
end
|
|
916
|
+
|
|
917
|
+
# Site investigators
|
|
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 [SiteInvestigatorsResponse]
|
|
926
|
+
def investigators_site_investigators(id, opts = {})
|
|
927
|
+
data, _status_code, _headers = investigators_site_investigators_with_http_info(id, opts)
|
|
928
|
+
data
|
|
929
|
+
end
|
|
930
|
+
|
|
931
|
+
# Site investigators
|
|
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<(SiteInvestigatorsResponse, Integer, Hash)>] SiteInvestigatorsResponse data, response status code and response headers
|
|
940
|
+
def investigators_site_investigators_with_http_info(id, opts = {})
|
|
941
|
+
if @api_client.config.debugging
|
|
942
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_site_investigators ...'
|
|
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_site_investigators"
|
|
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_site_investigators, 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_site_investigators, must be greater than or equal to 1.'
|
|
954
|
+
end
|
|
955
|
+
|
|
956
|
+
# resource path
|
|
957
|
+
local_var_path = '/api/v1/investigators/{id}/site_investigators'.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] || 'SiteInvestigatorsResponse'
|
|
980
|
+
|
|
981
|
+
# auth_names
|
|
982
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
983
|
+
|
|
984
|
+
new_options = opts.merge(
|
|
985
|
+
:operation => :"InvestigatorsApi.investigators_site_investigators",
|
|
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_site_investigators\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
997
|
+
end
|
|
998
|
+
return data, status_code, headers
|
|
999
|
+
end
|
|
1000
|
+
|
|
1001
|
+
# Investigators on a target's trials
|
|
1002
|
+
# @param id [String]
|
|
1003
|
+
# @param [Hash] opts the optional parameters
|
|
1004
|
+
# @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.
|
|
1005
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1006
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1007
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1008
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1009
|
+
# @return [TargetInvestigatorsResponse]
|
|
1010
|
+
def investigators_target_investigators(id, opts = {})
|
|
1011
|
+
data, _status_code, _headers = investigators_target_investigators_with_http_info(id, opts)
|
|
1012
|
+
data
|
|
1013
|
+
end
|
|
1014
|
+
|
|
1015
|
+
# Investigators on a target's trials
|
|
1016
|
+
# @param id [String]
|
|
1017
|
+
# @param [Hash] opts the optional parameters
|
|
1018
|
+
# @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.
|
|
1019
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1020
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1021
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1022
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1023
|
+
# @return [Array<(TargetInvestigatorsResponse, Integer, Hash)>] TargetInvestigatorsResponse data, response status code and response headers
|
|
1024
|
+
def investigators_target_investigators_with_http_info(id, opts = {})
|
|
1025
|
+
if @api_client.config.debugging
|
|
1026
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_target_investigators ...'
|
|
1027
|
+
end
|
|
1028
|
+
# verify the required parameter 'id' is set
|
|
1029
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1030
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestigatorsApi.investigators_target_investigators"
|
|
1031
|
+
end
|
|
1032
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1033
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_target_investigators, must be smaller than or equal to 500.'
|
|
1034
|
+
end
|
|
1035
|
+
|
|
1036
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1037
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_target_investigators, must be greater than or equal to 1.'
|
|
1038
|
+
end
|
|
1039
|
+
|
|
1040
|
+
# resource path
|
|
1041
|
+
local_var_path = '/api/v1/investigators/{id}/target_investigators'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1042
|
+
|
|
1043
|
+
# query parameters
|
|
1044
|
+
query_params = opts[:query_params] || {}
|
|
1045
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1046
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1047
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1048
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
1049
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
1050
|
+
|
|
1051
|
+
# header parameters
|
|
1052
|
+
header_params = opts[:header_params] || {}
|
|
1053
|
+
# HTTP header 'Accept' (if needed)
|
|
1054
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1055
|
+
|
|
1056
|
+
# form parameters
|
|
1057
|
+
form_params = opts[:form_params] || {}
|
|
1058
|
+
|
|
1059
|
+
# http body (model)
|
|
1060
|
+
post_body = opts[:debug_body]
|
|
1061
|
+
|
|
1062
|
+
# return_type
|
|
1063
|
+
return_type = opts[:debug_return_type] || 'TargetInvestigatorsResponse'
|
|
1064
|
+
|
|
1065
|
+
# auth_names
|
|
1066
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1067
|
+
|
|
1068
|
+
new_options = opts.merge(
|
|
1069
|
+
:operation => :"InvestigatorsApi.investigators_target_investigators",
|
|
1070
|
+
:header_params => header_params,
|
|
1071
|
+
:query_params => query_params,
|
|
1072
|
+
:form_params => form_params,
|
|
1073
|
+
:body => post_body,
|
|
1074
|
+
:auth_names => auth_names,
|
|
1075
|
+
:return_type => return_type
|
|
1076
|
+
)
|
|
1077
|
+
|
|
1078
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1079
|
+
if @api_client.config.debugging
|
|
1080
|
+
@api_client.config.logger.debug "API called: InvestigatorsApi#investigators_target_investigators\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1081
|
+
end
|
|
1082
|
+
return data, status_code, headers
|
|
1083
|
+
end
|
|
1084
|
+
|
|
1085
|
+
# Trial investigators
|
|
1086
|
+
# @param id [String]
|
|
1087
|
+
# @param [Hash] opts the optional parameters
|
|
1088
|
+
# @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.
|
|
1089
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1090
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1091
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1092
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1093
|
+
# @return [TrialKolsResponse]
|
|
1094
|
+
def investigators_trial_kols(id, opts = {})
|
|
1095
|
+
data, _status_code, _headers = investigators_trial_kols_with_http_info(id, opts)
|
|
1096
|
+
data
|
|
1097
|
+
end
|
|
1098
|
+
|
|
1099
|
+
# Trial investigators
|
|
1100
|
+
# @param id [String]
|
|
1101
|
+
# @param [Hash] opts the optional parameters
|
|
1102
|
+
# @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.
|
|
1103
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1104
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1105
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1106
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1107
|
+
# @return [Array<(TrialKolsResponse, Integer, Hash)>] TrialKolsResponse data, response status code and response headers
|
|
1108
|
+
def investigators_trial_kols_with_http_info(id, opts = {})
|
|
1109
|
+
if @api_client.config.debugging
|
|
1110
|
+
@api_client.config.logger.debug 'Calling API: InvestigatorsApi.investigators_trial_kols ...'
|
|
1111
|
+
end
|
|
1112
|
+
# verify the required parameter 'id' is set
|
|
1113
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1114
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestigatorsApi.investigators_trial_kols"
|
|
1115
|
+
end
|
|
1116
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1117
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_trial_kols, must be smaller than or equal to 500.'
|
|
1118
|
+
end
|
|
1119
|
+
|
|
1120
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1121
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestigatorsApi.investigators_trial_kols, must be greater than or equal to 1.'
|
|
1122
|
+
end
|
|
1123
|
+
|
|
1124
|
+
# resource path
|
|
1125
|
+
local_var_path = '/api/v1/investigators/{id}/trial_kols'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1126
|
+
|
|
1127
|
+
# query parameters
|
|
1128
|
+
query_params = opts[:query_params] || {}
|
|
1129
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1130
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1131
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1132
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
1133
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
1134
|
+
|
|
1135
|
+
# header parameters
|
|
1136
|
+
header_params = opts[:header_params] || {}
|
|
1137
|
+
# HTTP header 'Accept' (if needed)
|
|
1138
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1139
|
+
|
|
1140
|
+
# form parameters
|
|
1141
|
+
form_params = opts[:form_params] || {}
|
|
1142
|
+
|
|
1143
|
+
# http body (model)
|
|
1144
|
+
post_body = opts[:debug_body]
|
|
1145
|
+
|
|
1146
|
+
# return_type
|
|
1147
|
+
return_type = opts[:debug_return_type] || 'TrialKolsResponse'
|
|
1148
|
+
|
|
1149
|
+
# auth_names
|
|
1150
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1151
|
+
|
|
1152
|
+
new_options = opts.merge(
|
|
1153
|
+
:operation => :"InvestigatorsApi.investigators_trial_kols",
|
|
1154
|
+
:header_params => header_params,
|
|
1155
|
+
:query_params => query_params,
|
|
1156
|
+
:form_params => form_params,
|
|
1157
|
+
:body => post_body,
|
|
1158
|
+
:auth_names => auth_names,
|
|
1159
|
+
:return_type => return_type
|
|
1160
|
+
)
|
|
1161
|
+
|
|
1162
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1163
|
+
if @api_client.config.debugging
|
|
1164
|
+
@api_client.config.logger.debug "API called: InvestigatorsApi#investigators_trial_kols\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1165
|
+
end
|
|
1166
|
+
return data, status_code, headers
|
|
1167
|
+
end
|
|
1168
|
+
end
|
|
1169
|
+
end
|