VistA-FOIAVistA/r/TOOLKIT-AWCM-XD-XIN-XPAR-XQ.../XDRPTMMN.m

18 lines
622 B
Mathematica

XDRPTMMN ;SF-IRMFO/IHS/OHPRD/JCM;COMPARES MOTHER'S MAIDEN NAME; ;1/16/97 12:55
;;7.3;TOOLKIT;**23**;Apr 25, 1995
;;
;
; Calls: EN^XDRPTN
START ;
I XDRCD(XDRFL,XDRCD,.2403,"I")']""!(XDRCD2(XDRFL,XDRCD2,.2403,"I")']"") G END
D INIT
D EN^XDRPTN
END Q
;
INIT ;
S XDRDN("MATCH")=$P(XDRDTEST(XDRDTO),U,6)
S XDRDN("NO MATCH")=$P(XDRDTEST(XDRDTO),U,7)
S XDRDN=XDRCD(XDRFL,XDRCD,.2403,"I"),XDRDN2=XDRCD2(XDRFL,XDRCD2,.2403,"I")
S XDRDN=$P(XDRDN,"("),XDRDN2=$P(XDRDN2,"(") S XDRDN=$S(XDRDN[",":$P(XDRDN,",")_",",1:$P(XDRDN," ",$L(XDRDN," "))),XDRDN2=$S(XDRDN2[",":$P(XDRDN2,",")_",",1:$P(XDRDN2," ",$L(XDRDN2," ")))
Q