pharmaobservatory 0.1.6 → 0.1.8
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 +348 -4
- data/docs/BiomarkerAlleleFrequenciesResponse.md +58 -0
- data/docs/BiomarkerAlleleFrequenciesRow.md +62 -0
- data/docs/BiomarkerAssayProvidersResponse.md +58 -0
- data/docs/BiomarkerAssayProvidersRow.md +72 -0
- data/docs/BiomarkerEvidenceByYearResponse.md +58 -0
- data/docs/BiomarkerEvidenceByYearRow.md +32 -0
- data/docs/BiomarkerTraversalStatusResponse.md +58 -0
- data/docs/BiomarkerTraversalStatusRow.md +36 -0
- data/docs/BiomarkersApi.md +320 -0
- 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 +2656 -196
- data/docs/CompaniesRecordAttributes.md +3 -1
- data/docs/CompanyAssetsRow.md +5 -1
- data/docs/CompanyBiomarkerCapabilityResponse.md +58 -0
- data/docs/CompanyBiomarkerCapabilityRow.md +68 -0
- data/docs/CompanyFundingEventsRow.md +2 -0
- data/docs/CompanyProgramsRow.md +5 -1
- data/docs/CompanyRareDiseaseDeclarationsResponse.md +58 -0
- data/docs/CompanyRareDiseaseDeclarationsRow.md +52 -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 +174 -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 +2257 -177
- data/docs/LegalEntitiesRecordAttributes.md +8 -0
- data/docs/LegalEntitySecFilingsResponse.md +58 -0
- data/docs/LegalEntitySecFilingsRow.md +44 -0
- data/docs/OrgDisclosureTrendResponse.md +58 -0
- data/docs/OrgDisclosureTrendRow.md +62 -0
- data/docs/OrgRelationshipsRow.md +1 -1
- data/docs/OwnershipPercentagesResponse.md +58 -0
- data/docs/OwnershipPercentagesRow.md +74 -0
- data/docs/OwnershipSourceCoverageResponse.md +58 -0
- data/docs/OwnershipSourceCoverageRow.md +62 -0
- data/docs/PdufaDatesRow.md +1 -1
- data/docs/ProgramLicensingCandidatesResponse.md +58 -0
- data/docs/ProgramLicensingCandidatesRow.md +62 -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/RwdConductorDeliveryResponse.md +58 -0
- data/docs/RwdConductorDeliveryRow.md +74 -0
- data/docs/RwdConductorFootprintResponse.md +58 -0
- data/docs/RwdConductorFootprintRow.md +40 -0
- data/docs/RwdConductorStudiesResponse.md +58 -0
- data/docs/RwdConductorStudiesRow.md +42 -0
- data/docs/RwdConductorsApi.md +393 -0
- data/docs/RwdConductorsRecord.md +38 -0
- data/docs/RwdConductorsResponse.md +58 -0
- data/docs/RwdConductorsRow.md +72 -0
- data/docs/RwdCoverageResponse.md +58 -0
- data/docs/RwdCoverageRow.md +52 -0
- data/docs/RwdInstitutionsApi.md +153 -0
- data/docs/RwdInstitutionsRecord.md +38 -0
- data/docs/RwdInstitutionsResponse.md +58 -0
- data/docs/RwdInstitutionsRow.md +154 -0
- data/docs/RwdNetworksApi.md +153 -0
- data/docs/RwdNetworksRecord.md +38 -0
- data/docs/RwdNetworksResponse.md +58 -0
- data/docs/RwdNetworksRow.md +110 -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 +553 -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/SbtiCrosscheckResponse.md +58 -0
- data/docs/SbtiCrosscheckRow.md +48 -0
- data/docs/SecPdufaDatesResponse.md +58 -0
- data/docs/SecPdufaDatesRow.md +64 -0
- data/docs/SponsorDeliveryResponse.md +58 -0
- data/docs/SponsorDeliveryRow.md +52 -0
- data/docs/SponsorPatentMentionsResponse.md +58 -0
- data/docs/SponsorPatentMentionsRow.md +42 -0
- data/docs/SponsorTrialConditionsResponse.md +58 -0
- data/docs/SponsorTrialConditionsRow.md +36 -0
- data/docs/SponsorTrialDrugsResponse.md +58 -0
- data/docs/SponsorTrialDrugsRow.md +34 -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/biomarkers_api.rb +336 -0
- data/lib/pharmaobservatory/api/companies_api.rb +3026 -296
- 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 +2376 -192
- data/lib/pharmaobservatory/api/rare_diseases_api.rb +1421 -0
- data/lib/pharmaobservatory/api/rwd_conductors_api.rb +413 -0
- data/lib/pharmaobservatory/api/rwd_institutions_api.rb +161 -0
- data/lib/pharmaobservatory/api/rwd_networks_api.rb +161 -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 +581 -0
- data/lib/pharmaobservatory/api/trials_api.rb +84 -0
- data/lib/pharmaobservatory/models/biomarker_allele_frequencies_response.rb +478 -0
- data/lib/pharmaobservatory/models/biomarker_allele_frequencies_row.rb +465 -0
- data/lib/pharmaobservatory/models/biomarker_assay_providers_response.rb +478 -0
- data/lib/pharmaobservatory/models/biomarker_assay_providers_row.rb +520 -0
- data/lib/pharmaobservatory/models/biomarker_evidence_by_year_response.rb +478 -0
- data/lib/pharmaobservatory/models/biomarker_evidence_by_year_row.rb +300 -0
- data/lib/pharmaobservatory/models/biomarker_traversal_status_response.rb +478 -0
- data/lib/pharmaobservatory/models/biomarker_traversal_status_row.rb +322 -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_assets_row.rb +24 -2
- data/lib/pharmaobservatory/models/company_biomarker_capability_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_biomarker_capability_row.rb +498 -0
- data/lib/pharmaobservatory/models/company_funding_events_row.rb +12 -1
- data/lib/pharmaobservatory/models/company_programs_row.rb +24 -2
- data/lib/pharmaobservatory/models/company_rare_disease_declarations_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_rare_disease_declarations_row.rb +410 -0
- 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 +1089 -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 +37 -1
- data/lib/pharmaobservatory/models/legal_entity_sec_filings_response.rb +478 -0
- data/lib/pharmaobservatory/models/legal_entity_sec_filings_row.rb +370 -0
- data/lib/pharmaobservatory/models/org_disclosure_trend_response.rb +478 -0
- data/lib/pharmaobservatory/models/org_disclosure_trend_row.rb +465 -0
- 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/ownership_source_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/ownership_source_coverage_row.rb +465 -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 +467 -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_conductor_delivery_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_conductor_delivery_row.rb +537 -0
- data/lib/pharmaobservatory/models/rwd_conductor_footprint_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_conductor_footprint_row.rb +346 -0
- data/lib/pharmaobservatory/models/rwd_conductor_studies_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_conductor_studies_row.rb +355 -0
- data/lib/pharmaobservatory/models/rwd_conductors_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_conductors_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_conductors_row.rb +526 -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_institutions_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_institutions_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_institutions_row.rb +981 -0
- data/lib/pharmaobservatory/models/rwd_networks_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_networks_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_networks_row.rb +733 -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/sbti_crosscheck_response.rb +478 -0
- data/lib/pharmaobservatory/models/sbti_crosscheck_row.rb +388 -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/sponsor_delivery_response.rb +478 -0
- data/lib/pharmaobservatory/models/sponsor_delivery_row.rb +410 -0
- data/lib/pharmaobservatory/models/sponsor_patent_mentions_response.rb +478 -0
- data/lib/pharmaobservatory/models/sponsor_patent_mentions_row.rb +355 -0
- data/lib/pharmaobservatory/models/sponsor_trial_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/sponsor_trial_conditions_row.rb +322 -0
- data/lib/pharmaobservatory/models/sponsor_trial_drugs_response.rb +478 -0
- data/lib/pharmaobservatory/models/sponsor_trial_drugs_row.rb +311 -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 +210 -0
- metadata +422 -2
|
@@ -0,0 +1,1674 @@
|
|
|
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 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module PharmaObservatory
|
|
17
|
+
# One row of the rwd_sources dataset: one row per registered real-world data source. A grouped request returns the group columns and the measures instead, as additional properties.
|
|
18
|
+
class RwdSourcesRow
|
|
19
|
+
# The register Data source ID. The entry key of the rwd_sources object type. On a row built from a study's data source name it is null unless the name reaches exactly one registered source (see data_source_ids).
|
|
20
|
+
attr_accessor :data_source_id
|
|
21
|
+
|
|
22
|
+
# The data source's name as the data holder registered it; null on a stub entry with no name.
|
|
23
|
+
attr_accessor :data_source_name
|
|
24
|
+
|
|
25
|
+
# The acronym the data holder registered for the source.
|
|
26
|
+
attr_accessor :data_source_acronym
|
|
27
|
+
|
|
28
|
+
# The organisation that holds the data, as typed in the register (free text, not resolved to a company).
|
|
29
|
+
attr_accessor :data_holder
|
|
30
|
+
|
|
31
|
+
# The data source type(s) the holder ticked, as one comma-separated string as the register exports it; rwd_source_types has one row per declared type.
|
|
32
|
+
attr_accessor :data_source_type
|
|
33
|
+
|
|
34
|
+
# The holder's free-text description when it chose the register's other data source type.
|
|
35
|
+
attr_accessor :data_source_type_other
|
|
36
|
+
|
|
37
|
+
# The register's data source domain (for example Claims, Primary care, Secondary care).
|
|
38
|
+
attr_accessor :data_source_domain
|
|
39
|
+
|
|
40
|
+
# The care setting the holder declares for the source.
|
|
41
|
+
attr_accessor :care_setting
|
|
42
|
+
|
|
43
|
+
# The main financial support of the data source as the holder declared it.
|
|
44
|
+
attr_accessor :main_financial_support
|
|
45
|
+
|
|
46
|
+
# The countries the source covers, one array element per register country, split by the register's own country list (so Iran, Islamic Republic of stays one country). Matches the group-by-able membership filter 'Spain' = ANY(country_names).
|
|
47
|
+
attr_accessor :country_names
|
|
48
|
+
|
|
49
|
+
# Country text items the country vocabulary of this build does not hold.
|
|
50
|
+
attr_accessor :unmatched_country_fragments
|
|
51
|
+
|
|
52
|
+
# The number of countries in country_names.
|
|
53
|
+
attr_accessor :country_count
|
|
54
|
+
|
|
55
|
+
# The address of this entry on the HMA-EMA catalogue site (the register's URL LINK).
|
|
56
|
+
attr_accessor :catalogue_url
|
|
57
|
+
|
|
58
|
+
# The data source's own website as the holder registered it.
|
|
59
|
+
attr_accessor :data_source_website
|
|
60
|
+
|
|
61
|
+
# Whether the holder declares the source a DARWIN EU data partner (the EMA-coordinated European network of real-world data sources); null when unanswered.
|
|
62
|
+
attr_accessor :is_darwin_eu_data_partner
|
|
63
|
+
|
|
64
|
+
# The register's Data source qualification answer; true when the holder declares a qualification, null when unanswered.
|
|
65
|
+
attr_accessor :is_qualified
|
|
66
|
+
|
|
67
|
+
# How often the holder says the database takes new data, as typed (the register's Data source refresh).
|
|
68
|
+
attr_accessor :refresh_cadence
|
|
69
|
+
|
|
70
|
+
# The date the holder says the database last took new data (the register's Data source last refresh).
|
|
71
|
+
attr_accessor :last_refreshed_on
|
|
72
|
+
|
|
73
|
+
# When the registrant last edited this catalogue entry. A different clock from last_refreshed_on: it dates the web form, not the database.
|
|
74
|
+
attr_accessor :record_updated_at
|
|
75
|
+
|
|
76
|
+
# When the catalogue entry was first published.
|
|
77
|
+
attr_accessor :record_first_published_at
|
|
78
|
+
|
|
79
|
+
# EMA's own Outdated flag, carried through untouched; the register flags none of the data sources, so read false as EMA's answer and not as a currency finding.
|
|
80
|
+
attr_accessor :is_outdated
|
|
81
|
+
|
|
82
|
+
# True when the catalogue entry was last edited more than twelve months before the snapshot. About the web form only; it says nothing about whether the database has taken new data (see database_refresh_state).
|
|
83
|
+
attr_accessor :record_updated_over_12_months_ago
|
|
84
|
+
|
|
85
|
+
# The interval in days the longest declared refresh cadence is read as; the threshold the database_refresh_state verdict used. Null when no declared cadence was recognised.
|
|
86
|
+
attr_accessor :refresh_interval_days
|
|
87
|
+
|
|
88
|
+
# Which declared cadence refresh_interval_days came from.
|
|
89
|
+
attr_accessor :refresh_interval_basis
|
|
90
|
+
|
|
91
|
+
# The interval in days of the strictest declared cadence, for a source that declared several.
|
|
92
|
+
attr_accessor :refresh_interval_days_shortest
|
|
93
|
+
|
|
94
|
+
# Which declared cadence refresh_interval_days_shortest came from.
|
|
95
|
+
attr_accessor :refresh_interval_basis_shortest
|
|
96
|
+
|
|
97
|
+
# Every cadence the holder declared, in declared order; the month names of one answer count as one declaration. Positionally paired with refresh_cadence_interval_days and refresh_cadence_is_month_names. Empty when none was declared.
|
|
98
|
+
attr_accessor :refresh_cadence_declared
|
|
99
|
+
|
|
100
|
+
# The interval in days each declared cadence was read as, positionally paired with refresh_cadence_declared, rendered as text because the catalog has only text arrays.
|
|
101
|
+
attr_accessor :refresh_cadence_interval_days
|
|
102
|
+
|
|
103
|
+
# Whether each declared cadence is a list of month names (priced as 365 days over the number of months named); rendered as text (true or false per element) because the catalog has only text arrays.
|
|
104
|
+
attr_accessor :refresh_cadence_is_month_names
|
|
105
|
+
|
|
106
|
+
# Days from last_refreshed_on to the catalogue snapshot date; null when no refresh date is declared.
|
|
107
|
+
attr_accessor :days_since_last_refresh
|
|
108
|
+
|
|
109
|
+
# Adherence verdict about the holder's own promise: the declared cadence against the declared last refresh, measured to the snapshot date. Not a currency answer: use refresh_recency_band for how old the data is.
|
|
110
|
+
attr_accessor :database_refresh_state
|
|
111
|
+
|
|
112
|
+
# The same adherence verdict as database_refresh_state, read against the strictest declared cadence instead of the longest.
|
|
113
|
+
attr_accessor :refresh_state_strict
|
|
114
|
+
|
|
115
|
+
# Absolute age of the last database refresh at the snapshot date, in disjoint bands, with no reference to any declared cadence. Sources that declared no refresh date have their own band; they are unanswered, not stale.
|
|
116
|
+
attr_accessor :refresh_recency_band
|
|
117
|
+
|
|
118
|
+
# The band of the declared last collection date (the observable window), banded with the same ruler as refresh_recency_band; null when no collection date is declared.
|
|
119
|
+
attr_accessor :collection_last_band
|
|
120
|
+
|
|
121
|
+
# True when the last collection date and the last refresh date fall in different currency bands. A fact to print beside the currency screen, not a control.
|
|
122
|
+
attr_accessor :collection_contradicts_refresh_band
|
|
123
|
+
|
|
124
|
+
# Whether the data holder declares that prescriptions of medicines are recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
125
|
+
attr_accessor :prescriptions_of_medicines
|
|
126
|
+
|
|
127
|
+
# The coding scheme(s) the holder declares for prescriptions, comma-joined as typed; rwd_source_vocabularies has one row per scheme.
|
|
128
|
+
attr_accessor :prescriptions_vocabulary
|
|
129
|
+
|
|
130
|
+
# The holder's free-text description of the other coding scheme it declares for this capability.
|
|
131
|
+
attr_accessor :prescriptions_vocabulary_other
|
|
132
|
+
|
|
133
|
+
# Whether the data holder declares that dispensing of medicines is recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
134
|
+
attr_accessor :dispensing_of_medicines
|
|
135
|
+
|
|
136
|
+
# The coding scheme(s) the holder declares for dispensing, comma-joined as typed; rwd_source_vocabularies has one row per scheme.
|
|
137
|
+
attr_accessor :dispensing_vocabulary
|
|
138
|
+
|
|
139
|
+
# The holder's free-text description of the other coding scheme it declares for this capability.
|
|
140
|
+
attr_accessor :dispensing_vocabulary_other
|
|
141
|
+
|
|
142
|
+
# The coding scheme(s) the holder declares for medicinal product information, comma-joined as typed; rwd_source_vocabularies has one row per scheme.
|
|
143
|
+
attr_accessor :medicinal_product_vocabulary
|
|
144
|
+
|
|
145
|
+
# The holder's free-text description of the other coding scheme it declares for this capability.
|
|
146
|
+
attr_accessor :medicinal_product_vocabulary_other
|
|
147
|
+
|
|
148
|
+
# Whether the data holder declares that the indication for use of a medicine is recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
149
|
+
attr_accessor :indication_for_use
|
|
150
|
+
|
|
151
|
+
# The coding scheme(s) the holder declares for the indication for use, comma-joined as typed; rwd_source_vocabularies has one row per scheme.
|
|
152
|
+
attr_accessor :indication_vocabulary
|
|
153
|
+
|
|
154
|
+
# The holder's free-text description of the other coding scheme it declares for this capability.
|
|
155
|
+
attr_accessor :indication_vocabulary_other
|
|
156
|
+
|
|
157
|
+
# Whether the data holder declares that diagnostic codes are recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
158
|
+
attr_accessor :diagnostic_codes
|
|
159
|
+
|
|
160
|
+
# The coding scheme(s) the holder declares for diagnoses and medical events, comma-joined as typed; rwd_source_vocabularies has one row per scheme.
|
|
161
|
+
attr_accessor :diagnosis_medical_event_vocabulary
|
|
162
|
+
|
|
163
|
+
# The holder's free-text description of the other coding scheme it declares for this capability.
|
|
164
|
+
attr_accessor :diagnosis_medical_event_vocabulary_other
|
|
165
|
+
|
|
166
|
+
# Whether the data holder declares that hospital admission and/or discharge is recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
167
|
+
attr_accessor :hospital_admission_and_or_discharge
|
|
168
|
+
|
|
169
|
+
# Whether the data holder declares that intensive care unit (ICU) admission is recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
170
|
+
attr_accessor :icu_admission
|
|
171
|
+
|
|
172
|
+
# Whether the data holder declares that cause of death is recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
173
|
+
attr_accessor :cause_of_death
|
|
174
|
+
|
|
175
|
+
# The coding scheme(s) the holder declares for cause of death, comma-joined as typed; rwd_source_vocabularies has one row per scheme.
|
|
176
|
+
attr_accessor :cause_of_death_vocabulary
|
|
177
|
+
|
|
178
|
+
# The holder's free-text description of the other coding scheme it declares for this capability.
|
|
179
|
+
attr_accessor :cause_of_death_vocabulary_other
|
|
180
|
+
|
|
181
|
+
# Whether the data holder declares that disease information is collected: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
182
|
+
attr_accessor :disease_information
|
|
183
|
+
|
|
184
|
+
# Whether the data holder declares that rare diseases are identifiable: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
185
|
+
attr_accessor :rare_diseases
|
|
186
|
+
|
|
187
|
+
# Whether the data holder declares that pregnancy and/or neonates are covered: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
188
|
+
attr_accessor :pregnancy_and_or_neonates
|
|
189
|
+
|
|
190
|
+
# Whether the data holder declares that advanced therapy medicinal products (ATMP) are recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
191
|
+
attr_accessor :advance_therapy_medicinal_products_atmp
|
|
192
|
+
|
|
193
|
+
# Whether the data holder declares that contraception is recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
194
|
+
attr_accessor :contraception
|
|
195
|
+
|
|
196
|
+
# Whether the data holder declares that medical devices are recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
197
|
+
attr_accessor :medical_devices
|
|
198
|
+
|
|
199
|
+
# Whether the data holder declares that administration of vaccines is recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
200
|
+
attr_accessor :administration_of_vaccines
|
|
201
|
+
|
|
202
|
+
# Whether the data holder declares that procedures are recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
203
|
+
attr_accessor :procedures
|
|
204
|
+
|
|
205
|
+
# The coding scheme(s) the holder declares for procedures, comma-joined as typed; rwd_source_vocabularies has one row per scheme.
|
|
206
|
+
attr_accessor :procedures_vocabulary
|
|
207
|
+
|
|
208
|
+
# The holder's free-text description of the other coding scheme it declares for this capability.
|
|
209
|
+
attr_accessor :procedures_vocabulary_other
|
|
210
|
+
|
|
211
|
+
# Whether the data holder declares that clinical measurements are recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
212
|
+
attr_accessor :clinical_measurements
|
|
213
|
+
|
|
214
|
+
# Whether the data holder declares that the healthcare provider is recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
215
|
+
attr_accessor :healthcare_provider
|
|
216
|
+
|
|
217
|
+
# Whether the data holder declares that genetic data are held: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
218
|
+
attr_accessor :genetic_data
|
|
219
|
+
|
|
220
|
+
# The coding scheme(s) the holder declares for genetic data, comma-joined as typed; rwd_source_vocabularies has one row per scheme.
|
|
221
|
+
attr_accessor :genetic_data_vocabulary
|
|
222
|
+
|
|
223
|
+
# The holder's free-text description of the other coding scheme it declares for this capability.
|
|
224
|
+
attr_accessor :genetic_data_vocabulary_other
|
|
225
|
+
|
|
226
|
+
# Whether the data holder declares that biomarker data are held: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
227
|
+
attr_accessor :biomarker_data
|
|
228
|
+
|
|
229
|
+
# The coding scheme(s) the holder declares for biomarker data, comma-joined as typed; rwd_source_vocabularies has one row per scheme.
|
|
230
|
+
attr_accessor :biomarker_data_vocabulary
|
|
231
|
+
|
|
232
|
+
# The holder's free-text description of the other coding scheme it declares for this capability.
|
|
233
|
+
attr_accessor :biomarker_vocabulary_other
|
|
234
|
+
|
|
235
|
+
# Whether the data holder declares that patient-reported outcomes are held: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
236
|
+
attr_accessor :patient_reported_outcomes
|
|
237
|
+
|
|
238
|
+
# Whether the data holder declares that patient-generated data are held: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
239
|
+
attr_accessor :patient_generated_data
|
|
240
|
+
|
|
241
|
+
# Whether the data holder declares that units of healthcare utilisation are recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
242
|
+
attr_accessor :units_of_healthcare_utilisation
|
|
243
|
+
|
|
244
|
+
# Whether the data holder declares that a unique identifier for persons exists: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
245
|
+
attr_accessor :unique_identifier_for_persons
|
|
246
|
+
|
|
247
|
+
# Whether the data holder declares that quality of life measurements are held: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
248
|
+
attr_accessor :quality_of_life_measurements
|
|
249
|
+
|
|
250
|
+
# The coding scheme(s) the holder declares for quality of life measurements, comma-joined as typed; rwd_source_vocabularies has one row per scheme.
|
|
251
|
+
attr_accessor :quality_of_life_measurements_vocabulary
|
|
252
|
+
|
|
253
|
+
# The holder's free-text description of the other coding scheme it declares for this capability.
|
|
254
|
+
attr_accessor :quality_of_life_measurements_other
|
|
255
|
+
|
|
256
|
+
# Whether the data holder declares that lifestyle factors are recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
257
|
+
attr_accessor :lifestyle_factors
|
|
258
|
+
|
|
259
|
+
# Whether the data holder declares that sociodemographic information is recorded: true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
260
|
+
attr_accessor :sociodemographic_information
|
|
261
|
+
|
|
262
|
+
# The population size the holder declared for the source (all registered persons).
|
|
263
|
+
attr_accessor :population_size
|
|
264
|
+
|
|
265
|
+
# The active population size the holder declared for the source.
|
|
266
|
+
attr_accessor :active_population_size
|
|
267
|
+
|
|
268
|
+
# The median observation time in years exactly as the holder declared it. Never corrected: see median_observation_time_plausibility.
|
|
269
|
+
attr_accessor :median_observation_time_years
|
|
270
|
+
|
|
271
|
+
# The median observation time in years for the active population exactly as the holder declared it. Never corrected: see median_observation_time_active_plausibility.
|
|
272
|
+
attr_accessor :median_observation_time_active_years
|
|
273
|
+
|
|
274
|
+
# The date the data source was established.
|
|
275
|
+
attr_accessor :established_on
|
|
276
|
+
|
|
277
|
+
# The date of the first data collection.
|
|
278
|
+
attr_accessor :collection_first_on
|
|
279
|
+
|
|
280
|
+
# The date of the last data collection; null on most sources and a future date on some, so it is a fact to read and not a field to sort on.
|
|
281
|
+
attr_accessor :collection_last_on
|
|
282
|
+
|
|
283
|
+
# The data window in years the holder's own dates give the database (earliest of established and first collection, to last collection or the snapshot).
|
|
284
|
+
attr_accessor :declared_history_span_years
|
|
285
|
+
|
|
286
|
+
# Classifies the declared median observation time without correcting it: plausible, exceeds_ceiling (more than 100 years), exceeds_declared_span (more than a year longer than the holder's own data window) or not_declared.
|
|
287
|
+
attr_accessor :median_observation_time_plausibility
|
|
288
|
+
|
|
289
|
+
# The same classification for the active-population median observation time.
|
|
290
|
+
attr_accessor :median_observation_time_active_plausibility
|
|
291
|
+
|
|
292
|
+
# The estimated percentage of the population covered, as free text exactly as typed (values include Unsure and Not available); deliberately not parsed into a number.
|
|
293
|
+
attr_accessor :estimated_population_coverage_text
|
|
294
|
+
|
|
295
|
+
# The age groups the holder declares the source covers, as one comma-separated string.
|
|
296
|
+
attr_accessor :age_groups
|
|
297
|
+
|
|
298
|
+
# The number of declared age bands (rwd_source_age_bands has one row per band).
|
|
299
|
+
attr_accessor :age_band_count
|
|
300
|
+
|
|
301
|
+
# Whether the holder published a population size breakdown by age band at all.
|
|
302
|
+
attr_accessor :has_population_breakdown
|
|
303
|
+
|
|
304
|
+
# Whether the holder published an active population breakdown by age band at all.
|
|
305
|
+
attr_accessor :has_active_population_breakdown
|
|
306
|
+
|
|
307
|
+
# True when the declared age bands overlap (an open-ended elderly band declared beside narrower bands inside it). Age bands from such a source must not be summed; no sum is published.
|
|
308
|
+
attr_accessor :age_bands_are_nested
|
|
309
|
+
|
|
310
|
+
# Whether the holder declares the data are mapped to a common data model (CDM), such as OMOP. Read it with cdm_readiness, which says whether the transform is finished.
|
|
311
|
+
attr_accessor :cdm_mapping
|
|
312
|
+
|
|
313
|
+
# The extract-transform-load (ETL) status of the CDM mapping as typed; one comma-joined answer per declared mapping (rwd_source_etl_mappings has one row per mapping).
|
|
314
|
+
attr_accessor :etl_status
|
|
315
|
+
|
|
316
|
+
# The CDM version(s) declared for the ETL, comma-joined as typed.
|
|
317
|
+
attr_accessor :etl_cdm_version
|
|
318
|
+
|
|
319
|
+
# The ETL frequency declared, comma-joined as typed.
|
|
320
|
+
attr_accessor :etl_frequency
|
|
321
|
+
|
|
322
|
+
# The ETL specifications file the holder attached, if any (empty at source on the registered sources).
|
|
323
|
+
attr_accessor :etl_specifications_file
|
|
324
|
+
|
|
325
|
+
# How many CDM mappings the holder declared, after register join artefacts are removed; 0 when the question was never answered.
|
|
326
|
+
attr_accessor :declared_mapping_count
|
|
327
|
+
|
|
328
|
+
# The CDM fact as one closed label that carries the word the holder wrote about the transform, so cdm_mapping alone is never read as ready. Exhaustive and never null: not_declared, no_mapping, mapping_without_etl_status, etl_completed, etl_in_progress, etl_planned, etl_not_done, etl_mixed (several mappings whose statuses differ or one has none) or etl_other (an unrecognised word).
|
|
329
|
+
attr_accessor :cdm_readiness
|
|
330
|
+
|
|
331
|
+
# Whether the holder declares that the data can be linked to other data sources.
|
|
332
|
+
attr_accessor :linkage
|
|
333
|
+
|
|
334
|
+
# Whether the holder gave a description of a linkage already made (pre-linked).
|
|
335
|
+
attr_accessor :has_pre_linked_declaration
|
|
336
|
+
|
|
337
|
+
# Whether the holder gave a description of a linkage that is possible but not done.
|
|
338
|
+
attr_accessor :has_possible_linkage_declaration
|
|
339
|
+
|
|
340
|
+
# The linked data source name(s) as typed, comma-joined; rwd_source_linkages has one row per declared linkage.
|
|
341
|
+
attr_accessor :linked_data_source
|
|
342
|
+
|
|
343
|
+
# The linked data source named in free text when the holder chose Other data source.
|
|
344
|
+
attr_accessor :linked_data_source_other
|
|
345
|
+
|
|
346
|
+
# The linkage completeness the holder declared, as typed.
|
|
347
|
+
attr_accessor :linked_linkage_completeness
|
|
348
|
+
|
|
349
|
+
# The linkage variable(s) the holder declared, as typed.
|
|
350
|
+
attr_accessor :linked_linkage_variable
|
|
351
|
+
|
|
352
|
+
# The linkage strategy the holder declared, as typed.
|
|
353
|
+
attr_accessor :linked_linkage_strategy
|
|
354
|
+
|
|
355
|
+
# How many linkages the holder declared; 0 when none.
|
|
356
|
+
attr_accessor :declared_linkage_count
|
|
357
|
+
|
|
358
|
+
# Five states, exhaustive and never null: pre_linked, possible_not_done, declared_without_detail, no_linkage, not_declared. Pre-linked and possible linkage are kept apart on purpose.
|
|
359
|
+
attr_accessor :linkage_state
|
|
360
|
+
|
|
361
|
+
# Whether biospecimens can be accessed through the source; true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
362
|
+
attr_accessor :biospecimen_access
|
|
363
|
+
|
|
364
|
+
# Whether the holder can access subject details; true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
365
|
+
attr_accessor :access_to_subject_details
|
|
366
|
+
|
|
367
|
+
# Whether the data can be validated; true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
368
|
+
attr_accessor :possibility_of_data_validation
|
|
369
|
+
|
|
370
|
+
# Whether records are preserved indefinitely; true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
371
|
+
attr_accessor :records_are_preserved_indefinitely
|
|
372
|
+
|
|
373
|
+
# How long the data are preserved, in years, as typed.
|
|
374
|
+
attr_accessor :data_source_preservation_length_years
|
|
375
|
+
|
|
376
|
+
# Whether approval for publication is needed; true when the data holder declares it, false when the holder declares it absent, null when the holder did not answer (never read null as no).
|
|
377
|
+
attr_accessor :approval_for_publication
|
|
378
|
+
|
|
379
|
+
# The informed consent regime for research use as the holder declared it, as typed.
|
|
380
|
+
attr_accessor :informed_consent_for_use_of_data_for_research
|
|
381
|
+
|
|
382
|
+
# A link to the source's governance details, as the holder registered it.
|
|
383
|
+
attr_accessor :governance_details_link
|
|
384
|
+
|
|
385
|
+
# How many of the 35 capability and governance questions the holder answered (a count of answered form fields, not a measure of the data held).
|
|
386
|
+
attr_accessor :declared_capability_count
|
|
387
|
+
|
|
388
|
+
# How many such questions the form offers (35); the denominator of declared_capability_count.
|
|
389
|
+
attr_accessor :declarable_capability_count
|
|
390
|
+
|
|
391
|
+
# The number of data sources in the whole data source register at the snapshot: the denominator every source count is over. Not a count of real-world data sources in the world.
|
|
392
|
+
attr_accessor :register_source_count
|
|
393
|
+
|
|
394
|
+
# How many registered studies named this source. A registered study NAMED the source; it is never evidence that the source holds data on a condition. Read it with study_register_total and studies_naming_a_registered_source, because a zero is not a finding that the source is unused.
|
|
395
|
+
attr_accessor :study_count
|
|
396
|
+
|
|
397
|
+
# The number of studies in the whole study register at the snapshot.
|
|
398
|
+
attr_accessor :study_register_total
|
|
399
|
+
|
|
400
|
+
# How many registered studies name at least one data source that is itself registered; the denominator under study_count.
|
|
401
|
+
attr_accessor :studies_naming_a_registered_source
|
|
402
|
+
|
|
403
|
+
# The label of the catalogue snapshot the row was read from (a date).
|
|
404
|
+
attr_accessor :snapshot_label
|
|
405
|
+
|
|
406
|
+
# The month and year the catalogue was accessed (YYYY-MM), which EMA's site asks to be cited with its URL.
|
|
407
|
+
attr_accessor :accessed_month
|
|
408
|
+
|
|
409
|
+
# The license restriction tier of the row's source. Every row of this dataset is licensable (PROVISIONAL, legal read pending).
|
|
410
|
+
attr_accessor :restriction_tier
|
|
411
|
+
|
|
412
|
+
# The attribution line EMA requires, including the catalogue URL and the access month; quote it with any figure taken from the row.
|
|
413
|
+
attr_accessor :attribution
|
|
414
|
+
|
|
415
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
416
|
+
def self.attribute_map
|
|
417
|
+
{
|
|
418
|
+
:'data_source_id' => :'data_source_id',
|
|
419
|
+
:'data_source_name' => :'data_source_name',
|
|
420
|
+
:'data_source_acronym' => :'data_source_acronym',
|
|
421
|
+
:'data_holder' => :'data_holder',
|
|
422
|
+
:'data_source_type' => :'data_source_type',
|
|
423
|
+
:'data_source_type_other' => :'data_source_type_other',
|
|
424
|
+
:'data_source_domain' => :'data_source_domain',
|
|
425
|
+
:'care_setting' => :'care_setting',
|
|
426
|
+
:'main_financial_support' => :'main_financial_support',
|
|
427
|
+
:'country_names' => :'country_names',
|
|
428
|
+
:'unmatched_country_fragments' => :'unmatched_country_fragments',
|
|
429
|
+
:'country_count' => :'country_count',
|
|
430
|
+
:'catalogue_url' => :'catalogue_url',
|
|
431
|
+
:'data_source_website' => :'data_source_website',
|
|
432
|
+
:'is_darwin_eu_data_partner' => :'is_darwin_eu_data_partner',
|
|
433
|
+
:'is_qualified' => :'is_qualified',
|
|
434
|
+
:'refresh_cadence' => :'refresh_cadence',
|
|
435
|
+
:'last_refreshed_on' => :'last_refreshed_on',
|
|
436
|
+
:'record_updated_at' => :'record_updated_at',
|
|
437
|
+
:'record_first_published_at' => :'record_first_published_at',
|
|
438
|
+
:'is_outdated' => :'is_outdated',
|
|
439
|
+
:'record_updated_over_12_months_ago' => :'record_updated_over_12_months_ago',
|
|
440
|
+
:'refresh_interval_days' => :'refresh_interval_days',
|
|
441
|
+
:'refresh_interval_basis' => :'refresh_interval_basis',
|
|
442
|
+
:'refresh_interval_days_shortest' => :'refresh_interval_days_shortest',
|
|
443
|
+
:'refresh_interval_basis_shortest' => :'refresh_interval_basis_shortest',
|
|
444
|
+
:'refresh_cadence_declared' => :'refresh_cadence_declared',
|
|
445
|
+
:'refresh_cadence_interval_days' => :'refresh_cadence_interval_days',
|
|
446
|
+
:'refresh_cadence_is_month_names' => :'refresh_cadence_is_month_names',
|
|
447
|
+
:'days_since_last_refresh' => :'days_since_last_refresh',
|
|
448
|
+
:'database_refresh_state' => :'database_refresh_state',
|
|
449
|
+
:'refresh_state_strict' => :'refresh_state_strict',
|
|
450
|
+
:'refresh_recency_band' => :'refresh_recency_band',
|
|
451
|
+
:'collection_last_band' => :'collection_last_band',
|
|
452
|
+
:'collection_contradicts_refresh_band' => :'collection_contradicts_refresh_band',
|
|
453
|
+
:'prescriptions_of_medicines' => :'prescriptions_of_medicines',
|
|
454
|
+
:'prescriptions_vocabulary' => :'prescriptions_vocabulary',
|
|
455
|
+
:'prescriptions_vocabulary_other' => :'prescriptions_vocabulary_other',
|
|
456
|
+
:'dispensing_of_medicines' => :'dispensing_of_medicines',
|
|
457
|
+
:'dispensing_vocabulary' => :'dispensing_vocabulary',
|
|
458
|
+
:'dispensing_vocabulary_other' => :'dispensing_vocabulary_other',
|
|
459
|
+
:'medicinal_product_vocabulary' => :'medicinal_product_vocabulary',
|
|
460
|
+
:'medicinal_product_vocabulary_other' => :'medicinal_product_vocabulary_other',
|
|
461
|
+
:'indication_for_use' => :'indication_for_use',
|
|
462
|
+
:'indication_vocabulary' => :'indication_vocabulary',
|
|
463
|
+
:'indication_vocabulary_other' => :'indication_vocabulary_other',
|
|
464
|
+
:'diagnostic_codes' => :'diagnostic_codes',
|
|
465
|
+
:'diagnosis_medical_event_vocabulary' => :'diagnosis_medical_event_vocabulary',
|
|
466
|
+
:'diagnosis_medical_event_vocabulary_other' => :'diagnosis_medical_event_vocabulary_other',
|
|
467
|
+
:'hospital_admission_and_or_discharge' => :'hospital_admission_and_or_discharge',
|
|
468
|
+
:'icu_admission' => :'icu_admission',
|
|
469
|
+
:'cause_of_death' => :'cause_of_death',
|
|
470
|
+
:'cause_of_death_vocabulary' => :'cause_of_death_vocabulary',
|
|
471
|
+
:'cause_of_death_vocabulary_other' => :'cause_of_death_vocabulary_other',
|
|
472
|
+
:'disease_information' => :'disease_information',
|
|
473
|
+
:'rare_diseases' => :'rare_diseases',
|
|
474
|
+
:'pregnancy_and_or_neonates' => :'pregnancy_and_or_neonates',
|
|
475
|
+
:'advance_therapy_medicinal_products_atmp' => :'advance_therapy_medicinal_products_atmp',
|
|
476
|
+
:'contraception' => :'contraception',
|
|
477
|
+
:'medical_devices' => :'medical_devices',
|
|
478
|
+
:'administration_of_vaccines' => :'administration_of_vaccines',
|
|
479
|
+
:'procedures' => :'procedures',
|
|
480
|
+
:'procedures_vocabulary' => :'procedures_vocabulary',
|
|
481
|
+
:'procedures_vocabulary_other' => :'procedures_vocabulary_other',
|
|
482
|
+
:'clinical_measurements' => :'clinical_measurements',
|
|
483
|
+
:'healthcare_provider' => :'healthcare_provider',
|
|
484
|
+
:'genetic_data' => :'genetic_data',
|
|
485
|
+
:'genetic_data_vocabulary' => :'genetic_data_vocabulary',
|
|
486
|
+
:'genetic_data_vocabulary_other' => :'genetic_data_vocabulary_other',
|
|
487
|
+
:'biomarker_data' => :'biomarker_data',
|
|
488
|
+
:'biomarker_data_vocabulary' => :'biomarker_data_vocabulary',
|
|
489
|
+
:'biomarker_vocabulary_other' => :'biomarker_vocabulary_other',
|
|
490
|
+
:'patient_reported_outcomes' => :'patient_reported_outcomes',
|
|
491
|
+
:'patient_generated_data' => :'patient_generated_data',
|
|
492
|
+
:'units_of_healthcare_utilisation' => :'units_of_healthcare_utilisation',
|
|
493
|
+
:'unique_identifier_for_persons' => :'unique_identifier_for_persons',
|
|
494
|
+
:'quality_of_life_measurements' => :'quality_of_life_measurements',
|
|
495
|
+
:'quality_of_life_measurements_vocabulary' => :'quality_of_life_measurements_vocabulary',
|
|
496
|
+
:'quality_of_life_measurements_other' => :'quality_of_life_measurements_other',
|
|
497
|
+
:'lifestyle_factors' => :'lifestyle_factors',
|
|
498
|
+
:'sociodemographic_information' => :'sociodemographic_information',
|
|
499
|
+
:'population_size' => :'population_size',
|
|
500
|
+
:'active_population_size' => :'active_population_size',
|
|
501
|
+
:'median_observation_time_years' => :'median_observation_time_years',
|
|
502
|
+
:'median_observation_time_active_years' => :'median_observation_time_active_years',
|
|
503
|
+
:'established_on' => :'established_on',
|
|
504
|
+
:'collection_first_on' => :'collection_first_on',
|
|
505
|
+
:'collection_last_on' => :'collection_last_on',
|
|
506
|
+
:'declared_history_span_years' => :'declared_history_span_years',
|
|
507
|
+
:'median_observation_time_plausibility' => :'median_observation_time_plausibility',
|
|
508
|
+
:'median_observation_time_active_plausibility' => :'median_observation_time_active_plausibility',
|
|
509
|
+
:'estimated_population_coverage_text' => :'estimated_population_coverage_text',
|
|
510
|
+
:'age_groups' => :'age_groups',
|
|
511
|
+
:'age_band_count' => :'age_band_count',
|
|
512
|
+
:'has_population_breakdown' => :'has_population_breakdown',
|
|
513
|
+
:'has_active_population_breakdown' => :'has_active_population_breakdown',
|
|
514
|
+
:'age_bands_are_nested' => :'age_bands_are_nested',
|
|
515
|
+
:'cdm_mapping' => :'cdm_mapping',
|
|
516
|
+
:'etl_status' => :'etl_status',
|
|
517
|
+
:'etl_cdm_version' => :'etl_cdm_version',
|
|
518
|
+
:'etl_frequency' => :'etl_frequency',
|
|
519
|
+
:'etl_specifications_file' => :'etl_specifications_file',
|
|
520
|
+
:'declared_mapping_count' => :'declared_mapping_count',
|
|
521
|
+
:'cdm_readiness' => :'cdm_readiness',
|
|
522
|
+
:'linkage' => :'linkage',
|
|
523
|
+
:'has_pre_linked_declaration' => :'has_pre_linked_declaration',
|
|
524
|
+
:'has_possible_linkage_declaration' => :'has_possible_linkage_declaration',
|
|
525
|
+
:'linked_data_source' => :'linked_data_source',
|
|
526
|
+
:'linked_data_source_other' => :'linked_data_source_other',
|
|
527
|
+
:'linked_linkage_completeness' => :'linked_linkage_completeness',
|
|
528
|
+
:'linked_linkage_variable' => :'linked_linkage_variable',
|
|
529
|
+
:'linked_linkage_strategy' => :'linked_linkage_strategy',
|
|
530
|
+
:'declared_linkage_count' => :'declared_linkage_count',
|
|
531
|
+
:'linkage_state' => :'linkage_state',
|
|
532
|
+
:'biospecimen_access' => :'biospecimen_access',
|
|
533
|
+
:'access_to_subject_details' => :'access_to_subject_details',
|
|
534
|
+
:'possibility_of_data_validation' => :'possibility_of_data_validation',
|
|
535
|
+
:'records_are_preserved_indefinitely' => :'records_are_preserved_indefinitely',
|
|
536
|
+
:'data_source_preservation_length_years' => :'data_source_preservation_length_years',
|
|
537
|
+
:'approval_for_publication' => :'approval_for_publication',
|
|
538
|
+
:'informed_consent_for_use_of_data_for_research' => :'informed_consent_for_use_of_data_for_research',
|
|
539
|
+
:'governance_details_link' => :'governance_details_link',
|
|
540
|
+
:'declared_capability_count' => :'declared_capability_count',
|
|
541
|
+
:'declarable_capability_count' => :'declarable_capability_count',
|
|
542
|
+
:'register_source_count' => :'register_source_count',
|
|
543
|
+
:'study_count' => :'study_count',
|
|
544
|
+
:'study_register_total' => :'study_register_total',
|
|
545
|
+
:'studies_naming_a_registered_source' => :'studies_naming_a_registered_source',
|
|
546
|
+
:'snapshot_label' => :'snapshot_label',
|
|
547
|
+
:'accessed_month' => :'accessed_month',
|
|
548
|
+
:'restriction_tier' => :'restriction_tier',
|
|
549
|
+
:'attribution' => :'attribution'
|
|
550
|
+
}
|
|
551
|
+
end
|
|
552
|
+
|
|
553
|
+
# Returns attribute mapping this model knows about
|
|
554
|
+
def self.acceptable_attribute_map
|
|
555
|
+
attribute_map
|
|
556
|
+
end
|
|
557
|
+
|
|
558
|
+
# Returns all the JSON keys this model knows about
|
|
559
|
+
def self.acceptable_attributes
|
|
560
|
+
acceptable_attribute_map.values
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
# Attribute type mapping.
|
|
564
|
+
def self.openapi_types
|
|
565
|
+
{
|
|
566
|
+
:'data_source_id' => :'String',
|
|
567
|
+
:'data_source_name' => :'String',
|
|
568
|
+
:'data_source_acronym' => :'String',
|
|
569
|
+
:'data_holder' => :'String',
|
|
570
|
+
:'data_source_type' => :'String',
|
|
571
|
+
:'data_source_type_other' => :'String',
|
|
572
|
+
:'data_source_domain' => :'String',
|
|
573
|
+
:'care_setting' => :'String',
|
|
574
|
+
:'main_financial_support' => :'String',
|
|
575
|
+
:'country_names' => :'Array<String>',
|
|
576
|
+
:'unmatched_country_fragments' => :'Array<String>',
|
|
577
|
+
:'country_count' => :'Integer',
|
|
578
|
+
:'catalogue_url' => :'String',
|
|
579
|
+
:'data_source_website' => :'String',
|
|
580
|
+
:'is_darwin_eu_data_partner' => :'Boolean',
|
|
581
|
+
:'is_qualified' => :'Boolean',
|
|
582
|
+
:'refresh_cadence' => :'String',
|
|
583
|
+
:'last_refreshed_on' => :'Date',
|
|
584
|
+
:'record_updated_at' => :'Time',
|
|
585
|
+
:'record_first_published_at' => :'Time',
|
|
586
|
+
:'is_outdated' => :'Boolean',
|
|
587
|
+
:'record_updated_over_12_months_ago' => :'Boolean',
|
|
588
|
+
:'refresh_interval_days' => :'Integer',
|
|
589
|
+
:'refresh_interval_basis' => :'String',
|
|
590
|
+
:'refresh_interval_days_shortest' => :'Integer',
|
|
591
|
+
:'refresh_interval_basis_shortest' => :'String',
|
|
592
|
+
:'refresh_cadence_declared' => :'Array<String>',
|
|
593
|
+
:'refresh_cadence_interval_days' => :'Array<String>',
|
|
594
|
+
:'refresh_cadence_is_month_names' => :'Array<String>',
|
|
595
|
+
:'days_since_last_refresh' => :'Integer',
|
|
596
|
+
:'database_refresh_state' => :'String',
|
|
597
|
+
:'refresh_state_strict' => :'String',
|
|
598
|
+
:'refresh_recency_band' => :'String',
|
|
599
|
+
:'collection_last_band' => :'String',
|
|
600
|
+
:'collection_contradicts_refresh_band' => :'Boolean',
|
|
601
|
+
:'prescriptions_of_medicines' => :'Boolean',
|
|
602
|
+
:'prescriptions_vocabulary' => :'String',
|
|
603
|
+
:'prescriptions_vocabulary_other' => :'String',
|
|
604
|
+
:'dispensing_of_medicines' => :'Boolean',
|
|
605
|
+
:'dispensing_vocabulary' => :'String',
|
|
606
|
+
:'dispensing_vocabulary_other' => :'String',
|
|
607
|
+
:'medicinal_product_vocabulary' => :'String',
|
|
608
|
+
:'medicinal_product_vocabulary_other' => :'String',
|
|
609
|
+
:'indication_for_use' => :'Boolean',
|
|
610
|
+
:'indication_vocabulary' => :'String',
|
|
611
|
+
:'indication_vocabulary_other' => :'String',
|
|
612
|
+
:'diagnostic_codes' => :'Boolean',
|
|
613
|
+
:'diagnosis_medical_event_vocabulary' => :'String',
|
|
614
|
+
:'diagnosis_medical_event_vocabulary_other' => :'String',
|
|
615
|
+
:'hospital_admission_and_or_discharge' => :'Boolean',
|
|
616
|
+
:'icu_admission' => :'Boolean',
|
|
617
|
+
:'cause_of_death' => :'Boolean',
|
|
618
|
+
:'cause_of_death_vocabulary' => :'String',
|
|
619
|
+
:'cause_of_death_vocabulary_other' => :'String',
|
|
620
|
+
:'disease_information' => :'Boolean',
|
|
621
|
+
:'rare_diseases' => :'Boolean',
|
|
622
|
+
:'pregnancy_and_or_neonates' => :'Boolean',
|
|
623
|
+
:'advance_therapy_medicinal_products_atmp' => :'Boolean',
|
|
624
|
+
:'contraception' => :'Boolean',
|
|
625
|
+
:'medical_devices' => :'Boolean',
|
|
626
|
+
:'administration_of_vaccines' => :'Boolean',
|
|
627
|
+
:'procedures' => :'Boolean',
|
|
628
|
+
:'procedures_vocabulary' => :'String',
|
|
629
|
+
:'procedures_vocabulary_other' => :'String',
|
|
630
|
+
:'clinical_measurements' => :'Boolean',
|
|
631
|
+
:'healthcare_provider' => :'Boolean',
|
|
632
|
+
:'genetic_data' => :'Boolean',
|
|
633
|
+
:'genetic_data_vocabulary' => :'String',
|
|
634
|
+
:'genetic_data_vocabulary_other' => :'String',
|
|
635
|
+
:'biomarker_data' => :'Boolean',
|
|
636
|
+
:'biomarker_data_vocabulary' => :'String',
|
|
637
|
+
:'biomarker_vocabulary_other' => :'String',
|
|
638
|
+
:'patient_reported_outcomes' => :'Boolean',
|
|
639
|
+
:'patient_generated_data' => :'Boolean',
|
|
640
|
+
:'units_of_healthcare_utilisation' => :'Boolean',
|
|
641
|
+
:'unique_identifier_for_persons' => :'Boolean',
|
|
642
|
+
:'quality_of_life_measurements' => :'Boolean',
|
|
643
|
+
:'quality_of_life_measurements_vocabulary' => :'String',
|
|
644
|
+
:'quality_of_life_measurements_other' => :'String',
|
|
645
|
+
:'lifestyle_factors' => :'Boolean',
|
|
646
|
+
:'sociodemographic_information' => :'Boolean',
|
|
647
|
+
:'population_size' => :'Integer',
|
|
648
|
+
:'active_population_size' => :'Integer',
|
|
649
|
+
:'median_observation_time_years' => :'Float',
|
|
650
|
+
:'median_observation_time_active_years' => :'Float',
|
|
651
|
+
:'established_on' => :'Date',
|
|
652
|
+
:'collection_first_on' => :'Date',
|
|
653
|
+
:'collection_last_on' => :'Date',
|
|
654
|
+
:'declared_history_span_years' => :'Float',
|
|
655
|
+
:'median_observation_time_plausibility' => :'String',
|
|
656
|
+
:'median_observation_time_active_plausibility' => :'String',
|
|
657
|
+
:'estimated_population_coverage_text' => :'String',
|
|
658
|
+
:'age_groups' => :'String',
|
|
659
|
+
:'age_band_count' => :'Integer',
|
|
660
|
+
:'has_population_breakdown' => :'Boolean',
|
|
661
|
+
:'has_active_population_breakdown' => :'Boolean',
|
|
662
|
+
:'age_bands_are_nested' => :'Boolean',
|
|
663
|
+
:'cdm_mapping' => :'Boolean',
|
|
664
|
+
:'etl_status' => :'String',
|
|
665
|
+
:'etl_cdm_version' => :'String',
|
|
666
|
+
:'etl_frequency' => :'String',
|
|
667
|
+
:'etl_specifications_file' => :'String',
|
|
668
|
+
:'declared_mapping_count' => :'Integer',
|
|
669
|
+
:'cdm_readiness' => :'String',
|
|
670
|
+
:'linkage' => :'Boolean',
|
|
671
|
+
:'has_pre_linked_declaration' => :'Boolean',
|
|
672
|
+
:'has_possible_linkage_declaration' => :'Boolean',
|
|
673
|
+
:'linked_data_source' => :'String',
|
|
674
|
+
:'linked_data_source_other' => :'String',
|
|
675
|
+
:'linked_linkage_completeness' => :'String',
|
|
676
|
+
:'linked_linkage_variable' => :'String',
|
|
677
|
+
:'linked_linkage_strategy' => :'String',
|
|
678
|
+
:'declared_linkage_count' => :'Integer',
|
|
679
|
+
:'linkage_state' => :'String',
|
|
680
|
+
:'biospecimen_access' => :'Boolean',
|
|
681
|
+
:'access_to_subject_details' => :'Boolean',
|
|
682
|
+
:'possibility_of_data_validation' => :'Boolean',
|
|
683
|
+
:'records_are_preserved_indefinitely' => :'Boolean',
|
|
684
|
+
:'data_source_preservation_length_years' => :'String',
|
|
685
|
+
:'approval_for_publication' => :'Boolean',
|
|
686
|
+
:'informed_consent_for_use_of_data_for_research' => :'String',
|
|
687
|
+
:'governance_details_link' => :'String',
|
|
688
|
+
:'declared_capability_count' => :'Integer',
|
|
689
|
+
:'declarable_capability_count' => :'Integer',
|
|
690
|
+
:'register_source_count' => :'Integer',
|
|
691
|
+
:'study_count' => :'Integer',
|
|
692
|
+
:'study_register_total' => :'Integer',
|
|
693
|
+
:'studies_naming_a_registered_source' => :'Integer',
|
|
694
|
+
:'snapshot_label' => :'String',
|
|
695
|
+
:'accessed_month' => :'String',
|
|
696
|
+
:'restriction_tier' => :'String',
|
|
697
|
+
:'attribution' => :'String'
|
|
698
|
+
}
|
|
699
|
+
end
|
|
700
|
+
|
|
701
|
+
# List of attributes with nullable: true
|
|
702
|
+
def self.openapi_nullable
|
|
703
|
+
Set.new([
|
|
704
|
+
:'data_source_id',
|
|
705
|
+
:'data_source_name',
|
|
706
|
+
:'data_source_acronym',
|
|
707
|
+
:'data_holder',
|
|
708
|
+
:'data_source_type',
|
|
709
|
+
:'data_source_type_other',
|
|
710
|
+
:'data_source_domain',
|
|
711
|
+
:'care_setting',
|
|
712
|
+
:'main_financial_support',
|
|
713
|
+
:'country_names',
|
|
714
|
+
:'unmatched_country_fragments',
|
|
715
|
+
:'country_count',
|
|
716
|
+
:'catalogue_url',
|
|
717
|
+
:'data_source_website',
|
|
718
|
+
:'is_darwin_eu_data_partner',
|
|
719
|
+
:'is_qualified',
|
|
720
|
+
:'refresh_cadence',
|
|
721
|
+
:'last_refreshed_on',
|
|
722
|
+
:'record_updated_at',
|
|
723
|
+
:'record_first_published_at',
|
|
724
|
+
:'is_outdated',
|
|
725
|
+
:'record_updated_over_12_months_ago',
|
|
726
|
+
:'refresh_interval_days',
|
|
727
|
+
:'refresh_interval_basis',
|
|
728
|
+
:'refresh_interval_days_shortest',
|
|
729
|
+
:'refresh_interval_basis_shortest',
|
|
730
|
+
:'refresh_cadence_declared',
|
|
731
|
+
:'refresh_cadence_interval_days',
|
|
732
|
+
:'refresh_cadence_is_month_names',
|
|
733
|
+
:'days_since_last_refresh',
|
|
734
|
+
:'database_refresh_state',
|
|
735
|
+
:'refresh_state_strict',
|
|
736
|
+
:'refresh_recency_band',
|
|
737
|
+
:'collection_last_band',
|
|
738
|
+
:'collection_contradicts_refresh_band',
|
|
739
|
+
:'prescriptions_of_medicines',
|
|
740
|
+
:'prescriptions_vocabulary',
|
|
741
|
+
:'prescriptions_vocabulary_other',
|
|
742
|
+
:'dispensing_of_medicines',
|
|
743
|
+
:'dispensing_vocabulary',
|
|
744
|
+
:'dispensing_vocabulary_other',
|
|
745
|
+
:'medicinal_product_vocabulary',
|
|
746
|
+
:'medicinal_product_vocabulary_other',
|
|
747
|
+
:'indication_for_use',
|
|
748
|
+
:'indication_vocabulary',
|
|
749
|
+
:'indication_vocabulary_other',
|
|
750
|
+
:'diagnostic_codes',
|
|
751
|
+
:'diagnosis_medical_event_vocabulary',
|
|
752
|
+
:'diagnosis_medical_event_vocabulary_other',
|
|
753
|
+
:'hospital_admission_and_or_discharge',
|
|
754
|
+
:'icu_admission',
|
|
755
|
+
:'cause_of_death',
|
|
756
|
+
:'cause_of_death_vocabulary',
|
|
757
|
+
:'cause_of_death_vocabulary_other',
|
|
758
|
+
:'disease_information',
|
|
759
|
+
:'rare_diseases',
|
|
760
|
+
:'pregnancy_and_or_neonates',
|
|
761
|
+
:'advance_therapy_medicinal_products_atmp',
|
|
762
|
+
:'contraception',
|
|
763
|
+
:'medical_devices',
|
|
764
|
+
:'administration_of_vaccines',
|
|
765
|
+
:'procedures',
|
|
766
|
+
:'procedures_vocabulary',
|
|
767
|
+
:'procedures_vocabulary_other',
|
|
768
|
+
:'clinical_measurements',
|
|
769
|
+
:'healthcare_provider',
|
|
770
|
+
:'genetic_data',
|
|
771
|
+
:'genetic_data_vocabulary',
|
|
772
|
+
:'genetic_data_vocabulary_other',
|
|
773
|
+
:'biomarker_data',
|
|
774
|
+
:'biomarker_data_vocabulary',
|
|
775
|
+
:'biomarker_vocabulary_other',
|
|
776
|
+
:'patient_reported_outcomes',
|
|
777
|
+
:'patient_generated_data',
|
|
778
|
+
:'units_of_healthcare_utilisation',
|
|
779
|
+
:'unique_identifier_for_persons',
|
|
780
|
+
:'quality_of_life_measurements',
|
|
781
|
+
:'quality_of_life_measurements_vocabulary',
|
|
782
|
+
:'quality_of_life_measurements_other',
|
|
783
|
+
:'lifestyle_factors',
|
|
784
|
+
:'sociodemographic_information',
|
|
785
|
+
:'population_size',
|
|
786
|
+
:'active_population_size',
|
|
787
|
+
:'median_observation_time_years',
|
|
788
|
+
:'median_observation_time_active_years',
|
|
789
|
+
:'established_on',
|
|
790
|
+
:'collection_first_on',
|
|
791
|
+
:'collection_last_on',
|
|
792
|
+
:'declared_history_span_years',
|
|
793
|
+
:'median_observation_time_plausibility',
|
|
794
|
+
:'median_observation_time_active_plausibility',
|
|
795
|
+
:'estimated_population_coverage_text',
|
|
796
|
+
:'age_groups',
|
|
797
|
+
:'age_band_count',
|
|
798
|
+
:'has_population_breakdown',
|
|
799
|
+
:'has_active_population_breakdown',
|
|
800
|
+
:'age_bands_are_nested',
|
|
801
|
+
:'cdm_mapping',
|
|
802
|
+
:'etl_status',
|
|
803
|
+
:'etl_cdm_version',
|
|
804
|
+
:'etl_frequency',
|
|
805
|
+
:'etl_specifications_file',
|
|
806
|
+
:'declared_mapping_count',
|
|
807
|
+
:'cdm_readiness',
|
|
808
|
+
:'linkage',
|
|
809
|
+
:'has_pre_linked_declaration',
|
|
810
|
+
:'has_possible_linkage_declaration',
|
|
811
|
+
:'linked_data_source',
|
|
812
|
+
:'linked_data_source_other',
|
|
813
|
+
:'linked_linkage_completeness',
|
|
814
|
+
:'linked_linkage_variable',
|
|
815
|
+
:'linked_linkage_strategy',
|
|
816
|
+
:'declared_linkage_count',
|
|
817
|
+
:'linkage_state',
|
|
818
|
+
:'biospecimen_access',
|
|
819
|
+
:'access_to_subject_details',
|
|
820
|
+
:'possibility_of_data_validation',
|
|
821
|
+
:'records_are_preserved_indefinitely',
|
|
822
|
+
:'data_source_preservation_length_years',
|
|
823
|
+
:'approval_for_publication',
|
|
824
|
+
:'informed_consent_for_use_of_data_for_research',
|
|
825
|
+
:'governance_details_link',
|
|
826
|
+
:'declared_capability_count',
|
|
827
|
+
:'declarable_capability_count',
|
|
828
|
+
:'register_source_count',
|
|
829
|
+
:'study_count',
|
|
830
|
+
:'study_register_total',
|
|
831
|
+
:'studies_naming_a_registered_source',
|
|
832
|
+
:'snapshot_label',
|
|
833
|
+
:'accessed_month',
|
|
834
|
+
:'restriction_tier',
|
|
835
|
+
:'attribution'
|
|
836
|
+
])
|
|
837
|
+
end
|
|
838
|
+
|
|
839
|
+
# Initializes the object
|
|
840
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
841
|
+
def initialize(attributes = {})
|
|
842
|
+
if (!attributes.is_a?(Hash))
|
|
843
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PharmaObservatory::RwdSourcesRow` initialize method"
|
|
844
|
+
end
|
|
845
|
+
|
|
846
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
847
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
848
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
849
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
850
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PharmaObservatory::RwdSourcesRow`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
851
|
+
end
|
|
852
|
+
h[k.to_sym] = v
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
if attributes.key?(:'data_source_id')
|
|
856
|
+
self.data_source_id = attributes[:'data_source_id']
|
|
857
|
+
end
|
|
858
|
+
|
|
859
|
+
if attributes.key?(:'data_source_name')
|
|
860
|
+
self.data_source_name = attributes[:'data_source_name']
|
|
861
|
+
end
|
|
862
|
+
|
|
863
|
+
if attributes.key?(:'data_source_acronym')
|
|
864
|
+
self.data_source_acronym = attributes[:'data_source_acronym']
|
|
865
|
+
end
|
|
866
|
+
|
|
867
|
+
if attributes.key?(:'data_holder')
|
|
868
|
+
self.data_holder = attributes[:'data_holder']
|
|
869
|
+
end
|
|
870
|
+
|
|
871
|
+
if attributes.key?(:'data_source_type')
|
|
872
|
+
self.data_source_type = attributes[:'data_source_type']
|
|
873
|
+
end
|
|
874
|
+
|
|
875
|
+
if attributes.key?(:'data_source_type_other')
|
|
876
|
+
self.data_source_type_other = attributes[:'data_source_type_other']
|
|
877
|
+
end
|
|
878
|
+
|
|
879
|
+
if attributes.key?(:'data_source_domain')
|
|
880
|
+
self.data_source_domain = attributes[:'data_source_domain']
|
|
881
|
+
end
|
|
882
|
+
|
|
883
|
+
if attributes.key?(:'care_setting')
|
|
884
|
+
self.care_setting = attributes[:'care_setting']
|
|
885
|
+
end
|
|
886
|
+
|
|
887
|
+
if attributes.key?(:'main_financial_support')
|
|
888
|
+
self.main_financial_support = attributes[:'main_financial_support']
|
|
889
|
+
end
|
|
890
|
+
|
|
891
|
+
if attributes.key?(:'country_names')
|
|
892
|
+
if (value = attributes[:'country_names']).is_a?(Array)
|
|
893
|
+
self.country_names = value
|
|
894
|
+
end
|
|
895
|
+
end
|
|
896
|
+
|
|
897
|
+
if attributes.key?(:'unmatched_country_fragments')
|
|
898
|
+
if (value = attributes[:'unmatched_country_fragments']).is_a?(Array)
|
|
899
|
+
self.unmatched_country_fragments = value
|
|
900
|
+
end
|
|
901
|
+
end
|
|
902
|
+
|
|
903
|
+
if attributes.key?(:'country_count')
|
|
904
|
+
self.country_count = attributes[:'country_count']
|
|
905
|
+
end
|
|
906
|
+
|
|
907
|
+
if attributes.key?(:'catalogue_url')
|
|
908
|
+
self.catalogue_url = attributes[:'catalogue_url']
|
|
909
|
+
end
|
|
910
|
+
|
|
911
|
+
if attributes.key?(:'data_source_website')
|
|
912
|
+
self.data_source_website = attributes[:'data_source_website']
|
|
913
|
+
end
|
|
914
|
+
|
|
915
|
+
if attributes.key?(:'is_darwin_eu_data_partner')
|
|
916
|
+
self.is_darwin_eu_data_partner = attributes[:'is_darwin_eu_data_partner']
|
|
917
|
+
end
|
|
918
|
+
|
|
919
|
+
if attributes.key?(:'is_qualified')
|
|
920
|
+
self.is_qualified = attributes[:'is_qualified']
|
|
921
|
+
end
|
|
922
|
+
|
|
923
|
+
if attributes.key?(:'refresh_cadence')
|
|
924
|
+
self.refresh_cadence = attributes[:'refresh_cadence']
|
|
925
|
+
end
|
|
926
|
+
|
|
927
|
+
if attributes.key?(:'last_refreshed_on')
|
|
928
|
+
self.last_refreshed_on = attributes[:'last_refreshed_on']
|
|
929
|
+
end
|
|
930
|
+
|
|
931
|
+
if attributes.key?(:'record_updated_at')
|
|
932
|
+
self.record_updated_at = attributes[:'record_updated_at']
|
|
933
|
+
end
|
|
934
|
+
|
|
935
|
+
if attributes.key?(:'record_first_published_at')
|
|
936
|
+
self.record_first_published_at = attributes[:'record_first_published_at']
|
|
937
|
+
end
|
|
938
|
+
|
|
939
|
+
if attributes.key?(:'is_outdated')
|
|
940
|
+
self.is_outdated = attributes[:'is_outdated']
|
|
941
|
+
end
|
|
942
|
+
|
|
943
|
+
if attributes.key?(:'record_updated_over_12_months_ago')
|
|
944
|
+
self.record_updated_over_12_months_ago = attributes[:'record_updated_over_12_months_ago']
|
|
945
|
+
end
|
|
946
|
+
|
|
947
|
+
if attributes.key?(:'refresh_interval_days')
|
|
948
|
+
self.refresh_interval_days = attributes[:'refresh_interval_days']
|
|
949
|
+
end
|
|
950
|
+
|
|
951
|
+
if attributes.key?(:'refresh_interval_basis')
|
|
952
|
+
self.refresh_interval_basis = attributes[:'refresh_interval_basis']
|
|
953
|
+
end
|
|
954
|
+
|
|
955
|
+
if attributes.key?(:'refresh_interval_days_shortest')
|
|
956
|
+
self.refresh_interval_days_shortest = attributes[:'refresh_interval_days_shortest']
|
|
957
|
+
end
|
|
958
|
+
|
|
959
|
+
if attributes.key?(:'refresh_interval_basis_shortest')
|
|
960
|
+
self.refresh_interval_basis_shortest = attributes[:'refresh_interval_basis_shortest']
|
|
961
|
+
end
|
|
962
|
+
|
|
963
|
+
if attributes.key?(:'refresh_cadence_declared')
|
|
964
|
+
if (value = attributes[:'refresh_cadence_declared']).is_a?(Array)
|
|
965
|
+
self.refresh_cadence_declared = value
|
|
966
|
+
end
|
|
967
|
+
end
|
|
968
|
+
|
|
969
|
+
if attributes.key?(:'refresh_cadence_interval_days')
|
|
970
|
+
if (value = attributes[:'refresh_cadence_interval_days']).is_a?(Array)
|
|
971
|
+
self.refresh_cadence_interval_days = value
|
|
972
|
+
end
|
|
973
|
+
end
|
|
974
|
+
|
|
975
|
+
if attributes.key?(:'refresh_cadence_is_month_names')
|
|
976
|
+
if (value = attributes[:'refresh_cadence_is_month_names']).is_a?(Array)
|
|
977
|
+
self.refresh_cadence_is_month_names = value
|
|
978
|
+
end
|
|
979
|
+
end
|
|
980
|
+
|
|
981
|
+
if attributes.key?(:'days_since_last_refresh')
|
|
982
|
+
self.days_since_last_refresh = attributes[:'days_since_last_refresh']
|
|
983
|
+
end
|
|
984
|
+
|
|
985
|
+
if attributes.key?(:'database_refresh_state')
|
|
986
|
+
self.database_refresh_state = attributes[:'database_refresh_state']
|
|
987
|
+
end
|
|
988
|
+
|
|
989
|
+
if attributes.key?(:'refresh_state_strict')
|
|
990
|
+
self.refresh_state_strict = attributes[:'refresh_state_strict']
|
|
991
|
+
end
|
|
992
|
+
|
|
993
|
+
if attributes.key?(:'refresh_recency_band')
|
|
994
|
+
self.refresh_recency_band = attributes[:'refresh_recency_band']
|
|
995
|
+
end
|
|
996
|
+
|
|
997
|
+
if attributes.key?(:'collection_last_band')
|
|
998
|
+
self.collection_last_band = attributes[:'collection_last_band']
|
|
999
|
+
end
|
|
1000
|
+
|
|
1001
|
+
if attributes.key?(:'collection_contradicts_refresh_band')
|
|
1002
|
+
self.collection_contradicts_refresh_band = attributes[:'collection_contradicts_refresh_band']
|
|
1003
|
+
end
|
|
1004
|
+
|
|
1005
|
+
if attributes.key?(:'prescriptions_of_medicines')
|
|
1006
|
+
self.prescriptions_of_medicines = attributes[:'prescriptions_of_medicines']
|
|
1007
|
+
end
|
|
1008
|
+
|
|
1009
|
+
if attributes.key?(:'prescriptions_vocabulary')
|
|
1010
|
+
self.prescriptions_vocabulary = attributes[:'prescriptions_vocabulary']
|
|
1011
|
+
end
|
|
1012
|
+
|
|
1013
|
+
if attributes.key?(:'prescriptions_vocabulary_other')
|
|
1014
|
+
self.prescriptions_vocabulary_other = attributes[:'prescriptions_vocabulary_other']
|
|
1015
|
+
end
|
|
1016
|
+
|
|
1017
|
+
if attributes.key?(:'dispensing_of_medicines')
|
|
1018
|
+
self.dispensing_of_medicines = attributes[:'dispensing_of_medicines']
|
|
1019
|
+
end
|
|
1020
|
+
|
|
1021
|
+
if attributes.key?(:'dispensing_vocabulary')
|
|
1022
|
+
self.dispensing_vocabulary = attributes[:'dispensing_vocabulary']
|
|
1023
|
+
end
|
|
1024
|
+
|
|
1025
|
+
if attributes.key?(:'dispensing_vocabulary_other')
|
|
1026
|
+
self.dispensing_vocabulary_other = attributes[:'dispensing_vocabulary_other']
|
|
1027
|
+
end
|
|
1028
|
+
|
|
1029
|
+
if attributes.key?(:'medicinal_product_vocabulary')
|
|
1030
|
+
self.medicinal_product_vocabulary = attributes[:'medicinal_product_vocabulary']
|
|
1031
|
+
end
|
|
1032
|
+
|
|
1033
|
+
if attributes.key?(:'medicinal_product_vocabulary_other')
|
|
1034
|
+
self.medicinal_product_vocabulary_other = attributes[:'medicinal_product_vocabulary_other']
|
|
1035
|
+
end
|
|
1036
|
+
|
|
1037
|
+
if attributes.key?(:'indication_for_use')
|
|
1038
|
+
self.indication_for_use = attributes[:'indication_for_use']
|
|
1039
|
+
end
|
|
1040
|
+
|
|
1041
|
+
if attributes.key?(:'indication_vocabulary')
|
|
1042
|
+
self.indication_vocabulary = attributes[:'indication_vocabulary']
|
|
1043
|
+
end
|
|
1044
|
+
|
|
1045
|
+
if attributes.key?(:'indication_vocabulary_other')
|
|
1046
|
+
self.indication_vocabulary_other = attributes[:'indication_vocabulary_other']
|
|
1047
|
+
end
|
|
1048
|
+
|
|
1049
|
+
if attributes.key?(:'diagnostic_codes')
|
|
1050
|
+
self.diagnostic_codes = attributes[:'diagnostic_codes']
|
|
1051
|
+
end
|
|
1052
|
+
|
|
1053
|
+
if attributes.key?(:'diagnosis_medical_event_vocabulary')
|
|
1054
|
+
self.diagnosis_medical_event_vocabulary = attributes[:'diagnosis_medical_event_vocabulary']
|
|
1055
|
+
end
|
|
1056
|
+
|
|
1057
|
+
if attributes.key?(:'diagnosis_medical_event_vocabulary_other')
|
|
1058
|
+
self.diagnosis_medical_event_vocabulary_other = attributes[:'diagnosis_medical_event_vocabulary_other']
|
|
1059
|
+
end
|
|
1060
|
+
|
|
1061
|
+
if attributes.key?(:'hospital_admission_and_or_discharge')
|
|
1062
|
+
self.hospital_admission_and_or_discharge = attributes[:'hospital_admission_and_or_discharge']
|
|
1063
|
+
end
|
|
1064
|
+
|
|
1065
|
+
if attributes.key?(:'icu_admission')
|
|
1066
|
+
self.icu_admission = attributes[:'icu_admission']
|
|
1067
|
+
end
|
|
1068
|
+
|
|
1069
|
+
if attributes.key?(:'cause_of_death')
|
|
1070
|
+
self.cause_of_death = attributes[:'cause_of_death']
|
|
1071
|
+
end
|
|
1072
|
+
|
|
1073
|
+
if attributes.key?(:'cause_of_death_vocabulary')
|
|
1074
|
+
self.cause_of_death_vocabulary = attributes[:'cause_of_death_vocabulary']
|
|
1075
|
+
end
|
|
1076
|
+
|
|
1077
|
+
if attributes.key?(:'cause_of_death_vocabulary_other')
|
|
1078
|
+
self.cause_of_death_vocabulary_other = attributes[:'cause_of_death_vocabulary_other']
|
|
1079
|
+
end
|
|
1080
|
+
|
|
1081
|
+
if attributes.key?(:'disease_information')
|
|
1082
|
+
self.disease_information = attributes[:'disease_information']
|
|
1083
|
+
end
|
|
1084
|
+
|
|
1085
|
+
if attributes.key?(:'rare_diseases')
|
|
1086
|
+
self.rare_diseases = attributes[:'rare_diseases']
|
|
1087
|
+
end
|
|
1088
|
+
|
|
1089
|
+
if attributes.key?(:'pregnancy_and_or_neonates')
|
|
1090
|
+
self.pregnancy_and_or_neonates = attributes[:'pregnancy_and_or_neonates']
|
|
1091
|
+
end
|
|
1092
|
+
|
|
1093
|
+
if attributes.key?(:'advance_therapy_medicinal_products_atmp')
|
|
1094
|
+
self.advance_therapy_medicinal_products_atmp = attributes[:'advance_therapy_medicinal_products_atmp']
|
|
1095
|
+
end
|
|
1096
|
+
|
|
1097
|
+
if attributes.key?(:'contraception')
|
|
1098
|
+
self.contraception = attributes[:'contraception']
|
|
1099
|
+
end
|
|
1100
|
+
|
|
1101
|
+
if attributes.key?(:'medical_devices')
|
|
1102
|
+
self.medical_devices = attributes[:'medical_devices']
|
|
1103
|
+
end
|
|
1104
|
+
|
|
1105
|
+
if attributes.key?(:'administration_of_vaccines')
|
|
1106
|
+
self.administration_of_vaccines = attributes[:'administration_of_vaccines']
|
|
1107
|
+
end
|
|
1108
|
+
|
|
1109
|
+
if attributes.key?(:'procedures')
|
|
1110
|
+
self.procedures = attributes[:'procedures']
|
|
1111
|
+
end
|
|
1112
|
+
|
|
1113
|
+
if attributes.key?(:'procedures_vocabulary')
|
|
1114
|
+
self.procedures_vocabulary = attributes[:'procedures_vocabulary']
|
|
1115
|
+
end
|
|
1116
|
+
|
|
1117
|
+
if attributes.key?(:'procedures_vocabulary_other')
|
|
1118
|
+
self.procedures_vocabulary_other = attributes[:'procedures_vocabulary_other']
|
|
1119
|
+
end
|
|
1120
|
+
|
|
1121
|
+
if attributes.key?(:'clinical_measurements')
|
|
1122
|
+
self.clinical_measurements = attributes[:'clinical_measurements']
|
|
1123
|
+
end
|
|
1124
|
+
|
|
1125
|
+
if attributes.key?(:'healthcare_provider')
|
|
1126
|
+
self.healthcare_provider = attributes[:'healthcare_provider']
|
|
1127
|
+
end
|
|
1128
|
+
|
|
1129
|
+
if attributes.key?(:'genetic_data')
|
|
1130
|
+
self.genetic_data = attributes[:'genetic_data']
|
|
1131
|
+
end
|
|
1132
|
+
|
|
1133
|
+
if attributes.key?(:'genetic_data_vocabulary')
|
|
1134
|
+
self.genetic_data_vocabulary = attributes[:'genetic_data_vocabulary']
|
|
1135
|
+
end
|
|
1136
|
+
|
|
1137
|
+
if attributes.key?(:'genetic_data_vocabulary_other')
|
|
1138
|
+
self.genetic_data_vocabulary_other = attributes[:'genetic_data_vocabulary_other']
|
|
1139
|
+
end
|
|
1140
|
+
|
|
1141
|
+
if attributes.key?(:'biomarker_data')
|
|
1142
|
+
self.biomarker_data = attributes[:'biomarker_data']
|
|
1143
|
+
end
|
|
1144
|
+
|
|
1145
|
+
if attributes.key?(:'biomarker_data_vocabulary')
|
|
1146
|
+
self.biomarker_data_vocabulary = attributes[:'biomarker_data_vocabulary']
|
|
1147
|
+
end
|
|
1148
|
+
|
|
1149
|
+
if attributes.key?(:'biomarker_vocabulary_other')
|
|
1150
|
+
self.biomarker_vocabulary_other = attributes[:'biomarker_vocabulary_other']
|
|
1151
|
+
end
|
|
1152
|
+
|
|
1153
|
+
if attributes.key?(:'patient_reported_outcomes')
|
|
1154
|
+
self.patient_reported_outcomes = attributes[:'patient_reported_outcomes']
|
|
1155
|
+
end
|
|
1156
|
+
|
|
1157
|
+
if attributes.key?(:'patient_generated_data')
|
|
1158
|
+
self.patient_generated_data = attributes[:'patient_generated_data']
|
|
1159
|
+
end
|
|
1160
|
+
|
|
1161
|
+
if attributes.key?(:'units_of_healthcare_utilisation')
|
|
1162
|
+
self.units_of_healthcare_utilisation = attributes[:'units_of_healthcare_utilisation']
|
|
1163
|
+
end
|
|
1164
|
+
|
|
1165
|
+
if attributes.key?(:'unique_identifier_for_persons')
|
|
1166
|
+
self.unique_identifier_for_persons = attributes[:'unique_identifier_for_persons']
|
|
1167
|
+
end
|
|
1168
|
+
|
|
1169
|
+
if attributes.key?(:'quality_of_life_measurements')
|
|
1170
|
+
self.quality_of_life_measurements = attributes[:'quality_of_life_measurements']
|
|
1171
|
+
end
|
|
1172
|
+
|
|
1173
|
+
if attributes.key?(:'quality_of_life_measurements_vocabulary')
|
|
1174
|
+
self.quality_of_life_measurements_vocabulary = attributes[:'quality_of_life_measurements_vocabulary']
|
|
1175
|
+
end
|
|
1176
|
+
|
|
1177
|
+
if attributes.key?(:'quality_of_life_measurements_other')
|
|
1178
|
+
self.quality_of_life_measurements_other = attributes[:'quality_of_life_measurements_other']
|
|
1179
|
+
end
|
|
1180
|
+
|
|
1181
|
+
if attributes.key?(:'lifestyle_factors')
|
|
1182
|
+
self.lifestyle_factors = attributes[:'lifestyle_factors']
|
|
1183
|
+
end
|
|
1184
|
+
|
|
1185
|
+
if attributes.key?(:'sociodemographic_information')
|
|
1186
|
+
self.sociodemographic_information = attributes[:'sociodemographic_information']
|
|
1187
|
+
end
|
|
1188
|
+
|
|
1189
|
+
if attributes.key?(:'population_size')
|
|
1190
|
+
self.population_size = attributes[:'population_size']
|
|
1191
|
+
end
|
|
1192
|
+
|
|
1193
|
+
if attributes.key?(:'active_population_size')
|
|
1194
|
+
self.active_population_size = attributes[:'active_population_size']
|
|
1195
|
+
end
|
|
1196
|
+
|
|
1197
|
+
if attributes.key?(:'median_observation_time_years')
|
|
1198
|
+
self.median_observation_time_years = attributes[:'median_observation_time_years']
|
|
1199
|
+
end
|
|
1200
|
+
|
|
1201
|
+
if attributes.key?(:'median_observation_time_active_years')
|
|
1202
|
+
self.median_observation_time_active_years = attributes[:'median_observation_time_active_years']
|
|
1203
|
+
end
|
|
1204
|
+
|
|
1205
|
+
if attributes.key?(:'established_on')
|
|
1206
|
+
self.established_on = attributes[:'established_on']
|
|
1207
|
+
end
|
|
1208
|
+
|
|
1209
|
+
if attributes.key?(:'collection_first_on')
|
|
1210
|
+
self.collection_first_on = attributes[:'collection_first_on']
|
|
1211
|
+
end
|
|
1212
|
+
|
|
1213
|
+
if attributes.key?(:'collection_last_on')
|
|
1214
|
+
self.collection_last_on = attributes[:'collection_last_on']
|
|
1215
|
+
end
|
|
1216
|
+
|
|
1217
|
+
if attributes.key?(:'declared_history_span_years')
|
|
1218
|
+
self.declared_history_span_years = attributes[:'declared_history_span_years']
|
|
1219
|
+
end
|
|
1220
|
+
|
|
1221
|
+
if attributes.key?(:'median_observation_time_plausibility')
|
|
1222
|
+
self.median_observation_time_plausibility = attributes[:'median_observation_time_plausibility']
|
|
1223
|
+
end
|
|
1224
|
+
|
|
1225
|
+
if attributes.key?(:'median_observation_time_active_plausibility')
|
|
1226
|
+
self.median_observation_time_active_plausibility = attributes[:'median_observation_time_active_plausibility']
|
|
1227
|
+
end
|
|
1228
|
+
|
|
1229
|
+
if attributes.key?(:'estimated_population_coverage_text')
|
|
1230
|
+
self.estimated_population_coverage_text = attributes[:'estimated_population_coverage_text']
|
|
1231
|
+
end
|
|
1232
|
+
|
|
1233
|
+
if attributes.key?(:'age_groups')
|
|
1234
|
+
self.age_groups = attributes[:'age_groups']
|
|
1235
|
+
end
|
|
1236
|
+
|
|
1237
|
+
if attributes.key?(:'age_band_count')
|
|
1238
|
+
self.age_band_count = attributes[:'age_band_count']
|
|
1239
|
+
end
|
|
1240
|
+
|
|
1241
|
+
if attributes.key?(:'has_population_breakdown')
|
|
1242
|
+
self.has_population_breakdown = attributes[:'has_population_breakdown']
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1245
|
+
if attributes.key?(:'has_active_population_breakdown')
|
|
1246
|
+
self.has_active_population_breakdown = attributes[:'has_active_population_breakdown']
|
|
1247
|
+
end
|
|
1248
|
+
|
|
1249
|
+
if attributes.key?(:'age_bands_are_nested')
|
|
1250
|
+
self.age_bands_are_nested = attributes[:'age_bands_are_nested']
|
|
1251
|
+
end
|
|
1252
|
+
|
|
1253
|
+
if attributes.key?(:'cdm_mapping')
|
|
1254
|
+
self.cdm_mapping = attributes[:'cdm_mapping']
|
|
1255
|
+
end
|
|
1256
|
+
|
|
1257
|
+
if attributes.key?(:'etl_status')
|
|
1258
|
+
self.etl_status = attributes[:'etl_status']
|
|
1259
|
+
end
|
|
1260
|
+
|
|
1261
|
+
if attributes.key?(:'etl_cdm_version')
|
|
1262
|
+
self.etl_cdm_version = attributes[:'etl_cdm_version']
|
|
1263
|
+
end
|
|
1264
|
+
|
|
1265
|
+
if attributes.key?(:'etl_frequency')
|
|
1266
|
+
self.etl_frequency = attributes[:'etl_frequency']
|
|
1267
|
+
end
|
|
1268
|
+
|
|
1269
|
+
if attributes.key?(:'etl_specifications_file')
|
|
1270
|
+
self.etl_specifications_file = attributes[:'etl_specifications_file']
|
|
1271
|
+
end
|
|
1272
|
+
|
|
1273
|
+
if attributes.key?(:'declared_mapping_count')
|
|
1274
|
+
self.declared_mapping_count = attributes[:'declared_mapping_count']
|
|
1275
|
+
end
|
|
1276
|
+
|
|
1277
|
+
if attributes.key?(:'cdm_readiness')
|
|
1278
|
+
self.cdm_readiness = attributes[:'cdm_readiness']
|
|
1279
|
+
end
|
|
1280
|
+
|
|
1281
|
+
if attributes.key?(:'linkage')
|
|
1282
|
+
self.linkage = attributes[:'linkage']
|
|
1283
|
+
end
|
|
1284
|
+
|
|
1285
|
+
if attributes.key?(:'has_pre_linked_declaration')
|
|
1286
|
+
self.has_pre_linked_declaration = attributes[:'has_pre_linked_declaration']
|
|
1287
|
+
end
|
|
1288
|
+
|
|
1289
|
+
if attributes.key?(:'has_possible_linkage_declaration')
|
|
1290
|
+
self.has_possible_linkage_declaration = attributes[:'has_possible_linkage_declaration']
|
|
1291
|
+
end
|
|
1292
|
+
|
|
1293
|
+
if attributes.key?(:'linked_data_source')
|
|
1294
|
+
self.linked_data_source = attributes[:'linked_data_source']
|
|
1295
|
+
end
|
|
1296
|
+
|
|
1297
|
+
if attributes.key?(:'linked_data_source_other')
|
|
1298
|
+
self.linked_data_source_other = attributes[:'linked_data_source_other']
|
|
1299
|
+
end
|
|
1300
|
+
|
|
1301
|
+
if attributes.key?(:'linked_linkage_completeness')
|
|
1302
|
+
self.linked_linkage_completeness = attributes[:'linked_linkage_completeness']
|
|
1303
|
+
end
|
|
1304
|
+
|
|
1305
|
+
if attributes.key?(:'linked_linkage_variable')
|
|
1306
|
+
self.linked_linkage_variable = attributes[:'linked_linkage_variable']
|
|
1307
|
+
end
|
|
1308
|
+
|
|
1309
|
+
if attributes.key?(:'linked_linkage_strategy')
|
|
1310
|
+
self.linked_linkage_strategy = attributes[:'linked_linkage_strategy']
|
|
1311
|
+
end
|
|
1312
|
+
|
|
1313
|
+
if attributes.key?(:'declared_linkage_count')
|
|
1314
|
+
self.declared_linkage_count = attributes[:'declared_linkage_count']
|
|
1315
|
+
end
|
|
1316
|
+
|
|
1317
|
+
if attributes.key?(:'linkage_state')
|
|
1318
|
+
self.linkage_state = attributes[:'linkage_state']
|
|
1319
|
+
end
|
|
1320
|
+
|
|
1321
|
+
if attributes.key?(:'biospecimen_access')
|
|
1322
|
+
self.biospecimen_access = attributes[:'biospecimen_access']
|
|
1323
|
+
end
|
|
1324
|
+
|
|
1325
|
+
if attributes.key?(:'access_to_subject_details')
|
|
1326
|
+
self.access_to_subject_details = attributes[:'access_to_subject_details']
|
|
1327
|
+
end
|
|
1328
|
+
|
|
1329
|
+
if attributes.key?(:'possibility_of_data_validation')
|
|
1330
|
+
self.possibility_of_data_validation = attributes[:'possibility_of_data_validation']
|
|
1331
|
+
end
|
|
1332
|
+
|
|
1333
|
+
if attributes.key?(:'records_are_preserved_indefinitely')
|
|
1334
|
+
self.records_are_preserved_indefinitely = attributes[:'records_are_preserved_indefinitely']
|
|
1335
|
+
end
|
|
1336
|
+
|
|
1337
|
+
if attributes.key?(:'data_source_preservation_length_years')
|
|
1338
|
+
self.data_source_preservation_length_years = attributes[:'data_source_preservation_length_years']
|
|
1339
|
+
end
|
|
1340
|
+
|
|
1341
|
+
if attributes.key?(:'approval_for_publication')
|
|
1342
|
+
self.approval_for_publication = attributes[:'approval_for_publication']
|
|
1343
|
+
end
|
|
1344
|
+
|
|
1345
|
+
if attributes.key?(:'informed_consent_for_use_of_data_for_research')
|
|
1346
|
+
self.informed_consent_for_use_of_data_for_research = attributes[:'informed_consent_for_use_of_data_for_research']
|
|
1347
|
+
end
|
|
1348
|
+
|
|
1349
|
+
if attributes.key?(:'governance_details_link')
|
|
1350
|
+
self.governance_details_link = attributes[:'governance_details_link']
|
|
1351
|
+
end
|
|
1352
|
+
|
|
1353
|
+
if attributes.key?(:'declared_capability_count')
|
|
1354
|
+
self.declared_capability_count = attributes[:'declared_capability_count']
|
|
1355
|
+
end
|
|
1356
|
+
|
|
1357
|
+
if attributes.key?(:'declarable_capability_count')
|
|
1358
|
+
self.declarable_capability_count = attributes[:'declarable_capability_count']
|
|
1359
|
+
end
|
|
1360
|
+
|
|
1361
|
+
if attributes.key?(:'register_source_count')
|
|
1362
|
+
self.register_source_count = attributes[:'register_source_count']
|
|
1363
|
+
end
|
|
1364
|
+
|
|
1365
|
+
if attributes.key?(:'study_count')
|
|
1366
|
+
self.study_count = attributes[:'study_count']
|
|
1367
|
+
end
|
|
1368
|
+
|
|
1369
|
+
if attributes.key?(:'study_register_total')
|
|
1370
|
+
self.study_register_total = attributes[:'study_register_total']
|
|
1371
|
+
end
|
|
1372
|
+
|
|
1373
|
+
if attributes.key?(:'studies_naming_a_registered_source')
|
|
1374
|
+
self.studies_naming_a_registered_source = attributes[:'studies_naming_a_registered_source']
|
|
1375
|
+
end
|
|
1376
|
+
|
|
1377
|
+
if attributes.key?(:'snapshot_label')
|
|
1378
|
+
self.snapshot_label = attributes[:'snapshot_label']
|
|
1379
|
+
end
|
|
1380
|
+
|
|
1381
|
+
if attributes.key?(:'accessed_month')
|
|
1382
|
+
self.accessed_month = attributes[:'accessed_month']
|
|
1383
|
+
end
|
|
1384
|
+
|
|
1385
|
+
if attributes.key?(:'restriction_tier')
|
|
1386
|
+
self.restriction_tier = attributes[:'restriction_tier']
|
|
1387
|
+
end
|
|
1388
|
+
|
|
1389
|
+
if attributes.key?(:'attribution')
|
|
1390
|
+
self.attribution = attributes[:'attribution']
|
|
1391
|
+
end
|
|
1392
|
+
end
|
|
1393
|
+
|
|
1394
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
1395
|
+
# @return Array for valid properties with the reasons
|
|
1396
|
+
def list_invalid_properties
|
|
1397
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
1398
|
+
invalid_properties = Array.new
|
|
1399
|
+
invalid_properties
|
|
1400
|
+
end
|
|
1401
|
+
|
|
1402
|
+
# Check to see if the all the properties in the model are valid
|
|
1403
|
+
# @return true if the model is valid
|
|
1404
|
+
def valid?
|
|
1405
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
1406
|
+
true
|
|
1407
|
+
end
|
|
1408
|
+
|
|
1409
|
+
# Checks equality by comparing each attribute.
|
|
1410
|
+
# @param [Object] Object to be compared
|
|
1411
|
+
def ==(o)
|
|
1412
|
+
return true if self.equal?(o)
|
|
1413
|
+
self.class == o.class &&
|
|
1414
|
+
data_source_id == o.data_source_id &&
|
|
1415
|
+
data_source_name == o.data_source_name &&
|
|
1416
|
+
data_source_acronym == o.data_source_acronym &&
|
|
1417
|
+
data_holder == o.data_holder &&
|
|
1418
|
+
data_source_type == o.data_source_type &&
|
|
1419
|
+
data_source_type_other == o.data_source_type_other &&
|
|
1420
|
+
data_source_domain == o.data_source_domain &&
|
|
1421
|
+
care_setting == o.care_setting &&
|
|
1422
|
+
main_financial_support == o.main_financial_support &&
|
|
1423
|
+
country_names == o.country_names &&
|
|
1424
|
+
unmatched_country_fragments == o.unmatched_country_fragments &&
|
|
1425
|
+
country_count == o.country_count &&
|
|
1426
|
+
catalogue_url == o.catalogue_url &&
|
|
1427
|
+
data_source_website == o.data_source_website &&
|
|
1428
|
+
is_darwin_eu_data_partner == o.is_darwin_eu_data_partner &&
|
|
1429
|
+
is_qualified == o.is_qualified &&
|
|
1430
|
+
refresh_cadence == o.refresh_cadence &&
|
|
1431
|
+
last_refreshed_on == o.last_refreshed_on &&
|
|
1432
|
+
record_updated_at == o.record_updated_at &&
|
|
1433
|
+
record_first_published_at == o.record_first_published_at &&
|
|
1434
|
+
is_outdated == o.is_outdated &&
|
|
1435
|
+
record_updated_over_12_months_ago == o.record_updated_over_12_months_ago &&
|
|
1436
|
+
refresh_interval_days == o.refresh_interval_days &&
|
|
1437
|
+
refresh_interval_basis == o.refresh_interval_basis &&
|
|
1438
|
+
refresh_interval_days_shortest == o.refresh_interval_days_shortest &&
|
|
1439
|
+
refresh_interval_basis_shortest == o.refresh_interval_basis_shortest &&
|
|
1440
|
+
refresh_cadence_declared == o.refresh_cadence_declared &&
|
|
1441
|
+
refresh_cadence_interval_days == o.refresh_cadence_interval_days &&
|
|
1442
|
+
refresh_cadence_is_month_names == o.refresh_cadence_is_month_names &&
|
|
1443
|
+
days_since_last_refresh == o.days_since_last_refresh &&
|
|
1444
|
+
database_refresh_state == o.database_refresh_state &&
|
|
1445
|
+
refresh_state_strict == o.refresh_state_strict &&
|
|
1446
|
+
refresh_recency_band == o.refresh_recency_band &&
|
|
1447
|
+
collection_last_band == o.collection_last_band &&
|
|
1448
|
+
collection_contradicts_refresh_band == o.collection_contradicts_refresh_band &&
|
|
1449
|
+
prescriptions_of_medicines == o.prescriptions_of_medicines &&
|
|
1450
|
+
prescriptions_vocabulary == o.prescriptions_vocabulary &&
|
|
1451
|
+
prescriptions_vocabulary_other == o.prescriptions_vocabulary_other &&
|
|
1452
|
+
dispensing_of_medicines == o.dispensing_of_medicines &&
|
|
1453
|
+
dispensing_vocabulary == o.dispensing_vocabulary &&
|
|
1454
|
+
dispensing_vocabulary_other == o.dispensing_vocabulary_other &&
|
|
1455
|
+
medicinal_product_vocabulary == o.medicinal_product_vocabulary &&
|
|
1456
|
+
medicinal_product_vocabulary_other == o.medicinal_product_vocabulary_other &&
|
|
1457
|
+
indication_for_use == o.indication_for_use &&
|
|
1458
|
+
indication_vocabulary == o.indication_vocabulary &&
|
|
1459
|
+
indication_vocabulary_other == o.indication_vocabulary_other &&
|
|
1460
|
+
diagnostic_codes == o.diagnostic_codes &&
|
|
1461
|
+
diagnosis_medical_event_vocabulary == o.diagnosis_medical_event_vocabulary &&
|
|
1462
|
+
diagnosis_medical_event_vocabulary_other == o.diagnosis_medical_event_vocabulary_other &&
|
|
1463
|
+
hospital_admission_and_or_discharge == o.hospital_admission_and_or_discharge &&
|
|
1464
|
+
icu_admission == o.icu_admission &&
|
|
1465
|
+
cause_of_death == o.cause_of_death &&
|
|
1466
|
+
cause_of_death_vocabulary == o.cause_of_death_vocabulary &&
|
|
1467
|
+
cause_of_death_vocabulary_other == o.cause_of_death_vocabulary_other &&
|
|
1468
|
+
disease_information == o.disease_information &&
|
|
1469
|
+
rare_diseases == o.rare_diseases &&
|
|
1470
|
+
pregnancy_and_or_neonates == o.pregnancy_and_or_neonates &&
|
|
1471
|
+
advance_therapy_medicinal_products_atmp == o.advance_therapy_medicinal_products_atmp &&
|
|
1472
|
+
contraception == o.contraception &&
|
|
1473
|
+
medical_devices == o.medical_devices &&
|
|
1474
|
+
administration_of_vaccines == o.administration_of_vaccines &&
|
|
1475
|
+
procedures == o.procedures &&
|
|
1476
|
+
procedures_vocabulary == o.procedures_vocabulary &&
|
|
1477
|
+
procedures_vocabulary_other == o.procedures_vocabulary_other &&
|
|
1478
|
+
clinical_measurements == o.clinical_measurements &&
|
|
1479
|
+
healthcare_provider == o.healthcare_provider &&
|
|
1480
|
+
genetic_data == o.genetic_data &&
|
|
1481
|
+
genetic_data_vocabulary == o.genetic_data_vocabulary &&
|
|
1482
|
+
genetic_data_vocabulary_other == o.genetic_data_vocabulary_other &&
|
|
1483
|
+
biomarker_data == o.biomarker_data &&
|
|
1484
|
+
biomarker_data_vocabulary == o.biomarker_data_vocabulary &&
|
|
1485
|
+
biomarker_vocabulary_other == o.biomarker_vocabulary_other &&
|
|
1486
|
+
patient_reported_outcomes == o.patient_reported_outcomes &&
|
|
1487
|
+
patient_generated_data == o.patient_generated_data &&
|
|
1488
|
+
units_of_healthcare_utilisation == o.units_of_healthcare_utilisation &&
|
|
1489
|
+
unique_identifier_for_persons == o.unique_identifier_for_persons &&
|
|
1490
|
+
quality_of_life_measurements == o.quality_of_life_measurements &&
|
|
1491
|
+
quality_of_life_measurements_vocabulary == o.quality_of_life_measurements_vocabulary &&
|
|
1492
|
+
quality_of_life_measurements_other == o.quality_of_life_measurements_other &&
|
|
1493
|
+
lifestyle_factors == o.lifestyle_factors &&
|
|
1494
|
+
sociodemographic_information == o.sociodemographic_information &&
|
|
1495
|
+
population_size == o.population_size &&
|
|
1496
|
+
active_population_size == o.active_population_size &&
|
|
1497
|
+
median_observation_time_years == o.median_observation_time_years &&
|
|
1498
|
+
median_observation_time_active_years == o.median_observation_time_active_years &&
|
|
1499
|
+
established_on == o.established_on &&
|
|
1500
|
+
collection_first_on == o.collection_first_on &&
|
|
1501
|
+
collection_last_on == o.collection_last_on &&
|
|
1502
|
+
declared_history_span_years == o.declared_history_span_years &&
|
|
1503
|
+
median_observation_time_plausibility == o.median_observation_time_plausibility &&
|
|
1504
|
+
median_observation_time_active_plausibility == o.median_observation_time_active_plausibility &&
|
|
1505
|
+
estimated_population_coverage_text == o.estimated_population_coverage_text &&
|
|
1506
|
+
age_groups == o.age_groups &&
|
|
1507
|
+
age_band_count == o.age_band_count &&
|
|
1508
|
+
has_population_breakdown == o.has_population_breakdown &&
|
|
1509
|
+
has_active_population_breakdown == o.has_active_population_breakdown &&
|
|
1510
|
+
age_bands_are_nested == o.age_bands_are_nested &&
|
|
1511
|
+
cdm_mapping == o.cdm_mapping &&
|
|
1512
|
+
etl_status == o.etl_status &&
|
|
1513
|
+
etl_cdm_version == o.etl_cdm_version &&
|
|
1514
|
+
etl_frequency == o.etl_frequency &&
|
|
1515
|
+
etl_specifications_file == o.etl_specifications_file &&
|
|
1516
|
+
declared_mapping_count == o.declared_mapping_count &&
|
|
1517
|
+
cdm_readiness == o.cdm_readiness &&
|
|
1518
|
+
linkage == o.linkage &&
|
|
1519
|
+
has_pre_linked_declaration == o.has_pre_linked_declaration &&
|
|
1520
|
+
has_possible_linkage_declaration == o.has_possible_linkage_declaration &&
|
|
1521
|
+
linked_data_source == o.linked_data_source &&
|
|
1522
|
+
linked_data_source_other == o.linked_data_source_other &&
|
|
1523
|
+
linked_linkage_completeness == o.linked_linkage_completeness &&
|
|
1524
|
+
linked_linkage_variable == o.linked_linkage_variable &&
|
|
1525
|
+
linked_linkage_strategy == o.linked_linkage_strategy &&
|
|
1526
|
+
declared_linkage_count == o.declared_linkage_count &&
|
|
1527
|
+
linkage_state == o.linkage_state &&
|
|
1528
|
+
biospecimen_access == o.biospecimen_access &&
|
|
1529
|
+
access_to_subject_details == o.access_to_subject_details &&
|
|
1530
|
+
possibility_of_data_validation == o.possibility_of_data_validation &&
|
|
1531
|
+
records_are_preserved_indefinitely == o.records_are_preserved_indefinitely &&
|
|
1532
|
+
data_source_preservation_length_years == o.data_source_preservation_length_years &&
|
|
1533
|
+
approval_for_publication == o.approval_for_publication &&
|
|
1534
|
+
informed_consent_for_use_of_data_for_research == o.informed_consent_for_use_of_data_for_research &&
|
|
1535
|
+
governance_details_link == o.governance_details_link &&
|
|
1536
|
+
declared_capability_count == o.declared_capability_count &&
|
|
1537
|
+
declarable_capability_count == o.declarable_capability_count &&
|
|
1538
|
+
register_source_count == o.register_source_count &&
|
|
1539
|
+
study_count == o.study_count &&
|
|
1540
|
+
study_register_total == o.study_register_total &&
|
|
1541
|
+
studies_naming_a_registered_source == o.studies_naming_a_registered_source &&
|
|
1542
|
+
snapshot_label == o.snapshot_label &&
|
|
1543
|
+
accessed_month == o.accessed_month &&
|
|
1544
|
+
restriction_tier == o.restriction_tier &&
|
|
1545
|
+
attribution == o.attribution
|
|
1546
|
+
end
|
|
1547
|
+
|
|
1548
|
+
# @see the `==` method
|
|
1549
|
+
# @param [Object] Object to be compared
|
|
1550
|
+
def eql?(o)
|
|
1551
|
+
self == o
|
|
1552
|
+
end
|
|
1553
|
+
|
|
1554
|
+
# Calculates hash code according to all attributes.
|
|
1555
|
+
# @return [Integer] Hash code
|
|
1556
|
+
def hash
|
|
1557
|
+
[data_source_id, data_source_name, data_source_acronym, data_holder, data_source_type, data_source_type_other, data_source_domain, care_setting, main_financial_support, country_names, unmatched_country_fragments, country_count, catalogue_url, data_source_website, is_darwin_eu_data_partner, is_qualified, refresh_cadence, last_refreshed_on, record_updated_at, record_first_published_at, is_outdated, record_updated_over_12_months_ago, refresh_interval_days, refresh_interval_basis, refresh_interval_days_shortest, refresh_interval_basis_shortest, refresh_cadence_declared, refresh_cadence_interval_days, refresh_cadence_is_month_names, days_since_last_refresh, database_refresh_state, refresh_state_strict, refresh_recency_band, collection_last_band, collection_contradicts_refresh_band, prescriptions_of_medicines, prescriptions_vocabulary, prescriptions_vocabulary_other, dispensing_of_medicines, dispensing_vocabulary, dispensing_vocabulary_other, medicinal_product_vocabulary, medicinal_product_vocabulary_other, indication_for_use, indication_vocabulary, indication_vocabulary_other, diagnostic_codes, diagnosis_medical_event_vocabulary, diagnosis_medical_event_vocabulary_other, hospital_admission_and_or_discharge, icu_admission, cause_of_death, cause_of_death_vocabulary, cause_of_death_vocabulary_other, disease_information, rare_diseases, pregnancy_and_or_neonates, advance_therapy_medicinal_products_atmp, contraception, medical_devices, administration_of_vaccines, procedures, procedures_vocabulary, procedures_vocabulary_other, clinical_measurements, healthcare_provider, genetic_data, genetic_data_vocabulary, genetic_data_vocabulary_other, biomarker_data, biomarker_data_vocabulary, biomarker_vocabulary_other, patient_reported_outcomes, patient_generated_data, units_of_healthcare_utilisation, unique_identifier_for_persons, quality_of_life_measurements, quality_of_life_measurements_vocabulary, quality_of_life_measurements_other, lifestyle_factors, sociodemographic_information, population_size, active_population_size, median_observation_time_years, median_observation_time_active_years, established_on, collection_first_on, collection_last_on, declared_history_span_years, median_observation_time_plausibility, median_observation_time_active_plausibility, estimated_population_coverage_text, age_groups, age_band_count, has_population_breakdown, has_active_population_breakdown, age_bands_are_nested, cdm_mapping, etl_status, etl_cdm_version, etl_frequency, etl_specifications_file, declared_mapping_count, cdm_readiness, linkage, has_pre_linked_declaration, has_possible_linkage_declaration, linked_data_source, linked_data_source_other, linked_linkage_completeness, linked_linkage_variable, linked_linkage_strategy, declared_linkage_count, linkage_state, biospecimen_access, access_to_subject_details, possibility_of_data_validation, records_are_preserved_indefinitely, data_source_preservation_length_years, approval_for_publication, informed_consent_for_use_of_data_for_research, governance_details_link, declared_capability_count, declarable_capability_count, register_source_count, study_count, study_register_total, studies_naming_a_registered_source, snapshot_label, accessed_month, restriction_tier, attribution].hash
|
|
1558
|
+
end
|
|
1559
|
+
|
|
1560
|
+
# Builds the object from hash
|
|
1561
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
1562
|
+
# @return [Object] Returns the model itself
|
|
1563
|
+
def self.build_from_hash(attributes)
|
|
1564
|
+
return nil unless attributes.is_a?(Hash)
|
|
1565
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
1566
|
+
transformed_hash = {}
|
|
1567
|
+
openapi_types.each_pair do |key, type|
|
|
1568
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
1569
|
+
transformed_hash["#{key}"] = nil
|
|
1570
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
1571
|
+
# check to ensure the input is an array given that the attribute
|
|
1572
|
+
# is documented as an array but the input is not
|
|
1573
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
1574
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
1575
|
+
end
|
|
1576
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
1577
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
1578
|
+
end
|
|
1579
|
+
end
|
|
1580
|
+
new(transformed_hash)
|
|
1581
|
+
end
|
|
1582
|
+
|
|
1583
|
+
# Deserializes the data based on type
|
|
1584
|
+
# @param string type Data type
|
|
1585
|
+
# @param string value Value to be deserialized
|
|
1586
|
+
# @return [Object] Deserialized data
|
|
1587
|
+
def self._deserialize(type, value)
|
|
1588
|
+
case type.to_sym
|
|
1589
|
+
when :Time
|
|
1590
|
+
Time.parse(value)
|
|
1591
|
+
when :Date
|
|
1592
|
+
Date.parse(value)
|
|
1593
|
+
when :String
|
|
1594
|
+
value.to_s
|
|
1595
|
+
when :Integer
|
|
1596
|
+
value.to_i
|
|
1597
|
+
when :Float
|
|
1598
|
+
value.to_f
|
|
1599
|
+
when :Boolean
|
|
1600
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
1601
|
+
true
|
|
1602
|
+
else
|
|
1603
|
+
false
|
|
1604
|
+
end
|
|
1605
|
+
when :Object
|
|
1606
|
+
# generic object (usually a Hash), return directly
|
|
1607
|
+
value
|
|
1608
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
1609
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
1610
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
1611
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
1612
|
+
k_type = Regexp.last_match[:k_type]
|
|
1613
|
+
v_type = Regexp.last_match[:v_type]
|
|
1614
|
+
{}.tap do |hash|
|
|
1615
|
+
value.each do |k, v|
|
|
1616
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
1617
|
+
end
|
|
1618
|
+
end
|
|
1619
|
+
else # model
|
|
1620
|
+
# models (e.g. Pet) or oneOf
|
|
1621
|
+
klass = PharmaObservatory.const_get(type)
|
|
1622
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
1623
|
+
end
|
|
1624
|
+
end
|
|
1625
|
+
|
|
1626
|
+
# Returns the string representation of the object
|
|
1627
|
+
# @return [String] String presentation of the object
|
|
1628
|
+
def to_s
|
|
1629
|
+
to_hash.to_s
|
|
1630
|
+
end
|
|
1631
|
+
|
|
1632
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
1633
|
+
# @return [Hash] Returns the object in the form of hash
|
|
1634
|
+
def to_body
|
|
1635
|
+
to_hash
|
|
1636
|
+
end
|
|
1637
|
+
|
|
1638
|
+
# Returns the object in the form of hash
|
|
1639
|
+
# @return [Hash] Returns the object in the form of hash
|
|
1640
|
+
def to_hash
|
|
1641
|
+
hash = {}
|
|
1642
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
1643
|
+
value = self.send(attr)
|
|
1644
|
+
if value.nil?
|
|
1645
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
1646
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
1647
|
+
end
|
|
1648
|
+
|
|
1649
|
+
hash[param] = _to_hash(value)
|
|
1650
|
+
end
|
|
1651
|
+
hash
|
|
1652
|
+
end
|
|
1653
|
+
|
|
1654
|
+
# Outputs non-array value in the form of hash
|
|
1655
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
1656
|
+
# @param [Object] value Any valid value
|
|
1657
|
+
# @return [Hash] Returns the value in the form of hash
|
|
1658
|
+
def _to_hash(value)
|
|
1659
|
+
if value.is_a?(Array)
|
|
1660
|
+
value.compact.map { |v| _to_hash(v) }
|
|
1661
|
+
elsif value.is_a?(Hash)
|
|
1662
|
+
{}.tap do |hash|
|
|
1663
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
1664
|
+
end
|
|
1665
|
+
elsif value.respond_to? :to_hash
|
|
1666
|
+
value.to_hash
|
|
1667
|
+
else
|
|
1668
|
+
value
|
|
1669
|
+
end
|
|
1670
|
+
end
|
|
1671
|
+
|
|
1672
|
+
end
|
|
1673
|
+
|
|
1674
|
+
end
|