member_seen
Contains unique member information from eligibility files
Primary Key:Checks:member_seen_canonical_complete_check-((member_match_status = 'Complete'::claims.match_status_type) = ((member_canonical_id_chosen IS NOT NULL) AND (member_canonical_id_chosen_at IS NOT NULL) AND (member_canonical_id_chosen_by IS NOT NULL)))member_seen_check-((member_identification_code <> ''::text) OR (member_ssn <> ''::text) OR (family_identification_code <> ''::text) OR ((name_last <> ''::text) AND (name_first <> ''::text) AND (date_of_birth IS NOT NULL)))member_seen_family_identification_code_check-(family_identification_code = upper(family_identification_code))member_seen_member_identification_code_check-(member_identification_code = upper(member_identification_code))member_seen_member_ssn_check-(member_ssn = claims.clean_ssn(member_ssn))member_seen_name_first_check-(name_first = upper(name_first))member_seen_name_last_check-(name_last = upper(name_last))member_seen_name_middle_check-(name_middle = upper(name_middle))member_seen_name_prefix_check-(name_prefix = upper(name_prefix))member_seen_name_suffix_check-(name_suffix = upper(name_suffix))
address_id=>address_seen.address_idalternate_phone_number_id=>phone.phone_idbeeper_number_id=>phone.phone_idcell_phone_number_id=>phone.phone_idemail_address_id=>email.email_idfax_number_id=>fax.fax_idhome_phone_number_id=>phone.phone_idmember_canonical_id_chosen_by=>login.login_idmember_canonical_id_chosen=>member_canonical.member_canonical_idphone_number_id=>phone.phone_idwork_phone_number_id=>phone.phone_id
member_seen_address_id_idx-address_idmember_seen_alternate_phone_number_id_idx-alternate_phone_number_idmember_seen_beeper_number_id_idx-beeper_number_idmember_seen_cell_phone_number_id_idx-cell_phone_number_idmember_seen_date_of_birth_idx-date_of_birthmember_seen_email_address_id_idx-email_address_idmember_seen_family_identification_code_idx-family_identification_codemember_seen_fax_number_id_idx-fax_number_idmember_seen_home_phone_number_id_idx-home_phone_number_idmember_seen_member_identification_code_idx-member_identification_codemember_seen_member_match_status_idx-member_match_statusmember_seen_member_ssn_idx-member_ssnmember_seen_name_first_idx-name_firstmember_seen_name_last_idx-name_lastmember_seen_phone_number_id_idx-phone_number_idmember_seen_uq(Unique) -member_ssn,member_identification_code,family_identification_code,person_code,address_id,name_last,name_first,name_middle,name_prefix,name_suffix,date_of_birth,gender_or_sex,alternate_phone_number_id,beeper_number_id,cell_phone_number_id,email_address_id,fax_number_id,home_phone_number_id,phone_number_id,work_phone_number_id,phone_extension,trading_partner_idmember_seen_work_phone_number_id_idx-work_phone_number_id
| Column | Data Type | Nullable | Indexed | Description |
|---|---|---|---|---|
member_seen_id | bigint | No | Yes | Snowflake ID for member seen record. Generated through expression: |
address_id | bigint | Yes | Yes | Address (From N3, N4) Generated through expression: |
name_last | text | No | Yes | Last name or organization name (From NM103) Generated through expression: |
name_first | text | No | Yes | First / given name (From NM104) Generated through expression: |
name_middle | text | No | Yes | Middle name (From NM105) Generated through expression: |
name_prefix | text | No | Yes | Prefix to the name (From NM106) Generated through expression: |
name_suffix | text | No | Yes | Suffix to the name (From NM107) Generated through expression: |
date_of_birth | date | Yes | Yes | Date of birth (From DMG02) Generated through expression: |
gender_or_sex | gender_or_sex_type | No | Yes | May be either the preferred gender or the sex assigned at birth of the individual (From DMG03) Generated through expression: |
member_ssn | text | No | Yes | Social Security Number (From NM109 code 34 or REF SY) Generated through expression: |
member_identification_code | text | No | Yes | Member identifier (From NM109 code MI [837 claim] or ZZ [834 eligibility]) Generated through expression: |
family_identification_code | text | No | Yes | Some TPAs send a family identification code which can be used together with the person_code to identify each family member. Generated through expression: |
person_code | text | No | Yes | Some TPAs send a person code in order to differentiate between different family members when they would all have the same member_identification_id. Generated through expression: |
alternate_phone_number_id | bigint | Yes | Yes | Alternate telephone number ID (From PER03/5/7 AP) Generated through expression: |
beeper_number_id | bigint | Yes | Yes | Beeper number ID (From PER03/5/7 BN) Generated through expression: |
cell_phone_number_id | bigint | Yes | Yes | Cell phone number ID (From PER03/5/7 CP) Generated through expression: |
email_address_id | bigint | Yes | Yes | Electronic mail address ID (From PER03/5/7 EM) Generated through expression: |
fax_number_id | bigint | Yes | Yes | Facsimile number ID (From PER03/5/7 FX) Generated through expression: |
home_phone_number_id | bigint | Yes | Yes | Home phone number ID (From PER03/5/7 HP) Generated through expression: |
phone_number_id | bigint | Yes | Yes | Telephone number ID (From PER03/5/7 TE) Generated through expression: |
work_phone_number_id | bigint | Yes | Yes | Work telephone number ID (From PER03/5/7 WP) Generated through expression: |
phone_extension | text | No | Yes | Telephone extension (From PER03/5/7 EX) Generated through expression: |
trading_partner_id | bigint | No | Yes | The trading partner associated with this member_seen record Generated through expression: |
primary_id_qualifier | identification_type | Yes | No | Data type of the primary identification code (From NM108) Generated through expression: |
member_canonical_id_chosen | bigint | Yes | No | Member ID chosen through manual or automated member matching Generated through expression: |
member_canonical_id_chosen_at | timestamp with time zone | Yes | No | Date when the member ID was selected Generated through expression: |
member_canonical_id_chosen_by | bigint | Yes | No | Indicates who (manual or automated) chose the member ID Generated through expression: |
member_match_status | match_status_type | No | Yes | Indicates the matching state of the member Generated through expression: |