VA STANDARD (1)    IDENTIFICATION FORMAT (8.2)

Name Value
NAME VA STANDARD
PROMPT USER FOR ID? NO
INPUT TRANSFORM Q
DEFAULT LONG ID VALUE LOGIC S X="" I $D(DA(1)),$D(^DPT(DA(1),0)) S X=$P(^(0),U,9),X=$E(X,1,3)_"-"_$E(X,4,5)_"-"_$E(X,6,10)
SHORT ID TRANSFORM S X=$S($D(X):$P(X,"-",3),1:"")
DESCRIPTION
This format represents the normal VA identification format.  The format
uses the Social Security field to produce the following id format:
 
            o  LONG ID:  123-45-6789P
            o SHORT ID:  6789P