An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

TMSIS Dataguide Medicaid.gov
Version 3.27.0

RULE-7980

Validation Rule
Last updated

Tier 2.0
Tier Description Relational error
Error Category E2001
Error Category Message Values inconsistently specified (single record type, single record)
Rule Type One Record Type (Single Record)
File Segment Number ELG00004
Data Element Name ELIGIBLE-CONTACT-INFORMATION.ELIGIBLE-STATEELIGIBLE-CONTACT-INFORMATION.ELIGIBLE-ZIP-CODE
Validation Logic 'if ELIGIBLE-CONTACT-INFORMATION has a non-null value for MSIS-IDENTIFICATION-NUM and ELIGIBLE-CONTACT-INFORMATION has a non-null value for ELIGIBLE-ZIP-CODE, then the concatenation of ELIGIBLE-CONTACT-INFORMATION.ELIGIBLE-STATE and substring(ELIGIBLE-CONTACT-INFORMATION.ELIGIBLE-ZIP-CODE, 0, 5) must be contained in the set of valid values with id: 'ZIP-CODE' and (if ELIGIBLE-CONTACT-INFORMATION.ELIGIBLE-ADDR-EFF-DATE is non-null then ELIGIBLE-CONTACT-INFORMATION.ELIGIBLE-ADDR-EFF-DATE >= Valid Values Effective-Date and ELIGIBLE-CONTACT-INFORMATION.ELIGIBLE-ADDR-EFF-DATE <= Valid Values End-Date)'
Rule Definition If the MSIS ID is populated on a eligible contact information segment from an ELG file, then the eligible eligible zip code are in the eligible state.
Denominator Logic # of ELIGIBLE-CONTACT-INFORMATION segments with ELIGIBLE-CONTACT-INFORMATION has a non-null value for MSIS-IDENTIFICATION-NUM and with ELIGIBLE-CONTACT-INFORMATION has a non-null value for ELIGIBLE-ZIP-CODE