XDRMADD ;SF-IRMFO/IHS/OHPRD/JCM,JLI,REM - USER CREATED VERIFIED DUPLICATE PAIR ENTRY ;27 Jul 2010 6:18 PM
Source file <XDRMADD.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
DNLCHECK() | ; If patients are being selected for merge, check the MPI to
; determine whether the records are marked as DO NOT LINK and ; therefore should not be added to the DUPLICATE RECORD file. ; Returns 1 if OK. ; Created in XT*7.3*125 |
|
MERGEX | ||
END | ||
MERGE | ||
EOJ | ;
|
|
ADDX | ||
START | ;
|
|
ADD | ;
|
|
SCORE | ;
|
|
LKUPX | ||
BYPASS | ;REM -8/20/96 Add record directly into file 15, bypass threshold.
|
|
LKUP | ;Looks up the records to add.
|
|
CHECK | ;
|
|
LKUP2 |
Name | Field # of Occurrence |
---|---|
^DIC | LKUP+5, LKUP2+3 |
FILE^DICN | ADD+14 |
^DIE | ADD+18 |
$$GET1^DIQ | BYPASS+3 |
^DIR | START+22, LKUP2+13, BYPASS+7, BYPASS+12 |
^DIWP | DNLCHECK+23 |
^DIWW | DNLCHECK+23 |
$$DNLCHK^MPIFDNL | DNLCHECK+14 |
DNLCHK^MPIFDNL | DNLCHECK+10 |
SHOW^XDRDPICK | START+49 |
FILE^XDRDQUE | START+9 |
^XDRDSCOR | START+38 |
^XDRDUP | START+39 |
EN^XDRMAIN | MERGE+2 |
^XDRMAINI | ADD+2 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: READ |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^VA(15 - [#15] | Classic Fileman Calls |
^DIC(19.1 - [#19.1] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^%ZOSF("TEST" | DNLCHECK+9 |
^DIC - [#1] | START+19, LKUP+4, LKUP2+2 |
^UTILITY($J | DNLCHECK+20! |
^VA(15 - [#15] | CHECK+1, CHECK+2, CHECK+3, ADD+13 |
^VA(15.1 - [#15.1] | START+17* |
^VA(200 - [#200] | BYPASS+2 |
Name | Line Occurrences |
---|---|
$$DNLCHECK | START+35 |
ADD | START+47 |
ADDX | ADD+16 |
BYPASS | START+29 |
CHECK | START+31 |
END | START+12, START+20, START+29, START+30 |
EOJ | END |
LKUP | START+30, LKUP2+4 |
LKUP2 | LKUP2+6 |
LKUPX | LKUP+6 |
SCORE | START+42 |
START | START+31, START+35, START+43, START+48, START+50 |
Name | Field # of Occurrence |
---|---|
^( | CHECK+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DA | LKUP+5!, LKUP2+3!, ADD+17*, ADDX! |
DIC | START+2!, LKUP+2*, LKUP+5!, LKUP2*, LKUP2+3!, ADD+3*, ADD+15! |
DIC("A" | START+9*, LKUP+4*, LKUP2+2* |
DIC("DR" | ADD+5*, ADD+7*, ADD+8*, ADD+9* |
DIC("S" | LKUP+3*, LKUP2+1* |
DIC(0 | LKUP+2*, LKUP2*, ADD+3* |
DIE | ADD+17*, ADDX! |
DIR | START+21!, START+22!, LKUP2+13!, BYPASS+7!, BYPASS+12! |
DIR("??" | BYPASS+6* |
DIR("A" | START+21*, BYPASS+5*, BYPASS+11* |
DIR("B" | BYPASS+11* |
DIR(0 | START+21*, LKUP2+13*, BYPASS+5*, BYPASS+11* |
>> DIRUT | START+22, LKUP+6, LKUP2+4, LKUP2+13, BYPASS+12 |
DIWF | DNLCHECK+19~, DNLCHECK+21* |
DIWL | DNLCHECK+19~, DNLCHECK+21* |
DIWR | DNLCHECK+19~, DNLCHECK+21* |
DLAYGO | ADD+3*, ADD+15! |
DR | ADD+15!, ADD+18*!, ADDX! |
DR(2 | ADD+18* |
DT | ADD+7 |
>> DTOUT | BYPASS+7 |
>> DUOUT | BYPASS+7 |
DUZ | ADD+7, BYPASS+2 |
I | ADD+11~, ADD+13* |
IOM | DNLCHECK+21 |
U | START+14, START+17, LKUP+4, LKUP2+2, LKUP2+11, LKUP2+12, CHECK+1, CHECK+2, CHECK+3, DNLCHECK+18 , DNLCHECK+21, ADD+3, ADD+4, ADD+12, ADD+13, ADD+18 |
X | DNLCHECK+6~, DNLCHECK+9*, DNLCHECK+19~, DNLCHECK+21*, ADD+3*, ADD+12, ADD+13!, ADD+14, ADD+15!, BYPASS+1~ , BYPASS+2*, BYPASS+3, EOJ+1! |
X1 | ADD+11~, ADD+12*, ADD+13 |
X2 | ADD+11~, ADD+12*, ADD+13 |
X3 | ADD+11~, ADD+13* |
XDRADFLG | START+1~, START+7*, START+28*, START+38, BYPASS+7*, BYPASS+8, BYPASS+9, BYPASS+12*, BYPASS+13 |
XDRCD | LKUP+1!, LKUP+7*, LKUP2+6, LKUP2+7, LKUP2+8, LKUP2+9*, LKUP2+11, CHECK+1, CHECK+2, CHECK+3 , DNLCHECK+14, SCORE+6, SCORE+7, ADD+16!, EOJ+1! |
XDRCD2 | LKUP+1!, LKUP2+5*, LKUP2+6!, LKUP2+7, LKUP2+8, LKUP2+9*, LKUP2+12, CHECK+1, CHECK+2, CHECK+3 , DNLCHECK+14, SCORE+6, SCORE+7, ADD+16!, EOJ+1! |
XDRCNTR | XDRMADD+4~, XDRMADD+5*, START+20, START+24* |
XDRD | EOJ+1! |
XDRD("DUPSCORE" | START+27*, SCORE+2, ADD+8 |
XDRD("NOADD" | START+39* |
XDRD(0 | START+14 |
>> XDRDA | START+47*, ADD+17* |
>> XDRDFLG | START+35, START+47, CHECK+1*, CHECK+2*, CHECK+3*, CHECK+4 |
XDRDFR | SCORE+6*, SCORE+7, ADD+3, MERGE+1, EOJ+1! |
XDRDI | CHECK+1*, CHECK+2, CHECK+3, CHECK+5! |
XDRDSCOR | EOJ+2! |
XDRDSCOR("MAX" | START+27*, SCORE+2, ADD+8 |
XDRDSCOR("PDT%" | START+27*, START+38*, START+43, START+45, ADD+8 |
XDRDSCOR("VDT%" | ADD+9 |
XDRDTEST | EOJ+2! |
XDRDTEST( | ADD+18 |
XDRDTO | SCORE+7*, ADD+4, MERGE+1, EOJ+1! |
XDRDTYPE | START+14*, START+15, START+17*, START+41! |
>> XDRDUP("TEST | SCORE" , ADD+18, ADDX! |
XDRFL | XDRMADD+4~, START+8, START+10, START+13, START+17, START+19, START+26, START+29, START+35, START+37 , START+43, LKUP+4, LKUP2+2, DNLCHECK+5, SCORE+1, EOJ+1!, EOJ+2! |
XDRGL | START+19*, LKUP+2, LKUP2, LKUP2+11, LKUP2+12, CHECK+1, CHECK+2, CHECK+3, ADD+3, ADD+4 , EOJ+1! |
XDRKEY | BYPASS+1~, BYPASS+2*, BYPASS+3*, BYPASS+4 |
XDRM | MERGEX! |
XDRM("NOVERIFY" | MERGE+1* |
XDRMADD | EOJ+1! |
XDRMADD("DUPSCORE%" | START+27*, START+43, START+44, SCORE+2*, SCORE+3*, SCORE+4*, ADD+8 |
XDRMADD("REC1" | LKUP2+7*, LKUP2+8, LKUP2+9 |
XDRMADD("REC2" | LKUP2+8*, LKUP2+9 |
XDRMADD("STATUS" | SCORE+8*, ADD+5 |
XDRMADDX | ADD+4*, ADD+12, ADDX! |
>> XDRMAINI | ADD+2* |
XDRMORD | ADD+18*, ADDX!, EOJ+1! |
XDRMPAIR | MERGE+1*, EOJ+2! |
XDRMPDA | ADD+17*, EOJ+2! |
XDRNOPT | START+1~, START+7* |
XDRQFLG | START+7*, START+9, START+12, START+20, START+22*, START+29, START+30, START+31, START+48, LKUP+6* , LKUP2+13*, ADD+16*, BYPASS+7*, BYPASS+12*, EOJ+2! |
XDRRES | DNLCHECK+6~, DNLCHECK+14*, DNLCHECK+18, DNLCHECK+21 |
Y | START+22, LKUP+6, LKUP+7, LKUP2+4, LKUP2+5, ADD+14*, ADD+16, ADD+17, BYPASS+7, BYPASS+12 , EOJ+1! |
Name | Field # of Occurrence |
---|---|
$T(DNLCHK^MPIFDNL | DNLCHECK+10 |