ANRV AGE LIST (656)    SORT TEMPLATE (.401)

Name Value
NAME ANRV AGE LIST
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   2040
    GET CODE:   S Y(1)=$S($D(^ANRV(2040,D0,13)):^(13),1:"") S X=$P(Y(1),U,2),X=X S X=X'="I" I D0>0 S DISX(1)=X
    QUERY CONDITION:   I DISX(1)
    DESCRIPTION OF SORT:   INTERNAL(VIST ELIGIBLE (AMIS))'=""I""
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^ANRV(2040,D0,13)):^(13),1:"") S X=$P(Y(1),U,2),X=X S X=X'="I" I D0>0 S DISX(1)=X
    FIELD NAME:   INTERNAL(VIST ELIGIBLE (AMIS))'="I"
    SORT QUALIFIERS BEFORE FIELD:   @"@B
    SORT QUALIFIERS AFTER FIELD:   ;L1
  • FILE OR SUBFILE NO.:   2040
    GET CODE:   S I(0,0)=$S($D(D0):D0,1:""),Y(1)=$S($D(^ANRV(2040,D0,0)):^(0),1:""),D0=$P(Y(1),U,1) S:'$D(^DPT(+D0,0)) D0=-1 X $P(^DD(2,.033,0),U,5,99) S Y(101)=X S X=Y(101) S D0=I(0,0) I D0>0 S DISX(2)=X
    QUERY CONDITION:   I DISX(2)'=""
    DESCRIPTION OF SORT:   NAME:AGE not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S I(0,0)=$S($D(D0):D0,1:""),Y(1)=$S($D(^ANRV(2040,D0,0)):^(0),1:""),D0=$P(Y(1),U,1) S:'$D(^DPT(+D0,0)) D0=-1 X $P(^DD(2,.033,0),U,5,99) S Y(101)=X S X=Y(101) S D0=I(0,0) I D0>0 S DISX(2)=X
    FIELD NAME:   NAME:AGE
    SORT QUALIFIERS BEFORE FIELD:   @"
    SORT QUALIFIERS AFTER FIELD:   ;"AGE";S
  • FILE OR SUBFILE NO.:   2040
    GET CODE:   S Y(1)=$S($D(^ANRV(2040,D0,0)):^(0),1:"") S X=$S('$D(^DPT(+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(3)=X
    QUERY CONDITION:   I DISX(3)'=""
    DESCRIPTION OF SORT:   NAME not null
    SEARCH EFFICIENCY RATING:   0.0000
    PROBABILITY RATING:   0.0000
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^ANRV(2040,D0,0)):^(0),1:"") S X=$S('$D(^DPT(+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(3)=X
    FIELD NAME:   NAME
    SORT QUALIFIERS BEFORE FIELD:   @".01
    CROSS REFERENCE DATA:   ^ANRV(2040,"B",^ANRV(2040,^2
    POINT TO CROSS REFERENCE:   ^DPT("B",
DATE CREATED 1993-05-22 14:44:00
FILE VIST ROSTER
DATE LAST USED 1998-04-30 00:00:00