Skip to main content

member_seen_view

Materialized: false

Definition
 SELECT ms.member_seen_id,
ms.name_last,
ms.name_first,
ms.name_middle,
ms.name_prefix,
ms.name_suffix,
ms.primary_id_qualifier,
ms.date_of_birth,
ms.gender_or_sex,
ms.member_ssn,
ms.member_identification_code,
ms.family_identification_code,
ms.person_code,
ms.address_id,
ms.alternate_phone_number_id,
ms.beeper_number_id,
ms.cell_phone_number_id,
ms.email_address_id,
ms.fax_number_id,
ms.home_phone_number_id,
ms.phone_number_id,
ms.work_phone_number_id,
ms.phone_extension,
ms.member_canonical_id_chosen,
ms.member_canonical_id_chosen_at,
ms.member_canonical_id_chosen_by,
ms.member_match_status,
ms.trading_partner_id,
a.canonical_address_id,
a.canonical_primary_address_only_id,
a.is_invalid_address,
a.address1,
a.address2,
a.city,
a.state_or_province,
a.postal_code,
a.country_code,
a.country_subdivision,
home.phone_number AS home_phone_number,
cell.phone_number AS cell_phone_number,
work.phone_number AS work_phone_number,
ph.phone_number,
alt.phone_number AS alternate_phone_number,
fax.fax_number,
email.email_address
FROM claims.member_seen ms
LEFT JOIN claims.address_seen a ON a.address_id = ms.address_id
LEFT JOIN claims.phone home ON home.phone_id = ms.home_phone_number_id
LEFT JOIN claims.phone cell ON cell.phone_id = ms.cell_phone_number_id
LEFT JOIN claims.phone work ON work.phone_id = ms.work_phone_number_id
LEFT JOIN claims.phone ph ON ph.phone_id = ms.phone_number_id
LEFT JOIN claims.phone alt ON alt.phone_id = ms.alternate_phone_number_id
LEFT JOIN claims.fax ON fax.fax_id = ms.fax_number_id
LEFT JOIN claims.email email ON email.email_id = ms.email_address_id;
ColumnData TypeIndexed
member_seen_idbigintNo
name_lasttextNo
name_firsttextNo
name_middletextNo
name_prefixtextNo
name_suffixtextNo
primary_id_qualifieridentification_typeNo
date_of_birthdateNo
gender_or_sexgender_or_sex_typeNo
member_ssntextNo
member_identification_codetextNo
family_identification_codetextNo
person_codetextNo
address_idbigintNo
alternate_phone_number_idbigintNo
beeper_number_idbigintNo
cell_phone_number_idbigintNo
email_address_idbigintNo
fax_number_idbigintNo
home_phone_number_idbigintNo
phone_number_idbigintNo
work_phone_number_idbigintNo
phone_extensiontextNo
member_canonical_id_chosenbigintNo
member_canonical_id_chosen_attimestamptzNo
member_canonical_id_chosen_bybigintNo
member_match_statusmatch_status_typeNo
trading_partner_idbigintNo
canonical_address_idbigintNo
canonical_primary_address_only_idbigintNo
is_invalid_addressbooleanNo
address1textNo
address2textNo
citytextNo
state_or_provincetextNo
postal_codetextNo
country_codetextNo
country_subdivisiontextNo
home_phone_numbertextNo
cell_phone_numbertextNo
work_phone_numbertextNo
phone_numbertextNo
alternate_phone_numbertextNo
fax_numbertextNo
email_addresstextNo