Skip to main content

line_item_everything_view

Materialized: false

Definition
 SELECT c.claim_id,
c.claim_member_id,
c.tpa_adjudication_method,
c.tpa_claim_status,
c.patient_control_number,
c.claim_billed_amount,
c.facility_type,
c.claim_type,
c.form_type,
c.claim_frequency_type,
c.earliest_service_date,
c.latest_service_date,
c.statement_date_from,
c.statement_date_through,
c.admit_date_or_datetime,
c.facility_admission_type,
c.facility_admission_source,
c.facility_patient_status,
c.referral_number,
c.claim_number,
c.payer_claim_number,
c.repriced_claim_number,
c.adjusted_repriced_claim_number,
c.medical_record_number,
c.its_number,
c.icn_number,
c.prior_authorization_number,
l.line_item_id,
l.line_number,
l.rev_code,
l.revenue_code_title,
l.revenue_code_group_title,
l.procedure_qualifier,
l.procedure_code,
l.procedure_modifiers,
l.procedure_description,
l.procedure_long_description,
l.procedure_short_description,
l.procedure_medium_description,
l.procedure_consumer_friendly_description,
l.hcup_hcpcs_group_code,
l.hcup_hcpcs_group_description,
l.billed_amount,
l.quantity,
l.units,
l.place_of_service,
COALESCE(l.service_date_from, c.service_date_from) AS service_date_from,
COALESCE(l.service_date_through, c.service_date_through) AS service_date_through,
l.line_item_provider_control_number,
l.line_item_prior_authorization_number,
l.tpa_network_identifier,
l.tpa_network_name,
l.tpa_network_status,
l.payment_limit,
l.billed_adjustment,
l.allowed_amount,
l.not_covered_amount,
l.allowed_adjustment_amount,
l.plan_payment_amount,
l.cob_paid_amount,
l.copay_amount,
l.coinsurance_amount,
l.deductible_amount,
l.payment_identification_code,
l.payment_method_type,
l.payment_date,
l.payment_to_provider,
l.payment_to_member
FROM claims.claim_validation_wide_view c
LEFT JOIN claims.line_item_view l ON l.claim_id = c.claim_id;
ColumnData TypeIndexed
claim_idbigintNo
claim_member_idbigintNo
tpa_adjudication_methodadjudication_method_typeNo
tpa_claim_statustextNo
patient_control_numbertextNo
claim_billed_amountnumericNo
facility_typetextNo
claim_typeclaim_typeNo
form_typeform_typeNo
claim_frequency_typetextNo
earliest_service_datedateNo
latest_service_datedateNo
statement_date_fromdateNo
statement_date_throughdateNo
admit_date_or_datetimetimestampNo
facility_admission_typetextNo
facility_admission_sourcetextNo
facility_patient_statustextNo
referral_numbertextNo
claim_numbertextNo
payer_claim_numbertextNo
repriced_claim_numbertextNo
adjusted_repriced_claim_numbertextNo
medical_record_numbertextNo
its_numbertextNo
icn_numbertextNo
prior_authorization_numbertextNo
line_item_idbigintNo
line_numbertextNo
rev_codetextNo
revenue_code_titletextNo
revenue_code_group_titletextNo
procedure_qualifierproduct_service_id_typeNo
procedure_codetextNo
procedure_modifierstext[]No
procedure_descriptiontextNo
procedure_long_descriptiontextNo
procedure_short_descriptiontextNo
procedure_medium_descriptiontextNo
procedure_consumer_friendly_descriptiontextNo
hcup_hcpcs_group_codesmallintNo
hcup_hcpcs_group_descriptiontextNo
billed_amountnumericNo
quantitynumericNo
unitstextNo
place_of_servicetextNo
service_date_fromdateNo
service_date_throughdateNo
line_item_provider_control_numbertextNo
line_item_prior_authorization_numbertextNo
tpa_network_identifiertextNo
tpa_network_nametextNo
tpa_network_statustextNo
payment_limitnumericNo
billed_adjustmentnumericNo
allowed_amountnumericNo
not_covered_amountnumericNo
allowed_adjustment_amountnumericNo
plan_payment_amountnumericNo
cob_paid_amountnumericNo
copay_amountnumericNo
coinsurance_amountnumericNo
deductible_amountnumericNo
payment_identification_codetextNo
payment_method_typepayment_method_typeNo
payment_datedateNo
payment_to_providernumericNo
payment_to_membernumericNo