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-1964

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 Four Record Type Rule
File Segment Number CRX00003
Data Element Name CLAIM-HEADER-RECORD-RX.SUBMITTING-STATECLAIM-HEADER-RECORD-RX.DISPENSING-PRESCRIPTION-DRUG-PROV-NUM
Validation Logic if CLAIM-LINE-RECORD-RX.CLAIM-LINE-STATUS is not equal to one of the following: '26', '026', '87', '087', '542', '585', '654' and 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.CLAIM-STATUS is not equal to one of the following: '26', '026', '87', '087', '542', '585', '654' and CLAIM-HEADER-RECORD-RX has a valid, non-null value for DISPENSING-PRESCRIPTION-DRUG-PROV-NUM, then for every record of type CLAIM-HEADER-RECORD-RX, (there must be a valid record of type PROV-IDENTIFIERS that matches on the join keys, where PROV-IDENTIFIERS.PROV-IDENTIFIER-TYPE equals '1' and CLAIM-HEADER-RECORD-RX.PRESCRIPTION-FILL-DATE must be in (PROV-IDENTIFIERS.PROV-IDENTIFIER-EFF-DATE, PROV-IDENTIFIERS.PROV-IDENTIFIER-END-DATE)) OR (there must be a valid record of type PROV-ATTRIBUTES-MAIN that matches on the join keys and CLAIM-HEADER-RECORD-RX.PRESCRIPTION-FILL-DATE must be in (PROV-ATTRIBUTES-MAIN.PROV-ATTRIBUTES-EFF-DATE, PROV-ATTRIBUTES-MAIN.PROV-ATTRIBUTES-END-DATE))
Rule Definition If the dispensing prescription drug provider number is populated on a non-denied claim from the RX file, then either the dispensing prescription drug provider number value reported must be equal to a provider identifier value reported with a provider identifier type value for state-assigned Medicaid provider identifiers on a provider identifiers segment from a PRV file where the effective and end dates of the provider identifiers segment overlap with the prescription fill date on the claim OR the dispensing prescription drug provider number value reported must be equal to a submitting state provider ID on a provider main attributes segment from a PRV file where the effective and end dates of the provider main attributes segment overlap with the prescription fill date on the claim.
Denominator Logic # of RX claim lines with CLAIM-LINE-RECORD-RX.CLAIM-LINE-STATUS is not equal to one of the following: '26', '026', '87', '087', '542', '585', '654' and 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.CLAIM-STATUS is not equal to one of the following: '26', '026', '87', '087', '542', '585', '654' and with CLAIM-HEADER-RECORD-RX has a valid, non-null value for DISPENSING-PRESCRIPTION-DRUG-PROV-NUM