Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: DPTDZTR

DPTDZTR.m

Go to the documentation of this file.
DPTDZTR ; IHS/TUCSON/JCM - IHS COMPARE TRIBE OF MEMBERSHIPS ;
 ;;1.0;PATIENT MERGE;;FEB 02, 1994
START ;
 D INIT
 D COMPARE
END D EOJ
 Q
 ;
INIT ;
 D EOJ
 S DPTDZTR=$G(XDRCD(9000001,XDRCD,1108,"I")),DPTDZTR2=$G(XDRCD2(9000001,XDRCD2,1108,"I"))
 S DPTDZTR("MATCH")=$P(XDRDTEST(XDRDTO),U,6)
 S DPTDZTR("NO MATCH")=$P(XDRDTEST(XDRDTO),U,7)
 Q
 ;
COMPARE ;
 I DPTDZTR']""!(DPTDZTR2']"") G COMPAREX
 I DPTDZTR=DPTDZTR2 S XDRD("TEST SCORE")=DPTDZTR("MATCH") G COMPAREX
 S XDRD("TEST SCORE")=DPTDZTR("NO MATCH")
COMPAREX Q
 ;
EOJ ;
 K DPTDZTR,DPTDZTR2
 Q