pharmaobservatory 0.1.6 → 0.1.7
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 +269 -4
- data/docs/BrandCompaniesResponse.md +58 -0
- data/docs/BrandCompaniesRow.md +50 -0
- data/docs/BrandRevenueResponse.md +58 -0
- data/docs/BrandRevenueRow.md +60 -0
- data/docs/CatalystsResponse.md +58 -0
- data/docs/CatalystsRow.md +90 -0
- data/docs/CliaCertificatesResponse.md +58 -0
- data/docs/CliaCertificatesRow.md +80 -0
- data/docs/CompaniesApi.md +1675 -117
- data/docs/CompaniesRecordAttributes.md +3 -1
- data/docs/CompanyFundingEventsRow.md +2 -0
- data/docs/CompanyTrialGeographyResponse.md +58 -0
- data/docs/CompanyTrialGeographyRow.md +52 -0
- data/docs/CompanyTrialSitesResponse.md +58 -0
- data/docs/CompanyTrialSitesRow.md +52 -0
- data/docs/ConditionsApi.md +320 -0
- data/docs/CroFootprintResponse.md +58 -0
- data/docs/CroFootprintRow.md +34 -0
- data/docs/CroTrialsResponse.md +58 -0
- data/docs/CroTrialsRow.md +46 -0
- data/docs/DebarmentsResponse.md +58 -0
- data/docs/DebarmentsRow.md +44 -0
- data/docs/DrugApprovalsResponse.md +58 -0
- data/docs/DrugApprovalsRow.md +28 -0
- data/docs/DrugAspCodesResponse.md +58 -0
- data/docs/DrugAspCodesRow.md +28 -0
- data/docs/DrugBrandsResponse.md +58 -0
- data/docs/DrugBrandsRow.md +60 -0
- data/docs/DrugCombinationsResponse.md +58 -0
- data/docs/DrugCombinationsRow.md +32 -0
- data/docs/DrugDeclaredPatentsResponse.md +58 -0
- data/docs/DrugDeclaredPatentsRow.md +58 -0
- data/docs/DrugLabelSafetyResponse.md +58 -0
- data/docs/DrugLabelSafetyRow.md +32 -0
- data/docs/DrugMedicareSpendResponse.md +58 -0
- data/docs/DrugMedicareSpendRow.md +28 -0
- data/docs/DrugPatentCliffRow.md +3 -1
- data/docs/DrugPatentMentionsResponse.md +58 -0
- data/docs/DrugPatentMentionsRow.md +28 -0
- data/docs/DrugPatentOwnersResponse.md +58 -0
- data/docs/DrugPatentOwnersRow.md +42 -0
- data/docs/DrugPricingResponse.md +58 -0
- data/docs/DrugPricingRow.md +32 -0
- data/docs/DrugRecallsResponse.md +58 -0
- data/docs/DrugRecallsRow.md +34 -0
- data/docs/DrugRegulatoryResponse.md +58 -0
- data/docs/DrugRegulatoryRow.md +38 -0
- data/docs/DrugSitesResponse.md +58 -0
- data/docs/DrugSitesRow.md +28 -0
- data/docs/DrugTargetsResponse.md +58 -0
- data/docs/DrugTargetsRow.md +36 -0
- data/docs/DrugTrialConditionsResponse.md +58 -0
- data/docs/DrugTrialConditionsRow.md +30 -0
- data/docs/DrugTrialsResponse.md +58 -0
- data/docs/DrugTrialsRow.md +58 -0
- data/docs/DrugVariantsResponse.md +58 -0
- data/docs/DrugVariantsRow.md +38 -0
- data/docs/DrugsApi.md +2153 -0
- data/docs/DrugsRecord.md +38 -0
- data/docs/DrugsRecordAttributes.md +20 -0
- data/docs/DrugsResponse.md +58 -0
- data/docs/DrugsRow.md +82 -0
- data/docs/EnforcementEventsResponse.md +58 -0
- data/docs/EnforcementEventsRow.md +64 -0
- data/docs/GxpFacilitiesResponse.md +58 -0
- data/docs/GxpFacilitiesRow.md +152 -0
- data/docs/HospitalBedsYearlyResponse.md +58 -0
- data/docs/HospitalBedsYearlyRow.md +28 -0
- data/docs/HospitalFacilityChangesResponse.md +58 -0
- data/docs/HospitalFacilityChangesRow.md +30 -0
- data/docs/HospitalsApi.md +393 -0
- data/docs/HospitalsRecord.md +38 -0
- data/docs/HospitalsResponse.md +58 -0
- data/docs/HospitalsRow.md +40 -0
- data/docs/ImportRefusalsResponse.md +58 -0
- data/docs/ImportRefusalsRow.md +60 -0
- data/docs/InspectionFindingsResponse.md +58 -0
- data/docs/InspectionFindingsRow.md +48 -0
- data/docs/InspectionsResponse.md +58 -0
- data/docs/InspectionsRow.md +60 -0
- data/docs/InstitutionalQuarterTotalsResponse.md +58 -0
- data/docs/InstitutionalQuarterTotalsRow.md +58 -0
- data/docs/LegalEntitiesApi.md +1379 -179
- data/docs/LegalEntitiesRecordAttributes.md +2 -0
- data/docs/OrgRelationshipsRow.md +1 -1
- data/docs/OwnershipPercentagesResponse.md +58 -0
- data/docs/OwnershipPercentagesRow.md +74 -0
- data/docs/PdufaDatesRow.md +1 -1
- data/docs/ProgramLicensingCandidatesResponse.md +58 -0
- data/docs/ProgramLicensingCandidatesRow.md +58 -0
- data/docs/ProgramsResponse.md +58 -0
- data/docs/ProgramsRow.md +46 -0
- data/docs/RareDiseaseGenesResponse.md +58 -0
- data/docs/RareDiseaseGenesRow.md +50 -0
- data/docs/RareDiseaseHierarchyResponse.md +58 -0
- data/docs/RareDiseaseHierarchyRow.md +40 -0
- data/docs/RareDiseaseInvestigatorCoverageResponse.md +58 -0
- data/docs/RareDiseaseInvestigatorCoverageRow.md +38 -0
- data/docs/RareDiseaseInvestigatorsResponse.md +58 -0
- data/docs/RareDiseaseInvestigatorsRow.md +56 -0
- data/docs/RareDiseaseMappingsResponse.md +58 -0
- data/docs/RareDiseaseMappingsRow.md +44 -0
- data/docs/RareDiseaseOrganizationsResponse.md +58 -0
- data/docs/RareDiseaseOrganizationsRow.md +60 -0
- data/docs/RareDiseasePrevalenceResponse.md +58 -0
- data/docs/RareDiseasePrevalenceRow.md +62 -0
- data/docs/RareDiseaseRarityEvidenceResponse.md +58 -0
- data/docs/RareDiseaseRarityEvidenceRow.md +36 -0
- data/docs/RareDiseaseRarityResponse.md +58 -0
- data/docs/RareDiseaseRarityRow.md +54 -0
- data/docs/RareDiseaseReplacementsResponse.md +58 -0
- data/docs/RareDiseaseReplacementsRow.md +40 -0
- data/docs/RareDiseaseSiteCoverageResponse.md +58 -0
- data/docs/RareDiseaseSiteCoverageRow.md +54 -0
- data/docs/RareDiseaseSponsorsResponse.md +58 -0
- data/docs/RareDiseaseSponsorsRow.md +82 -0
- data/docs/RareDiseaseTrialCoverageResponse.md +58 -0
- data/docs/RareDiseaseTrialCoverageRow.md +58 -0
- data/docs/RareDiseaseTrialSitesResponse.md +58 -0
- data/docs/RareDiseaseTrialSitesRow.md +52 -0
- data/docs/RareDiseaseTrialsResponse.md +58 -0
- data/docs/RareDiseaseTrialsRow.md +90 -0
- data/docs/RareDiseasesApi.md +1353 -0
- data/docs/RareDiseasesRecord.md +38 -0
- data/docs/RareDiseasesRecordAttributes.md +22 -0
- data/docs/RareDiseasesResponse.md +58 -0
- data/docs/RareDiseasesRow.md +68 -0
- data/docs/RecallsResponse.md +58 -0
- data/docs/RecallsRow.md +54 -0
- data/docs/RwdCoverageResponse.md +58 -0
- data/docs/RwdCoverageRow.md +52 -0
- data/docs/RwdRegisterProvenanceResponse.md +58 -0
- data/docs/RwdRegisterProvenanceRow.md +74 -0
- data/docs/RwdRegistersApi.md +313 -0
- data/docs/RwdRegistersRecord.md +38 -0
- data/docs/RwdSourceAgeBandsResponse.md +58 -0
- data/docs/RwdSourceAgeBandsRow.md +40 -0
- data/docs/RwdSourceConditionsResponse.md +58 -0
- data/docs/RwdSourceConditionsRow.md +68 -0
- data/docs/RwdSourceEtlMappingsResponse.md +58 -0
- data/docs/RwdSourceEtlMappingsRow.md +44 -0
- data/docs/RwdSourceLinkagesResponse.md +58 -0
- data/docs/RwdSourceLinkagesRow.md +64 -0
- data/docs/RwdSourceTypesResponse.md +58 -0
- data/docs/RwdSourceTypesRow.md +34 -0
- data/docs/RwdSourceVocabulariesResponse.md +58 -0
- data/docs/RwdSourceVocabulariesRow.md +42 -0
- data/docs/RwdSourcesApi.md +713 -0
- data/docs/RwdSourcesRecord.md +38 -0
- data/docs/RwdSourcesResponse.md +58 -0
- data/docs/RwdSourcesRow.md +280 -0
- data/docs/RwdStudiesApi.md +473 -0
- data/docs/RwdStudiesRecord.md +38 -0
- data/docs/RwdStudiesResponse.md +58 -0
- data/docs/RwdStudiesRow.md +180 -0
- data/docs/RwdStudyConditionsResponse.md +58 -0
- data/docs/RwdStudyConditionsRow.md +54 -0
- data/docs/RwdStudyDataSourcesResponse.md +58 -0
- data/docs/RwdStudyDataSourcesRow.md +54 -0
- data/docs/RwdStudyDrugsResponse.md +58 -0
- data/docs/RwdStudyDrugsRow.md +50 -0
- data/docs/RwdStudyMilestonesResponse.md +58 -0
- data/docs/RwdStudyMilestonesRow.md +54 -0
- data/docs/RwdWithheldFieldsResponse.md +58 -0
- data/docs/RwdWithheldFieldsRow.md +36 -0
- data/docs/SecPdufaDatesResponse.md +58 -0
- data/docs/SecPdufaDatesRow.md +64 -0
- data/docs/TrialChangesRow.md +5 -1
- data/docs/TrialsApi.md +80 -0
- data/docs/TrialsRow.md +9 -1
- data/docs/UnmatchedProductRevenueResponse.md +58 -0
- data/docs/UnmatchedProductRevenueRow.md +80 -0
- data/docs/UntitledLettersResponse.md +58 -0
- data/docs/UntitledLettersRow.md +44 -0
- data/docs/WarningLettersResponse.md +58 -0
- data/docs/WarningLettersRow.md +50 -0
- data/lib/pharmaobservatory/api/companies_api.rb +1936 -207
- data/lib/pharmaobservatory/api/conditions_api.rb +336 -0
- data/lib/pharmaobservatory/api/drugs_api.rb +2261 -0
- data/lib/pharmaobservatory/api/hospitals_api.rb +413 -0
- data/lib/pharmaobservatory/api/legal_entities_api.rb +1442 -182
- data/lib/pharmaobservatory/api/rare_diseases_api.rb +1421 -0
- data/lib/pharmaobservatory/api/rwd_registers_api.rb +329 -0
- data/lib/pharmaobservatory/api/rwd_sources_api.rb +749 -0
- data/lib/pharmaobservatory/api/rwd_studies_api.rb +497 -0
- data/lib/pharmaobservatory/api/trials_api.rb +84 -0
- data/lib/pharmaobservatory/models/brand_companies_response.rb +478 -0
- data/lib/pharmaobservatory/models/brand_companies_row.rb +401 -0
- data/lib/pharmaobservatory/models/brand_revenue_response.rb +478 -0
- data/lib/pharmaobservatory/models/brand_revenue_row.rb +454 -0
- data/lib/pharmaobservatory/models/catalysts_response.rb +478 -0
- data/lib/pharmaobservatory/models/catalysts_row.rb +623 -0
- data/lib/pharmaobservatory/models/clia_certificates_response.rb +478 -0
- data/lib/pharmaobservatory/models/clia_certificates_row.rb +568 -0
- data/lib/pharmaobservatory/models/companies_record_attributes.rb +13 -4
- data/lib/pharmaobservatory/models/company_funding_events_row.rb +12 -1
- data/lib/pharmaobservatory/models/company_trial_geography_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_trial_geography_row.rb +410 -0
- data/lib/pharmaobservatory/models/company_trial_sites_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_trial_sites_row.rb +410 -0
- data/lib/pharmaobservatory/models/cro_footprint_response.rb +478 -0
- data/lib/pharmaobservatory/models/cro_footprint_row.rb +311 -0
- data/lib/pharmaobservatory/models/cro_trials_response.rb +478 -0
- data/lib/pharmaobservatory/models/cro_trials_row.rb +381 -0
- data/lib/pharmaobservatory/models/debarments_response.rb +478 -0
- data/lib/pharmaobservatory/models/debarments_row.rb +366 -0
- data/lib/pharmaobservatory/models/drug_approvals_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_approvals_row.rb +278 -0
- data/lib/pharmaobservatory/models/drug_asp_codes_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_asp_codes_row.rb +278 -0
- data/lib/pharmaobservatory/models/drug_brands_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_brands_row.rb +454 -0
- data/lib/pharmaobservatory/models/drug_combinations_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_combinations_row.rb +300 -0
- data/lib/pharmaobservatory/models/drug_declared_patents_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_declared_patents_row.rb +447 -0
- data/lib/pharmaobservatory/models/drug_label_safety_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_label_safety_row.rb +300 -0
- data/lib/pharmaobservatory/models/drug_medicare_spend_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_medicare_spend_row.rb +280 -0
- data/lib/pharmaobservatory/models/drug_patent_cliff_row.rb +13 -2
- data/lib/pharmaobservatory/models/drug_patent_mentions_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_patent_mentions_row.rb +278 -0
- data/lib/pharmaobservatory/models/drug_patent_owners_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_patent_owners_row.rb +357 -0
- data/lib/pharmaobservatory/models/drug_pricing_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_pricing_row.rb +300 -0
- data/lib/pharmaobservatory/models/drug_recalls_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_recalls_row.rb +311 -0
- data/lib/pharmaobservatory/models/drug_regulatory_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_regulatory_row.rb +333 -0
- data/lib/pharmaobservatory/models/drug_sites_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_sites_row.rb +278 -0
- data/lib/pharmaobservatory/models/drug_targets_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_targets_row.rb +324 -0
- data/lib/pharmaobservatory/models/drug_trial_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_trial_conditions_row.rb +289 -0
- data/lib/pharmaobservatory/models/drug_trials_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_trials_row.rb +445 -0
- data/lib/pharmaobservatory/models/drug_variants_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_variants_row.rb +333 -0
- data/lib/pharmaobservatory/models/drugs_record.rb +385 -0
- data/lib/pharmaobservatory/models/drugs_record_attributes.rb +229 -0
- data/lib/pharmaobservatory/models/drugs_response.rb +478 -0
- data/lib/pharmaobservatory/models/drugs_row.rb +581 -0
- data/lib/pharmaobservatory/models/enforcement_events_response.rb +478 -0
- data/lib/pharmaobservatory/models/enforcement_events_row.rb +476 -0
- data/lib/pharmaobservatory/models/gxp_facilities_response.rb +478 -0
- data/lib/pharmaobservatory/models/gxp_facilities_row.rb +968 -0
- data/lib/pharmaobservatory/models/hospital_beds_yearly_response.rb +478 -0
- data/lib/pharmaobservatory/models/hospital_beds_yearly_row.rb +278 -0
- data/lib/pharmaobservatory/models/hospital_facility_changes_response.rb +478 -0
- data/lib/pharmaobservatory/models/hospital_facility_changes_row.rb +289 -0
- data/lib/pharmaobservatory/models/hospitals_record.rb +385 -0
- data/lib/pharmaobservatory/models/hospitals_response.rb +478 -0
- data/lib/pharmaobservatory/models/hospitals_row.rb +344 -0
- data/lib/pharmaobservatory/models/import_refusals_response.rb +478 -0
- data/lib/pharmaobservatory/models/import_refusals_row.rb +454 -0
- data/lib/pharmaobservatory/models/inspection_findings_response.rb +478 -0
- data/lib/pharmaobservatory/models/inspection_findings_row.rb +388 -0
- data/lib/pharmaobservatory/models/inspections_response.rb +478 -0
- data/lib/pharmaobservatory/models/inspections_row.rb +454 -0
- data/lib/pharmaobservatory/models/institutional_quarter_totals_response.rb +478 -0
- data/lib/pharmaobservatory/models/institutional_quarter_totals_row.rb +443 -0
- data/lib/pharmaobservatory/models/legal_entities_record_attributes.rb +10 -1
- data/lib/pharmaobservatory/models/org_relationships_row.rb +1 -1
- data/lib/pharmaobservatory/models/ownership_percentages_response.rb +478 -0
- data/lib/pharmaobservatory/models/ownership_percentages_row.rb +531 -0
- data/lib/pharmaobservatory/models/pdufa_dates_row.rb +1 -1
- data/lib/pharmaobservatory/models/program_licensing_candidates_response.rb +478 -0
- data/lib/pharmaobservatory/models/program_licensing_candidates_row.rb +445 -0
- data/lib/pharmaobservatory/models/programs_response.rb +478 -0
- data/lib/pharmaobservatory/models/programs_row.rb +377 -0
- data/lib/pharmaobservatory/models/rare_disease_genes_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_genes_row.rb +399 -0
- data/lib/pharmaobservatory/models/rare_disease_hierarchy_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_hierarchy_row.rb +344 -0
- data/lib/pharmaobservatory/models/rare_disease_investigator_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_investigator_coverage_row.rb +333 -0
- data/lib/pharmaobservatory/models/rare_disease_investigators_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_investigators_row.rb +436 -0
- data/lib/pharmaobservatory/models/rare_disease_mappings_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_mappings_row.rb +366 -0
- data/lib/pharmaobservatory/models/rare_disease_organizations_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_organizations_row.rb +454 -0
- data/lib/pharmaobservatory/models/rare_disease_prevalence_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_prevalence_row.rb +465 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_evidence_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_evidence_row.rb +322 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_row.rb +421 -0
- data/lib/pharmaobservatory/models/rare_disease_replacements_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_replacements_row.rb +344 -0
- data/lib/pharmaobservatory/models/rare_disease_site_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_site_coverage_row.rb +421 -0
- data/lib/pharmaobservatory/models/rare_disease_sponsors_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_sponsors_row.rb +575 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_coverage_row.rb +449 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_sites_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_sites_row.rb +412 -0
- data/lib/pharmaobservatory/models/rare_disease_trials_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_trials_row.rb +623 -0
- data/lib/pharmaobservatory/models/rare_diseases_record.rb +385 -0
- data/lib/pharmaobservatory/models/rare_diseases_record_attributes.rb +238 -0
- data/lib/pharmaobservatory/models/rare_diseases_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_diseases_row.rb +500 -0
- data/lib/pharmaobservatory/models/recalls_response.rb +478 -0
- data/lib/pharmaobservatory/models/recalls_row.rb +421 -0
- data/lib/pharmaobservatory/models/rwd_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_coverage_row.rb +410 -0
- data/lib/pharmaobservatory/models/rwd_register_provenance_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_register_provenance_row.rb +531 -0
- data/lib/pharmaobservatory/models/rwd_registers_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_source_age_bands_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_age_bands_row.rb +344 -0
- data/lib/pharmaobservatory/models/rwd_source_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_conditions_row.rb +502 -0
- data/lib/pharmaobservatory/models/rwd_source_etl_mappings_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_etl_mappings_row.rb +366 -0
- data/lib/pharmaobservatory/models/rwd_source_linkages_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_linkages_row.rb +476 -0
- data/lib/pharmaobservatory/models/rwd_source_types_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_types_row.rb +311 -0
- data/lib/pharmaobservatory/models/rwd_source_vocabularies_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_vocabularies_row.rb +355 -0
- data/lib/pharmaobservatory/models/rwd_sources_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_sources_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_sources_row.rb +1674 -0
- data/lib/pharmaobservatory/models/rwd_studies_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_studies_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_studies_row.rb +1138 -0
- data/lib/pharmaobservatory/models/rwd_study_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_conditions_row.rb +421 -0
- data/lib/pharmaobservatory/models/rwd_study_data_sources_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_data_sources_row.rb +423 -0
- data/lib/pharmaobservatory/models/rwd_study_drugs_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_drugs_row.rb +401 -0
- data/lib/pharmaobservatory/models/rwd_study_milestones_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_milestones_row.rb +421 -0
- data/lib/pharmaobservatory/models/rwd_withheld_fields_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_withheld_fields_row.rb +322 -0
- data/lib/pharmaobservatory/models/sec_pdufa_dates_response.rb +478 -0
- data/lib/pharmaobservatory/models/sec_pdufa_dates_row.rb +476 -0
- data/lib/pharmaobservatory/models/trial_changes_row.rb +24 -2
- data/lib/pharmaobservatory/models/trials_row.rb +47 -3
- data/lib/pharmaobservatory/models/unmatched_product_revenue_response.rb +478 -0
- data/lib/pharmaobservatory/models/unmatched_product_revenue_row.rb +564 -0
- data/lib/pharmaobservatory/models/untitled_letters_response.rb +478 -0
- data/lib/pharmaobservatory/models/untitled_letters_row.rb +366 -0
- data/lib/pharmaobservatory/models/warning_letters_response.rb +478 -0
- data/lib/pharmaobservatory/models/warning_letters_row.rb +399 -0
- data/lib/pharmaobservatory/version.rb +1 -1
- data/lib/pharmaobservatory.rb +164 -0
- metadata +330 -2
data/docs/DrugsRecord.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# PharmaObservatory::DrugsRecord
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **object_type** | **String** | | |
|
|
8
|
+
| **id** | **String** | | |
|
|
9
|
+
| **record** | [**DrugsRow**](DrugsRow.md) | | |
|
|
10
|
+
| **attributes** | [**DrugsRecordAttributes**](DrugsRecordAttributes.md) | | [optional] |
|
|
11
|
+
| **datasets** | [**Array<DatasetListing>**](DatasetListing.md) | | |
|
|
12
|
+
| **attribution** | [**Array<DatasetAttribution>**](DatasetAttribution.md) | | [optional] |
|
|
13
|
+
| **source_credit** | **String** | | [optional] |
|
|
14
|
+
| **freshness** | [**BiomarkerAssayEvidenceResponseFreshness**](BiomarkerAssayEvidenceResponseFreshness.md) | | [optional] |
|
|
15
|
+
| **build** | [**BiomarkerAssayEvidenceResponseBuild**](BiomarkerAssayEvidenceResponseBuild.md) | | [optional] |
|
|
16
|
+
| **build_state** | [**DatasetBuildState**](DatasetBuildState.md) | | [optional] |
|
|
17
|
+
| **restriction** | **Hash<String, Object>** | | [optional] |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'pharmaobservatory'
|
|
23
|
+
|
|
24
|
+
instance = PharmaObservatory::DrugsRecord.new(
|
|
25
|
+
object_type: null,
|
|
26
|
+
id: null,
|
|
27
|
+
record: null,
|
|
28
|
+
attributes: null,
|
|
29
|
+
datasets: null,
|
|
30
|
+
attribution: null,
|
|
31
|
+
source_credit: null,
|
|
32
|
+
freshness: null,
|
|
33
|
+
build: null,
|
|
34
|
+
build_state: null,
|
|
35
|
+
restriction: null
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# PharmaObservatory::DrugsRecordAttributes
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **drug_label_safety** | [**DrugLabelSafetyRow**](DrugLabelSafetyRow.md) | | [optional] |
|
|
8
|
+
| **drug_regulatory** | [**DrugRegulatoryRow**](DrugRegulatoryRow.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'pharmaobservatory'
|
|
14
|
+
|
|
15
|
+
instance = PharmaObservatory::DrugsRecordAttributes.new(
|
|
16
|
+
drug_label_safety: null,
|
|
17
|
+
drug_regulatory: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# PharmaObservatory::DrugsResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **dataset** | **String** | | |
|
|
8
|
+
| **grain** | **String** | | [optional] |
|
|
9
|
+
| **object_type** | **String** | | [optional] |
|
|
10
|
+
| **id** | **String** | | [optional] |
|
|
11
|
+
| **scope** | [**BiomarkerAssayEvidenceResponseScope**](BiomarkerAssayEvidenceResponseScope.md) | | [optional] |
|
|
12
|
+
| **columns** | [**Array<DatasetColumn>**](DatasetColumn.md) | | |
|
|
13
|
+
| **rows** | [**Array<DrugsRow>**](DrugsRow.md) | | |
|
|
14
|
+
| **total** | **Integer** | The exact count of the filtered rows on an ungrouped read, carried by the cursor; null when grouped. | [optional] |
|
|
15
|
+
| **next_cursor** | **String** | | [optional] |
|
|
16
|
+
| **sort** | **Array<String>** | | [optional] |
|
|
17
|
+
| **filters** | **Array<Hash<String, Object>>** | | [optional] |
|
|
18
|
+
| **group_by** | **Array<String>** | | [optional] |
|
|
19
|
+
| **measures** | **Array<String>** | | [optional] |
|
|
20
|
+
| **attribution** | [**Array<DatasetAttribution>**](DatasetAttribution.md) | | [optional] |
|
|
21
|
+
| **source_credit** | **String** | | [optional] |
|
|
22
|
+
| **withheld_tiers** | **Array<String>** | | [optional] |
|
|
23
|
+
| **withheld_columns** | **Array<String>** | | [optional] |
|
|
24
|
+
| **freshness** | [**BiomarkerAssayEvidenceResponseFreshness**](BiomarkerAssayEvidenceResponseFreshness.md) | | [optional] |
|
|
25
|
+
| **build** | [**BiomarkerAssayEvidenceResponseBuild**](BiomarkerAssayEvidenceResponseBuild.md) | | [optional] |
|
|
26
|
+
| **build_state** | [**DatasetBuildState**](DatasetBuildState.md) | | [optional] |
|
|
27
|
+
| **restriction** | **Hash<String, Object>** | | [optional] |
|
|
28
|
+
|
|
29
|
+
## Example
|
|
30
|
+
|
|
31
|
+
```ruby
|
|
32
|
+
require 'pharmaobservatory'
|
|
33
|
+
|
|
34
|
+
instance = PharmaObservatory::DrugsResponse.new(
|
|
35
|
+
dataset: null,
|
|
36
|
+
grain: null,
|
|
37
|
+
object_type: null,
|
|
38
|
+
id: null,
|
|
39
|
+
scope: null,
|
|
40
|
+
columns: null,
|
|
41
|
+
rows: null,
|
|
42
|
+
total: null,
|
|
43
|
+
next_cursor: null,
|
|
44
|
+
sort: null,
|
|
45
|
+
filters: null,
|
|
46
|
+
group_by: null,
|
|
47
|
+
measures: null,
|
|
48
|
+
attribution: null,
|
|
49
|
+
source_credit: null,
|
|
50
|
+
withheld_tiers: null,
|
|
51
|
+
withheld_columns: null,
|
|
52
|
+
freshness: null,
|
|
53
|
+
build: null,
|
|
54
|
+
build_state: null,
|
|
55
|
+
restriction: null
|
|
56
|
+
)
|
|
57
|
+
```
|
|
58
|
+
|
data/docs/DrugsRow.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# PharmaObservatory::DrugsRow
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **molecule_id** | **String** | The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule. | [optional] |
|
|
8
|
+
| **molecule_name** | **String** | The drug's display name, from its lead record. | [optional] |
|
|
9
|
+
| **substance_name** | **String** | The preferred substance name in the FDA substance registry. | [optional] |
|
|
10
|
+
| **inn_name** | **String** | The International Nonproprietary Name (INN) where one is recorded. | [optional] |
|
|
11
|
+
| **unii** | **String** | The FDA Unique Ingredient Identifier (UNII) of the lead record. | [optional] |
|
|
12
|
+
| **cas** | **String** | The Chemical Abstracts Service (CAS) registry number of the lead record. | [optional] |
|
|
13
|
+
| **chembl_id** | **String** | The ChEMBL compound id of the lead record. | [optional] |
|
|
14
|
+
| **substance_type** | **String** | The registry's substance type (chemical, protein, mixture and so on). | [optional] |
|
|
15
|
+
| **atc_code** | **String** | The Anatomical Therapeutic Chemical (ATC) code. | [optional] |
|
|
16
|
+
| **atc_class** | **String** | The top-level ATC class. | [optional] |
|
|
17
|
+
| **pharm_class** | **String** | The pharmacologic class the FDA registry gives the substance. | [optional] |
|
|
18
|
+
| **is_biologic** | **Boolean** | True when the substance is a biologic, by the registry, Drugs@FDA or the Purple Book. | [optional] |
|
|
19
|
+
| **is_marketed** | **Boolean** | True when the drug has a package in the US National Drug Code (NDC) directory. | [optional] |
|
|
20
|
+
| **withdrawn** | **Boolean** | True when ChEMBL records the drug as withdrawn somewhere. | [optional] |
|
|
21
|
+
| **approved_anywhere** | **Boolean** | True when the drug is approved in at least one jurisdiction. | [optional] |
|
|
22
|
+
| **approved_in** | **Array<String>** | The regulators whose approval is recorded (FDA, EMA, Health Canada). | [optional] |
|
|
23
|
+
| **first_approval_year** | **Integer** | The earliest approval year ChEMBL records. | [optional] |
|
|
24
|
+
| **max_phase** | **Integer** | The highest development phase reached across the folded records (4 is approved). | [optional] |
|
|
25
|
+
| **n_trials** | **Integer** | Registered trials that study the drug or a record folded under it. | [optional] |
|
|
26
|
+
| **n_members** | **Integer** | Drug records folded into this drug, the lead included. | [optional] |
|
|
27
|
+
| **member_ids** | **Array<String>** | The drug record ids folded into this drug, the lead included. The ids other datasets name drug_id. | [optional] |
|
|
28
|
+
| **variant_count** | **Integer** | Variant records folded under the molecule; null when the drug is not a molecule. | [optional] |
|
|
29
|
+
| **brands** | **Array<String>** | The brand keys that resolve to the drug. | [optional] |
|
|
30
|
+
| **brand_count** | **Integer** | The number of brand keys. | [optional] |
|
|
31
|
+
| **is_molecule** | **Boolean** | True when the drug has a chemical-entities page. | [optional] |
|
|
32
|
+
| **is_combination** | **Boolean** | True when the drug is a combination product of two or more components. | [optional] |
|
|
33
|
+
| **has_boxed_warning** | **Boolean** | True when the drug's current label carries a boxed warning; null when no label is on record. | [optional] |
|
|
34
|
+
| **smiles** | **String** | The canonical SMILES string of the structure (ChEMBL). | [optional] |
|
|
35
|
+
| **inchikey** | **String** | The InChIKey of the structure (ChEMBL). | [optional] |
|
|
36
|
+
| **n_patent_mentions** | **Integer** | Patents that mention the drug in the SureChEMBL corpus. | [optional] |
|
|
37
|
+
| **n_patent_families** | **Integer** | Distinct patent families among those mentions. | [optional] |
|
|
38
|
+
| **first_patent_mention** | **Date** | Publication date of the earliest mentioning patent. | [optional] |
|
|
39
|
+
| **last_patent_mention** | **Date** | Publication date of the latest mentioning patent. | [optional] |
|
|
40
|
+
|
|
41
|
+
## Example
|
|
42
|
+
|
|
43
|
+
```ruby
|
|
44
|
+
require 'pharmaobservatory'
|
|
45
|
+
|
|
46
|
+
instance = PharmaObservatory::DrugsRow.new(
|
|
47
|
+
molecule_id: null,
|
|
48
|
+
molecule_name: null,
|
|
49
|
+
substance_name: null,
|
|
50
|
+
inn_name: null,
|
|
51
|
+
unii: null,
|
|
52
|
+
cas: null,
|
|
53
|
+
chembl_id: null,
|
|
54
|
+
substance_type: null,
|
|
55
|
+
atc_code: null,
|
|
56
|
+
atc_class: null,
|
|
57
|
+
pharm_class: null,
|
|
58
|
+
is_biologic: null,
|
|
59
|
+
is_marketed: null,
|
|
60
|
+
withdrawn: null,
|
|
61
|
+
approved_anywhere: null,
|
|
62
|
+
approved_in: null,
|
|
63
|
+
first_approval_year: null,
|
|
64
|
+
max_phase: null,
|
|
65
|
+
n_trials: null,
|
|
66
|
+
n_members: null,
|
|
67
|
+
member_ids: null,
|
|
68
|
+
variant_count: null,
|
|
69
|
+
brands: null,
|
|
70
|
+
brand_count: null,
|
|
71
|
+
is_molecule: null,
|
|
72
|
+
is_combination: null,
|
|
73
|
+
has_boxed_warning: null,
|
|
74
|
+
smiles: null,
|
|
75
|
+
inchikey: null,
|
|
76
|
+
n_patent_mentions: null,
|
|
77
|
+
n_patent_families: null,
|
|
78
|
+
first_patent_mention: null,
|
|
79
|
+
last_patent_mention: null
|
|
80
|
+
)
|
|
81
|
+
```
|
|
82
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# PharmaObservatory::EnforcementEventsResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **dataset** | **String** | | |
|
|
8
|
+
| **grain** | **String** | | [optional] |
|
|
9
|
+
| **object_type** | **String** | | [optional] |
|
|
10
|
+
| **id** | **String** | | [optional] |
|
|
11
|
+
| **scope** | [**BiomarkerAssayEvidenceResponseScope**](BiomarkerAssayEvidenceResponseScope.md) | | [optional] |
|
|
12
|
+
| **columns** | [**Array<DatasetColumn>**](DatasetColumn.md) | | |
|
|
13
|
+
| **rows** | [**Array<EnforcementEventsRow>**](EnforcementEventsRow.md) | | |
|
|
14
|
+
| **total** | **Integer** | The exact count of the filtered rows on an ungrouped read, carried by the cursor; null when grouped. | [optional] |
|
|
15
|
+
| **next_cursor** | **String** | | [optional] |
|
|
16
|
+
| **sort** | **Array<String>** | | [optional] |
|
|
17
|
+
| **filters** | **Array<Hash<String, Object>>** | | [optional] |
|
|
18
|
+
| **group_by** | **Array<String>** | | [optional] |
|
|
19
|
+
| **measures** | **Array<String>** | | [optional] |
|
|
20
|
+
| **attribution** | [**Array<DatasetAttribution>**](DatasetAttribution.md) | | [optional] |
|
|
21
|
+
| **source_credit** | **String** | | [optional] |
|
|
22
|
+
| **withheld_tiers** | **Array<String>** | | [optional] |
|
|
23
|
+
| **withheld_columns** | **Array<String>** | | [optional] |
|
|
24
|
+
| **freshness** | [**BiomarkerAssayEvidenceResponseFreshness**](BiomarkerAssayEvidenceResponseFreshness.md) | | [optional] |
|
|
25
|
+
| **build** | [**BiomarkerAssayEvidenceResponseBuild**](BiomarkerAssayEvidenceResponseBuild.md) | | [optional] |
|
|
26
|
+
| **build_state** | [**DatasetBuildState**](DatasetBuildState.md) | | [optional] |
|
|
27
|
+
| **restriction** | **Hash<String, Object>** | | [optional] |
|
|
28
|
+
|
|
29
|
+
## Example
|
|
30
|
+
|
|
31
|
+
```ruby
|
|
32
|
+
require 'pharmaobservatory'
|
|
33
|
+
|
|
34
|
+
instance = PharmaObservatory::EnforcementEventsResponse.new(
|
|
35
|
+
dataset: null,
|
|
36
|
+
grain: null,
|
|
37
|
+
object_type: null,
|
|
38
|
+
id: null,
|
|
39
|
+
scope: null,
|
|
40
|
+
columns: null,
|
|
41
|
+
rows: null,
|
|
42
|
+
total: null,
|
|
43
|
+
next_cursor: null,
|
|
44
|
+
sort: null,
|
|
45
|
+
filters: null,
|
|
46
|
+
group_by: null,
|
|
47
|
+
measures: null,
|
|
48
|
+
attribution: null,
|
|
49
|
+
source_credit: null,
|
|
50
|
+
withheld_tiers: null,
|
|
51
|
+
withheld_columns: null,
|
|
52
|
+
freshness: null,
|
|
53
|
+
build: null,
|
|
54
|
+
build_state: null,
|
|
55
|
+
restriction: null
|
|
56
|
+
)
|
|
57
|
+
```
|
|
58
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# PharmaObservatory::EnforcementEventsRow
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **event_id** | **String** | The event id: a hash of the lane and the lane's own key, unique across lanes. | [optional] |
|
|
8
|
+
| **source** | **String** | The lane the event came from: inspection_483 (an FDA inspection), import_refusal, warning_letter, untitled_letter, debarment or recall. | [optional] |
|
|
9
|
+
| **event_date** | **Date** | The event date: the inspection date, refusal date, letter issue date (posted date when there is none), debarment effective date or recall initiation date. | [optional] |
|
|
10
|
+
| **domain** | **String** | The regulatory domain of the event, derived from the lane's own classifier: drug, biologic, device, veterinary, food, cosmetic, tobacco or other. | [optional] |
|
|
11
|
+
| **is_biomedical** | **Boolean** | True when domain is drug, biologic or device. | [optional] |
|
|
12
|
+
| **headline** | **String** | A one-line description: the inspection product type, the refused product, the letter subject, the debarment type or the recalled product. | [optional] |
|
|
13
|
+
| **detail** | **String** | The lane's supporting text: the cited regulations of an inspection, the refusal charges, the issuing office of a warning letter, the debarment term and citation, or the recall reason. | [optional] |
|
|
14
|
+
| **classification** | **String** | The inspection outcome (NAI no action indicated, VAI voluntary action indicated, OAI official action indicated); null for every other lane. | [optional] |
|
|
15
|
+
| **recall_class** | **String** | The recall severity class (Class I, II or III); null for every other lane. | [optional] |
|
|
16
|
+
| **had_483** | **Boolean** | True when the inspection ended with a Form 483 of observations; null for every other lane. | [optional] |
|
|
17
|
+
| **source_url** | **String** | The regulator's page for the event, where the lane has one. | [optional] |
|
|
18
|
+
| **source_ref** | **String** | The lane's own reference, where it has one: the letter id, debarment id or recall number. | [optional] |
|
|
19
|
+
| **device_class** | **String** | The FDA device class of an import-refusal product, from the device classification dimension; null for every other lane. | [optional] |
|
|
20
|
+
| **device_specialty** | **String** | The medical specialty of an import-refusal device product; null for every other lane. | [optional] |
|
|
21
|
+
| **is_low_signal_device** | **Boolean** | True for a device event the biomedical view hides by default (a low-signal commodity class). | [optional] |
|
|
22
|
+
| **firm_name** | **String** | The firm's name as filed with the regulator (the party named on the record, an individual for an individual debarment). | [optional] |
|
|
23
|
+
| **firm_org_id** | **String** | Legal-entity level: the organization record the firm resolved to (null when the firm did not resolve). | [optional] |
|
|
24
|
+
| **firm_company_id** | **String** | Company level: the firm's company (null when unresolved); the entry key for the companies object type. | [optional] |
|
|
25
|
+
| **firm_company_name** | **String** | Display name of the firm's company. | [optional] |
|
|
26
|
+
| **firm_group_id** | **String** | Group level: the firm's current ultimate parent; a root's group is itself. | [optional] |
|
|
27
|
+
| **firm_group_name** | **String** | Display name of the firm's group. | [optional] |
|
|
28
|
+
| **match_tier** | **String** | How well the firm name was attached to an organization: high, medium or low name-and-geography matches, registry (the operating firm of a registered facility), ambiguous or unresolved. | [optional] |
|
|
29
|
+
| **org_resolution_method** | **String** | The route that attached the firm: fei_bridge (the FDA establishment identifier bridge), fei_firm_mint or fei_firm_fold (the operating firm's registry record), firm_name_geo (name and geography), firm_name_only (name alone) or unresolved. | [optional] |
|
|
30
|
+
| **is_org_resolved** | **Boolean** | True when the firm was attached to an organization. A false row is kept with null firm ids and the name as filed, so an empty read for a company is not proof of no enforcement history. | [optional] |
|
|
31
|
+
|
|
32
|
+
## Example
|
|
33
|
+
|
|
34
|
+
```ruby
|
|
35
|
+
require 'pharmaobservatory'
|
|
36
|
+
|
|
37
|
+
instance = PharmaObservatory::EnforcementEventsRow.new(
|
|
38
|
+
event_id: null,
|
|
39
|
+
source: null,
|
|
40
|
+
event_date: null,
|
|
41
|
+
domain: null,
|
|
42
|
+
is_biomedical: null,
|
|
43
|
+
headline: null,
|
|
44
|
+
detail: null,
|
|
45
|
+
classification: null,
|
|
46
|
+
recall_class: null,
|
|
47
|
+
had_483: null,
|
|
48
|
+
source_url: null,
|
|
49
|
+
source_ref: null,
|
|
50
|
+
device_class: null,
|
|
51
|
+
device_specialty: null,
|
|
52
|
+
is_low_signal_device: null,
|
|
53
|
+
firm_name: null,
|
|
54
|
+
firm_org_id: null,
|
|
55
|
+
firm_company_id: null,
|
|
56
|
+
firm_company_name: null,
|
|
57
|
+
firm_group_id: null,
|
|
58
|
+
firm_group_name: null,
|
|
59
|
+
match_tier: null,
|
|
60
|
+
org_resolution_method: null,
|
|
61
|
+
is_org_resolved: null
|
|
62
|
+
)
|
|
63
|
+
```
|
|
64
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# PharmaObservatory::GxpFacilitiesResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **dataset** | **String** | | |
|
|
8
|
+
| **grain** | **String** | | [optional] |
|
|
9
|
+
| **object_type** | **String** | | [optional] |
|
|
10
|
+
| **id** | **String** | | [optional] |
|
|
11
|
+
| **scope** | [**BiomarkerAssayEvidenceResponseScope**](BiomarkerAssayEvidenceResponseScope.md) | | [optional] |
|
|
12
|
+
| **columns** | [**Array<DatasetColumn>**](DatasetColumn.md) | | |
|
|
13
|
+
| **rows** | [**Array<GxpFacilitiesRow>**](GxpFacilitiesRow.md) | | |
|
|
14
|
+
| **total** | **Integer** | The exact count of the filtered rows on an ungrouped read, carried by the cursor; null when grouped. | [optional] |
|
|
15
|
+
| **next_cursor** | **String** | | [optional] |
|
|
16
|
+
| **sort** | **Array<String>** | | [optional] |
|
|
17
|
+
| **filters** | **Array<Hash<String, Object>>** | | [optional] |
|
|
18
|
+
| **group_by** | **Array<String>** | | [optional] |
|
|
19
|
+
| **measures** | **Array<String>** | | [optional] |
|
|
20
|
+
| **attribution** | [**Array<DatasetAttribution>**](DatasetAttribution.md) | | [optional] |
|
|
21
|
+
| **source_credit** | **String** | | [optional] |
|
|
22
|
+
| **withheld_tiers** | **Array<String>** | | [optional] |
|
|
23
|
+
| **withheld_columns** | **Array<String>** | | [optional] |
|
|
24
|
+
| **freshness** | [**BiomarkerAssayEvidenceResponseFreshness**](BiomarkerAssayEvidenceResponseFreshness.md) | | [optional] |
|
|
25
|
+
| **build** | [**BiomarkerAssayEvidenceResponseBuild**](BiomarkerAssayEvidenceResponseBuild.md) | | [optional] |
|
|
26
|
+
| **build_state** | [**DatasetBuildState**](DatasetBuildState.md) | | [optional] |
|
|
27
|
+
| **restriction** | **Hash<String, Object>** | | [optional] |
|
|
28
|
+
|
|
29
|
+
## Example
|
|
30
|
+
|
|
31
|
+
```ruby
|
|
32
|
+
require 'pharmaobservatory'
|
|
33
|
+
|
|
34
|
+
instance = PharmaObservatory::GxpFacilitiesResponse.new(
|
|
35
|
+
dataset: null,
|
|
36
|
+
grain: null,
|
|
37
|
+
object_type: null,
|
|
38
|
+
id: null,
|
|
39
|
+
scope: null,
|
|
40
|
+
columns: null,
|
|
41
|
+
rows: null,
|
|
42
|
+
total: null,
|
|
43
|
+
next_cursor: null,
|
|
44
|
+
sort: null,
|
|
45
|
+
filters: null,
|
|
46
|
+
group_by: null,
|
|
47
|
+
measures: null,
|
|
48
|
+
attribution: null,
|
|
49
|
+
source_credit: null,
|
|
50
|
+
withheld_tiers: null,
|
|
51
|
+
withheld_columns: null,
|
|
52
|
+
freshness: null,
|
|
53
|
+
build: null,
|
|
54
|
+
build_state: null,
|
|
55
|
+
restriction: null
|
|
56
|
+
)
|
|
57
|
+
```
|
|
58
|
+
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
# PharmaObservatory::GxpFacilitiesRow
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **facility_key** | **String** | The canonical facility id. | [optional] |
|
|
8
|
+
| **registry_facility_keys** | **Array<String>** | The registry records the facility is made of, each as registry:native site id (for example fda_fei:3004123456), sorted. | [optional] |
|
|
9
|
+
| **facility_name** | **String** | The facility's name. | [optional] |
|
|
10
|
+
| **member_count** | **Integer** | How many registry records are clustered into the facility. | [optional] |
|
|
11
|
+
| **address_line** | **String** | The street address. | [optional] |
|
|
12
|
+
| **city** | **String** | The city. | [optional] |
|
|
13
|
+
| **state_region** | **String** | The state or region. | [optional] |
|
|
14
|
+
| **postal** | **String** | The postal code. | [optional] |
|
|
15
|
+
| **country** | **String** | The two-letter country code. | [optional] |
|
|
16
|
+
| **latitude** | **Float** | Latitude in degrees (WGS84), for the map tool. | [optional] |
|
|
17
|
+
| **longitude** | **Float** | Longitude in degrees (WGS84), for the map tool. | [optional] |
|
|
18
|
+
| **geocode_precision** | **String** | What a pin locates: for example a street address, a postal code or only a city. | [optional] |
|
|
19
|
+
| **coord_source** | **String** | Where the coordinates came from: geonames (GeoNames) or als (Amazon Location Service); it names the attribution to show. | [optional] |
|
|
20
|
+
| **firm_name** | **String** | The operating firm's name where the facility resolved to an organization; the facility name where it did not. | [optional] |
|
|
21
|
+
| **firm_org_id** | **String** | Legal-entity level: the organization record the firm resolved to (null when the firm did not resolve). | [optional] |
|
|
22
|
+
| **firm_company_id** | **String** | Company level: the firm's company (null when unresolved); the entry key for the companies object type. | [optional] |
|
|
23
|
+
| **firm_company_name** | **String** | Display name of the firm's company. | [optional] |
|
|
24
|
+
| **firm_group_id** | **String** | Group level: the firm's current ultimate parent; a root's group is itself. | [optional] |
|
|
25
|
+
| **firm_group_name** | **String** | Display name of the firm's group. | [optional] |
|
|
26
|
+
| **is_org_resolved** | **Boolean** | True when the facility was attached to an operating organization. A false row is kept with null firm ids. | [optional] |
|
|
27
|
+
| **match_tier** | **String** | How the operating firm was attached: registry (the firm's own registry record), high, medium or low name-and-geography matches, or null. | [optional] |
|
|
28
|
+
| **domains** | **Array<String>** | The regulatory domains of the facility's signals (drug, biologic, device, veterinary, food, cosmetic, tobacco). | [optional] |
|
|
29
|
+
| **primary_domain** | **String** | The domain with the most signals. | [optional] |
|
|
30
|
+
| **is_drug_facility** | **Boolean** | True when the registers say the site makes medicines (an FDA drug registration, or an EU or Canadian medicines register entry). | [optional] |
|
|
31
|
+
| **is_device_facility** | **Boolean** | True when the registers say the site makes devices. | [optional] |
|
|
32
|
+
| **register_domain** | **String** | The display bucket over the two flags: drug, device, drug_and_device or non_medicine. | [optional] |
|
|
33
|
+
| **device_classification_status** | **String** | The registered-product rollup for a device facility: material, unresolved, low_signal or not_applicable. | [optional] |
|
|
34
|
+
| **is_low_signal_device** | **Boolean** | True when the facility's device products are all low-signal commodity classes. | [optional] |
|
|
35
|
+
| **regulators** | **Array<String>** | The regulators holding a registry record for the facility (fda, ema, health_canada), sorted. | [optional] |
|
|
36
|
+
| **n_regulators** | **Integer** | How many regulators hold a registry record. | [optional] |
|
|
37
|
+
| **is_multi_regulator** | **Boolean** | True when more than one regulator holds a record: the corroboration flag. | [optional] |
|
|
38
|
+
| **org_regulators** | **Array<String>** | The regulators holding an organization-level record for the operating firm (this carries the UK MHRA leg). | [optional] |
|
|
39
|
+
| **severity_rank** | **Integer** | The in-force site-scope severity, 0 (no signal) to 4 (non-compliant). | [optional] |
|
|
40
|
+
| **severity_level** | **String** | The in-force site-scope severity: no_signal, clean, advisory, action or non_compliant. | [optional] |
|
|
41
|
+
| **severity_source** | **String** | The regulator behind the severity: fda, ema, health_canada or mhra. | [optional] |
|
|
42
|
+
| **severity_signal_type** | **String** | The kind of signal behind the severity (for example an inspection classification). | [optional] |
|
|
43
|
+
| **severity_raw_verdict** | **String** | The regulator's own verdict behind the severity (for example OAI). | [optional] |
|
|
44
|
+
| **severity_signal_date** | **Date** | The date of the signal behind the severity. | [optional] |
|
|
45
|
+
| **worst_severity_rank_ever** | **Integer** | The highest site-scope severity the facility has ever had, 0 to 4. | [optional] |
|
|
46
|
+
| **worst_severity_level_ever** | **String** | The worst severity ever: no_signal, clean, advisory, action or non_compliant. | [optional] |
|
|
47
|
+
| **has_quality_signal** | **Boolean** | True when the facility has any quality signal. | [optional] |
|
|
48
|
+
| **latest_signal_date** | **Date** | The date of the latest signal of any scope. | [optional] |
|
|
49
|
+
| **n_signals_total** | **Integer** | Signals of any scope, all time. | [optional] |
|
|
50
|
+
| **n_signals_365d** | **Integer** | Signals in the last 365 days of the build. | [optional] |
|
|
51
|
+
| **n_inspections** | **Integer** | Inspections of the site by any regulator. | [optional] |
|
|
52
|
+
| **latest_inspection_date** | **Date** | The date of the latest inspection by any regulator. | [optional] |
|
|
53
|
+
| **n_fda_inspections** | **Integer** | FDA inspections of the site. | [optional] |
|
|
54
|
+
| **latest_fda_inspection_date** | **Date** | The date of the latest FDA inspection. | [optional] |
|
|
55
|
+
| **latest_inspection_classification** | **String** | The latest FDA inspection outcome (NAI, VAI or OAI). | [optional] |
|
|
56
|
+
| **n_inspections_nai** | **Integer** | FDA inspections classified NAI. | [optional] |
|
|
57
|
+
| **n_inspections_vai** | **Integer** | FDA inspections classified VAI. | [optional] |
|
|
58
|
+
| **n_inspections_oai** | **Integer** | FDA inspections classified OAI. | [optional] |
|
|
59
|
+
| **n_483** | **Integer** | FDA inspections that ended with a Form 483. | [optional] |
|
|
60
|
+
| **n_hc_inspections** | **Integer** | Health Canada inspections of the site. | [optional] |
|
|
61
|
+
| **latest_hc_inspection_date** | **Date** | The date of the latest Health Canada inspection. | [optional] |
|
|
62
|
+
| **latest_hc_inspection_rating** | **String** | The latest Health Canada rating (for example compliant or non-compliant). | [optional] |
|
|
63
|
+
| **n_hc_inspections_non_compliant** | **Integer** | Health Canada inspections rated non-compliant. | [optional] |
|
|
64
|
+
| **n_import_refusals** | **Integer** | FDA import refusals at the site. | [optional] |
|
|
65
|
+
| **latest_import_refusal_date** | **Date** | The date of the latest import refusal. | [optional] |
|
|
66
|
+
| **n_gmp_certificates** | **Integer** | EU GMP certificates of the site. | [optional] |
|
|
67
|
+
| **latest_gmp_certificate_date** | **Date** | The date of the latest EU GMP certificate. | [optional] |
|
|
68
|
+
| **n_noncompliance_statements** | **Integer** | EU GMP non-compliance statements about the site. | [optional] |
|
|
69
|
+
| **latest_noncompliance_statement_date** | **Date** | The date of the latest EU non-compliance statement. | [optional] |
|
|
70
|
+
| **n_licences** | **Integer** | Health Canada establishment licences of the site. | [optional] |
|
|
71
|
+
| **licence_status** | **String** | The licence status (the strictest licence of the site). | [optional] |
|
|
72
|
+
| **org_n_licence_actions** | **Integer** | UK MHRA licence suspensions or revocations against the firm (repeated; does not add). | [optional] |
|
|
73
|
+
| **org_latest_licence_action_date** | **Date** | The date of the firm's latest licence action. | [optional] |
|
|
74
|
+
| **as_of** | **Date** | The build date the counts are as of. | [optional] |
|
|
75
|
+
|
|
76
|
+
## Example
|
|
77
|
+
|
|
78
|
+
```ruby
|
|
79
|
+
require 'pharmaobservatory'
|
|
80
|
+
|
|
81
|
+
instance = PharmaObservatory::GxpFacilitiesRow.new(
|
|
82
|
+
facility_key: null,
|
|
83
|
+
registry_facility_keys: null,
|
|
84
|
+
facility_name: null,
|
|
85
|
+
member_count: null,
|
|
86
|
+
address_line: null,
|
|
87
|
+
city: null,
|
|
88
|
+
state_region: null,
|
|
89
|
+
postal: null,
|
|
90
|
+
country: null,
|
|
91
|
+
latitude: null,
|
|
92
|
+
longitude: null,
|
|
93
|
+
geocode_precision: null,
|
|
94
|
+
coord_source: null,
|
|
95
|
+
firm_name: null,
|
|
96
|
+
firm_org_id: null,
|
|
97
|
+
firm_company_id: null,
|
|
98
|
+
firm_company_name: null,
|
|
99
|
+
firm_group_id: null,
|
|
100
|
+
firm_group_name: null,
|
|
101
|
+
is_org_resolved: null,
|
|
102
|
+
match_tier: null,
|
|
103
|
+
domains: null,
|
|
104
|
+
primary_domain: null,
|
|
105
|
+
is_drug_facility: null,
|
|
106
|
+
is_device_facility: null,
|
|
107
|
+
register_domain: null,
|
|
108
|
+
device_classification_status: null,
|
|
109
|
+
is_low_signal_device: null,
|
|
110
|
+
regulators: null,
|
|
111
|
+
n_regulators: null,
|
|
112
|
+
is_multi_regulator: null,
|
|
113
|
+
org_regulators: null,
|
|
114
|
+
severity_rank: null,
|
|
115
|
+
severity_level: null,
|
|
116
|
+
severity_source: null,
|
|
117
|
+
severity_signal_type: null,
|
|
118
|
+
severity_raw_verdict: null,
|
|
119
|
+
severity_signal_date: null,
|
|
120
|
+
worst_severity_rank_ever: null,
|
|
121
|
+
worst_severity_level_ever: null,
|
|
122
|
+
has_quality_signal: null,
|
|
123
|
+
latest_signal_date: null,
|
|
124
|
+
n_signals_total: null,
|
|
125
|
+
n_signals_365d: null,
|
|
126
|
+
n_inspections: null,
|
|
127
|
+
latest_inspection_date: null,
|
|
128
|
+
n_fda_inspections: null,
|
|
129
|
+
latest_fda_inspection_date: null,
|
|
130
|
+
latest_inspection_classification: null,
|
|
131
|
+
n_inspections_nai: null,
|
|
132
|
+
n_inspections_vai: null,
|
|
133
|
+
n_inspections_oai: null,
|
|
134
|
+
n_483: null,
|
|
135
|
+
n_hc_inspections: null,
|
|
136
|
+
latest_hc_inspection_date: null,
|
|
137
|
+
latest_hc_inspection_rating: null,
|
|
138
|
+
n_hc_inspections_non_compliant: null,
|
|
139
|
+
n_import_refusals: null,
|
|
140
|
+
latest_import_refusal_date: null,
|
|
141
|
+
n_gmp_certificates: null,
|
|
142
|
+
latest_gmp_certificate_date: null,
|
|
143
|
+
n_noncompliance_statements: null,
|
|
144
|
+
latest_noncompliance_statement_date: null,
|
|
145
|
+
n_licences: null,
|
|
146
|
+
licence_status: null,
|
|
147
|
+
org_n_licence_actions: null,
|
|
148
|
+
org_latest_licence_action_date: null,
|
|
149
|
+
as_of: null
|
|
150
|
+
)
|
|
151
|
+
```
|
|
152
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# PharmaObservatory::HospitalBedsYearlyResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **dataset** | **String** | | |
|
|
8
|
+
| **grain** | **String** | | [optional] |
|
|
9
|
+
| **object_type** | **String** | | [optional] |
|
|
10
|
+
| **id** | **String** | | [optional] |
|
|
11
|
+
| **scope** | [**BiomarkerAssayEvidenceResponseScope**](BiomarkerAssayEvidenceResponseScope.md) | | [optional] |
|
|
12
|
+
| **columns** | [**Array<DatasetColumn>**](DatasetColumn.md) | | |
|
|
13
|
+
| **rows** | [**Array<HospitalBedsYearlyRow>**](HospitalBedsYearlyRow.md) | | |
|
|
14
|
+
| **total** | **Integer** | The exact count of the filtered rows on an ungrouped read, carried by the cursor; null when grouped. | [optional] |
|
|
15
|
+
| **next_cursor** | **String** | | [optional] |
|
|
16
|
+
| **sort** | **Array<String>** | | [optional] |
|
|
17
|
+
| **filters** | **Array<Hash<String, Object>>** | | [optional] |
|
|
18
|
+
| **group_by** | **Array<String>** | | [optional] |
|
|
19
|
+
| **measures** | **Array<String>** | | [optional] |
|
|
20
|
+
| **attribution** | [**Array<DatasetAttribution>**](DatasetAttribution.md) | | [optional] |
|
|
21
|
+
| **source_credit** | **String** | | [optional] |
|
|
22
|
+
| **withheld_tiers** | **Array<String>** | | [optional] |
|
|
23
|
+
| **withheld_columns** | **Array<String>** | | [optional] |
|
|
24
|
+
| **freshness** | [**BiomarkerAssayEvidenceResponseFreshness**](BiomarkerAssayEvidenceResponseFreshness.md) | | [optional] |
|
|
25
|
+
| **build** | [**BiomarkerAssayEvidenceResponseBuild**](BiomarkerAssayEvidenceResponseBuild.md) | | [optional] |
|
|
26
|
+
| **build_state** | [**DatasetBuildState**](DatasetBuildState.md) | | [optional] |
|
|
27
|
+
| **restriction** | **Hash<String, Object>** | | [optional] |
|
|
28
|
+
|
|
29
|
+
## Example
|
|
30
|
+
|
|
31
|
+
```ruby
|
|
32
|
+
require 'pharmaobservatory'
|
|
33
|
+
|
|
34
|
+
instance = PharmaObservatory::HospitalBedsYearlyResponse.new(
|
|
35
|
+
dataset: null,
|
|
36
|
+
grain: null,
|
|
37
|
+
object_type: null,
|
|
38
|
+
id: null,
|
|
39
|
+
scope: null,
|
|
40
|
+
columns: null,
|
|
41
|
+
rows: null,
|
|
42
|
+
total: null,
|
|
43
|
+
next_cursor: null,
|
|
44
|
+
sort: null,
|
|
45
|
+
filters: null,
|
|
46
|
+
group_by: null,
|
|
47
|
+
measures: null,
|
|
48
|
+
attribution: null,
|
|
49
|
+
source_credit: null,
|
|
50
|
+
withheld_tiers: null,
|
|
51
|
+
withheld_columns: null,
|
|
52
|
+
freshness: null,
|
|
53
|
+
build: null,
|
|
54
|
+
build_state: null,
|
|
55
|
+
restriction: null
|
|
56
|
+
)
|
|
57
|
+
```
|
|
58
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# PharmaObservatory::HospitalBedsYearlyRow
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **ccn** | **String** | CMS Certification Number of the hospital. | [optional] |
|
|
8
|
+
| **year** | **Integer** | The calendar year. | [optional] |
|
|
9
|
+
| **bed_count** | **Integer** | Certified bed count that year. | [optional] |
|
|
10
|
+
| **is_teaching** | **Boolean** | Whether the hospital was a teaching hospital that year. | [optional] |
|
|
11
|
+
| **pos_vintage** | **String** | The Provider of Services file vintage the row comes from. | [optional] |
|
|
12
|
+
| **as_of** | **Date** | The as-of date of that file. | [optional] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'pharmaobservatory'
|
|
18
|
+
|
|
19
|
+
instance = PharmaObservatory::HospitalBedsYearlyRow.new(
|
|
20
|
+
ccn: null,
|
|
21
|
+
year: null,
|
|
22
|
+
bed_count: null,
|
|
23
|
+
is_teaching: null,
|
|
24
|
+
pos_vintage: null,
|
|
25
|
+
as_of: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|