[613] | 1 | XDRMVFY ;SF-IRMFO/IHS/OHPRD/JCM - VERIFY POTENTIAL DUPLICATES ;10/29/93 09:58
|
---|
| 2 | ;;7.3;TOOLKIT;**23**;Apr 25, 1995
|
---|
| 3 | ;;
|
---|
| 4 | ; Inserted DITC+4-6 IHS/OHPRD/JCM 3/26/91
|
---|
| 5 | START ;
|
---|
| 6 | D DITC
|
---|
| 7 | G:XDRQFLG END
|
---|
| 8 | D VERIFY
|
---|
| 9 | G:XDRQFLG!(XDRMSTAT="") END
|
---|
| 10 | D STATUS
|
---|
| 11 | END D EOJ
|
---|
| 12 | Q
|
---|
| 13 | ;
|
---|
| 14 | DITC ;
|
---|
| 15 | S DIT(1)=XDRMCD,DIT(2)=XDRMCD2,DFF=XDRFL,IOP=IO(0)
|
---|
| 16 | D EN^DITC K IOP
|
---|
| 17 | I $D(DUOUT)!($D(DTOUT))!($D(DIRUT)) S XDRQFLG=1 K DIRUT,DUOUT,DTOUT
|
---|
| 18 | ;*********************************
|
---|
| 19 | ;I $G(DUZ("AG"))="I",'XDRQFLG,XDRFL=2 D ^DPTDZCH ;IHS/OHPRD/JCM 3/26/91
|
---|
| 20 | ;*********************************
|
---|
| 21 | Q
|
---|
| 22 | ;
|
---|
| 23 | VERIFY ; Verifies if duplicate or not.
|
---|
| 24 | S XDRMSTAT=""
|
---|
| 25 | S DIR(0)="S^V:VERIFIED DUPLICATE;N:VERIFIED, NOT A DUPLICATE;U:UNABLE TO MAKE DETERMINATION"
|
---|
| 26 | S DIR("A")="Verification status of potential duplicate pair"
|
---|
| 27 | D ^DIR K DIR
|
---|
| 28 | I $D(DUOUT)!($D(DTOUT)) S XDRQFLG=1 G VERIFYX
|
---|
| 29 | S XDRMSTAT=$S(Y="V":"V",Y="N":"N",1:"")
|
---|
| 30 | VERIFYX Q
|
---|
| 31 | ;
|
---|
| 32 | STATUS ;
|
---|
| 33 | S DIE="^VA(15,",DA=XDRMPDA,DIE("NO^")=1,DR=".03///"_XDRMSTAT
|
---|
| 34 | S:XDRMSTAT="V" XDRMRG=1,DR=DR_";.04//2"
|
---|
| 35 | D ^DIE K DIE,DR,DA
|
---|
| 36 | Q
|
---|
| 37 | ;
|
---|
| 38 | EOJ ;
|
---|
| 39 | K DIT,DFF,IOP,XDRMSTAT,DIRUT
|
---|
| 40 | Q
|
---|
| 41 | ;********************************************
|
---|
| 42 | ; EN entry point added specifically for APMFVFY for MFI
|
---|
| 43 | EN ;
|
---|
| 44 | S XDRQFLG=0
|
---|
| 45 | D DITC
|
---|
| 46 | G:XDRQFLG ENX
|
---|
| 47 | D VERIFY
|
---|
| 48 | ENX K DIT,DFF,IOP
|
---|
| 49 | Q
|
---|