ANRV REFERRAL LIST (660)    SORT TEMPLATE (.401)

Name Value
NAME ANRV REFERRAL 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 DISX(2)=$P($G(^ANRV(2040,D0,7)),U,6)
    QUERY CONDITION:   I DISX(2)'=""
    DESCRIPTION OF SORT:   ENROLLMENT DATE not null
    SEARCH EFFICIENCY RATING:   0.0769
    PROBABILITY RATING:   0.0769
    DATA TYPE FOR SORTING:   DATE/TIME
    FIELD NO.:   .015
    FIELD NAME:   ENROLLMENT DATE
    SORT QUALIFIERS BEFORE FIELD:   '
  • FILE OR SUBFILE NO.:   2040
    GET CODE:   S DISX(3)=$P($G(^ANRV(2040,D0,9)),U)
    QUERY CONDITION:   I DISX(3)'=""
    DESCRIPTION OF SORT:   REFERRAL SOURCE not null
    SEARCH EFFICIENCY RATING:   0.1538
    PROBABILITY RATING:   0.1538
    DATA TYPE FOR SORTING:   SET OF CODES
    FIELD NO.:   .5
    FIELD NAME:   REFERRAL SOURCE
    SORT QUALIFIERS BEFORE FIELD:   +@
    SORT QUALIFIERS AFTER FIELD:   ;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(4)=X
    QUERY CONDITION:   I DISX(4)'=""
    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(4)=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-06-21 13:56:00
FILE VIST ROSTER
DATE LAST USED 1998-05-27 00:00:00