Real-world data register institutions: pharma rwd-institutions
The pharma rwd-institutions commands, with each dataset's columns, units and source credit.
An entry of the HMA-EMA institution register (a self-registered profile or a catalogue name entry): its declarations, four separate study counts, the data sources it holds, the networks that list it and, where its name resolved, the organization key ladder. Licensable tier, PROVISIONAL.
Id: The register's own Institution ID, digits. There is no per-institution web page: /rwd-institutions is the index. One name can be registered under two ids, so counts are per id and not additive. Matching is exact.
Commands
| Command | Reads |
|---|---|
pharma rwd-institutions list |
Register institutions (HMA-EMA catalogue) |
| pharma rwd-institutions get <id> | One real-world data register institution and the datasets reachable from it |
pharma rwd-institutions get <id> provider-rwd-footprint |
Supplier real-world data footprint (HMA-EMA catalogue) |
Every command takes the paging, sorting and output flags described on the CLI page; the CLI prints the source credit with every result.
Register institutions (HMA-EMA catalogue)
pharma rwd-institutions list
The rwd_institutions object type's primary dataset: one row per entry of the HMA-EMA institution register (self-registered profiles and catalogue name entries), with its declarations, activity (four separate study counts), the data sources it holds, the networks that list it and, where the name resolved, the organization key ladder. Contact details are not published.
- One row per
- register institution entry (Institution ID)
- Key columns
institution_id
Source: HMA-EMA Catalogues of real-world data sources and studies ((c) EMA. No free-reuse grant on the catalogue host; EU sui generis database right (Directive 96/9/EC). PROVISIONAL licensable tier, legal read pending (#1916).)
Columns
| Column | Type | Unit | Description |
|---|---|---|---|
| institution_id | text | The register's own Institution ID. The entry key of the rwd_institutions object type. The register can list one name under two ids; counts are per id and are not additive across rows. | |
| institution_name | text | The institution's name as the register spells it; an institution here can be registered under a person's name. | |
| institution_org_id | text | The legal entity (organization record id) the institution resolved to; null when it did not resolve. An unresolved institution keeps its row with null ids. | |
| institution_company_id | text | The company the institution's legal entity belongs to; null when unresolved. | |
| institution_company_name | text | The company's name. | |
| institution_group_id | text | The current ultimate parent company of the institution's company. | |
| institution_group_name | text | The group's name. | |
| org_match_rung | text | How the institution name resolved to a legal entity (the resolution rung); null when unresolved. | |
| org_match_tier | text | The confidence tier of that resolution; null when unresolved. | |
| parent_org_id | text | The legal entity the register's parent institution claim resolved to. Most parent claims are claims between register entries, not between organizations: read it with is_org_to_org. | |
| is_org_to_org | boolean | True when the parent claim is a claim between two resolved legal entities, false when it only links register entries. | |
| institution_name_key | text | The normalised name key the study, membership and holder edges join on. | |
| parent_name | text | The parent institution's name as the register spells it. | |
| parent_name_key | text | The normalised key of the parent name. | |
| registration_state | text | self_registered_profile when the entry carries at least one descriptive field, catalogue_name_entry when it is a name and an id only (a catalogue pick-list entry nobody registered a profile for). The declaration columns are null on a catalogue name entry. | |
| is_self_registered_profile | boolean | True when registration_state is self_registered_profile. | |
| declared_profile_fields | integer | How many of the declarable profile fields the entry answered. | |
| declarable_profile_fields | integer | How many profile fields the register offers; the denominator of declared_profile_fields. | |
| type_of_institution | text | The type of institution the entry declares, as typed. | |
| institution_role | text | The role the entry declares for the institution, as typed. | |
| institution_countries | text | The country text the entry declares, as typed. | |
| institution_country_names | text[] | The declared countries split by the register's country list, one element per country. | |
| institution_country_count | integer | How many countries institution_country_names holds. | |
| unmatched_country_fragments | text[] | Country text items the country vocabulary of this build does not hold. | |
| single_declared_country_iso2 | text | The ISO 3166-1 alpha-2 code when the entry declares exactly one country, null otherwise. | |
| institution_website | text | The institution's website as the register holds it. | |
| catalogue_url | text | The address of this entry on the HMA-EMA catalogue site (the register's URL LINK). | |
| open_to_industry_funded_research | boolean | The register export's Yes or No to whether the institution is open to industry-funded research. The export cannot tell an unanswered question from No, so a false is register export: No, not a decline. Null on a catalogue name entry, where the export writes a default No that is not an answer. | |
| collects_data_directly_from_patients | boolean | The register export's Yes or No to whether the institution collects data directly from patients. The export cannot tell an unanswered question from No, so a false is register export: No. Null on a catalogue name entry. | |
| is_encepp_partner | boolean | The register export's Yes or No to whether the entry is an ENCePP partner. The export cannot tell an unanswered question from No, so a false is register export: No. Null on a catalogue name entry, where the export writes a default No that is not an answer. | |
| record_updated_at | timestamp | When the registrant last edited this catalogue entry. A different clock from last_refreshed_on: it dates the web form, not the database. | |
| record_updated_is_mass_edit | boolean | True when the record's last update date is a mass-edit date: one shared by an outsized part of the register, so it dates a migration and not the registrant. | |
| record_updated_at_attested | timestamp | record_updated_at with the mass-edit dates removed (null for a mass-edit date or no timestamp): the column to sort a freshness question on. | |
| record_updated_date_share | numeric | The share of the register whose last update carries the same date, on every row so a mass-edit date is visible. | |
| record_first_published_at | timestamp | When the catalogue entry was first published. | |
| is_outdated | boolean | 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. | |
| conducting_studies_lifetime | integer | Distinct registered studies the institution's name conducted. Four separate activity numbers; never added together. | |
| conducting_studies_last_5_years | integer | Conducting studies that started within five years of the snapshot. | |
| conducting_studies_ongoing | integer | Conducting studies whose status is Ongoing. | |
| conducting_studies_planned | integer | Conducting studies whose status is Planned. | |
| additional_role_studies | integer | Distinct registered studies the conductor is named on as an additional institution; a different claim from conducting, never added to it. | |
| most_recent_study_start_on | date | The latest actual start date among the studies it conducted (or delivered, for a network). | |
| held_source_count | integer | How many registered data sources name this institution as their data holder; zero is no source naming it, not a finding about the institution. | |
| held_source_ids | text[] | The register Data source IDs of those sources. | |
| held_active_population | bigint | The sum of the active populations the held sources declare. | |
| held_max_active_population | bigint | The largest active population any held source declares. | |
| held_sources_declaring_active_population | integer | How many held sources declare an active population. | |
| held_qualified_source_count | integer | How many held sources declare a data source qualification. | |
| held_darwin_partner_source_count | integer | How many held sources are DARWIN EU data partners. | |
| network_membership_count | integer | How many networks' own member lists name this institution; zero is the network's silence, not a property of the institution. | |
| network_ids | text[] | The register Network IDs of those networks. | |
| network_names | text[] | The names of those networks. | |
| institution_register_total | integer | The number of institutions in the whole institution register at the snapshot. | |
| self_registered_profile_total | integer | How many register entries are self-registered profiles. | |
| catalogue_name_entry_total | integer | How many register entries are catalogue name entries. | |
| institutions_declaring_a_country | integer | How many register institutions declare a country. | |
| institutions_in_any_member_list | integer | How many register institutions at least one network member list names. | |
| institution_name_key_total | integer | How many distinct institution name keys the register holds. | |
| institutions_holding_a_source | integer | How many register institutions hold a registered data source. | |
| declared_holder_name_total | integer | How many distinct data holder names the data source register declares. | |
| declared_holder_name_matched | integer | How many of those holder names match a register institution. | |
| register_source_count | integer | 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. | |
| study_register_total | integer | The number of studies in the whole study register at the snapshot. | |
| studies_naming_a_registered_source | integer | How many registered studies name at least one data source that is itself registered; the denominator under study_count. | |
| studies_naming_a_registered_conductor | integer | How many registered studies name a conducting institution that is itself registered. | |
| snapshot_label | text | The label of the catalogue snapshot the row was read from (a date). | |
| accessed_month | text | The month and year the catalogue was accessed (YYYY-MM), which EMA's site asks to be cited with its URL. | |
| restriction_tier | text | The license restriction tier of the row's source. Every row of this dataset is licensable (PROVISIONAL, legal read pending). | |
| attribution | text | The attribution line EMA requires, including the catalogue URL and the access month; quote it with any figure taken from the row. |
Supplier real-world data footprint (HMA-EMA catalogue)
pharma rwd-institutions get <id> provider-rwd-footprint
Where an RX provider (a Scientist.com supplier) appears in the HMA-EMA register of real-world data sources and studies, one row per register ASSERTION: the provider, the role it holds (conductor or additional_institution of a study, custodian of a data source, network_member of a network), the register entity, the institution the provider was matched through and the match method. Every RX provider with a uuid and at least one matched edge is a row, including a provider the marketplace does not publish; key RX reads on provider_uuid or provider_id. A row is a name or membership match to a registered institution, never an outsourcing relationship and never proof the provider ran the study. Summaries are read-time rollups, never columns (send each body to POST /api/v1/query as the sql field). EXAMPLE 1, studies conducted per provider with a registered start date in the last five years: SELECT provider_uuid, count(DISTINCT evidence_ref) AS studies FROM provider_rwd_footprint WHERE role = 'conductor' AND study_start_actual_on >= current_date - interval '5 years' GROUP BY provider_uuid ORDER BY studies DESC, provider_uuid LIMIT 100. EXAMPLE 2, delivered countries: the countries a provider's conducted studies name, as one row per distinct country list with the studies that carry it (take the union of the lists, or filter one country with 'Spain' = ANY(study_country_names)): SELECT provider_uuid, study_country_names, count(DISTINCT evidence_ref) AS studies FROM provider_rwd_footprint WHERE role = 'conductor' AND evidence_ref_kind = 'rwd_study_id' GROUP BY provider_uuid, study_country_names ORDER BY provider_uuid, study_country_names LIMIT 100. EXAMPLE 3, registered data sources a provider's conducted studies were delivered against, as one row per distinct source-id list (union the lists; the sources a study names that match no registered source are in data_source_names_unmatched and are not counted): SELECT provider_uuid, data_source_ids, count(DISTINCT evidence_ref) AS studies FROM provider_rwd_footprint WHERE role = 'conductor' AND evidence_ref_kind = 'rwd_study_id' GROUP BY provider_uuid, data_source_ids ORDER BY provider_uuid, data_source_ids LIMIT 100. EXAMPLE 4, networks per provider: SELECT provider_uuid, count(DISTINCT evidence_ref) AS networks FROM provider_rwd_footprint WHERE role = 'network_member' GROUP BY provider_uuid ORDER BY networks DESC, provider_uuid LIMIT 100. Each counts distinct register ids with count(DISTINCT evidence_ref), because two matched institutions can reach one study; do not sum the studies of EXAMPLE 2 or 3 across rows.
- One row per
- register assertion joined to an RX provider
- Key columns
provider_rwd_footprint_id
Source: HMA-EMA Catalogues of real-world data sources and studies ((c) EMA. No free-reuse grant on the catalogue host; EU sui generis database right (Directive 96/9/EC). PROVISIONAL licensable tier, legal read pending (#1916).)
Columns
| Column | Type | Unit | Description |
|---|---|---|---|
| provider_rwd_footprint_id | text | The assertion id: a hash of the provider uuid, role, register entity kind and id, match method and institution. | |
| provider_id | text | The supplier id: the Scientist.com provider id as text, the entry key of the suppliers object type. A supplier is not a company. | |
| provider_uuid | text | The Scientist.com public provider uuid, the join key to the RX marketplace. Present on every row, including providers the marketplace does not publish. | |
| provider_slug | text | The supplier's marketplace slug. | |
| provider_name | text | The supplier's name. | |
| institution_id | text | The register institution the provider was matched THROUGH. The entry key of the rwd_institutions object type. | |
| institution_name | text | The register's own name for that institution. | |
| role | text | What the register entity is to the institution: conductor or additional_institution (a study), custodian (a data source's holder) or network_member (a network's member institution). | |
| evidence_ref_kind | text | Which register entity evidence_ref names: rwd_study_id, rwd_data_source_id or rwd_network_id. | |
| evidence_ref | text | The register id of the study, data source or network, per evidence_ref_kind. Ids of different kinds can coincide; read it with evidence_ref_kind. | |
| study_id | text | The register Study ID when evidence_ref_kind is rwd_study_id, otherwise null. The entry key of the rwd_studies object type: a study route returns the providers asserted against that study. | |
| evidence_label | text | The register's own entity name (study title, data source name or network name), never prose. | |
| catalogue_url | text | The address of the register entity on the HMA-EMA catalogue site. | |
| study_start_actual_on | date | Study rows only: the registered actual start date; null otherwise and where the study has none. | |
| study_status | text | Study rows only: the study's registered status. | |
| mandate_stratum | text | Study rows only: mandated, voluntary or unknown. | |
| is_darwin_eu_study | boolean | Study rows only: whether the study is a DARWIN EU (the EMA's Data Analysis and Real World Interrogation Network) study. | |
| data_source_ids | text[] | Study rows only: the register data source ids the study names (the names that match a registered source). | |
| data_source_names_unmatched | text[] | Study rows only: the data source names the study gives that match no registered source. | |
| study_country_names | text[] | Study rows only: the countries the study names. | |
| data_source_type | text | Data source rows only: the data source type(s) the holder ticked, as the register exports them. | |
| country_names | text[] | Data source rows only: the countries the source covers. | |
| match_method | text | How the provider was tied to the institution: org_member_exact (through the supplier's resolved organization), rx_name_key_exact (an exact name match, not a verified identity) or org_unit_of_entry (the register entry's own statement of its parent organization). | |
| also_matched_by_name | boolean | Whether the same provider and institution were also tied by an exact name match. | |
| match_confidence | numeric | The upstream bridge's confidence figure, passed through unchanged; null on rx_name_key_exact rows. | |
| snapshot_label | text | The label of the catalogue snapshot the row was read from (a date). | |
| accessed_month | text | The month and year the catalogue was accessed (YYYY-MM), which EMA's site asks to be cited with its URL. | |
| restriction_tier | text | The license restriction tier of the row's source. Every row of this dataset is licensable (PROVISIONAL, legal read pending). | |
| attribution | text | The attribution line EMA requires, including the catalogue URL and the access month; quote it with any figure taken from the row. |