DVBAB FIND DUPS

TITLEVALUE
NAMEDVBAB FIND DUPS
DESCRIPTIONFind potential duplicates within the PATIENT File (#2)

At least one of NAM, DOB, or SSN must be passed
Possible matches are "better" when more than one of these is passed
TAGDUP
ROUTINEDVBAB84
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERNAM
DESCRIPTIONName of possible patient
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERDOB
DESCRIPTIONDate of Birth of possible patient
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH7

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERSSN
DESCRIPTIONSocial Security Number of possible patient
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH10

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONBYREF - Passed by reference, will contain name of a TMP Global housing the results

Subscript 0: -1^ERROR_MESSAGE (in the event of an error)

OR

Subscript 0: Number of potential matches found (if no errors)
Subscript 1-K: Patient's matching ALL 3 of NAM, DOB, SSN have a weighting of 3 (see Note)
Subscript K+1-L: Patient's matching ANY 2 of NAM, DOB, SSN have a weighting of 2 (see Note)
Subscript L+1-M: Patient's matching ONLY 1 of NAM, DOB, SSN have a weighting of 1 (see Note)

^TMP(1-M) = DFN^ZERO_NODE
where DFN is the Patient IEN
ZERO_NODE is the data from ^DPT(DFN,0)

NOTE: Potential matches within a weighting (if any) will be sorted by Patient Name
AVAILABILITYSUBSCRIPTION
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED