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

A4A7P601.m

Go to the documentation of this file.
A4A7P601 ; ; 14-JUL-1993
 ;;1.01;A4A7;**6**;JUL 14, 1993
 F I=1:2 S X=$T(Q+I) Q:X=""  S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) S @X=Y
Q Q
 ;;^DD(6,.01,1,2,0)
 ;;=6^AC^MUMPS
 ;;^DD(6,.01,1,2,1)
 ;;=S ^DIC(16,+X,"A6")=DA
 ;;^DD(6,.01,1,2,2)
 ;;=K ^DIC(16,+X,"A6")
 ;;^DD(6,.01,1,3,0)
 ;;=6^AK^MUMPS
 ;;^DD(6,.01,1,3,1)
 ;;=G F6S^XUA4A7
 ;;^DD(6,.01,1,3,2)
 ;;=G F6K^XUA4A7
 ;;^DD(6,.01,1,3,3)
 ;;=Used to link providers to new person keys.
 ;;^DD(6,.01,1,3,"%D",0)
 ;;=^^2^2^2910916^
 ;;^DD(6,.01,1,3,"%D",1,0)
 ;;=This X-ref will see that the provider also has the 'VA Provider'
 ;;^DD(6,.01,1,3,"%D",2,0)
 ;;=key in the New Person file.
 ;;^DD(6,.01,1,3,"DT")
 ;;=2910916
 ;;^DD(6,.111,1,0)
 ;;=^.1
 ;;^DD(6,.111,1,1,0)
 ;;=6^ACX1^MUMPS
 ;;^DD(6,.111,1,1,1)
 ;;=S X1=+$P(^DIC(6,DA,0),"^",1),$P(^DIC(16,X1,.11),"^",1)=X,X1=$S($D(^DIC(16,X1,"A3")):^("A3"),1:"") I X1>0 S $P(^VA(200,X1,.11),"^",1)=X
 ;;^DD(6,.111,1,1,2)
 ;;=S X1=+$P(^DIC(6,DA,0),"^",1),$P(^DIC(16,X1,.11),"^",1)="",X1=$S($D(^DIC(16,X1,"A3")):^("A3"),1:"") I X1>0 S $P(^VA(200,X1,.11),"^",1)=""
 ;;^DD(6,.111,1,1,3)
 ;;=Used to keep 3-16-200 in sync.
 ;;^DD(6,.112,1,0)
 ;;=^.1
 ;;^DD(6,.112,1,1,0)
 ;;=6^ACX2^MUMPS
 ;;^DD(6,.112,1,1,1)
 ;;=S X1=+$P(^DIC(6,DA,0),"^",1),$P(^DIC(16,X1,.11),"^",2)=X,X1=$S($D(^DIC(16,X1,"A3")):^("A3"),1:"") I X1>0 S $P(^VA(200,X1,.11),"^",2)=X
 ;;^DD(6,.112,1,1,2)
 ;;=S X1=+$P(^DIC(6,DA,0),"^",1),$P(^DIC(16,X1,.11),"^",2)="",X1=$S($D(^DIC(16,X1,"A3")):^("A3"),1:"") I X1>0 S $P(^VA(200,X1,.11),"^",2)=""
 ;;^DD(6,.112,1,1,3)
 ;;=Used to keep 3-16-200 in sync.
 ;;^DD(6,.113,1,0)
 ;;=^.1
 ;;^DD(6,.113,1,1,0)
 ;;=6^ACX3^MUMPS
 ;;^DD(6,.113,1,1,1)
 ;;=S X1=+$P(^DIC(6,DA,0),"^",1),$P(^DIC(16,X1,.11),"^",3)=X,X1=$S($D(^DIC(16,X1,"A3")):^("A3"),1:"") I X1>0 S $P(^VA(200,X1,.11),"^",3)=X
 ;;^DD(6,.113,1,1,2)
 ;;=S X1=+$P(^DIC(6,DA,0),"^",1),$P(^DIC(16,X1,.11),"^",3)="",X1=$S($D(^DIC(16,X1,"A3")):^("A3"),1:"") I X1>0 S $P(^VA(200,X1,.11),"^",3)=""
 ;;^DD(6,.113,1,1,3)
 ;;=Used to keep 3-16-200 in sync.
 ;;^DD(6,.114,1,0)
 ;;=^.1
 ;;^DD(6,.114,1,1,0)
 ;;=6^ACX4^MUMPS
 ;;^DD(6,.114,1,1,1)
 ;;=S X1=+$P(^DIC(6,DA,0),"^",1),$P(^DIC(16,X1,.11),"^",4)=X,X1=$S($D(^DIC(16,X1,"A3")):^("A3"),1:"") I X1>0 S $P(^VA(200,X1,.11),"^",4)=X
 ;;^DD(6,.114,1,1,2)
 ;;=S X1=+$P(^DIC(6,DA,0),"^",1),$P(^DIC(16,X1,.11),"^",4)="",X1=$S($D(^DIC(16,X1,"A3")):^("A3"),1:"") I X1>0 S $P(^VA(200,X1,.11),"^",4)=""
 ;;^DD(6,.114,1,1,3)
 ;;=Used to keep 3-16-200 in sync.
 ;;^DD(6,.115,1,0)
 ;;=^.1
 ;;^DD(6,.115,1,1,0)
 ;;=6^ACX5^MUMPS
 ;;^DD(6,.115,1,1,1)
 ;;=S X1=+$P(^DIC(6,DA,0),"^",1),$P(^DIC(16,X1,.11),"^",5)=X,X1=$S($D(^DIC(16,X1,"A3")):^("A3"),1:"") I X1>0 S $P(^VA(200,X1,.11),"^",5)=X
 ;;^DD(6,.115,1,1,2)
 ;;=S X1=+$P(^DIC(6,DA,0),"^",1),$P(^DIC(16,X1,.11),"^",5)="",X1=$S($D(^DIC(16,X1,"A3")):^("A3"),1:"") I X1>0 S $P(^VA(200,X1,.11),"^",5)=""
 ;;^DD(6,.115,1,1,3)
 ;;=Used to keep 3-16-200 in sync.
 ;;^DD(6,.116,1,0)
 ;;=^.1
 ;;^DD(6,.116,1,1,0)
 ;;=6^ACX6^MUMPS
 ;;^DD(6,.116,1,1,1)
 ;;=S X1=+$P(^DIC(6,DA,0),"^",1),$P(^DIC(16,X1,.11),"^",6)=X,X1=$S($D(^DIC(16,X1,"A3")):^("A3"),1:"") I X1>0 S $P(^VA(200,X1,.11),"^",6)=X
 ;;^DD(6,.116,1,1,2)
 ;;=S X1=+$P(^DIC(6,DA,0),"^",1),$P(^DIC(16,X1,.11),"^",6)="",X1=$S($D(^DIC(16,X1,"A3")):^("A3"),1:"") I X1>0 S $P(^VA(200,X1,.11),"^",6)=""
 ;;^DD(6,.116,1,1,3)
 ;;=Used to keep 3-16-200 in sync.
 ;;^DD(6,1,1,0)
 ;;=^.1
 ;;^DD(6,1,1,1,0)
 ;;=6^C
 ;;^DD(6,1,1,1,1)
 ;;=S ^DIC(6,"C",$E(X,1,30),DA)=""
 ;;^DD(6,1,1,1,2)
 ;;=K ^DIC(6,"C",$E(X,1,30),DA)
 ;;^DD(6,1,1,2,0)
 ;;=6^ACX7^MUMPS
 ;;^DD(6,1,1,2,1)
 ;;=S X1=+$P(^DIC(6,DA,0),"^",1),$P(^DIC(16,X1,20),"^",1)=X,X1=$S($D(^DIC(16,X1,"A3")):^("A3"),1:"") I X1>0 S $P(^VA(200,X1,0),"^",2)=X,^VA(200,"C",X,X1)="",$P(^DIC(3,X1,0),"^",2)=X,^DIC(3,"C",X,X1)=""
 ;;^DD(6,1,1,2,2)
 ;;=S X1=+$P(^DIC(6,DA,0),"^",1),$P(^DIC(16,X1,20),"^",1)="",X1=$S($D(^DIC(16,X1,"A3")):^("A3"),1:"") I X1>0 S $P(^VA(200,X1,0),"^",2)="",$P(^DIC(3,X1,0),"^",2)="" K ^VA(200,"C",X,X1),^DIC(3,"C",X,X1)
 ;;^DD(6,1,1,2,3)
 ;;=Used to keep 3-16-200 in sync.
 ;;^DD(6,2,1,0)
 ;;=^.1
 ;;^DD(6,2,1,1,0)
 ;;=6^ACX36^MUMPS
 ;;^DD(6,2,1,1,1)
 ;;=N % S %=$G(^DIC(16,DA,"A3")) S:% $P(^VA(200,%,"PS"),U,5)=X
 ;;^DD(6,2,1,1,2)
 ;;=N % S %=$G(^DIC(16,DA,"A3")) S:% $P(^VA(200,%,"PS"),U,5)=""
 ;;^DD(6,2,1,1,3)
 ;;=Used to keep 3-16-200 in sync.
 ;;^DD(6,2,1,1,"DT")
 ;;=2920629
 ;;^DD(6,3,1,0)
 ;;=^.1
 ;;^DD(6,3,1,1,0)
 ;;=6^ACX37^MUMPS
 ;;^DD(6,3,1,1,1)
 ;;=N % S %=$G(^DIC(16,DA,"A3")) S:% $P(^VA(200,%,"PS"),U,6)=X
 ;;^DD(6,3,1,1,2)
 ;;=N % S %=$G(^DIC(16,DA,"A3")) S:% $P(^VA(200,%,"PS"),U,6)=""
 ;;^DD(6,3,1,1,3)
 ;;=Used to keep 3-16-200 in sync.
 ;;^DD(6,3,1,1,"DT")
 ;;=2920629