$$ISDUP(DFN,IBARY) |
This function compares the input data in the IBARY
array with other entries in the Insurance Verification Processor file
(#355.33) for the patient indicated by the DFN parameter. It also compares
data in the Insurance Type Subfile (#2.312) of the Patient file (#2) for the
patient.
Output: 0 if no duplicates are found
1 ^ [File # where duplicate found] ^ [IENS array of entry in file]
example: (1^355.33^12345,) or (1^2.312^2,54321,)
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DFN |
Input |
Patient Internal Entry Number.
|
IBARY |
Input |
An array of required insurance related fields used to
identify potential duplicate insurance data that already exists either in the
Patient Insurance Type subfile #2.312 or the Insurance Verification Processor
file #355.33.
IBARY(20.01) = INSURANCE COMPANY NAME
IBARY(90.02) = GROUP NUMBER
IBARY(90.03) = SUBSCRIBER ID
IBARY(91.01) = NAME OF INSURED
IBARY(60.08) = INSURED'S DOB
When checking against file #355.33, the fields to compare are:
INSURANCE COMPANY NAME (#355.33, 20.01)
GROUP NUMBER (#355.33, 90.02)
SUBSCRIBER ID (#355.33, 90.03)
NAME OF INSURED (#355.33, 91.01)
INSURED'S DOB (#355.33, 60.08)
When checking against file #2.312 by using the API "ALL^IBCNS1", the fields to
compare are:
NAME (#2.312, .01)
NEW GROUP NUMBER (#2.312, 21)
SUBSCRIBER ID (#2.312, 7.02)
NAME OF INSURED (#2.312, 7.01)
INSURED'S DOB (#2.312, 3.01)
|
|