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.38.0

RULE-1871

Validation Rule
Last updated

Tier 3.0
Tier Description Relational error
Error Category E3002
Error Category Message Values inconsistently specified (multiple record types, multi file)
Rule Type Two Record Type (1 to 1)
File Segment Number ELG00002
Data Element Name PRIMARY-DEMOGRAPHICS-ELIGIBILITY.DATE-OF-DEATHCLAIM-HEADER-RECORD-RX.PRESCRIPTION-FILL-DATE
Validation Logic 'if CLAIM-HEADER-RECORD-RX.CLAIM-STATUS-CATEGORY does not equal 'F2' and CLAIM-HEADER-RECORD-RX.CLAIM-DENIED-INDICATOR does not equal '0' and CLAIM-HEADER-RECORD-RX.TYPE-OF-CLAIM is not equal to one of the following: 'Z' and CLAIM-HEADER-RECORD-RX.CLAIM-STATUS is not equal to one of the following: '26', '026', '87', '087', '542', '585', '654', '686' and CLAIM-HEADER-RECORD-RX.ADJUSTMENT-IND does not equal '1' and PRIMARY-DEMOGRAPHICS-ELIGIBILITY has a valid, non-null value for DATE-OF-DEATH and CLAIM-HEADER-RECORD-RX has a valid, non-null value for PRESCRIPTION-FILL-DATE, then CLAIM-HEADER-RECORD-RX.PRESCRIPTION-FILL-DATE is less than or equal to PRIMARY-DEMOGRAPHICS-ELIGIBILITY.DATE-OF-DEATH'
Rule Definition If a claim is a non-denied, non-void claim from an RX file and the primary demographics eligibility segment has a valid value populated for date of death, and the claim header has a valid value populated for prescription fill date, then prescription fill date is less than or equal to the date of death.
Denominator Logic # of RX claim headers with CLAIM-HEADER-RECORD-RX.CLAIM-STATUS-CATEGORY does not equal 'F2' and with CLAIM-HEADER-RECORD-RX.CLAIM-DENIED-INDICATOR does not equal '0' and with CLAIM-HEADER-RECORD-RX.TYPE-OF-CLAIM does not equal 'Z' and with CLAIM-HEADER-RECORD-RX.CLAIM-STATUS is not equal to one of the following: '26', '026', '87', '087', '542', '585', '654', '686' and with CLAIM-HEADER-RECORD-OT.ADJUSTMENT-IND is not equal to '1' and with PRIMARY-DEMOGRAPHICS-ELIGIBILITY has a valid, non-null value for DATE-OF-DEATH and with CLAIM-HEADER-RECORD-RX has a valid, non-null value for PRESCRIPTION-FILL-DATE