Skip to main content

hcup_diagnosis_crosswalk

HCUP diagnosis crosswalk. See icd_diagnosis_hcup_group for the linkage between icd_diagnosis_id and hcup_diagnosis_group_id.

Primary Key:Checks:
  • hcup_diagnosis_crosswalk_inpatient_default_principal_check - (((is_acceptable_as_inpatient_principal IS FALSE) AND (is_inpatient_default IS FALSE)) OR (is_acceptable_as_inpatient_principal = true))
  • hcup_diagnosis_crosswalk_outpatient_default_principal_check - (((is_acceptable_as_outpatient_principal IS FALSE) AND (is_outpatient_default IS FALSE)) OR (is_acceptable_as_outpatient_principal = true))
Foreign Keys:
ColumnData TypeNullableIndexedDescription
diagnosis_codetextNoYes-
hcup_diagnosis_group_idbigintNoYes-
is_inpatient_defaultbooleanNoNo-
is_acceptable_as_inpatient_principalbooleanNoNo-
is_outpatient_defaultbooleanNoNo-
is_acceptable_as_outpatient_principalbooleanNoNo-