This file contains a list of special processing conditions which may relate to a particular Tour of Duty time segment. This file should not be altered except as instructed.
INPUT TRANSFORM: K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>20!($L(X)<3) X
LAST EDITED: AUG 09, 1994
HELP-PROMPT: Answer must be 3-20 characters in length.
DESCRIPTION:
The full name of the special tour indicator.
CROSS-REFERENCE: 457.2^B
1)= S ^PRST(457.2,"B",$E(X,1,30),DA)=""
2)= K ^PRST(457.2,"B",$E(X,1,30),DA)
CROSS-REFERENCE: 457.2^AC^MUMPS
1)= S $P(^PRST(457.2,DA,0),"^",3)=DA
2)= Q
Cross-reference is actually a form of a trigger and forces the internal number of the entry into the CODE field as data.
CROSS-REFERENCE: ^^TRIGGER^457.2^4
1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^PRST(457.2,D0,0)):^(0),1:"") S X=$P(Y(1),U,5),X=X S DIU=X K Y X ^DD(457.2,.01,1,3,1.1) X ^DD(457.2,.01,1,3,1.4)
1.1)= S X=DIV S X=DIV X "F %=1:1:$L(X) S:$E(X,%)?1L X=$E(X,0,%-1)_$C($A(X,%)-32)_$E(X,%+1,999)"
1.4)= S DIH=$S($D(^PRST(457.2,DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,5)=DIV,DIH=457.2,DIG=4 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
2)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^PRST(457.2,D0,0)):^(0),1:"") S X=$P(Y(1),U,5),X=X S DIU=X K Y S X="" X ^DD(457.2,.01,1,3,2.4)
2.4)= S DIH=$S($D(^PRST(457.2,DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,5)=DIV,DIH=457.2,DIG=4 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
CREATE VALUE)= UPPERCASE(NAME)
DELETE VALUE)= @
FIELD)= UPPERCASE NAME
This triggers an all uppercase name which is cross-referenced for lookup.